/* ============================================
   GoTangent — Design System & Styles
   Pure CSS · No frameworks · Maximum speed
   ============================================ */

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

:root {
  /* Primary – Terracota */
  --primary-50: #fef5f2;
  --primary-100: #fde8e0;
  --primary-200: #f9c8b0;
  --primary-300: #f5a07a;
  --primary-400: #ef7a52;
  --primary-500: #e86230;
  --primary-600: #d44f1a;
  --primary-700: #b5400f;
  --primary-800: #8c3410;
  --primary-900: #5c2410;

  /* Accent – Warm Gold */
  --accent-400: #e6a54a;
  --accent-500: #d4922e;
  --accent-600: #b87a1a;

  /* Neutrals */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  /* Semantic */
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', monospace;

  /* Radius */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);

  /* Layout */
  --max-width: 1200px;
  --header-height: 72px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--gray-900);
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

::selection {
  background: var(--primary-100);
  color: var(--primary-900);
}

[id] {
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

/* --- Typography --- */
.heading-1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.heading-2 {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.heading-3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.body-lg {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--gray-500);
  line-height: 1.7;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary-600);
  margin-bottom: var(--space-md);
}

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

.section {
  padding: var(--space-4xl) 0;
}

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

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-sans);
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  line-height: 1.2;
}

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

.btn-primary {
  background: var(--primary-600);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(212, 79, 26, 0.3);
}

.btn-primary:hover {
  background: var(--primary-700);
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(212, 79, 26, 0.35);
}

.btn-secondary {
  background: #fff;
  color: var(--gray-900);
  border: 2px solid var(--gray-200);
}

.btn-secondary:hover {
  border-color: var(--gray-300);
  background: var(--gray-50);
}

.btn-dark {
  background: var(--gray-900);
  color: #fff;
}

.btn-dark:hover {
  background: var(--gray-800);
}

.btn-sm {
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
}

/* Store buttons */
.store-buttons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  background: var(--gray-900);
  color: #fff;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.store-btn:hover {
  background: var(--gray-800);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.store-btn svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.store-btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.store-btn-text small {
  font-size: 0.65rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.store-btn-text span {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.2;
}

/* --- Card --- */
.card {
  background: #fff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-100);
  padding: var(--space-2xl);
  transition: all 0.25s ease;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--gray-200);
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo img {
  height: 36px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav a {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--gray-900);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
  stroke: var(--gray-700);
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: var(--space-xl) var(--space-lg);
    gap: var(--space-lg);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    font-size: 1.05rem;
  }

  .nav .btn {
    width: 100%;
    text-align: center;
  }

  .nav-toggle {
    display: block;
  }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  padding-top: calc(var(--header-height) + var(--space-4xl));
  padding-bottom: var(--space-4xl);
  overflow: hidden;
}

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

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #ecfdf5;
  color: #047857;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

.hero-title {
  margin-bottom: var(--space-lg);
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--primary-600), var(--accent-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  margin-bottom: var(--space-2xl);
  max-width: 480px;
}

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

.hero-mockup {
  width: 100%;
  max-width: 380px;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.12));
}

@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

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

  .hero-visual {
    order: 0;
  }

  .hero-mockup {
    max-width: 260px;
  }

  .store-buttons {
    justify-content: center;
  }
}

/* ============================================
   FEATURES
   ============================================ */
.features {
  background: var(--gray-50);
}

.features-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-3xl);
}

.features-header .heading-2 {
  margin-bottom: var(--space-md);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.feature-card {
  text-align: center;
  padding: var(--space-2xl) var(--space-xl);
}

.feature-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
}

.feature-icon svg {
  width: 36px;
  height: 36px;
}

.feature-icon--walkin {
  background: linear-gradient(135deg, #fde8e0, #fef5f2);
}

.feature-icon--walkin svg {
  color: var(--primary-600);
}

.feature-icon--prebook {
  background: linear-gradient(135deg, #f9c8b0, #fef5f2);
}

.feature-icon--prebook svg {
  color: var(--primary-500);
}

.feature-icon--trusted {
  background: linear-gradient(135deg, #d1fae5, #ecfdf5);
}

.feature-icon--trusted svg {
  color: var(--success);
}

.feature-card .heading-3 {
  margin-bottom: var(--space-sm);
}

.feature-card p {
  color: var(--gray-500);
  font-size: 0.95rem;
  line-height: 1.65;
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

/* ============================================
   CATEGORIES
   ============================================ */
.categories-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-3xl);
}

.categories-header .heading-2 {
  margin-bottom: var(--space-md);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.category-card {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-100);
  background: #fff;
  transition: all 0.25s ease;
  cursor: pointer;
}

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

.category-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
}

.category-icon svg {
  width: 30px;
  height: 30px;
}

.category-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-800);
}

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

@media (max-width: 400px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
  background: var(--gray-50);
}

.how-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-3xl);
}

.how-header .heading-2 {
  margin-bottom: var(--space-md);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  position: relative;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary-600);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
}

.step .heading-3 {
  margin-bottom: var(--space-sm);
}

.step p {
  color: var(--gray-500);
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 300px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .steps {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-3xl);
}

.testimonials-header .heading-2 {
  margin-bottom: var(--space-md);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.testimonial-card {
  padding: var(--space-2xl);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-md);
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  fill: #fbbf24;
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--primary-700);
}

.testimonial-author-info strong {
  display: block;
  font-size: 0.9rem;
}

.testimonial-author-info span {
  font-size: 0.8rem;
  color: var(--gray-400);
}

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

/* ============================================
   CTA / DOWNLOAD
   ============================================ */
.cta {
  background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-800) 100%);
  color: #fff;
  text-align: center;
}

.cta .heading-2 {
  color: #fff;
  margin-bottom: var(--space-md);
}

.cta .body-lg {
  color: rgba(255, 255, 255, 0.8);
  max-width: 520px;
  margin: 0 auto var(--space-2xl);
}

.cta .store-buttons {
  justify-content: center;
}

.cta .store-btn {
  background: #fff;
  color: var(--gray-900);
}

.cta .store-btn:hover {
  background: var(--gray-100);
}

.cta .store-btn svg {
  color: var(--gray-900);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: var(--space-3xl) 0 var(--space-xl);
}

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

.footer-brand .logo {
  color: #fff;
  margin-bottom: var(--space-md);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.65;
  max-width: 320px;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-lg);
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  padding: 0.3rem 0;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding-top: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-lg);
}

.footer-bottom-links a:hover {
  color: #fff;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
}

/* ============================================
   LEGAL PAGES (Terms / Privacy)
   ============================================ */
.legal-page {
  padding-top: calc(var(--header-height) + var(--space-3xl));
  padding-bottom: var(--space-4xl);
}

.legal-page .container {
  max-width: 780px;
}

.legal-page h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
}

.legal-page .last-updated {
  color: var(--gray-400);
  font-size: 0.9rem;
  margin-bottom: var(--space-3xl);
}

.legal-page h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  color: var(--gray-800);
}

.legal-page p,
.legal-page li {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 0.5rem;
}

.legal-page ul,
.legal-page ol {
  list-style: disc;
  padding-left: var(--space-xl);
  margin-bottom: 0.75rem;
}

.legal-page ol {
  list-style: decimal;
}

.legal-page li {
  margin-bottom: 0.2rem;
}

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

/* ============================================
   BLOG
   ============================================ */
.blog-page {
  padding-top: calc(var(--header-height) + var(--space-3xl));
  padding-bottom: var(--space-4xl);
}

.blog-page .container {
  max-width: 900px;
}

.blog-page h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.blog-list {
  display: grid;
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.blog-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--space-xl);
  padding: var(--space-lg);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-100);
  transition: all 0.25s ease;
}

.blog-card:hover {
  border-color: var(--gray-200);
  box-shadow: var(--shadow-md);
}

.blog-card-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--gray-100);
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-card-meta {
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-bottom: var(--space-sm);
}

.blog-card h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--gray-900);
}

.blog-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* Blog single post */
.blog-post {
  padding-top: calc(var(--header-height) + var(--space-3xl));
  padding-bottom: var(--space-4xl);
}

.blog-post .container {
  max-width: 780px;
}

.blog-post h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.blog-post-meta {
  color: var(--gray-400);
  font-size: 0.9rem;
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--gray-100);
}

.blog-post-body h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

.blog-post-body h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
}

.blog-post-body p {
  color: var(--gray-600);
  line-height: 1.85;
  margin-bottom: var(--space-lg);
}

.blog-post-body ul,
.blog-post-body ol {
  list-style: disc;
  padding-left: var(--space-xl);
  margin-bottom: var(--space-lg);
}

.blog-post-body li {
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: var(--space-sm);
}

@media (max-width: 640px) {
  .blog-card {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   UTILITIES
   ============================================ */
.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;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ============================================
   COMPREHENSIVE RESPONSIVE OVERRIDES
   ============================================ */

/* --- Tablet (max 900px) --- */
@media (max-width: 900px) {
  :root {
    --space-3xl: 3rem;
    --space-4xl: 4rem;
  }

  .container {
    padding: 0 var(--space-xl);
  }
}

/* --- Mobile (max 768px) --- */
@media (max-width: 768px) {
  :root {
    --header-height: 64px;
    --space-2xl: 2rem;
    --space-3xl: 2.5rem;
    --space-4xl: 3rem;
  }

  .section {
    padding: var(--space-3xl) 0;
  }

  .container {
    padding: 0 var(--space-md);
  }

  /* Header */
  .logo img {
    height: 32px;
  }

  /* Hero */
  .hero {
    padding-top: calc(var(--header-height) + var(--space-2xl));
    padding-bottom: var(--space-2xl);
  }

  .hero-badge {
    font-size: 0.78rem;
    padding: 0.35rem 0.85rem;
  }

  .hero-subtitle {
    margin-bottom: var(--space-xl);
  }

  .hero-mockup {
    max-width: 220px;
  }

  /* Store buttons stack on mobile */
  .store-buttons {
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
  }

  .store-btn {
    width: 100%;
    max-width: 260px;
    justify-content: center;
  }

  /* Features */
  .features-header,
  .categories-header,
  .how-header,
  .testimonials-header {
    margin-bottom: var(--space-2xl);
  }

  .feature-card {
    padding: var(--space-xl) var(--space-md);
  }

  .feature-icon {
    width: 60px;
    height: 60px;
  }

  .feature-icon svg {
    width: 28px;
    height: 28px;
  }

  /* Categories */
  .category-icon {
    width: 50px;
    height: 50px;
  }

  .category-icon svg {
    width: 24px;
    height: 24px;
  }

  .category-card {
    padding: var(--space-md) var(--space-sm);
  }

  .category-card h3 {
    font-size: 0.85rem;
  }

  /* How it works */
  .step-number {
    width: 48px;
    height: 48px;
    font-size: 1.1rem;
  }

  /* Testimonials */
  .testimonial-card {
    padding: var(--space-xl);
  }

  /* CTA */
  .cta .store-btn {
    background: #fff;
    color: var(--gray-900);
  }

  /* Footer */
  .footer {
    padding: var(--space-2xl) 0 var(--space-md);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .footer-col h4 {
    margin-bottom: var(--space-sm);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

  /* Legal & Blog pages */
  .legal-page,
  .blog-page,
  .blog-post {
    padding-top: calc(var(--header-height) + var(--space-2xl));
    padding-bottom: var(--space-3xl);
  }

  /* Blog card */
  .blog-card {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    padding: var(--space-md);
  }

  .blog-card h2 {
    font-size: 1.05rem;
  }
}

/* --- Small phones (max 480px) --- */
@media (max-width: 480px) {
  :root {
    --space-2xl: 1.5rem;
    --space-3xl: 2rem;
    --space-4xl: 2.5rem;
  }

  .heading-1 {
    font-size: 1.85rem;
  }

  .heading-2 {
    font-size: 1.5rem;
  }

  .heading-3 {
    font-size: 1.1rem;
  }

  .body-lg {
    font-size: 0.95rem;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  .btn-sm {
    padding: 0.55rem 1.25rem;
    font-size: 0.8rem;
  }

  .store-btn {
    padding: 0.65rem 1.25rem;
    gap: 0.5rem;
  }

  .store-btn svg {
    width: 22px;
    height: 22px;
  }

  .store-btn-text span {
    font-size: 0.9rem;
  }

  .store-btn-text small {
    font-size: 0.6rem;
  }

  /* Hero */
  .hero {
    padding-top: calc(var(--header-height) + var(--space-xl));
  }

  .hero-mockup {
    max-width: 180px;
  }

  /* Card spacing */
  .card {
    padding: var(--space-lg);
  }

  /* Categories 2-col tighter */
  .categories-grid {
    gap: var(--space-sm);
  }

  .category-card {
    padding: var(--space-sm);
    border-radius: var(--radius-md);
  }

  .category-icon {
    width: 44px;
    height: 44px;
    margin-bottom: var(--space-sm);
  }

  .category-icon svg {
    width: 20px;
    height: 20px;
  }

  .category-card h3 {
    font-size: 0.8rem;
  }

  /* Steps */
  .step-number {
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }

  /* Testimonials */
  .testimonial-card {
    padding: var(--space-lg);
  }

  .testimonial-card blockquote {
    font-size: 0.875rem;
  }

  /* Footer */
  .footer-col a {
    font-size: 0.85rem;
  }

  .footer-bottom {
    font-size: 0.75rem;
  }
}
