/* ============================================================
   ShotCanvas — Landing Page Styles
   Dark-first, teal accent (#0D9488), Inter typography
   ============================================================ */

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

:root {
  /* Brand */
  --teal-400: #2DD4BF;
  --teal-500: #14B8A6;
  --teal-600: #0D9488;
  --teal-700: #0F766E;
  --teal-900: #042F2E;

  /* 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;
  --gray-950: #030712;

  /* Semantic */
  --bg-base:       #080E14;
  --bg-surface:    #0D1520;
  --bg-elevated:   #131E2C;
  --bg-card:       #16212F;
  --bg-card-hover: #1C2A3A;

  --text-primary:   #F1F5F9;
  --text-secondary: #94A3B8;
  --text-muted:     #475569;

  --border:        rgba(255,255,255,0.07);
  --border-bright: rgba(255,255,255,0.12);

  /* Accent */
  --accent:       #0D9488;
  --accent-light: #14B8A6;
  --accent-dim:   rgba(13, 148, 136, 0.15);
  --accent-glow:  rgba(13, 148, 136, 0.25);

  /* Spacing */
  --space-xs:  4px;
  --space-sm:  8px;
  --space-md:  16px;
  --space-lg:  24px;
  --space-xl:  32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  --space-5xl: 128px;

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

  /* Radius */
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.4);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.5);
  --shadow-xl:  0 16px 64px rgba(0,0,0,0.6);
  --glow-teal:  0 0 40px rgba(13,148,136,0.3);
}

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

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

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

img, svg { display: block; }

/* ── Typography Scale ─────────────────────────────────────── */
.text-display {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.text-h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.text-h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.text-h3 {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.text-body {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
}

.text-small {
  font-size: 0.875rem;
  line-height: 1.6;
}

.text-caption {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

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

.container--wide {
  max-width: 1440px;
}

.container--narrow {
  max-width: 720px;
}

/* ── Navigation ───────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-md) 0;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(8, 14, 20, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-color: var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}

.nav__logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--teal-600), var(--teal-400));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  list-style: none;
}

.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

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

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

@media (max-width: 768px) {
  .nav__links { display: none; }
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 10px var(--space-lg);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  border: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: white;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.btn:hover::after { opacity: 0.06; }
.btn:active::after { opacity: 0.12; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 0 var(--accent-glow);
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-bright);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  padding: 8px var(--space-md);
  font-size: 0.875rem;
}

.btn-ghost:hover {
  color: var(--text-primary);
  border-color: var(--border-bright);
  background: var(--bg-card);
}

.btn-large {
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: var(--radius-lg);
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-store:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 4px 16px var(--accent-glow);
  transform: translateY(-1px);
}

.btn-store__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.btn-store__text {
  text-align: left;
}

.btn-store__label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.btn-store__name {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

/* ── Badges / Labels ──────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-teal {
  background: var(--accent-dim);
  color: var(--teal-400);
  border: 1px solid rgba(20, 184, 166, 0.2);
}

.badge-coming-soon {
  background: rgba(245, 158, 11, 0.12);
  color: #FCD34D;
  border: 1px solid rgba(245, 158, 11, 0.2);
  font-size: 0.6875rem;
}

.badge-free {
  background: rgba(34, 197, 94, 0.12);
  color: #86EFAC;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

/* ── Section Anatomy ──────────────────────────────────────── */
section {
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: var(--space-md);
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 560px;
}

.section-header {
  margin-bottom: var(--space-3xl);
}

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

.section-header--center .section-label {
  justify-content: center;
}

.section-header--center .section-subtitle {
  margin: var(--space-md) auto 0;
}

/* ── Dividers ─────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-bright), transparent);
  border: none;
}

/* ── ============================================== ──────── */
/*    HERO SECTION                                            */
/* ── ============================================== ──────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: var(--space-5xl) 0 var(--space-4xl);
  position: relative;
  overflow: hidden;
}

/* Layered background */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 60% 40%, rgba(13,148,136,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 10% 80%, rgba(13,148,136,0.06) 0%, transparent 50%);
}

.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, black 0%, transparent 80%);
}

.hero__bg-noise {
  position: absolute;
  inset: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.hero__content {
  max-width: 580px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 6px 14px;
  background: var(--accent-dim);
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--teal-400);
  letter-spacing: 0.02em;
  margin-bottom: var(--space-lg);
  width: fit-content;
}

.hero__eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--teal-400);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero__headline {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin-bottom: var(--space-lg);
  color: var(--text-primary);
}

.hero__headline .accent {
  background: linear-gradient(135deg, var(--teal-400), var(--teal-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-2xl);
  max-width: 500px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* Desktop CTAs */
.hero__actions--desktop { display: flex; }
.hero__actions--mobile  { display: none; }

.hero__meta {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border);
}

.hero__meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero__meta-value {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.hero__meta-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── App Preview (right col) ──────────────────────────────── */
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-preview {
  position: relative;
  width: 100%;
  max-width: 480px;
}

/* Phone frame — realistic modern iPhone */
.phone-frame {
  width: 260px;
  height: 530px;
  background: #1a1a2e;
  border-radius: 44px;
  border: 3px solid #2a2a3e;
  overflow: hidden;
  position: relative;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08),
    0 20px 60px rgba(0,0,0,0.5),
    0 0 80px rgba(13,148,136,0.12),
    inset 0 1px 0 rgba(255,255,255,0.1),
    inset 0 -1px 0 rgba(0,0,0,0.3);
}

/* Dynamic Island */
.phone-frame__notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 22px;
  background: #000;
  border-radius: 14px;
  z-index: 10;
}

.phone-screen {
  position: absolute;
  inset: 3px;
  overflow: hidden;
  border-radius: 40px;
}

/* App UI inside phone */
.phone-app {
  width: 100%;
  height: 100%;
  background: #080e1a;
  display: flex;
  flex-direction: column;
  padding: 36px 0 0;
  gap: 0;
}

.phone-app__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
}

.phone-app__title {
  font-size: 11px;
  font-weight: 700;
  color: #F1F5F9;
  letter-spacing: -0.01em;
}

.phone-app__dot {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--teal-600), var(--teal-400));
}

/* Screenshot cards inside phone */
.phone-card {
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}

.phone-card--template {
  height: 120px;
  background: linear-gradient(135deg, #1e3a5f, #0f2744);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.phone-card--template::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-dim), transparent);
}

.phone-card--template::after {
  content: 'GRADIENT HERO';
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--teal-400);
  position: relative;
  z-index: 1;
}

.phone-card--mini {
  height: 56px;
  border-radius: 8px;
}

.phone-cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.phone-mini-a {
  background: linear-gradient(135deg, #312e81, #4f46e5);
  border: 1px solid rgba(99,102,241,0.3);
}

.phone-mini-b {
  background: linear-gradient(135deg, #164e63, #0e7490);
  border: 1px solid rgba(20,184,166,0.3);
}

.phone-mini-c {
  background: linear-gradient(135deg, #3b0764, #7c3aed);
  border: 1px solid rgba(139,92,246,0.3);
}

.phone-mini-d {
  background: linear-gradient(135deg, #1a2e05, #365314);
  border: 1px solid rgba(132,204,22,0.2);
}

/* Floating accent cards */
.float-card {
  position: absolute;
  z-index: 10;
  border-radius: var(--radius-lg);
  padding: 12px 16px;
  background: rgba(13, 21, 32, 0.9);
  border: 1px solid var(--border-bright);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
  white-space: nowrap;
}

.float-card--templates {
  top: 40px;
  right: -40px;
  animation: float-a 4s ease-in-out infinite;
}

.float-card--export {
  bottom: 60px;
  left: -50px;
  animation: float-b 5s ease-in-out infinite;
}

.float-card--ai {
  top: 160px;
  right: -60px;
  animation: float-c 4.5s ease-in-out infinite;
}

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

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

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

.float-card__label {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.float-card__value {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.float-card__badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 600;
}

.badge-green { background: rgba(34,197,94,0.15); color: #86EFAC; }
.badge-purple { background: rgba(139,92,246,0.15); color: #C4B5FD; }

/* Phone glow under */
.phone-glow {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 160px;
  height: 60px;
  background: var(--accent);
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.25;
}

/* ── ============================================== ──────── */
/*    HOW IT WORKS                                            */
/* ── ============================================== ──────── */
.how-it-works {
  padding: var(--space-5xl) 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

/* Connector line between steps */
.steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(16.67% + 32px);
  right: calc(16.67% + 32px);
  height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--teal-400), var(--accent));
  opacity: 0.3;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-lg);
  padding: var(--space-xl);
  position: relative;
}

.step__number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--accent-light);
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.step__number::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--accent-dim);
  z-index: -1;
}

.step__icon {
  font-size: 2rem;
  margin-bottom: -var(--space-sm);
}

.step__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.015em;
}

.step__desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 240px;
}

/* ── ============================================== ──────── */
/*    FEATURES SECTION                                        */
/* ── ============================================== ──────── */
.features {
  padding: var(--space-5xl) 0;
  background: var(--bg-base);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-md);
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-dim), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: inherit;
}

.feature-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card--large {
  grid-column: span 2;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--accent-dim);
  border: 1px solid rgba(20,184,166,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
}

.feature-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.015em;
  position: relative;
  z-index: 1;
}

.feature-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: var(--space-md);
  position: relative;
  z-index: 1;
}

.feature-tag {
  padding: 3px 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* ── ============================================== ──────── */
/*    TEMPLATES SHOWCASE                                      */
/* ── ============================================== ──────── */
.templates {
  padding: var(--space-5xl) 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.templates-scroll-container {
  overflow: hidden;
  margin: 0 -24px;
  padding: var(--space-md) 0;
}

.templates-track {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  animation: scroll-templates 40s linear infinite;
  width: max-content;
}

.templates-track:hover {
  animation-play-state: paused;
}

@keyframes scroll-templates {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.template-card {
  width: 200px;
  height: 300px;
  border-radius: var(--radius-xl);
  flex-shrink: 0;
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: var(--space-lg);
}

.template-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--border-bright);
  box-shadow: var(--shadow-lg);
}

.template-card__name {
  font-size: 0.8125rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  text-align: center;
  position: relative;
  z-index: 2;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}

/* Individual template visuals */
.t-gradient-hero {
  background: linear-gradient(160deg, #0f2744 0%, #0d9488 50%, #065f46 100%);
}

.t-minimal-clean {
  background: linear-gradient(160deg, #1e293b 0%, #334155 60%, #475569 100%);
}

.t-bold-type {
  background: linear-gradient(160deg, #1a1a2e 0%, #16213e 40%, #0f3460 100%);
}

.t-split-screen {
  background: linear-gradient(90deg, #0f172a 50%, #0d9488 50%);
}

.t-device-showcase {
  background: linear-gradient(160deg, #0c0c0c 0%, #1a1a1a 50%, #2a2a2a 100%);
}

.t-spotlight {
  background: radial-gradient(circle at 50% 30%, rgba(20,184,166,0.4) 0%, #030712 60%);
}

.t-duo-tone {
  background: linear-gradient(160deg, #312e81 0%, #4f46e5 50%, #7c3aed 100%);
}

.t-floating-card {
  background: linear-gradient(160deg, #1e1b4b 0%, #312e81 60%, #4338ca 100%);
}

.t-glass {
  background: linear-gradient(160deg, #0c4a6e 0%, #075985 40%, #0369a1 100%);
}

.t-neon-glow {
  background: radial-gradient(circle at 30% 70%, rgba(139,92,246,0.5) 0%, #0a0a0a 60%),
              radial-gradient(circle at 70% 30%, rgba(20,184,166,0.3) 0%, transparent 50%);
}

.t-magazine {
  background: linear-gradient(160deg, #1f2937 0%, #111827 40%, #030712 100%);
}

.t-focal {
  background: radial-gradient(ellipse at center, #1d4ed8 0%, #1e3a8a 40%, #0f172a 80%);
}

.t-carousel-3d {
  background: linear-gradient(160deg, #292524 0%, #44403c 50%, #57534e 100%);
}

.t-color-extract {
  background: linear-gradient(160deg, #14532d 0%, #15803d 40%, #16a34a 70%, #22c55e 100%);
}

.t-story {
  background: linear-gradient(180deg, #450a0a 0%, #991b1b 40%, #dc2626 100%);
}

.t-ai-custom {
  background: linear-gradient(160deg, #1c1917 0%, #292524 30%, var(--accent) 100%);
}

/* Subtle pattern overlay on template cards */
.template-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M0 0h10v10H0z M10 10h10v10H10z'/%3E%3C/g%3E%3C/svg%3E");
  z-index: 1;
}

.template-card__name {
  z-index: 3;
}

/* Gradient overlay at bottom of each card */
.template-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  z-index: 2;
}

/* ── ============================================== ──────── */
/*    AI FEATURES                                             */
/* ── ============================================== ──────── */
.ai-section {
  padding: var(--space-5xl) 0;
  background: var(--bg-base);
  position: relative;
  overflow: hidden;
}

.ai-section::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(13,148,136,0.08) 0%, transparent 70%);
  pointer-events: none;
}

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

.ai-features-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.ai-feature-item {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-xl);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  transition: all 0.2s ease;
}

.ai-feature-item:hover {
  border-color: rgba(20,184,166,0.2);
  background: var(--bg-card-hover);
}

.ai-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--accent-dim), rgba(20,184,166,0.08));
  border: 1px solid rgba(20,184,166,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.ai-feature-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  letter-spacing: -0.015em;
}

.ai-feature-content p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* AI Visual */
.ai-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 480px;
}

.ai-orb {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: conic-gradient(
    from 180deg at 50% 50%,
    var(--teal-900) 0deg,
    var(--teal-700) 90deg,
    var(--teal-500) 180deg,
    var(--teal-700) 270deg,
    var(--teal-900) 360deg
  );
  position: relative;
  animation: rotate-orb 8s linear infinite;
  box-shadow:
    0 0 60px rgba(13,148,136,0.3),
    0 0 120px rgba(13,148,136,0.15),
    inset 0 0 40px rgba(0,0,0,0.5);
}

.ai-orb::after {
  content: '';
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  background: var(--bg-base);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-orb-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.ai-orb-icon {
  font-size: 2.5rem;
}

.ai-orb-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@keyframes rotate-orb {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Orbiting particles */
.ai-particles {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 1px dashed rgba(20,184,166,0.1);
  animation: rotate-orb 12s linear infinite reverse;
}

.ai-particle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--teal-500);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent);
}

.ai-particle:nth-child(1) { top: -4px; left: 50%; transform: translateX(-50%); }
.ai-particle:nth-child(2) { bottom: -4px; left: 50%; transform: translateX(-50%); }
.ai-particle:nth-child(3) { left: -4px; top: 50%; transform: translateY(-50%); background: var(--teal-400); }

/* Floating chips around orb */
.ai-chip {
  position: absolute;
  padding: 8px 14px;
  background: rgba(13,21,32,0.95);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  backdrop-filter: blur(12px);
  white-space: nowrap;
}

.ai-chip-1 { top: 60px;  left: -40px;  animation: float-a 5s ease-in-out infinite; color: var(--teal-400); border-color: rgba(20,184,166,0.2); }
.ai-chip-2 { top: 140px; right: -60px; animation: float-b 4s ease-in-out infinite; }
.ai-chip-3 { bottom: 100px; left: -20px; animation: float-c 6s ease-in-out infinite; color: #C4B5FD; border-color: rgba(139,92,246,0.2); }
.ai-chip-4 { bottom: 60px; right: -30px; animation: float-a 4.5s ease-in-out infinite; }

/* ── ============================================== ──────── */
/*    PRICING SECTION                                         */
/* ── ============================================== ──────── */
.pricing {
  padding: var(--space-5xl) 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  max-width: 880px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: var(--space-2xl);
  position: relative;
  transition: all 0.2s ease;
}

.pricing-card--pro {
  border-color: rgba(20,184,166,0.3);
  background: linear-gradient(160deg, rgba(13,148,136,0.08) 0%, var(--bg-card) 60%);
  box-shadow: 0 0 60px rgba(13,148,136,0.08);
}

.pricing-card--pro::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius-2xl) + 1px);
  background: linear-gradient(135deg, rgba(20,184,166,0.3), transparent 50%);
  z-index: -1;
  pointer-events: none;
}

.pricing-header {
  margin-bottom: var(--space-2xl);
}

.pricing-tier {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-md);
}

.pricing-tier-name {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.pricing-card--pro .pricing-tier-name {
  color: var(--teal-400);
}

.pricing-price {
  margin-bottom: var(--space-sm);
}

.pricing-amount {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text-primary);
}

.pricing-period {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-left: 4px;
}

.pricing-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.pricing-divider {
  height: 1px;
  background: var(--border);
  margin: var(--space-xl) 0;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.pricing-feature-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-feature-icon--check {
  background: rgba(34,197,94,0.15);
  color: #86EFAC;
  border: 1px solid rgba(34,197,94,0.2);
}

.pricing-feature-icon--limit {
  background: rgba(245,158,11,0.1);
  color: #FCD34D;
  border: 1px solid rgba(245,158,11,0.15);
}

.pricing-feature strong {
  color: var(--text-primary);
  font-weight: 600;
}

.pricing-cta {
  width: 100%;
  justify-content: center;
  padding: 14px;
  font-size: 1rem;
  border-radius: var(--radius-lg);
}

/* ── ============================================== ──────── */
/*    CTA STRIP                                               */
/* ── ============================================== ──────── */
.cta-strip {
  padding: var(--space-5xl) 0;
  background: var(--bg-base);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-strip::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(13,148,136,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-strip__title {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
  position: relative;
}

.cta-strip__sub {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
  position: relative;
}

.cta-strip__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  position: relative;
}

/* ── ============================================== ──────── */
/*    FOOTER                                                  */
/* ── ============================================== ──────── */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: var(--space-3xl) 0 var(--space-xl);
}

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

.footer__brand {
  max-width: 320px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.footer__logo-icon {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--teal-600), var(--teal-400));
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

.footer__tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer__links {
  display: flex;
  gap: var(--space-3xl);
}

.footer__link-group h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.footer__link-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__link-group a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.footer__link-group a:hover {
  color: var(--text-primary);
}

.footer__bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.footer__copyright {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer__built {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ── ============================================== ──────── */
/*    SCROLL REVEAL ANIMATIONS                                */
/* ── ============================================== ──────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ── ============================================== ──────── */
/*    LEGAL PAGE STYLES (terms / privacy)                     */
/* ── ============================================== ──────── */
.legal-page {
  min-height: 100vh;
  padding: calc(80px + var(--space-4xl)) 0 var(--space-5xl);
}

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

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

.legal-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
}

.legal-meta {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.legal-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border);
}

.legal-content h2:first-child {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.legal-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.legal-content p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: var(--space-md);
}

.legal-content ul, .legal-content ol {
  padding-left: var(--space-xl);
  margin-bottom: var(--space-md);
}

.legal-content li {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: var(--space-sm);
}

.legal-content a {
  color: var(--accent-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content a:hover {
  color: var(--teal-400);
}

.legal-callout {
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--space-lg);
  margin: var(--space-xl) 0;
}

.legal-callout p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* ── ============================================== ──────── */
/*    RESPONSIVE                                              */
/* ── ============================================== ──────── */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
  }

  .hero__content {
    max-width: none;
    text-align: center;
  }

  .hero__sub { margin: 0 auto var(--space-2xl); }
  .hero__actions { justify-content: center; }
  .hero__meta { justify-content: center; }

  .hero__visual {
    display: none;
  }
  .float-card--export    { left: -20px;  }
  .float-card--ai        { right: -20px; }

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

  .ai-visual { display: none; }

  .feature-card--large {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: calc(80px + var(--space-3xl)) 0 var(--space-3xl);
    min-height: auto;
  }

  .hero__actions--desktop { display: none; }
  .hero__actions--mobile  { display: flex; flex-direction: column; width: 100%; }
  .hero__actions--mobile .btn-store { width: 100%; }

  .hero__meta { display: none; }

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

  .steps::before { display: none; }

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

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

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

  .footer__links {
    gap: var(--space-xl);
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }

  .float-card {
    display: none;
  }

  .phone-frame {
    width: 180px;
    height: 360px;
  }
}

@media (max-width: 480px) {
  :root {
    --space-5xl: 80px;
    --space-4xl: 64px;
  }

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

  .hero__actions--mobile .btn-store {
    padding: 10px 16px;
  }

  .templates-track {
    animation-duration: 30s;
  }

  .template-card {
    width: 160px;
    height: 240px;
  }
}

/* ── FAQ Section ─────────────────────────────────────────── */
.faq {
  padding: var(--space-5xl) 0;
}

.faq-list {
  margin-top: var(--space-3xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease;
}

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

.faq-item[open] {
  border-color: rgba(13, 148, 136, 0.25);
  background: var(--bg-elevated);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) var(--space-xl);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color 0.2s ease;
}

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

.faq-question::marker {
  display: none;
  content: '';
}

.faq-question::after {
  content: '+';
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-muted);
  background: var(--bg-elevated);
  border-radius: var(--radius-full);
  transition: transform 0.3s ease, background 0.2s ease, color 0.2s ease;
}

.faq-item[open] .faq-question::after {
  content: '\2212';
  transform: rotate(180deg);
  background: var(--accent-dim);
  color: var(--accent-light);
}

.faq-question:hover {
  color: var(--accent-light);
}

.faq-answer {
  padding: 0 var(--space-xl) var(--space-lg);
  animation: faqSlideIn 0.3s ease;
}

.faq-answer p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

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

@media (max-width: 768px) {
  .faq {
    padding: var(--space-4xl) 0;
  }

  .faq-question {
    padding: var(--space-md) var(--space-lg);
    font-size: 0.9375rem;
  }

  .faq-answer {
    padding: 0 var(--space-lg) var(--space-md);
  }

  .faq-answer p {
    font-size: 0.875rem;
  }
}

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

.text-gradient {
  background: linear-gradient(135deg, var(--teal-400), var(--teal-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
