/* ===============================
   GLOBAL STYLES
================================*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background: #f9f9f9;
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
}

main {
  padding-top: 10px;
}

h1, h2, h3 {
  color: #222;
}

/* ===============================
   HEADER
================================*/
header {
  background: rgba(0,0,0,0.96);
  backdrop-filter: blur(6px);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  padding: 0;
  padding-left: 30px;
  padding-right: 30px;

  position: sticky;
  top: 0;
  z-index: 9999;

  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

header .logo {
  font-size: 1.3rem;
  font-weight: bold;
}

header img {
  display: block;
  margin: 0;
  padding: 0;
}

.nav-links {
  display: flex;
  gap: 1rem;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #00aaff;
}

/* ===============================
   HAMBURGER MENU
================================*/
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1000;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Animated "X" transition */
.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ===============================
   MOBILE NAVIGATION
================================*/
@media (max-width: 768px) {

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 90px;
    right: 15px;
    background: rgba(20,20,20,0.98);
    backdrop-filter: blur(8px);
    flex-direction: column;
    gap: 0;
    width: 220px;
    display: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 1rem;
    border-bottom: 1px solid #333;
  }

  .nav-links a:last-child {
    border-bottom: none;
  }
}

/* ===============================
   HERO SECTION
================================*/
.hero {
  text-align: center;
  padding: 3rem 1rem;
  background: #eee;
}

.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.hero p {
  max-width: 750px;
  margin: 0 auto;
  color: #444;
  font-size: 1.1rem;
}

/* ===============================
   INTRO SECTION (Homepage)
================================*/
.intro {
  background: #fff;
  padding: 3rem 1rem;
  max-width: 900px;
  margin: 2rem auto;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.intro h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.intro p {
  margin-bottom: 1.5rem;
  text-align: center;
}

.features-list {
  list-style-type: none;
  max-width: 700px;
  margin: 0 auto;
}

.features-list li {
  background: #f6f6f6;
  border-left: 4px solid #00aaff;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 4px;
}

/* ===============================
   TESTIMONIALS PAGE
================================*/
.testimonials {
  padding: 2.5rem 1rem 3.5rem;
  background: #f9f9f9;
}

.testimonials .intro {
  max-width: 1000px;
  margin: 0 auto 2rem auto;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

.testimonials .intro h1,
.testimonials .intro h2 {
  text-align: center;
  margin-bottom: 0.75rem;
}

.testimonials .intro p {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  color: #444;
}

.testimonial-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: #fff;
  border: 1px solid #dcdcdc;
  border-left: 6px solid #000;
  border-radius: 6px;
  padding: 1.35rem 1.35rem 1.1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.testimonial-card blockquote {
  margin: 0;
  font-style: italic;
  color: #333;
  line-height: 1.7;
  white-space: normal;
}

.testimonial-card .who {
  margin-top: 0.5rem;
  text-align: right;
  font-size: 0.95rem;
  color: #111;
  font-weight: bold;
}

.testimonial-card .who span {
  font-weight: normal;
  color: #444;
}

.testimonials h3.section-title {
  max-width: 1100px;
  margin: 2.75rem auto 1.1rem auto;
  text-align: center;
  font-size: 1.2rem;
  color: #111;
  font-weight: bold;
}

@media (max-width: 900px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}

/* ===============================
   CTA SECTION
================================*/
.cta {
  background: #f2f2f2;
  text-align: center;
  padding: 3rem 1rem;
  border-top: 1px solid #ddd;
}

.cta h2 {
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.cta p {
  max-width: 700px;
  margin: 0 auto 2rem auto;
}

.cta-button {
  display: inline-block;
  background: #00aaff;
  color: #fff;
  text-decoration: none;
  padding: 0.8rem 1.6rem;
  border-radius: 4px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.cta-button:hover {
  background: #008ecc;
}

/* ===============================
   PRODUCT SECTION
================================*/
.products {
  padding: 2rem;
}

.products h2 {
  margin-bottom: 1rem;
  text-align: center;
}

#product-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: #fff;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.product-card img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 0.8rem;
}

.product-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.product-card p {
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
}

.buy-btn {
  background: #00aaff;
  color: #fff;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}

.buy-btn:hover {
  background: #008ecc;
}

.product-card.selected {
  border: 2px solid #00aaff;
  box-shadow: 0 0 10px rgba(0,170,255,0.3);
}

/* ===============================
   CHECKOUT SECTION
================================*/
.checkout {
  background: #fff;
  margin: 2rem auto;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  max-width: 700px;
  text-align: center;
}

.checkout h2 {
  margin-bottom: 1rem;
}

#selected-product {
  font-weight: bold;
  margin-bottom: 1rem;
}

/* ===============================
   LEGAL PAGE
================================*/
.legal-wrapper {
  background: #fff;
  padding: 3rem 1rem;
  margin: 2rem auto;
  max-width: 900px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.legal-container h1 {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 2rem;
}

.legal-updated {
  text-align: center;
  margin-bottom: 2rem;
  color: #666;
}

.legal-container h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #111;
  font-size: 1.5rem;
}

.legal-container h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
  font-size: 1.15rem;
}

.legal-container p {
  margin-bottom: 1rem;
  color: #333;
}

.legal-container ul {
  margin-left: 1.2rem;
  margin-bottom: 1rem;
}

.legal-container ul li {
  margin-bottom: 0.5rem;
}

.legal-container hr {
  margin: 2.5rem 0;
  border: 0;
  border-top: 1px solid #ddd;
}

/* ===============================
   CONTENT SECTIONS
================================*/
.section {
  padding: 40px 20px;
  max-width: 1100px;
  margin: 0 auto;
  line-height: 1.7;
  background: #ffffff;
}

.what-youll-find {
  background: #fafafa;
  border-left: 5px solid #005b96;
}

.what-youll-find ul {
  margin-left: 20px;
}

/* ===============================
   FOOTER
================================*/
footer {
  text-align: center;
  padding: 1.5rem;
  background: #222;
  color: #fff;
  margin-top: auto;
  font-size: 0.9rem;
}

/* ===============================
   COOKIE BANNER
================================*/
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #111;
  color: #fff;
  padding: 1rem;
  display: flex;
  justify-content: center;
  z-index: 9999;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-content {
  max-width: 1100px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-content p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
}

.cookie-content a {
  color: #00aaff;
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 0.5rem;
}

.cookie-buttons button {
  background: #00aaff;
  border: none;
  color: #fff;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 4px;
  font-size: 0.9rem;
}

.cookie-buttons button#cookie-reject {
  background: #444;
}

.cookie-buttons button:hover {
  opacity: 0.85;
}