/* GetMacro — Warm Cream & Coral Design System */
/* Matching the app's warm, inviting aesthetic */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --cream: #FAF8F4;
  --cream-dark: #F0EFEB;
  --white: #FFFFFF;

  --coral: #D97757;
  --coral-dark: #C4664A;
  --coral-light: rgba(217, 119, 87, 0.08);
  --coral-medium: rgba(217, 119, 87, 0.15);
  --coral-glow: rgba(217, 119, 87, 0.25);

  --text: #1C1C1E;
  --text-secondary: #6E6E73;
  --text-muted: #AEAEB2;

  --border: rgba(0, 0, 0, 0.06);
  --border-hover: rgba(0, 0, 0, 0.12);

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.03), 0 6px 16px rgba(0, 0, 0, 0.04);
  --shadow-card-hover: 0 8px 30px rgba(0, 0, 0, 0.08);
  --shadow-phone: 0 24px 48px rgba(0, 0, 0, 0.14), 0 8px 16px rgba(0, 0, 0, 0.06);

  --macro-protein: #E85D4A;
  --macro-carbs: #F5A623;
  --macro-fat: #3478F6;
  --green: #34C759;

  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'Outfit', -apple-system, sans-serif;

  --space-xs: 4px;
  --space-s: 8px;
  --space-m: 16px;
  --space-l: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
}

/* =============================================
   RESET & BASE
   ============================================= */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background-color: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Subtle grain overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 128px;
}

/* =============================================
   TYPOGRAPHY
   ============================================= */

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

h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

h4 {
  font-size: 1.05rem;
  font-weight: 600;
}

p {
  color: var(--text-secondary);
  line-height: 1.7;
}

a {
  color: var(--coral);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--coral-dark);
}

ul, ol {
  padding-left: var(--space-l);
}

li {
  color: var(--text-secondary);
  margin-bottom: var(--space-s);
  line-height: 1.7;
}

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

::selection {
  background: var(--coral-medium);
  color: var(--text);
}

/* =============================================
   LAYOUT
   ============================================= */

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 var(--space-l);
}

.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--space-l);
}

/* =============================================
   HEADER
   ============================================= */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250, 248, 244, 0.82);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 20px var(--space-l);
  max-width: 1140px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.025em;
  transition: opacity 0.2s ease;
}

.logo:hover { color: var(--text); opacity: 0.8; }

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  box-shadow: 0 2px 8px rgba(217, 119, 87, 0.3);
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-l);
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: var(--space-xs);
  margin: 0;
  padding: 0;
}

.nav-links li { margin: 0; }

.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.88rem;
  padding: 8px 14px;
  border-radius: var(--radius-s);
  transition: all 0.2s ease;
}

.nav-links a:hover {
  color: var(--coral);
  background: var(--coral-light);
}

/* Dropdown */
.dropdown { position: relative; }

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.88rem;
  font-family: var(--font-body);
  padding: 8px 14px;
  border-radius: var(--radius-s);
  transition: all 0.2s ease;
}

.dropdown-toggle:hover {
  color: var(--coral);
  background: var(--coral-light);
}

.dropdown-toggle::after {
  content: '';
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  display: inline-block;
  padding: 2px;
  transform: rotate(45deg);
  margin-top: -2px;
  transition: transform 0.2s ease;
}

.dropdown:hover .dropdown-toggle::after {
  transform: rotate(-135deg);
  margin-top: 2px;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.2s ease;
  z-index: 100;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 14px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  border-radius: var(--radius-s);
  transition: all 0.15s ease;
}

.dropdown-menu a:hover {
  background: var(--coral-light);
  color: var(--coral);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: var(--radius-s);
  transition: background 0.2s ease;
}

.mobile-menu-toggle:hover { background: var(--coral-light); }

.mobile-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav Overlay */
.mobile-nav {
  display: none;
  position: fixed;
  top: 65px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(250, 248, 244, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  padding: var(--space-2xl) var(--space-l);
  flex-direction: column;
}

.mobile-nav.active {
  display: flex;
  animation: fadeSlideIn 0.25s ease both;
}

.mobile-nav a {
  display: block;
  padding: 14px 0;
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}

.mobile-nav a:hover { color: var(--coral); }

.mobile-nav .mobile-nav-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-s);
}

.mobile-nav-download {
  display: block;
  margin-top: var(--space-xl);
  border-bottom: none !important;
}

.mobile-nav-download img {
  height: 48px;
  width: auto;
}

/* =============================================
   BUTTONS
   ============================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-s);
  font-family: var(--font-body);
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--coral);
  color: var(--white);
  border-radius: var(--radius-full);
  padding: 0 28px;
  height: 48px;
  font-size: 0.92rem;
  box-shadow: 0 2px 8px rgba(217, 119, 87, 0.25);
}

.btn-primary:hover {
  background: var(--coral-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(217, 119, 87, 0.3);
}

.btn-secondary {
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-full);
  padding: 0 24px;
  height: 44px;
  font-size: 0.88rem;
}

.btn-secondary:hover {
  border-color: var(--coral);
  color: var(--coral);
  background: var(--coral-light);
}

.btn-small {
  height: 38px;
  padding: 0 var(--space-m);
  font-size: 0.84rem;
}

.btn-large {
  height: 54px;
  padding: 0 36px;
  font-size: 1rem;
}

/* App Store Badge (Image) */
.store-badge-img {
  display: inline-block;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 12px;
}

.store-badge-img:hover {
  transform: translateY(-3px);
  filter: brightness(1.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.store-badge-img img {
  height: 56px;
  width: auto;
  display: block;
  border-radius: 12px;
}

/* Header Download Button */
.header-download {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  transition: all 0.25s ease;
}

.header-download:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
}

.header-download img {
  height: 40px;
  width: auto;
  display: block;
  border-radius: 8px;
}

/* =============================================
   CARDS
   ============================================= */

.card {
  background: var(--white);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-card);
  padding: var(--space-xl);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

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

/* =============================================
   HERO — LANDING PAGE (Split layout)
   ============================================= */

.hero-landing {
  position: relative;
  padding: 56px 0 64px;
  overflow: hidden;
  min-height: calc(100vh - 82px);
  display: flex;
  align-items: center;
}

/* Warm ambient gradient wash */
.hero-landing::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(217, 119, 87, 0.07) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 20% 80%, rgba(245, 166, 35, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.hero-landing .container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-2xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  font-size: clamp(2.5rem, 4.5vw, 3.75rem);
  line-height: 1.08;
  margin-bottom: var(--space-l);
  letter-spacing: -0.035em;
  font-weight: 800;
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-description {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: normal;
  color: var(--text-secondary);
  max-width: 440px;
  line-height: 1.65;
  margin-bottom: 0;
  letter-spacing: 0.005em;
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-m);
  margin-top: var(--space-l);
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.24s both;
}

/* =============================================
   HERO — INNER PAGES (Centered)
   ============================================= */

.hero {
  position: relative;
  padding: 80px 0 64px;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(217, 119, 87, 0.05) 0%, transparent 65%);
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.hero-icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto var(--space-l);
  box-shadow: 0 8px 24px rgba(217, 119, 87, 0.3);
  animation: scaleIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero h1 {
  margin-bottom: var(--space-m);
  animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.hero-tagline {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto var(--space-xl);
  line-height: 1.7;
  animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.hero .btn,
.hero .store-badge {
  animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

/* =============================================
   PHONE MOCKUP
   ============================================= */

.phone-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

/* Warm glow orb behind phone */
.phone-glow {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(217, 119, 87, 0.18) 0%,
    rgba(245, 166, 35, 0.08) 40%,
    transparent 70%
  );
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(40px);
  animation: glowPulse 5s ease-in-out infinite;
  z-index: 0;
}

.phone-mockup-img {
  width: 300px;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
  animation: phoneFloat 6s ease-in-out infinite;
  filter:
    drop-shadow(0 4px 8px rgba(0, 0, 0, 0.06))
    drop-shadow(0 16px 40px rgba(0, 0, 0, 0.1))
    drop-shadow(0 32px 64px rgba(217, 119, 87, 0.08));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.phone-wrapper:hover .phone-mockup-img {
  transform: translateY(-6px) scale(1.02);
}

/* Phone Flow — Dynamic overlapping mockups with hand-drawn arrow */
.phone-flow {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
  padding: var(--space-l) 0;
}

.phone-flow .phone-wrapper {
  animation: none;
}

.phone-flow .phone-mockup-img {
  width: 280px;
}

.phone-flow .phone-glow {
  width: 300px;
  height: 300px;
}

/* Scan phone — tilted left, slightly elevated */
.phone-scan {
  transform: rotate(-6deg);
  z-index: 2;
}

/* Results phone — tilted right, offset down, overlapping */
.phone-results {
  transform: rotate(4deg) translateY(48px);
  margin-left: -35px;
  z-index: 1;
}

/* Stagger the float animation so phones bob out of sync */
.phone-results .phone-mockup-img {
  animation-delay: -3s;
}

/* Hand-drawn curly arrow */
.flow-arrow-svg {
  position: absolute;
  width: 130px;
  top: -6%;
  left: 50%;
  transform: translateX(-50%) rotate(-10deg);
  z-index: 10;
  color: var(--text);
  opacity: 0.3;
  pointer-events: none;
}

.flow-arrow-path {
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  animation: drawArrow 2s cubic-bezier(0.65, 0, 0.35, 1) 1s forwards;
}

.flow-arrow-tip {
  opacity: 0;
  animation: arrowTipReveal 0.4s ease 2.8s forwards;
}

@keyframes drawArrow {
  to { stroke-dashoffset: 0; }
}

@keyframes arrowTipReveal {
  to { opacity: 1; }
}

/* =============================================
   SECTIONS
   ============================================= */

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

.section-title {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-title h2 {
  margin-bottom: var(--space-s);
}

.section-title p {
  max-width: 480px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.section-divider {
  width: 40px;
  height: 3px;
  background: var(--coral);
  border-radius: 2px;
  margin: 0 auto var(--space-l);
}

/* =============================================
   FEATURES GRID
   ============================================= */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-l);
}

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

.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--coral-light);
  border-radius: var(--radius-m);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-m);
  font-size: 1.5rem;
  transition: background 0.3s ease;
}

.card-hover:hover .feature-icon {
  background: var(--coral-medium);
}

.feature-card h3 {
  margin-bottom: var(--space-s);
  font-size: 1.1rem;
}

.feature-card p {
  font-size: 0.92rem;
  margin: 0;
  line-height: 1.65;
}

/* =============================================
   PRIVACY / TRUST SECTION
   ============================================= */

.trust-section {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl) var(--space-xl);
  text-align: center;
  box-shadow: var(--shadow-card);
}

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

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

.trust-icon {
  width: 48px;
  height: 48px;
  background: var(--coral-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-m);
  font-size: 1.3rem;
}

.trust-block h4 {
  margin-bottom: 6px;
}

.trust-block p {
  font-size: 0.88rem;
  line-height: 1.5;
}

/* =============================================
   INNER PAGES — Editorial Layout
   ============================================= */

.legal-page,
.support-page {
  padding: 72px 0 var(--space-4xl);
}

.legal-hero {
  padding-bottom: var(--space-2xl);
  margin-bottom: var(--space-xl);
  border-bottom: 1px solid var(--border);
}

.legal-eyebrow {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--coral);
  margin-bottom: var(--space-m);
  animation: fadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.legal-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-m);
  animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.06s both;
}

.legal-hero h1 em {
  font-style: normal;
}

.legal-date {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
}

.legal-hero > p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.7;
  margin-top: var(--space-m);
  animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
}

/* =============================================
   LEGAL BODY — Sections
   ============================================= */

.legal-body .legal-block {
  position: relative;
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--border);
}

.legal-body .legal-block:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.block-number {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--coral);
  letter-spacing: 0.08em;
  margin-bottom: var(--space-s);
  opacity: 0.6;
}

.legal-block h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: var(--space-m);
  color: var(--text);
}

.legal-block h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: var(--space-l) 0 var(--space-s);
  color: var(--text);
}

.legal-block p {
  margin-bottom: var(--space-m);
  font-size: 0.94rem;
}

.legal-block p:last-child {
  margin-bottom: 0;
}

.legal-block ul,
.legal-block ol {
  margin-bottom: var(--space-m);
}

.legal-block li {
  font-size: 0.94rem;
}

/* =============================================
   SUPPORT PAGE
   ============================================= */

.support-contact {
  padding-bottom: var(--space-2xl);
  margin-bottom: var(--space-xl);
  border-bottom: 1px solid var(--border);
}

.support-email-link {
  display: inline-block;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 600;
  color: var(--coral);
  margin: var(--space-s) 0;
  transition: opacity 0.2s ease;
}

.support-email-link:hover {
  opacity: 0.7;
  color: var(--coral);
}

.support-meta {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: var(--space-xs);
}

.support-tip {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: var(--space-m);
}

.support-tip-list {
  list-style: none;
  padding: 0;
  margin-top: var(--space-s);
}

.support-tip-list li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding-left: var(--space-m);
  position: relative;
  margin-bottom: var(--space-xs);
}

.support-tip-list li::before {
  content: '\2014';
  position: absolute;
  left: 0;
  color: var(--coral);
  opacity: 0.4;
}

.support-actions {
  display: flex;
  gap: var(--space-m);
  margin-top: var(--space-l);
  flex-wrap: wrap;
}

/* (Support grid replaced by editorial layout above) */

/* =============================================
   DATA TABLE
   ============================================= */

.table-wrapper {
  overflow-x: auto;
  margin: var(--space-m) 0;
  border-radius: var(--radius-m);
  border: 1px solid var(--border);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: var(--space-m);
  text-align: left;
}

.data-table th {
  font-weight: 600;
  font-size: 0.72rem;
  color: var(--text-muted);
  background: var(--cream);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--border);
}

.data-table td {
  color: var(--text-secondary);
  font-size: 0.92rem;
  border-bottom: 1px solid var(--border);
}

.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--coral-light); }

/* =============================================
   FOOTER
   ============================================= */

.site-footer {
  border-top: 1px solid var(--border);
  padding: var(--space-2xl) 0 var(--space-xl);
  margin-top: var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  gap: var(--space-2xl);
  align-items: start;
}

/* Brand column */
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.025em;
  transition: opacity 0.2s ease;
}

.footer-logo:hover { color: var(--text); opacity: 0.7; }

.footer-logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(217, 119, 87, 0.25);
}

.footer-download-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-top: var(--space-m);
  margin-bottom: var(--space-s);
}

.footer-store-badge {
  display: inline-block;
  transition: all 0.25s ease;
}

.footer-store-badge:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.footer-store-badge img {
  height: 38px;
  width: auto;
  display: block;
  border-radius: 8px;
}

/* Link columns */
.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-m);
}

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

.footer-col li {
  margin-bottom: 10px;
  color: var(--text-secondary);
}

.footer-col a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 400;
  transition: color 0.2s ease;
}

.footer-col a:hover { color: var(--coral); }

/* Social icons */
.footer-socials {
  display: flex;
  align-items: center;
  gap: var(--space-m);
  padding-top: 2px;
}

.footer-socials a {
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.footer-socials a:hover {
  color: var(--coral);
  transform: translateY(-2px);
}

/* Footer bottom / copyright */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--space-xl);
  padding-top: var(--space-l);
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.7;
}

/* =============================================
   ERROR PAGE
   ============================================= */

.error-page {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px var(--space-l);
}

.error-code {
  font-size: clamp(6rem, 15vw, 10rem);
  font-weight: 800;
  color: var(--coral);
  line-height: 1;
  margin-bottom: var(--space-m);
  opacity: 0.2;
}

.error-page h1 {
  font-size: 1.75rem;
  margin-bottom: var(--space-m);
}

.error-page p {
  margin-bottom: var(--space-xl);
  font-size: 1.05rem;
}

/* =============================================
   UTILITIES
   ============================================= */

.text-center { text-align: center; }
.mt-s { margin-top: var(--space-s); }
.mt-m { margin-top: var(--space-m); }
.mt-l { margin-top: var(--space-l); }
.mt-xl { margin-top: var(--space-xl); }
.mb-s { margin-bottom: var(--space-s); }
.mb-m { margin-bottom: var(--space-m); }
.mb-l { margin-bottom: var(--space-l); }
.mb-xl { margin-bottom: var(--space-xl); }

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* =============================================
   ANIMATIONS
   ============================================= */

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

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes faqSlide {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes glowPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  50% { transform: translate(-50%, -50%) scale(1.08); opacity: 0.8; }
}


/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 900px) {
  .hero-landing {
    min-height: auto;
    padding: 48px 0 56px;
  }

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

  .phone-flow { order: -1; }

  .hero-text h1 { font-size: 2.5rem; }
  .hero-description { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }

  .header-download { display: none; }

  .header-inner {
    display: flex;
    justify-content: space-between;
  }

  .phone-mockup-img { width: 260px; }
  .phone-glow { width: 280px; height: 280px; }

  .phone-flow .phone-mockup-img { width: 210px; }
  .phone-flow .phone-glow { width: 230px; height: 230px; }
  .phone-scan { transform: rotate(-4deg); }
  .phone-results { transform: rotate(3deg) translateY(32px); margin-left: -25px; }
  .flow-arrow-svg { width: 100px; }

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

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

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

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

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

  .hero { padding: 56px 0 48px; }

  .hero-icon {
    width: 72px;
    height: 72px;
  }

  .hero-tagline { font-size: 1.05rem; }

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

  .legal-page,
  .support-page { padding: 56px 0 var(--space-3xl); }

  .features-grid { grid-template-columns: 1fr; }

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

  .hero-text h1 { font-size: 2.2rem; }

  .phone-mockup-img { width: 220px; }
  .phone-glow { width: 240px; height: 240px; }

  .phone-flow .phone-mockup-img { width: 180px; }
  .phone-flow .phone-glow { width: 200px; height: 200px; }
  .phone-scan { transform: rotate(-3deg); }
  .phone-results { transform: rotate(2deg) translateY(24px); margin-left: -18px; }
  .flow-arrow-svg { width: 85px; top: -4%; }
}



@media (max-width: 480px) {
  .container,
  .container-narrow {
    padding: 0 var(--space-m);
  }

  .card { padding: var(--space-l); }

  .footer-grid { grid-template-columns: 1fr; gap: var(--space-l); }
  .footer-socials { justify-content: flex-start; }

  .data-table th,
  .data-table td {
    padding: var(--space-s) var(--space-m);
    font-size: 0.85rem;
  }

  .hero-landing { padding: 32px 0 40px; }

  .phone-mockup-img { width: 200px; }
  .phone-glow { width: 220px; height: 220px; }

  .phone-flow .phone-mockup-img { width: 160px; }
  .phone-flow .phone-glow { width: 180px; height: 180px; }
  .phone-scan { transform: rotate(-3deg); }
  .phone-results { transform: rotate(3deg) translateY(20px); margin-left: -15px; }
  .flow-arrow-svg { width: 70px; top: -6%; }

  .footer-bottom { text-align: center; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
