/* ============================================================
   FitWardrobe v2 — Design System & Styles
   ============================================================ */

/* --- Google Fonts --- */
@import url("https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,600;0,6..72,700;1,6..72,400&family=Archivo:wght@400;500;600;700&display=swap");

/* ============================================================
   1. Design Tokens (Custom Properties)
   ============================================================ */
:root {
  /* Colors — Primary */
  --color-navy: #1a2332;
  --color-cream: #f7f5f2;
  --color-sage: #7b9a8a;

  /* Colors — Secondary */
  --color-terracotta: #c47b5c;
  --color-charcoal: #2d3436;

  /* Colors — Neutral */
  --color-mist: #e8e4df;
  --color-cloud: #fafaf8;
  --color-white: #ffffff;

  /* Colors — Semantic */
  --color-text-primary: var(--color-navy);
  --color-text-body: var(--color-charcoal);
  --color-text-muted: #6b7280;
  --color-text-inverse: var(--color-cream);
  --color-bg-primary: var(--color-cream);
  --color-bg-alt: var(--color-cloud);
  --color-bg-dark: var(--color-navy);
  --color-accent: var(--color-sage);
  --color-accent-hover: #6a8a79;
  --color-highlight: var(--color-terracotta);

  /* Typography */
  --font-heading: "Newsreader", Georgia, "Times New Roman", serif;
  --font-body: "Archivo", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Font Sizes — Fluid */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: clamp(1rem, 1.1vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1.3vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1.5vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 2vw, 2rem);
  --text-3xl: clamp(2rem, 3vw, 3rem);
  --text-4xl: clamp(2.5rem, 4vw, 4rem);

  /* Spacing */
  --space-1: 0.25rem; /* 4px */
  --space-2: 0.5rem; /* 8px */
  --space-3: 0.75rem; /* 12px */
  --space-4: 1rem; /* 16px */
  --space-5: 1.5rem; /* 24px */
  --space-6: 2rem; /* 32px */
  --space-8: 3rem; /* 48px */
  --space-10: 4rem; /* 64px */
  --space-12: 5rem; /* 80px */
  --space-16: 8rem; /* 128px */

  /* Layout */
  --max-width: 1400px;
  --content-padding: var(--space-5);
  --grid-columns: 12;
  --grid-gap: var(--space-6);
  --nav-height: 72px;

  /* Borders & Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(26, 35, 50, 0.04);
  --shadow-md: 0 2px 8px rgba(26, 35, 50, 0.06);
  --shadow-lg: 0 4px 20px rgba(26, 35, 50, 0.1);
  --shadow-xl: 0 8px 40px rgba(26, 35, 50, 0.12);

  /* Transitions */
  --ease-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 150ms;
  --duration-base: 300ms;
  --duration-slow: 500ms;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text-body);
  background-color: var(--color-bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

a:hover {
  color: var(--color-accent-hover);
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-text-primary);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: var(--text-4xl);
  font-weight: 700;
}
h2 {
  font-size: var(--text-3xl);
  font-weight: 600;
}
h3 {
  font-size: var(--text-2xl);
  font-weight: 600;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ============================================================
   3. Layout Utilities
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--content-padding);
}

.section {
  padding-block: var(--space-12);
}

.section--alt {
  background-color: var(--color-bg-alt);
}

.section--dark {
  background-color: var(--color-bg-dark);
  color: var(--color-text-inverse);
}

.section--dark h2,
.section--dark h3 {
  color: var(--color-cream);
}

.grid {
  display: grid;
  gap: var(--grid-gap);
}

.grid--2 {
  grid-template-columns: 1fr;
}
.grid--3 {
  grid-template-columns: 1fr;
}
.grid--4 {
  grid-template-columns: 1fr 1fr;
}

@media (min-width: 768px) {
  .grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.text-center {
  text-align: center;
}

.section-header {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: var(--space-8);
}

.section-header p {
  margin-top: var(--space-4);
  color: var(--color-text-muted);
  font-size: var(--text-lg);
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}

.section--dark .section-label {
  color: var(--color-terracotta);
}

/* ============================================================
   4. Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  border-radius: var(--radius-sm);
  transition: all var(--duration-base) var(--ease-out);
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--color-sage);
  color: var(--color-white);
}

.btn--primary:hover {
  background-color: var(--color-accent-hover);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn--secondary {
  background-color: transparent;
  color: var(--color-navy);
  border: 1.5px solid var(--color-navy);
}

.btn--secondary:hover {
  background-color: var(--color-navy);
  color: var(--color-cream);
  transform: translateY(-1px);
}

.btn--light {
  background-color: var(--color-cream);
  color: var(--color-navy);
}

.btn--light:hover {
  background-color: var(--color-white);
  color: var(--color-navy);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn--sm {
  padding: 0.625rem 1.25rem;
  font-size: var(--text-sm);
}

.btn--lg {
  padding: 1rem 2.5rem;
  font-size: var(--text-lg);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

/* ============================================================
   5. Navigation
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background-color: rgba(247, 245, 242, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232, 228, 223, 0.6);
  transition: box-shadow var(--duration-base) var(--ease-out);
}

.nav--scrolled {
  box-shadow: var(--shadow-md);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-navy);
  text-decoration: none;
}

.nav__logo:hover {
  color: var(--color-navy);
}

.nav__logo-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
}

.nav__links {
  display: none;
  align-items: center;
  gap: var(--space-6);
}

.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-body);
  text-decoration: none;
  position: relative;
  padding-block: var(--space-1);
}

.nav__link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-sage);
  transition: width var(--duration-base) var(--ease-out);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav__link:hover {
  color: var(--color-text-primary);
}

.nav__cta {
  display: none;
}

/* Hamburger */
.nav__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1010;
}

.nav__toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-navy);
  border-radius: 2px;
  transition: all var(--duration-base) var(--ease-out);
  transform-origin: center;
}

.nav__toggle--open .nav__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle--open .nav__toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav__toggle--open .nav__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.nav__mobile {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100vh;
  background-color: var(--color-cream);
  padding: calc(var(--nav-height) + var(--space-6)) var(--space-6)
    var(--space-6);
  transform: translateX(100%);
  transition: transform var(--duration-slow) var(--ease-out);
  box-shadow: var(--shadow-xl);
  z-index: 1005;
}

.nav__mobile--open {
  transform: translateX(0);
}

.nav__mobile-link {
  display: block;
  padding: var(--space-4) 0;
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--color-text-primary);
  border-bottom: 1px solid var(--color-mist);
}

.nav__mobile-link:hover {
  color: var(--color-sage);
}

.nav__mobile-cta {
  margin-top: var(--space-6);
}

.nav__overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(26, 35, 50, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-base) var(--ease-out);
  z-index: 1000;
}

.nav__overlay--visible {
  opacity: 1;
  visibility: visible;
}

@media (min-width: 768px) {
  .nav__links {
    display: flex;
  }

  .nav__cta {
    display: inline-flex;
  }

  .nav__toggle {
    display: none;
  }
}

/* ============================================================
   6. Hero Section
   ============================================================ */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-height) + var(--space-10));
  padding-bottom: var(--space-10);
  overflow: hidden;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero__tagline {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-sage);
  margin-bottom: var(--space-5);
  padding: var(--space-2) var(--space-4);
  background-color: rgba(123, 154, 138, 0.08);
  border-radius: var(--radius-pill);
}

.hero h1 {
  margin-bottom: var(--space-5);
}

.hero h1 em {
  font-style: italic;
  color: var(--color-sage);
}

.hero__subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 540px;
  margin-bottom: var(--space-8);
  line-height: 1.8;
}

/* Decorative shapes */
.hero__decor {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero__shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
}

.hero__shape--1 {
  width: 500px;
  height: 500px;
  background: var(--color-sage);
  top: -80px;
  right: -100px;
}

.hero__shape--2 {
  width: 300px;
  height: 300px;
  background: var(--color-terracotta);
  bottom: 80px;
  right: 120px;
}

.hero__shape--3 {
  width: 180px;
  height: 180px;
  background: var(--color-navy);
  top: 200px;
  right: 380px;
}

@media (max-width: 767px) {
  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-height) + var(--space-8));
    padding-bottom: var(--space-8);
  }

  .hero__decor {
    width: 100%;
    opacity: 0.4;
  }
}

/* ============================================================
   7. Trust Bar
   ============================================================ */
.trust {
  border-top: 1px solid var(--color-mist);
  border-bottom: 1px solid var(--color-mist);
  padding-block: var(--space-8);
  background-color: var(--color-bg-alt);
}

.trust__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  text-align: center;
}

.trust__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}

.trust__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(123, 154, 138, 0.1);
  border-radius: var(--radius-md);
  color: var(--color-sage);
}

.trust__icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust__label {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-text-primary);
  letter-spacing: 0.01em;
}

@media (min-width: 768px) {
  .trust__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ============================================================
   8. Privacy Section
   ============================================================ */
.privacy__grid {
  display: grid;
  gap: var(--space-8);
  align-items: center;
}

.privacy__content {
  order: 2;
}

.privacy__content p {
  color: var(--color-text-muted);
  margin-top: var(--space-4);
  line-height: 1.8;
}

.privacy__visual {
  order: 1;
}

.privacy__comparison {
  background-color: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.privacy__comparison-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.privacy__comparison-label {
  padding: var(--space-4) var(--space-5);
  font-weight: 600;
  font-size: var(--text-sm);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.privacy__comparison-label--other {
  background-color: var(--color-mist);
  color: var(--color-text-muted);
}

.privacy__comparison-label--fw {
  background-color: var(--color-sage);
  color: var(--color-white);
}

.privacy__comparison-body {
  padding: var(--space-5);
}

.privacy__comparison-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-mist);
  font-size: var(--text-sm);
}

.privacy__comparison-row:last-child {
  border-bottom: none;
}

.privacy__comparison-cell {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
}

.privacy__comparison-cell .icon-bad {
  color: var(--color-terracotta);
}

.privacy__comparison-cell .icon-good {
  color: var(--color-sage);
}

@media (min-width: 768px) {
  .privacy__grid {
    grid-template-columns: 1fr 1fr;
  }

  .privacy__content {
    order: 1;
  }

  .privacy__visual {
    order: 2;
  }
}

/* ============================================================
   9. Features Section
   ============================================================ */
.feature-card {
  padding: var(--space-6);
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-mist);
  transition: all var(--duration-base) var(--ease-out);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.feature-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-5);
}

.feature-card__icon--sage {
  background-color: rgba(123, 154, 138, 0.1);
  color: var(--color-sage);
}

.feature-card__icon--terracotta {
  background-color: rgba(196, 123, 92, 0.1);
  color: var(--color-terracotta);
}

.feature-card__icon--navy {
  background-color: rgba(26, 35, 50, 0.08);
  color: var(--color-navy);
}

.feature-card__icon svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}

.feature-card p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.7;
}

/* ============================================================
   10. How It Works
   ============================================================ */
.steps {
  display: grid;
  gap: var(--space-8);
  position: relative;
}

.step {
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
}

.step__number {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--color-sage);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  position: relative;
}

.step__content h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
}

.step__content p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.7;
}

/* Connecting line between steps */
.step:not(:last-child) .step__number::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: calc(var(--space-8) + 0px);
  background: linear-gradient(to bottom, var(--color-sage), var(--color-mist));
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
  }

  .step {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .step:not(:last-child) .step__number::after {
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    width: calc(100% + var(--space-6));
    height: 2px;
    background: linear-gradient(to right, var(--color-sage), var(--color-mist));
  }
}

.blog-hero {
  padding-top: calc(var(--nav-height) + var(--space-12));
  padding-bottom: var(--space-10);
  background-color: var(--color-bg-alt);
  text-align: center;
}

/* ============================================================
   11. Testimonials
   ============================================================ */
.testimonial-card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  border: 1px solid var(--color-mist);
  display: flex;
  flex-direction: column;
}

.testimonial-card__quote {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--color-text-primary);
  line-height: 1.7;
  flex: 1;
  position: relative;
  padding-top: var(--space-5);
}

.testimonial-card__quote::before {
  content: '"';
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--color-sage);
  opacity: 0.3;
  position: absolute;
  top: -10px;
  left: 0;
  line-height: 1;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-mist);
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-mist);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--color-sage);
}

.testimonial-card__name {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-text-primary);
}

.testimonial-card__role {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ============================================================
   12. Beta Download Section
   ============================================================ */
.beta-download {
  text-align: center;
}

.beta-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background-color: rgba(123, 154, 138, 0.15);
  color: var(--color-sage);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-pill);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-6);
}

.section--dark .beta-badge {
  background-color: rgba(247, 245, 242, 0.1);
  color: var(--color-cream);
}

.beta-subheading {
  max-width: 600px;
  margin-inline: auto;
  margin-top: var(--space-4);
  margin-bottom: var(--space-8);
  font-size: var(--text-lg);
  color: var(--color-text-muted);
}

.section--dark .beta-subheading {
  color: rgba(247, 245, 242, 0.7);
}

.download-button-container {
  margin-bottom: var(--space-10);
}

.btn-download-apk {
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
  background-color: var(--color-sage);
  color: var(--color-white);
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-md);
  text-align: left;
  transition: all var(--duration-base) var(--ease-out);
}

.btn-download-apk:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--color-white);
}

.download-icon {
  font-size: 2rem;
}

.download-main {
  display: block;
  font-size: var(--text-lg);
  font-weight: 700;
}

.download-sub {
  display: block;
  font-size: var(--text-xs);
  opacity: 0.8;
  font-weight: 400;
}

.download-info {
  margin-top: var(--space-4);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.section--dark .download-info {
  color: rgba(247, 245, 242, 0.5);
}

/* Installation Notice */
.installation-notice {
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: var(--space-12);
  text-align: left;
}

.notice-expandable {
  background-color: var(--color-bg-alt);
  border: 1px solid var(--color-mist);
  border-radius: var(--radius-md);
  padding: var(--space-4);
}

.section--dark .notice-expandable {
  background-color: rgba(247, 245, 242, 0.05);
  border-color: rgba(247, 245, 242, 0.1);
}

.notice-expandable summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.notice-expandable summary::-webkit-details-marker {
  display: none;
}

.notice-content {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.notice-content ol {
  margin-block: var(--space-3);
  padding-left: var(--space-5);
  list-style: decimal;
}

.notice-security {
  margin-top: var(--space-4);
  padding: var(--space-3);
  background-color: rgba(123, 154, 138, 0.1);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
}

/* Coming Soon Platforms */
.coming-soon-platforms {
  margin-bottom: var(--space-12);
}

.coming-soon-label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-4);
  color: var(--color-text-muted);
}

.platform-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.platform-badge {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-5);
  background-color: var(--color-white);
  border: 1px solid var(--color-mist);
  border-radius: var(--radius-md);
  opacity: 0.6;
}

.section--dark .platform-badge {
  background-color: rgba(247, 245, 242, 0.1);
  border-color: transparent;
  color: var(--color-cream);
}

.platform-name {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
}

.platform-date {
  display: block;
  font-size: var(--text-xs);
}

.coming-soon-cta {
  font-size: var(--text-sm);
}

/* Beta Perks */
.beta-perks {
  border-top: 1px solid var(--color-mist);
  padding-top: var(--space-10);
  max-width: 900px;
  margin-inline: auto;
}

.section--dark .beta-perks {
  border-top-color: rgba(247, 245, 242, 0.1);
}

.perks-heading {
  margin-bottom: var(--space-8);
}

.perks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-6);
}

.perk-item {
  text-align: center;
}

.perk-icon {
  font-size: 2rem;
  margin-bottom: var(--space-3);
  display: block;
}

.perk-item h4 {
  font-size: var(--text-base);
  margin-bottom: var(--space-2);
}

.perk-item p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.section--dark .perk-item p {
  color: rgba(247, 245, 242, 0.6);
}

/* ============================================================
   13. Community Section
   ============================================================ */
.community-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-mist);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform var(--duration-base) var(--ease-out);
}

.community-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.community-icon {
  font-size: 3rem;
  margin-bottom: var(--space-4);
}

.community-card h3 {
  margin-bottom: var(--space-3);
}

.community-card p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-bottom: var(--space-6);
  flex: 1;
}

/* ============================================================
   14. FAQ Section
   ============================================================ */
.faq-container {
  max-width: 800px;
  margin-inline: auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-mist);
}

.faq-item:first-child {
  border-top: 1px solid var(--color-mist);
}

.faq-item summary {
  padding-block: var(--space-5);
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-sage);
  transition: transform var(--duration-base);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-content {
  padding-bottom: var(--space-5);
  color: var(--color-text-body);
  font-size: var(--text-base);
  line-height: 1.6;
}

/* ============================================================
   15. CTA Section
   ============================================================ */
.cta {
  text-align: center;
  background: linear-gradient(135deg, var(--color-navy) 0%, #243447 100%);
}

.cta h2 {
  color: var(--color-cream);
}

.cta p {
  color: rgba(247, 245, 242, 0.75);
  font-size: var(--text-lg);
  max-width: 520px;
  margin-inline: auto;
  margin-top: var(--space-4);
  margin-bottom: var(--space-8);
}

/* ============================================================
   13. Footer
   ============================================================ */
.footer {
  background-color: var(--color-navy);
  color: rgba(247, 245, 242, 0.7);
  padding-block: var(--space-10) var(--space-6);
}

.footer__grid {
  display: grid;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

.footer__brand-description {
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-top: var(--space-4);
  max-width: 280px;
}

.footer__heading {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-cream);
  margin-bottom: var(--space-4);
}

.footer__link {
  display: block;
  padding-block: var(--space-1);
  font-size: var(--text-sm);
  color: rgba(247, 245, 242, 0.6);
  transition: color var(--duration-fast) var(--ease-out);
}

.footer__link:hover {
  color: var(--color-cream);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(247, 245, 242, 0.1);
  font-size: var(--text-xs);
}

.footer__social {
  display: flex;
  gap: var(--space-4);
}

.footer__social a {
  color: rgba(247, 245, 242, 0.5);
  transition: color var(--duration-fast) var(--ease-out);
}

.footer__social a:hover {
  color: var(--color-sage);
}

.footer__social svg {
  width: 20px;
  height: 20px;
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

/* ============================================================
   14. Scroll Animations
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity var(--duration-slow) var(--ease-out),
    transform var(--duration-slow) var(--ease-out);
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay-1 {
  transition-delay: 100ms;
}
.reveal--delay-2 {
  transition-delay: 200ms;
}
.reveal--delay-3 {
  transition-delay: 300ms;
}
.reveal--delay-4 {
  transition-delay: 400ms;
}

/* ============================================================
   15. Reduced Motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   16. Print Styles
   ============================================================ */
@media print {
  .nav,
  .nav__mobile,
  .nav__overlay,
  .cta,
  .footer {
    display: none;
  }

  body {
    color: #000;
    background: #fff;
    font-size: 12pt;
  }

  .section {
    padding-block: 1.5rem;
  }
}

/* ============================================================
   17. Utility — skip link for accessibility
   ============================================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  padding: var(--space-3) var(--space-5);
  background-color: var(--color-navy);
  color: var(--color-cream);
  font-weight: 600;
  border-radius: var(--radius-sm);
  z-index: 9999;
  transition: top var(--duration-fast);
}

.skip-link:focus {
  top: var(--space-4);
}

/* ========================================= */
/* BLOG POST STYLES                          */
/* ========================================= */

.blog-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-8) var(--space-5);
}

.blog-header {
  text-align: center;
  margin-bottom: var(--space-8);
}

.blog-header h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  margin-bottom: var(--space-4);
  color: var(--color-text-primary);
}

.blog-meta {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  justify-content: center;
  gap: var(--space-4);
}

.blog-content {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.blog-content p {
  margin-bottom: var(--space-6);
}

.blog-content h2 {
  color: var(--color-text);
  font-size: 1.75rem;
  margin-top: var(--space-10);
  margin-bottom: var(--space-5);
  font-family: var(--font-heading);
}

.blog-content h3 {
  color: var(--color-text);
  font-size: 1.4rem;
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
  font-family: var(--font-heading);
}

.blog-content ul, 
.blog-content ol {
  margin-bottom: var(--space-6);
  padding-left: var(--space-6);
}

.blog-content li {
  margin-bottom: var(--space-2);
}

.blog-content blockquote {
  background: rgba(255, 255, 255, 0.03);
  border-left: 4px solid var(--color-secondary);
  margin: var(--space-8) 0;
  padding: var(--space-6);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--color-text);
}

.blog-content strong {
  color: var(--color-text);
  font-weight: 600;
}

.blog-content a {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

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

/* Tables in Blog */
.blog-content table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-8) 0;
  font-size: 1rem;
}

.blog-content th,
.blog-content td {
  padding: var(--space-3) var(--space-4);
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-content th {
  color: var(--color-secondary);
  font-weight: 600;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

/* Specific styling for 'Pro Tip' callouts if formatted manually */
.pro-tip-box {
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.1), transparent);
  border: 1px solid rgba(88, 101, 242, 0.2);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  margin: var(--space-8) 0;
}

.pro-tip-title {
  color: var(--color-primary);
  font-weight: 700;
  display: block;
  margin-bottom: var(--space-2);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

/* Responsive */
@media (max-width: 768px) {
  .blog-header h1 {
    font-size: 2rem;
  }
  
  .blog-content {
    font-size: 1rem;
  }
}


/* ============================================================
   14. Blog Specific Overrides
   ============================================================ */
.blog-hero {
  padding-top: calc(var(--nav-height) + var(--space-12));
  padding-bottom: var(--space-10);
  background-color: var(--color-bg-alt);
  text-align: center;
}

.blog-hero h1 {
  margin-bottom: var(--space-4);
}

/* ============================================================
   15. Use Cases Section - Modern Two Column Layout
   ============================================================ */
#use-cases {
  text-align: center;
}

#use-cases .section-header {
  max-width: 800px;
  margin-inline: auto;
  margin-bottom: var(--space-8);
}

#use-cases .use-cases-list {
  list-style: none;
  padding: 0;
  margin: 0 auto var(--space-8) auto;
  max-width: 900px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4) var(--space-8);
  text-align: left;
}

#use-cases .use-cases-list li {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--color-charcoal);
  padding-left: 1.75rem;
  position: relative;
}

#use-cases .use-cases-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-sage);
  font-weight: bold;
  font-size: 1.5rem;
  line-height: 1.2;
}

@media (max-width: 768px) {
  #use-cases .use-cases-list {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
}

/* ============================================================
   16. AI Tooltips & Disclaimers
   ============================================================ */

.ai-info-tooltip {
  position: relative;
  display: inline-block;
  cursor: help;
  margin-left: 8px;
  font-size: 0.9em;
  color: #b8925a;
  font-weight: normal;
  vertical-align: super;
}

.ai-info-tooltip:hover {
  color: var(--color-navy);
}

.tooltip-text {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  z-index: 1000;
  width: 280px;
  background-color: var(--color-navy);
  color: var(--color-cream);
  text-align: left;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 13px;
  line-height: 1.6;
  font-weight: normal;
  
  /* Position below the icon */
  top: 125%;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: var(--shadow-lg);
  
  /* Smooth transition */
  transition: opacity 0.3s, visibility 0.3s;
}

/* Arrow */
.tooltip-text::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-left: -6px;
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent var(--color-navy) transparent;
}

/* Show tooltip on hover or focus */
.ai-info-tooltip:hover .tooltip-text,
.ai-info-tooltip:focus .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* Links in tooltip */
.tooltip-text a {
  color: #b8925a;
  text-decoration: underline;
  font-weight: 500;
}

.tooltip-text a:hover {
  color: #fff;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .tooltip-text {
    width: 220px;
    font-size: 12px;
    padding: 10px 12px;
  }
}

/* For touch devices - tap to show */
@media (hover: none) {
  .ai-info-tooltip {
    cursor: pointer;
  }
}
