/* ============================================
   IconBundlr Marketing Site — Design System
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* --- CSS Variables --- */
:root {
  --bg-primary: #07070C;
  --bg-surface: #111122;
  --bg-surface-hover: #1a1a33;
  --bg-glass: rgba(17, 17, 34, 0.6);
  --border-glass: rgba(99, 102, 241, 0.15);
  --border-subtle: rgba(255, 255, 255, 0.06);

  --accent-primary: #6366F1;
  --accent-secondary: #8B5CF6;
  --accent-glow: rgba(99, 102, 241, 0.25);
  --accent-gradient: linear-gradient(135deg, #6366F1, #8B5CF6);
  --accent-gradient-hover: linear-gradient(135deg, #7577F5, #9D7AFA);

  --text-primary: #F1F5F9;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;

  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.15);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

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

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color var(--transition);
}

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

/* --- Typography --- */
h1,
h2,
h3,
h4 {
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
}

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

.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-primary);
  margin-bottom: 0.75rem;
}

/* --- Layout --- */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 6rem 0;
}

/* --- Glassmorphism Card --- */
.glass-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 2rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--accent-gradient);
  color: white;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
  background: var(--accent-gradient-hover);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.45);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
}

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

.app-store-badge {
  height: 52px;
  transition: transform var(--transition);
}

.app-store-badge:hover {
  transform: scale(1.05);
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--transition);
}

.nav.scrolled {
  background: rgba(7, 7, 12, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.75rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
}

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

.nav-logo svg {
  width: 28px;
  height: 28px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

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

.nav-cta {
  padding: 0.6rem 1.25rem !important;
  font-size: 0.9rem !important;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem 0.4rem 0.5rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  display: inline-block;
}

.hero h1 {
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
}

.hero-stat {
  text-align: left;
}

.hero-stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-image {
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-phone {
  max-width: 320px;
  width: 100%;
  border-radius: 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 80px rgba(99, 102, 241, 0.1);
}

/* ============================================
   SOCIAL PROOF BAR
   ============================================ */
.social-proof {
  padding: 3rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.proof-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.proof-icon {
  font-size: 1.3rem;
}

.proof-highlight {
  color: var(--text-primary);
  font-weight: 700;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
  text-align: center;
}

.how-it-works h2 {
  margin-bottom: 1rem;
}

.how-it-works .section-desc {
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 3.5rem;
  font-size: 1.05rem;
}

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

.steps-grid::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-primary), var(--accent-secondary), transparent);
  opacity: 0.3;
}

.step-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  background: var(--accent-gradient);
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 800;
  color: white;
  position: relative;
  z-index: 1;
}

.step-card h3 {
  margin-bottom: 0.75rem;
}

.step-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================
   FEATURES (Bento Grid)
   ============================================ */
.features {
  text-align: center;
}

.features h2 {
  margin-bottom: 1rem;
}

.features .section-desc {
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 3.5rem;
  font-size: 1.05rem;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1.25rem;
}

.bento-item {
  text-align: left;
  padding: 2rem;
}

.bento-item.span-2 {
  grid-column: span 2;
}

.bento-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-gradient);
  border-radius: var(--radius-md);
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.bento-item h3 {
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

.bento-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ============================================
   ICON GALLERY
   ============================================ */
.gallery {
  text-align: center;
}

.gallery h2 {
  margin-bottom: 1rem;
}

.gallery .section-desc {
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 3rem;
  font-size: 1.05rem;
}

.gallery-image {
  max-width: 640px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.gallery-image img {
  width: 100%;
}

.gallery-caption {
  margin-top: 1.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ============================================
   TRY IT NOW
   ============================================ */
.try-it {
  text-align: center;
}

.try-it h2 {
  margin-bottom: 1rem;
}

.try-it .section-desc {
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 3rem;
  font-size: 1.05rem;
}

.try-it-card {
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}

.try-it-input-group {
  margin-bottom: 1.5rem;
}

.try-it-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.try-it-input {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.try-it-input::placeholder {
  color: var(--text-muted);
}

.try-it-input:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

/* Style Pills */
.style-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.style-pill {
  padding: 0.5rem 1rem;
  border-radius: 100px;
  border: 1px solid var(--border-glass);
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}

.style-pill:hover {
  border-color: var(--accent-primary);
  color: var(--text-primary);
}

.style-pill.active {
  background: var(--accent-gradient);
  border-color: transparent;
  color: white;
  font-weight: 600;
}

/* Color Swatches */
.color-swatches {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.color-swatch {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--swatch-color);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  outline: none;
  position: relative;
}

.color-swatch:hover {
  transform: scale(1.15);
}

.color-swatch.active {
  border-color: white;
  box-shadow: 0 0 0 3px var(--swatch-color), 0 0 12px var(--swatch-color);
  transform: scale(1.15);
}

/* Generate Button */
.generate-btn {
  width: 100%;
  justify-content: center;
  padding: 1rem;
  font-size: 1.05rem;
  margin-top: 0.5rem;
}

.generate-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.generate-btn-loading {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.spinner {
  animation: spin 1s linear infinite;
}

.generation-counter {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* Preview Result */
.preview-result {
  max-width: 520px;
  margin: 2.5rem auto 0;
  text-align: center;
}

.preview-image-container {
  position: relative;
  display: inline-block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.preview-image {
  width: 320px;
  height: 320px;
  display: block;
  border-radius: var(--radius-lg);
}

/* Repeating diagonal watermark pattern — impossible to crop out */
.watermark-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  user-select: none;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.watermark-overlay::before {
  content: 'PREVIEW  PREVIEW  PREVIEW  PREVIEW  PREVIEW  PREVIEW  PREVIEW  PREVIEW  PREVIEW  PREVIEW  PREVIEW  PREVIEW  PREVIEW  PREVIEW  PREVIEW  PREVIEW  PREVIEW  PREVIEW  PREVIEW  PREVIEW  PREVIEW  PREVIEW  PREVIEW  PREVIEW  PREVIEW  PREVIEW  PREVIEW  PREVIEW  PREVIEW  PREVIEW';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  gap: 1.2rem;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.22);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  transform: rotate(-35deg);
  word-spacing: 2rem;
  line-height: 2.8;
}

/* Feature gap list */
.feature-gap {
  text-align: left;
  margin: 1.5rem auto;
  max-width: 420px;
}

.feature-gap-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.45rem 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.feature-gap-row strong {
  color: var(--text-primary);
}

.feature-gap-icon {
  flex-shrink: 0;
  font-size: 1rem;
  line-height: 1.4;
}

.preview-cta {
  margin-top: 1.5rem;
}

.preview-cta-btn {
  font-size: 0.95rem;
  width: 100%;
  max-width: 420px;
}

/* Post-limit conversion panel */
.limit-reached-panel {
  max-width: 520px;
  margin: 2.5rem auto 0;
  padding: 2rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  text-align: center;
}

.limit-reached-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.limit-reached-title {
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.limit-reached-panel .feature-gap {
  margin-bottom: 1.5rem;
}

.limit-reached-panel .btn {
  width: 100%;
  max-width: 420px;
}

/* Preview Error */
.preview-error {
  max-width: 640px;
  margin: 1.5rem auto 0;
  padding: 1rem 1.5rem;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-md);
  text-align: center;
}

.preview-error p {
  color: var(--danger);
  font-size: 0.9rem;
}

/* ============================================
   COMPARISON
   ============================================ */
.comparison {
  text-align: center;
}

.comparison h2 {
  margin-bottom: 1rem;
}

.comparison .section-desc {
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 3rem;
  font-size: 1.05rem;
}

.comparison-table {
  max-width: 720px;
  margin: 0 auto;
  overflow: hidden;
}

.comparison-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 1px;
}

.comparison-row.header {
  background: transparent;
  border-bottom: 1px solid var(--border-glass);
  margin-bottom: 0.5rem;
}

.comparison-cell {
  padding: 1rem 1.25rem;
  text-align: left;
  font-size: 0.9rem;
}

.comparison-row.header .comparison-cell {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.comparison-row:not(.header) {
  background: var(--bg-glass);
  border-radius: var(--radius-sm);
  margin-bottom: 0.4rem;
  border: 1px solid var(--border-subtle);
}

.comparison-row:not(.header) .comparison-cell {
  color: var(--text-secondary);
}

.comparison-cell .check {
  color: var(--success);
  font-weight: 700;
}

.comparison-cell .cross {
  color: var(--danger);
  opacity: 0.7;
}

.comparison-highlight {
  background: var(--accent-gradient) !important;
  border: none !important;
}

.comparison-highlight .comparison-cell {
  color: white !important;
  font-weight: 600;
}

/* ============================================
   PRICING
   ============================================ */
.pricing {
  text-align: center;
}

.pricing h2 {
  margin-bottom: 1rem;
}

.pricing .section-desc {
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 3rem;
  font-size: 1.05rem;
}

.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 720px;
  margin: 0 auto;
}

.pricing-card {
  padding: 2.5rem 2rem;
  text-align: left;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-glow);
}

.pricing-card.featured::before {
  content: 'BEST VALUE';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-gradient);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.35rem 1rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.pricing-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 0.25rem;
}

.pricing-card .price-note {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.pricing-features li {
  padding: 0.4rem 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pricing-features li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
}

/* ============================================
   FAQ
   ============================================ */
.faq {
  text-align: center;
}

.faq h2 {
  margin-bottom: 1rem;
}

.faq .section-desc {
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 3rem;
  font-size: 1.05rem;
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}

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

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  padding: 1.25rem 0;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color var(--transition);
}

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

.faq-icon {
  font-size: 1.25rem;
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 1.25rem;
}

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

/* ============================================
   FOOTER CTA
   ============================================ */
.footer-cta {
  text-align: center;
  padding: 5rem 0;
  position: relative;
}

.footer-cta::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.footer-cta h2 {
  margin-bottom: 1rem;
}

.footer-cta p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.footer-cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-links a:hover {
  color: var(--text-secondary);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  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;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

.float-animation {
  animation: float 5s ease-in-out infinite;
}

@keyframes pulse-glow {

  0%,
  100% {
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35);
  }

  50% {
    box-shadow: 0 4px 30px rgba(99, 102, 241, 0.55);
  }
}

.pulse-glow {
  animation: pulse-glow 3s ease-in-out infinite;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

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

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

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .steps-grid::before {
    display: none;
  }

  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-item.span-2 {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  section {
    padding: 4rem 0;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(7, 7, 12, 0.95);
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
    gap: 1rem;
  }

  .hero {
    min-height: auto;
    padding-top: 8rem;
    padding-bottom: 4rem;
  }

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

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .comparison-row {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .comparison-cell {
    padding: 0.75rem;
    font-size: 0.8rem;
  }

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

  .proof-grid {
    gap: 1.5rem;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .preview-image {
    width: 240px;
    height: 240px;
  }

  .watermark-overlay::before {
    font-size: 0.85rem;
    line-height: 2.4;
  }

  .feature-gap-row {
    font-size: 0.85rem;
  }

  .limit-reached-panel {
    padding: 1.5rem 1rem;
  }

  .style-pills {
    justify-content: center;
  }

  .color-swatches {
    justify-content: center;
  }

  .btn {
    min-height: 52px;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .app-store-badge {
    height: 48px;
  }

  body {
    padding-bottom: 72px;
  }
}

/* --- Hero Trust Line --- */
.hero-trust-line {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: -1rem;
}

/* --- Inline CTA (after sections) --- */
.inline-cta {
  text-align: center;
  padding: 1.5rem 0 0;
}

.inline-cta-btn {
  font-size: 1rem;
  padding: 0.875rem 2rem;
}

/* --- Try-It Teaser --- */
.try-it-teaser {
  max-width: 640px;
  margin: 0 auto 2rem;
  padding: 1rem 1.25rem;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-md);
  text-align: center;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.try-it-teaser strong {
  color: var(--text-primary);
}

/* --- Sticky Mobile CTA --- */
.sticky-cta {
  display: none;
}

@media (max-width: 768px) {
  .sticky-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 0.65rem 1rem;
    background: rgba(7, 7, 12, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-glass);
    justify-content: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
  }

  .sticky-cta.visible {
    transform: translateY(0);
  }

  .sticky-cta-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--accent-gradient);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.95rem;
    width: 100%;
    max-width: 360px;
    justify-content: center;
    min-height: 52px;
    box-shadow: 0 -4px 20px rgba(99, 102, 241, 0.3);
    text-decoration: none;
  }
}

/* --- Comparison table small screen fix --- */
@media (max-width: 480px) {
  .comparison-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .comparison-row.header {
    display: none;
  }

  .comparison-row:not(.header) {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    margin-bottom: 0.75rem;
  }
}

/* --- Share Button --- */
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  backdrop-filter: blur(12px);
  margin-top: 0.75rem;
}

.share-btn:hover {
  background: var(--bg-surface-hover);
  color: var(--text-primary);
  border-color: var(--accent-primary);
  box-shadow: 0 0 16px var(--accent-glow);
}

.share-btn-icon {
  font-size: 1rem;
}

/* --- Email Capture --- */
.email-capture {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.email-capture-heading {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.email-capture-form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  max-width: 420px;
  margin: 0 auto;
}

.email-capture-input {
  flex: 1;
  padding: 0.7rem 1rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition);
  backdrop-filter: blur(12px);
}

.email-capture-input::placeholder {
  color: var(--text-muted);
}

.email-capture-input:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 12px var(--accent-glow);
}

.email-capture-btn {
  white-space: nowrap;
  padding: 0.7rem 1.5rem;
  font-size: 0.9rem;
}

.email-capture-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.email-capture-status {
  font-size: 0.85rem;
  margin-top: 0.75rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
}

.email-success {
  color: var(--success);
}

.email-info {
  color: var(--accent-primary);
}

.email-error {
  color: var(--danger);
}

@media (max-width: 640px) {
  .email-capture-form {
    flex-direction: column;
  }

  .email-capture-input {
    width: 100%;
  }

  .email-capture-btn {
    width: 100%;
  }
}