/* =============================================
   SailTech — Light Theme Design System
   ============================================= */

/* === Google Fonts are loaded via HTML === */

/* === CSS Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Core palette */
  --primary:       #0052CC;
  --primary-dark:  #003A8C;
  --primary-light: #EBF0FF;
  --accent:        #0080FF;
  --accent-glow:   rgba(0, 128, 255, 0.18);

  /* Neutrals */
  --bg-base:       #FFFFFF;
  --bg-subtle:     #F7F9FC;
  --bg-mid:        #EEF2F8;
  --border:        #DDE3EE;
  --border-strong: #B6C2D9;

  /* Text */
  --text-primary:  #0A1628;
  --text-secondary:#3A4A6A;
  --text-muted:    #6B7A99;

  /* Status */
  --success:       #0F9E5A;
  --error:         #D93025;

  /* Sizing */
  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --radius-xl:     28px;
  --radius-pill:   999px;

  /* Shadows */
  --shadow-sm:     0 1px 4px rgba(10,22,40,0.07);
  --shadow-md:     0 4px 16px rgba(10,22,40,0.10);
  --shadow-lg:     0 8px 32px rgba(10,22,40,0.12);
  --shadow-primary:0 4px 18px rgba(0,82,204,0.22);

  /* Typography */
  --font-head:     'Outfit', system-ui, sans-serif;
  --font-body:     'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--bg-base);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }

/* === Layout Utilities === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.grid {
  display: grid;
  gap: 24px;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,82,204,0.30);
  text-decoration: none;
  color: #fff;
}

.btn-secondary {
  background: var(--bg-base);
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-secondary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-block { width: 100%; justify-content: center; }

.btn-nav {
  background: var(--primary);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  transition: all 0.2s;
}
.btn-nav:hover {
  background: var(--primary-dark);
  text-decoration: none;
}

.badge-link {
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.badge-link:hover {
  transform: translateY(-2px);
  opacity: 0.95;
  text-decoration: none;
}
.download-badge {
  height: 48px; /* Perfectly fits the other button's height */
  width: auto;
  object-fit: contain;
}

/* === Header === */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(10,22,40,0.06);
  transition: box-shadow 0.2s;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-img { width: 36px; height: 36px; object-fit: contain; }
.logo-text {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}
.logo-highlight { color: var(--primary); }

.nav-list {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
  text-decoration: none;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background: var(--primary-light);
  text-decoration: none;
}

.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border-radius: var(--radius-sm);
}
.mobile-nav-toggle .bar {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.25s;
  display: block;
}
.mobile-nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.mobile-nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === Hero Section === */
.hero-section {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-image-container {
  position: absolute;
  inset: 0;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10,22,40,0.72) 0%,
    rgba(0,52,120,0.55) 50%,
    rgba(0,0,0,0.10) 100%
  );
}

.hero-content-container {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 80px;
  padding-bottom: 80px;
}

.hero-content {
  max-width: 620px;
}

.badge {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.30);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

.hero-content h1 {
  font-family: var(--font-head);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.gradient-text {
  background: linear-gradient(135deg, #60A5FA, #38BDF8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lead {
  font-size: 17px;
  color: rgba(255,255,255,0.88);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

/* === Section Headers === */
.section-header {
  text-align: center;
  margin-bottom: 52px;
}

.section-tagline {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.section-header h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto;
}

/* === Features Section === */
.features-section {
  padding: 96px 0;
  background: var(--bg-subtle);
}

.features-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card {
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.feature-icon {
  font-size: 32px;
  margin-bottom: 16px;
}
.feature-card h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* === Watch Faces Section === */
.watch-faces-section {
  padding: 96px 0;
  background: var(--bg-base);
}

.watch-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  border: 2px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--bg-base);
  color: var(--text-secondary);
  transition: all 0.18s;
}
.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-primary);
}

.watch-faces-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.watch-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  animation: fadeInUp 0.3s ease both;
}
.watch-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.watch-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 12px;
  background: #ffffff;
}
.watch-card-label {
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
  border-top: 1px solid var(--border);
  background: var(--bg-base);
}

.watch-card.hidden {
  display: none;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* === Showcase Gallery Section === */
.showcase-section {
  padding: 96px 0;
  background: var(--bg-base);
  border-top: 1px solid var(--border);
  overflow: hidden;
}

.carousel-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.carousel-viewport {
  position: relative;
  width: 100%;
  min-height: 440px;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  z-index: 1;
}

.carousel-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.slide-content-wrapper {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  height: 100%;
  min-height: 440px;
}

.slide-image {
  position: relative;
  overflow: hidden;
  background: #0d1527;
}

.slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-slide.active .slide-image img {
  transform: scale(1.03);
}

.slide-text {
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg-subtle);
}

.slide-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.slide-text h3 {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 16px;
}

.slide-text p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Carousel controls */
.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: all 0.2s ease;
  z-index: 10;
}
.carousel-control:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-50%) scale(1.05);
}
.carousel-control:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-control.prev {
  left: 20px;
}

.carousel-control.next {
  right: 20px;
}

.carousel-indicators {
  position: absolute;
  bottom: 28px;
  right: 44px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.indicator-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-strong);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.indicator-dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: var(--radius-pill);
}

/* Responsiveness for Showcase */
@media (max-width: 768px) {
  .slide-content-wrapper {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .carousel-viewport {
    min-height: 520px;
  }
  .slide-image {
    height: 260px;
  }
  .slide-text {
    padding: 32px 24px 48px;
  }
  .carousel-indicators {
    left: 50%;
    transform: translateX(-50%);
    bottom: 20px;
  }
  .carousel-control {
    top: 130px;
  }
}

/* === Products Section === */
.products-section {
  padding: 96px 0;
  background: var(--bg-subtle);
}

.products-grid {
  grid-template-columns: 1fr 1fr;
  max-width: 860px;
  margin: 0 auto;
}

.product-card {
  background: var(--bg-base);
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.product-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--accent-glow), var(--shadow-lg);
}
.product-card:hover { transform: translateY(-4px); }

.card-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg-subtle);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  width: fit-content;
}
.featured-tag {
  background: var(--primary-light);
  color: var(--primary);
}

.product-card h3 {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
}
.product-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.product-price {
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.price-label { font-size: 12px; font-weight: 600; color: var(--text-muted); }
.price-value { font-family: var(--font-head); font-size: 26px; font-weight: 800; color: var(--primary); }
.price-sub { font-size: 14px; font-weight: 500; color: var(--text-muted); }

.specs-list { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.specs-list li {
  font-size: 13px;
  color: var(--text-secondary);
  padding-left: 22px;
  position: relative;
}
.specs-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

/* === FAQ Section === */
.faq-section {
  padding: 96px 0;
  background: var(--bg-base);
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-base);
  transition: box-shadow 0.2s;
}
.faq-item:has(.faq-question[aria-expanded="true"]) {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  background: var(--bg-base);
  transition: background 0.15s, color 0.15s;
}
.faq-question:hover { background: var(--bg-subtle); }
.faq-question[aria-expanded="true"] { color: var(--primary); }

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 400;
  color: var(--text-muted);
  transition: all 0.2s;
  line-height: 1;
}
.faq-question[aria-expanded="true"] .faq-icon {
  border-color: var(--primary);
  color: var(--primary);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer.open { max-height: 1200px; }
.faq-answer > * {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
}
.faq-answer p { margin-bottom: 10px; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer strong { color: var(--text-primary); }
.faq-answer ol {
  list-style: decimal;
  padding-left: 20px;
  margin: 8px 0;
}
.faq-answer ol li { margin-bottom: 6px; }

.faq-image-container {
  margin: 16px 0 8px 0;
  display: flex;
  justify-content: center;
}
.faq-inline-img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

/* === Contact Section === */
.contact-section {
  padding: 96px 0;
  background: var(--bg-subtle);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  font-family: var(--font-head);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}
.contact-info > p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.7;
}

.contact-details { display: flex; flex-direction: column; gap: 20px; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-icon { font-size: 22px; margin-top: 2px; }
.contact-item h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.contact-item p { font-size: 15px; color: var(--text-primary); }

.card {
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
}

.contact-form { display: flex; flex-direction: column; gap: 18px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  font: inherit;
  font-size: 14px;
  color: var(--text-primary);
  background: var(--bg-subtle);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--accent-glow);
  background: var(--bg-base);
}
.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid {
  border-color: var(--error);
}

.error-msg {
  font-size: 12px;
  color: var(--error);
  display: none;
}
.error-msg.visible { display: block; }

.success-banner {
  display: none;
  align-items: center;
  gap: 10px;
  background: #ECFDF5;
  color: var(--success);
  border: 1px solid #6EE7B7;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 500;
}
.success-banner.visible { display: flex; }
.success-icon { font-size: 18px; font-weight: 700; }

/* === Footer === */
.footer {
  background: var(--text-primary);
  color: rgba(255,255,255,0.75);
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  padding-top: 64px;
  padding-bottom: 64px;
}

.footer-brand .logo-text { color: #fff; }
.footer-brand .logo-highlight { color: #60A5FA; }
.footer-brand > p {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.7;
  max-width: 320px;
}
.footer-logo { margin-bottom: 4px; }
.footer-logo .logo-img { filter: brightness(0) invert(1); }

.footer-links { display: flex; gap: 48px; }

.links-col h4 {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.links-col ul { display: flex; flex-direction: column; gap: 10px; }
.links-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  transition: color 0.15s;
  text-decoration: none;
}
.links-col a:hover { color: #60A5FA; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
}
.footer-bottom-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
  font-size: 13px;
}
.footer-policy-links { display: flex; gap: 24px; }
.footer-policy-links a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-policy-links a:hover { color: rgba(255,255,255,0.85); }

/* === Responsive === */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .watch-faces-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .mobile-nav-toggle { display: flex; }

  .nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg-base);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 16px 24px 24px;
  }
  .nav.open { display: block; }
  .nav-list { flex-direction: column; align-items: flex-start; gap: 4px; }
  .nav-link { display: block; width: 100%; padding: 10px 12px; }
  .btn-nav { display: inline-block; width: auto; margin-top: 8px; }

  .hero-section { min-height: 420px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; justify-content: center; }

  .features-grid { grid-template-columns: 1fr; }
  .watch-faces-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: 1fr; }
  .contact-container { grid-template-columns: 1fr; gap: 40px; }
  .footer-container { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { gap: 32px; }
  .footer-bottom-container { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
  .watch-faces-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .section-header { margin-bottom: 36px; }
  .features-section, .watch-faces-section, .products-section, .faq-section, .contact-section {
    padding: 64px 0;
  }
  .card { padding: 24px 20px; }
  .product-card { padding: 24px 20px; }
}

/* ================================================== */
/* COOKIE CONSENT BANNER (EU COMPLIANT)               */
/* ================================================== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 420px;
  max-width: calc(100vw - 48px);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 82, 204, 0.15);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 20px 40px rgba(10, 22, 40, 0.08);
  z-index: 100000;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), 
              opacity 0.4s ease, 
              visibility 0.45s;
  visibility: visible;
}

.cookie-banner.hidden {
  opacity: 0;
  transform: translateY(40px);
  pointer-events: none;
  visibility: hidden;
}

.cookie-container {
  padding: 24px;
}

.cookie-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-content h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cookie-content p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.cookie-content p a {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 500;
}

.cookie-content p a:hover {
  color: var(--primary-dark);
}

.cookie-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

/* Smaller buttons for cookie banner */
.btn-sm {
  padding: 8px 16px;
  font-size: 13.5px;
  border-radius: var(--radius-pill);
}

.btn-text {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--text-secondary);
  background: none;
  border: none;
  padding: 6px 12px;
  cursor: pointer;
  transition: color 0.2s ease, text-decoration 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-text:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* Granular settings tray */
.cookie-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 16px 0;
}

.cookie-preferences {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              opacity 0.3s ease;
}

.cookie-preferences.open {
  max-height: 400px;
  opacity: 1;
}

.preference-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.preference-item:not(:last-of-type) {
  border-bottom: 1px solid var(--bg-mid);
}

.pref-text strong {
  font-family: var(--font-head);
  font-size: 14px;
  color: var(--text-primary);
  display: block;
  margin-bottom: 2px;
}

.pref-text p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

.preference-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
}

/* Custom Switch Toggle */
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--border-strong);
  transition: .3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(10, 22, 40, 0.15);
}

input:checked + .slider {
  background-color: var(--primary);
}

input:focus-visible + .slider {
  box-shadow: 0 0 0 2px var(--accent-glow), 0 0 0 4px var(--primary);
}

input:checked + .slider:before {
  transform: translateX(20px);
}

.switch.disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.switch.disabled .slider {
  cursor: not-allowed;
}

/* Responsive adjustment for small screens */
@media (max-width: 576px) {
  .cookie-banner {
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    border-left: none;
    border-right: none;
    border-bottom: none;
    box-shadow: 0 -10px 30px rgba(10, 22, 40, 0.08);
  }

  .cookie-banner.hidden {
    transform: translateY(100%);
  }

  .cookie-container {
    padding: 20px;
  }

  .cookie-actions {
    width: 100%;
    justify-content: space-between;
  }

  .cookie-actions .btn-sm {
    flex: 1;
    text-align: center;
    justify-content: center;
  }

  .cookie-actions .btn-text {
    width: 100%;
    margin-top: 4px;
  }
}

/* ================================================== */
/* LEGAL CONTENT PAGES (PRIVACY & TERMS)              */
/* ================================================== */
.legal-section {
  padding: 60px 0 100px 0;
  background: var(--bg-base);
}

.legal-container {
  max-width: 800px;
  margin: 0 auto;
}

.legal-header h1 {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.15;
}

.legal-meta {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
}

.legal-content h2 {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 40px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--bg-mid);
  padding-bottom: 8px;
}

.legal-content h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 24px;
  margin-bottom: 12px;
}

.legal-content p {
  color: var(--text-secondary);
  font-size: 15.5px;
  line-height: 1.7;
  margin-bottom: 18px;
}

.legal-content ul, .legal-content ol {
  margin-bottom: 18px;
  padding-left: 24px;
}

.legal-content li {
  color: var(--text-secondary);
  font-size: 15.5px;
  line-height: 1.7;
  margin-bottom: 8px;
}

.legal-content li strong {
  color: var(--text-primary);
}

.legal-content a {
  color: var(--primary);
  text-decoration: underline;
}

.legal-content a:hover {
  color: var(--primary-dark);
}

.legal-alert {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  padding: 24px;
  border-radius: var(--radius-md);
  margin: 28px 0;
}

.legal-alert p {
  margin-bottom: 0 !important;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--primary-dark) !important;
  line-height: 1.6;
}

.legal-warning {
  background: rgba(219, 48, 37, 0.04);
  border-left: 4px solid var(--error);
  padding: 24px;
  border-radius: var(--radius-md);
  margin: 28px 0;
}

.legal-warning h3 {
  color: var(--error);
  margin-top: 0 !important;
  font-weight: 700;
  margin-bottom: 8px;
}

.legal-warning p {
  margin-bottom: 0 !important;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--error) !important;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .legal-section {
    padding: 40px 0 80px 0;
  }
  .legal-header h1 {
    font-size: 32px;
  }
}
