/*
  Me Go - Self-Improvement & Productivity Hacks
  Premium SaaS dark theme | Mobile-first | WCAG AA
  No frameworks. Vanilla CSS.
*/

/* --------------------------------------------------------
   Design Tokens
   -------------------------------------------------------- */
:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #0f0f0f;
  --bg-tertiary: #141414;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.08);
  --surface-solid: #141414;

  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-tertiary: rgba(255, 255, 255, 0.55);

  --accent-orange: #f97316;
  --accent-amber: #f59e0b;
  --accent-coral: #fb7185;
  --accent-warm: #ff7b42;
  --accent-gradient: linear-gradient(135deg, #f97316 0%, #f59e0b 50%, #fb7185 100%);

  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --border-gradient: linear-gradient(135deg, rgba(249, 115, 22, 0.4), rgba(251, 113, 133, 0.2));

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 24px rgba(249, 115, 22, 0.18);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-btn: 12px;
  --radius-full: 100px;

  --max-width: 1200px;
  --header-height: 72px;
  --transition: 220ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Fluid type scale */
  --text-xs: clamp(1.1rem, 1.2vw, 1.2rem);
  --text-sm: clamp(1.2rem, 1.3vw, 1.3rem);
  --text-base: clamp(1.5rem, 1.6vw, 1.6rem);
  --text-lg: clamp(1.7rem, 1.9vw, 1.9rem);
  --text-xl: clamp(2rem, 2.5vw, 2.4rem);
  --text-2xl: clamp(2.4rem, 3.5vw, 3.6rem);
  --text-3xl: clamp(3rem, 5vw, 5rem);

  /* Fluid spacing */
  --space-1: 0.4rem;
  --space-2: 0.8rem;
  --space-3: 1.2rem;
  --space-4: 1.6rem;
  --space-5: 2.4rem;
  --space-6: 3.2rem;
  --space-7: 4rem;
  --space-8: 4.8rem;
  --space-9: 6.4rem;
  --space-10: 8rem;
  --space-11: 9.6rem;
}

/* --------------------------------------------------------
   Reset & Base
   -------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body {
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: var(--text-base);
  line-height: 1.5;
  background: var(--bg-primary);
  color: var(--text-primary);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', 'Inter', sans-serif;
  margin: 0 0 0.5em;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  overflow-wrap: break-word;
  word-wrap: break-word;
}

p, li {
  max-width: 70ch;
}

p {
  margin: 0 0 var(--space-4);
  color: var(--text-secondary);
}

a {
  color: var(--accent-orange);
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}

a:hover, a:focus-visible {
  color: var(--accent-amber);
}

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent-amber);
  outline-offset: 3px;
}

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

ul, ol {
  margin: 0 0 var(--space-4);
  padding-left: 1.3em;
  color: var(--text-secondary);
}

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

/* --------------------------------------------------------
   Typography Utilities
   -------------------------------------------------------- */
.text-gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.show-mobile {
  display: none;
}

@media (max-width: 639px) {
  .show-mobile {
    display: block;
  }
}

.label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-amber);
  margin-bottom: var(--space-3);
}

.section-header {
  max-width: 760px;
  margin: 0 auto var(--space-7);
  text-align: center;
}

.section-header h2 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-3);
}

.section-header p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  margin: 0 auto;
}

/* --------------------------------------------------------
   Layout Containers
   -------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

section {
  padding: var(--space-8) 0;
  position: relative;
}

@media (min-width: 768px) {
  section {
    padding: var(--space-9) 0;
  }
}

@media (min-width: 1024px) {
  section {
    padding: var(--space-10) 0;
  }
}

/* --------------------------------------------------------
   Header
   -------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: 'Space Grotesk', sans-serif;
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-primary);
}

.logo svg {
  width: 32px;
  height: 32px;
}

.main-nav {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  flex-direction: column;
  padding: var(--space-5);
  gap: var(--space-3);
  transform: translateX(100%);
  transition: transform var(--transition);
  align-items: flex-start;
  border-left: 1px solid var(--border);
  display: flex;
  z-index: 999;
}

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

.main-nav a {
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  transition: color var(--transition);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--text-primary);
}

.main-nav a[aria-current="page"]::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-gradient);
  border-radius: 2px;
}

.header-search {
  position: relative;
  width: 100%;
  margin-top: var(--space-2);
}

.header-search input {
  width: 100%;
  padding: 12px 16px 12px 40px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(8px);
  font-size: var(--text-sm);
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition), background var(--transition);
  min-height: 44px;
}

.header-search input::placeholder {
  color: var(--text-tertiary);
}

.header-search input:focus {
  border-color: var(--border-strong);
  background: var(--surface-hover);
}

.header-search svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-tertiary);
  pointer-events: none;
}

.mobile-menu-toggle {
  display: flex;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-btn);
  background: var(--surface);
  border: 1px solid var(--border);
  align-items: center;
  justify-content: center;
}

.mobile-menu-toggle svg {
  width: 22px;
  height: 22px;
  color: var(--text-primary);
}

@media (min-width: 1024px) {
  .main-nav {
    position: static;
    transform: none;
    flex-direction: row;
    padding: 0;
    gap: var(--space-4);
    align-items: center;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-left: none;
    width: auto;
  }

  .main-nav a {
    font-size: var(--text-sm);
  }

  .header-search {
    width: auto;
    margin-top: 0;
  }

  .header-search input {
    width: 200px;
  }

  .header-search input:focus {
    width: 240px;
  }

  .mobile-menu-toggle {
    display: none;
  }
}

/* --------------------------------------------------------
   Buttons
   -------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 13px 24px;
  border-radius: var(--radius-btn);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.2;
  min-height: 44px;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition), background var(--transition);
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.25);
}

.btn-primary:hover {
  color: #fff;
  box-shadow: 0 12px 32px rgba(249, 115, 22, 0.35), var(--shadow-glow);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text-primary);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: var(--surface-hover);
  color: var(--text-primary);
  border-color: var(--border-strong);
}

/* --------------------------------------------------------
   Hero Section
   -------------------------------------------------------- */
.hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  padding: var(--space-6) 0 var(--space-8);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(ellipse at 80% 10%, rgba(249, 115, 22, 0.16) 0%, transparent 45%),
              radial-gradient(ellipse at 20% 80%, rgba(251, 113, 133, 0.1) 0%, transparent 40%),
              var(--bg-primary);
}

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

.hero-content {
  max-width: 100%;
}

.hero-content h1 {
  font-size: var(--text-2xl);
  line-height: 1.15;
  margin-bottom: var(--space-3);
}

.hero-content .lead {
  font-size: var(--text-base);
  color: var(--text-secondary);
  max-width: 60ch;
  margin-bottom: var(--space-5);
}

.stats-row {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  min-width: 80px;
}

.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
}

.stat-label {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
}

.hero-card {
  background: var(--surface);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 380px;
  position: relative;
}

.hero-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: var(--border-gradient);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.hero-card-dots {
  display: flex;
  gap: 6px;
}

.hero-card-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.hero-card-dots span:nth-child(1) { background: #ff6b6b; }
.hero-card-dots span:nth-child(2) { background: #ffd166; }
.hero-card-dots span:nth-child(3) { background: var(--accent-orange); }

.task-row {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-2);
  border: 1px solid var(--border);
}

.task-row:last-child {
  margin-bottom: 0;
}

.task-check {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.task-check svg {
  width: 12px;
  height: 12px;
  color: #fff;
}

.task-text {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-primary);
}

@media (min-width: 768px) {
  .hero {
    min-height: 75vh;
    padding: var(--space-8) 0 var(--space-9);
  }

  .hero-content h1 {
    font-size: clamp(3rem, 5vw, 4.2rem);
  }

  .stats-row {
    gap: var(--space-6);
  }
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: var(--space-8);
  }

  .hero-card {
    transform: perspective(1000px) rotateY(-6deg) rotateX(3deg);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .hero-card:hover {
    transform: perspective(1000px) rotateY(-2deg) rotateX(1deg);
  }
}

/* --------------------------------------------------------
   Filter Pills
   -------------------------------------------------------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: center;
  margin-bottom: var(--space-6);
}

.filter-pill {
  padding: 10px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-secondary);
  font-size: var(--text-xs);
  font-weight: 500;
  transition: all var(--transition);
  cursor: pointer;
  min-height: 40px;
}

.filter-pill:hover,
.filter-pill.active {
  background: var(--surface-hover);
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.filter-pill.active {
  background: var(--accent-gradient);
  border-color: transparent;
  color: #fff;
}

/* --------------------------------------------------------
   Anchor Navigation
   -------------------------------------------------------- */
.anchor-nav {
  position: relative;
  top: auto;
  z-index: 50;
  margin: -24px auto var(--space-6);
  max-width: 100%;
  padding: var(--space-2);
  background: rgba(20, 20, 20, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.anchor-nav a {
  padding: 9px 16px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: all var(--transition);
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}

.anchor-nav a:hover,
.anchor-nav a.active {
  background: var(--surface-hover);
  color: var(--text-primary);
}

@media (min-width: 768px) {
  .anchor-nav {
    position: sticky;
    top: calc(var(--header-height) + 16px);
    border-radius: var(--radius-full);
    max-width: max-content;
    justify-content: center;
  }
}

/* --------------------------------------------------------
   Cards
   -------------------------------------------------------- */
.card {
  background: var(--surface);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  height: 100%;
  position: relative;
  border: 1px solid transparent;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

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

.card:hover::before {
  background: var(--border-gradient);
}

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-btn);
  background: var(--surface-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-3);
  border: 1px solid var(--border);
}

.card-icon svg {
  width: 22px;
  height: 22px;
  color: var(--accent-orange);
}

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

.card p {
  font-size: var(--text-sm);
  margin: 0;
  color: var(--text-secondary);
}

/* --------------------------------------------------------
   Why Choose Us
   -------------------------------------------------------- */
.why-us {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

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

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

/* --------------------------------------------------------
   Overview
   -------------------------------------------------------- */
.overview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  align-items: center;
}

.overview-visual {
  position: relative;
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  order: -1;
}

.overview-blob {
  display: none;
}

.floating-card {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  bottom: auto;
  background: var(--surface);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  box-shadow: var(--shadow-md);
  width: 100%;
  max-width: 240px;
  text-align: center;
}

.overview-content h2 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-3);
}

.overview-content p {
  font-size: var(--text-base);
  margin-bottom: var(--space-3);
  color: var(--text-secondary);
}

@media (min-width: 768px) {
  .overview-visual {
    min-height: 380px;
    flex-direction: row;
  }

  .overview-blob {
    display: block;
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: var(--accent-gradient);
    opacity: 0.12;
    filter: blur(60px);
  }

  .floating-card {
    position: absolute;
    width: auto;
    animation: float 6s ease-in-out infinite;
  }

  .floating-card:nth-child(2) {
    top: 12%;
    left: 5%;
    animation-delay: 0s;
  }

  .floating-card:nth-child(3) {
    top: 46%;
    right: 0;
    animation-delay: 2s;
  }

  .floating-card:nth-child(4) {
    bottom: 10%;
    left: 15%;
    animation-delay: 4s;
  }
}

@media (min-width: 1024px) {
  .overview-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-9);
  }

  .overview-visual {
    order: 0;
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* --------------------------------------------------------
   Information Cards (Articles)
   -------------------------------------------------------- */
.info-cards {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

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

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

.article-card {
  display: flex;
  flex-direction: column;
}

.article-card .card-meta {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-amber);
  margin-bottom: var(--space-2);
}

.article-card h3 {
  font-size: var(--text-base);
}

.article-card .read-more {
  margin-top: auto;
  padding-top: var(--space-3);
  font-size: var(--text-sm);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-primary);
  min-height: 44px;
}

.article-card .read-more svg {
  width: 14px;
  height: 14px;
  color: var(--accent-orange);
  transition: transform var(--transition);
}

.article-card:hover .read-more svg {
  transform: translateX(3px);
}

/* Search results empty state */
.search-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--space-6);
  color: var(--text-tertiary);
}

/* --------------------------------------------------------
   Keyword-Relevant Content
   -------------------------------------------------------- */
.content-list {
  max-width: 820px;
  margin: 0 auto;
}

.content-list article {
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--border);
}

.content-list article:first-child {
  padding-top: 0;
}

.content-list article:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.content-list h3 {
  font-size: var(--text-base);
  margin-bottom: var(--space-2);
}

.content-list p {
  margin: 0;
}

/* --------------------------------------------------------
   FAQ
   -------------------------------------------------------- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--surface);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-2);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item:hover {
  border-color: var(--border-strong);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-4);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  min-height: 56px;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--accent-orange);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition), padding var(--transition);
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 var(--space-4) var(--space-4);
  margin: 0;
  color: var(--text-secondary);
}

/* --------------------------------------------------------
   Trust & Transparency
   -------------------------------------------------------- */
.trust-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

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

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

.trust-card .card-icon {
  margin: 0 auto var(--space-3);
}

/* --------------------------------------------------------
   Contact Preview
   -------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  align-items: start;
}

.contact-card {
  background: var(--surface);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-md);
}

.contact-card h3 {
  margin-bottom: var(--space-2);
}

.contact-details {
  list-style: none;
  padding: 0;
  margin: var(--space-4) 0 0;
}

.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
  color: var(--text-secondary);
}

.contact-details svg {
  width: 22px;
  height: 22px;
  color: var(--accent-orange);
  flex-shrink: 0;
  margin-top: 2px;
}

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

/* --------------------------------------------------------
   Footer
   -------------------------------------------------------- */
.site-footer {
  background: var(--bg-secondary);
  padding: var(--space-8) 0 var(--space-4);
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-7);
}

.footer-brand p {
  font-size: var(--text-sm);
  max-width: 300px;
  color: var(--text-secondary);
}

.footer-heading {
  font-size: var(--text-xs);
  margin-bottom: var(--space-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', 'Inter', sans-serif;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: var(--space-2);
}

.footer-links a {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}

.footer-links a:hover {
  color: var(--accent-orange);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  margin: 0;
  max-width: none;
}

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

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

/* --------------------------------------------------------
   Inner Page Layout
   -------------------------------------------------------- */
.page-hero {
  padding: var(--space-8) 0 var(--space-6);
  text-align: center;
  position: relative;
  background: radial-gradient(ellipse at 50% 0%, rgba(249, 115, 22, 0.12) 0%, transparent 55%);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-3);
}

.page-hero p {
  font-size: var(--text-base);
  max-width: 64ch;
  margin: 0 auto;
  color: var(--text-secondary);
}

.page-section {
  padding: var(--space-6) 0 var(--space-8);
}

.page-content {
  max-width: 780px;
  margin: 0 auto;
}

.page-content h2 {
  font-size: var(--text-xl);
  margin-top: var(--space-7);
  margin-bottom: var(--space-3);
}

.page-content h3 {
  font-size: var(--text-base);
  margin-top: var(--space-5);
  margin-bottom: var(--space-2);
}

.page-content p,
.page-content ul {
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
}

.page-content a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (min-width: 768px) {
  .page-hero {
    padding: var(--space-10) 0 var(--space-7);
  }

  .page-hero h1 {
    font-size: clamp(2.8rem, 4vw, 3.6rem);
  }

  .page-section {
    padding: var(--space-8) 0 var(--space-10);
  }
}

/* --------------------------------------------------------
   Contact Form
   -------------------------------------------------------- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

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

.form-group label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 12px 16px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--border);
  background: var(--bg-tertiary);
  font-family: inherit;
  font-size: var(--text-sm);
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition), background var(--transition);
  min-height: 48px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--border-strong);
  background: var(--surface);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  margin-top: var(--space-1);
}

/* --------------------------------------------------------
   Cookie Consent Banner
   -------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  background: rgba(15, 15, 15, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: var(--space-3) 0;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.4);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.cookie-inner p {
  margin: 0;
  font-size: var(--text-xs);
  color: var(--text-secondary);
  flex: 1 1 260px;
  min-width: 0;
}

.cookie-actions {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  flex: 1 1 auto;
  justify-content: flex-end;
}

@media (max-width: 639px) {
  .cookie-inner {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-3);
  }

  .cookie-inner p {
    flex: none;
    text-align: center;
  }

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

  .cookie-actions .btn {
    flex: 1 1 0;
    padding: 10px 16px;
  }
}

/* --------------------------------------------------------
   Utility Classes
   -------------------------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

/* --------------------------------------------------------
   Reduced Motion
   -------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* --------------------------------------------------------
   Form Success Message
   -------------------------------------------------------- */
.form-success {
  padding: var(--space-3) var(--space-4);
  margin-bottom: var(--space-4);
  border-radius: var(--radius-btn);
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #4ade80;
  font-size: var(--text-sm);
  font-weight: 500;
}

/* --------------------------------------------------------
   Print Styles
   -------------------------------------------------------- */
@media print {
  .site-header, .site-footer, .cookie-banner, .anchor-nav, .mobile-menu-toggle {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }
}
