/* ============================================================
   VIKIBILL / Marketing Website Design System
   Aurora glassmorphism theme matching the app
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

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

/* ── Design Tokens ── */
:root {
  --bg: rgba(255,255,255,0.2);
  --surface: rgba(255,255,255,0.45);
  --surface2: rgba(255,255,255,0.78);
  --surface-solid: #FFFFFF;
  --border: rgba(15,40,90,0.12);
  --border-light: rgba(15,40,90,0.06);
  --text: #0B2545;
  --text-muted: #40668F;
  --text-light: #4E6E93;
  --primary: #0A84FF;
  --primary-dark: #0066CC;
  --primary-light: rgba(10,132,255,0.14);
  --accent: #9333EA;
  --accent-light: rgba(147,51,234,0.12);
  --success: #0AA84A;
  --success-dark: #077D3B;
  --success-light: rgba(10,168,74,0.12);
  --danger: #FF3B30;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --radius-sm: 12px;
  --glass-blur: blur(24px) saturate(180%);
  --glass-blur-strong: blur(56px) saturate(220%);
  --glass-aurora:
    radial-gradient(60% 60% at 15% 15%, rgba(90, 200, 250, 0.5) 0%, rgba(90, 200, 250, 0) 70%),
    radial-gradient(65% 65% at 85% 20%, rgba(181, 123, 255, 0.5) 0%, rgba(181, 123, 255, 0) 75%),
    radial-gradient(60% 60% at 85% 75%, rgba(181, 123, 255, 0.35) 0%, rgba(181, 123, 255, 0) 70%),
    radial-gradient(60% 60% at 15% 80%, rgba(120, 180, 255, 0.4) 0%, rgba(120, 180, 255, 0) 70%),
    radial-gradient(90% 90% at 50% 50%, rgba(130, 150, 255, 0.16) 0%, rgba(130, 150, 255, 0) 80%),
    linear-gradient(180deg, #eaf5ff 0%, #f0ebff 50%, #eaf2ff 100%);
  --shadow-sm: 0 2px 8px rgba(15, 40, 90, 0.06);
  --shadow-md: 0 8px 32px rgba(15, 40, 90, 0.08);
  --shadow-lg: 0 16px 56px rgba(15, 40, 90, 0.12);
  --shadow-xl: 0 24px 80px rgba(15, 40, 90, 0.16);
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.36, 0.64, 1);
}

/* ── Base ── */
html {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: transparent;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -999;
  background-image: var(--glass-aurora);
  background-size: cover;
  background-position: center;
  pointer-events: none;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ── Typography ── */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
p { color: var(--text-muted); }

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--primary-light);
  color: var(--primary-dark);
  margin-bottom: 16px;
}

.section-badge.accent {
  background: var(--accent-light);
  color: var(--accent);
}

.section-badge.success {
  background: var(--success-light);
  color: var(--success-dark);
}

a:focus-visible, button:focus-visible, .feature-card:focus-visible {
  outline: 2px solid var(--primary-dark);
  outline-offset: 3px;
}

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

/* ── Layout ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 100px 0;
}

/* ── Glass Card ── */
.glass-card {
  background: var(--surface);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-smooth), box-shadow 0.35s var(--ease-smooth);
}

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

.glass-card-strong {
  background: var(--surface2);
  backdrop-filter: var(--glass-blur-strong);
  -webkit-backdrop-filter: var(--glass-blur-strong);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 14px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: color 0.3s var(--ease-smooth), background-color 0.3s var(--ease-smooth),
    box-shadow 0.3s var(--ease-smooth), transform 0.3s var(--ease-smooth);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-dark), #4A46E8);
  color: #fff;
  box-shadow: 0 4px 20px rgba(10, 132, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(10, 132, 255, 0.45);
}

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

.btn-secondary:hover {
  background: var(--surface2);
  transform: translateY(-2px);
}

/* ── Navigation ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 12px 0;
  transition: all 0.4s var(--ease-smooth);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nav-logo img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

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

.nav-links a:not(.btn) {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.25s;
  position: relative;
}

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
  transition: width 0.3s var(--ease-smooth);
}

.nav-links a:not(.btn):hover { color: var(--primary); }
.nav-links a:not(.btn):hover::after { width: 100%; }

.nav-cta {
  padding: 10px 24px !important;
  font-size: 0.85rem !important;
}

.mobile-menu-btn {
  display: none;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  padding: 8px 10px;
  transition: all 0.25s var(--ease-smooth);
}

.mobile-menu-btn:hover,
.mobile-menu-btn:active {
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.04);
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.3s var(--ease-smooth);
}

/* ── Mobile Menu ── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1500;
  background: rgba(10, 25, 50, 0.3);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  padding: 16px;
  align-items: flex-start;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-smooth);
}

.mobile-menu.open {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-card {
  width: 100%;
  max-width: 440px;
  margin-top: 12px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: var(--glass-blur-strong);
  -webkit-backdrop-filter: var(--glass-blur-strong);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(15, 40, 90, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  padding: 20px 24px 24px;
  transform: translateY(-16px) scale(0.96);
  transition: transform 0.35s var(--ease-bounce);
}

.mobile-menu.open .mobile-menu-card {
  transform: translateY(0) scale(1);
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 12px;
}

.mobile-menu-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(15, 40, 90, 0.05);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  transition: all 0.25s var(--ease-smooth);
}

.mobile-menu-close:hover {
  background: rgba(10, 132, 255, 0.12);
  color: var(--primary-dark);
  transform: rotate(90deg);
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  background: transparent;
  transition: all 0.25s var(--ease-smooth);
}

.mobile-nav-link svg {
  color: var(--primary);
  transition: transform 0.25s var(--ease-smooth);
  flex-shrink: 0;
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
  background: var(--primary-light);
  color: var(--primary-dark);
  transform: translateX(4px);
}

.mobile-nav-link:hover svg {
  transform: scale(1.15);
}

.mobile-menu-footer {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.mobile-menu-cta {
  width: 100%;
  padding: 14px 24px;
  font-size: 1rem;
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(10, 132, 255, 0.35);
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

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

.hero-tagline {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  color: var(--text-muted);
  margin-bottom: 24px;
  max-width: 460px;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
}

.hero-stat h4 {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat p {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 4px;
}

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

.hero-illustration {
  position: relative;
  max-width: 480px;
  z-index: 2;
  animation: floatSlow 5s ease-in-out infinite;
}

.hero-illustration img {
  width: 100%;
  border-radius: 24px;
  filter: drop-shadow(0 20px 60px rgba(15, 40, 90, 0.15));
}

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

/* ── Glow background blob ── */
.glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

.hero .glow-blob:nth-child(1) {
  width: 400px; height: 400px;
  background: rgba(10, 132, 255, 0.3);
  top: 20%; right: 5%;
}

.hero .glow-blob:nth-child(2) {
  width: 300px; height: 300px;
  background: rgba(147, 51, 234, 0.25);
  bottom: 10%; left: 10%;
}

/* ── Features Grid ── */
.features-section {
  text-align: center;
}

.features-section .section-header {
  max-width: 600px;
  margin: 0 auto 60px;
}

.features-section .section-header p {
  margin-top: 12px;
  font-size: 1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 0;
  text-align: left;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity 0.35s;
  z-index: 1;
}

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

.feature-card-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(234, 245, 255, 0.6), rgba(240, 235, 255, 0.6));
}

.feature-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-smooth);
}

.feature-card:hover .feature-card-img img {
  transform: scale(1.06);
}

.feature-card h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
  padding: 20px 24px 0;
}

.feature-card p {
  font-size: 0.85rem;
  line-height: 1.6;
  padding: 0 24px;
  flex-grow: 1;
}

.feature-card .feature-peek {
  margin-top: 12px;
  padding: 0 24px 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.25s;
}

.feature-card:hover .feature-peek,
.feature-card:focus-visible .feature-peek {
  color: #4A46E8;
}

/* ── Highlight Section (alternating) ── */
.highlight-section {
  padding: 80px 0;
}

.highlight-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 100px;
}

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

.highlight-row.reverse { direction: rtl; }
.highlight-row.reverse > * { direction: ltr; }

.highlight-content {
  max-width: 480px;
}

.highlight-content h2 {
  margin-bottom: 16px;
}

.highlight-content p {
  font-size: 1rem;
  margin-bottom: 24px;
  line-height: 1.7;
}

.highlight-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.highlight-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.highlight-features-list li .check {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--success-light);
  color: var(--success-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
  margin-top: 2px;
}

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

.highlight-illustration {
  max-width: 420px;
  width: 100%;
}

.highlight-illustration img {
  width: 100%;
  border-radius: 20px;
  filter: drop-shadow(0 16px 48px rgba(15, 40, 90, 0.12));
  transition: transform 0.5s var(--ease-smooth);
}

.highlight-illustration:hover img {
  transform: scale(1.03);
}

/* ── Speed Section ── */
.speed-section {
  text-align: center;
  position: relative;
}

.speed-counter {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin: 32px 0 16px;
}

.speed-number {
  font-size: clamp(5rem, 12vw, 8rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--primary-dark), var(--accent), #EF4444);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.speed-unit {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--text-muted);
}

.speed-label {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 48px;
}

.speed-steps {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.speed-step {
  padding: 28px 24px;
  text-align: center;
  width: 200px;
}

.speed-step .step-num {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-dark), #4A46E8);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.speed-step h4 {
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.speed-step p {
  font-size: 0.8rem;
}

.speed-illustration {
  max-width: 400px;
  margin: 48px auto 0;
}

.speed-illustration img {
  width: 100%;
  border-radius: var(--radius);
  filter: drop-shadow(0 16px 48px rgba(15, 40, 90, 0.12));
}

/* ── Business Types ── */
.business-types {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.biz-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 100px;
  background: var(--surface);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-light);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s var(--ease-smooth);
}

.biz-chip:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  background: var(--surface2);
}

.biz-chip svg {
  width: 20px;
  height: 20px;
  color: var(--primary-dark);
  flex-shrink: 0;
}

/* ── Trust Bar ── */
.trust-section {
  padding: 24px 0 96px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
}

.trust-item svg {
  color: var(--primary-dark);
  flex-shrink: 0;
}

.trust-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.trust-text strong {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 700;
  line-height: 1.3;
}

.trust-text span {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Contact Section ── */
.contact-section {
  text-align: center;
  padding: 80px 0 0;
}

.contact-card {
  padding: 56px 40px;
  text-align: center;
  background: linear-gradient(135deg, rgba(10, 132, 255, 0.08), rgba(147, 51, 234, 0.08));
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--glass-aurora);
  opacity: 0.3;
  z-index: 0;
}

.contact-card > * { position: relative; z-index: 1; }

.contact-card h2 { margin-bottom: 16px; }

.contact-card p {
  max-width: 480px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
}

/* ── CTA Section ── */
.cta-section {
  text-align: center;
  padding: 80px 0 100px;
}

.cta-card {
  padding: 64px 40px;
  text-align: center;
  background: linear-gradient(135deg, rgba(10, 132, 255, 0.08), rgba(147, 51, 234, 0.08));
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--glass-aurora);
  opacity: 0.3;
  z-index: 0;
}

.cta-card > * { position: relative; z-index: 1; }

.cta-card h2 { margin-bottom: 16px; }

.cta-card p {
  max-width: 480px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
}

/* ── Instagram Section ── */
.instagram-section[hidden] {
  display: none;
}

.instagram-section {
  padding: 80px 0 0;
}

.instagram-section .section-header {
  max-width: 600px;
  margin: 0 auto 48px;
  text-align: center;
}

.instagram-section .section-header p {
  margin-top: 12px;
  font-size: 1rem;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
}

.instagram-tile {
  position: relative;
  display: block;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface2);
  border: 1px solid var(--border-light);
  transition: box-shadow 0.3s var(--ease-smooth), border-color 0.3s ease;
}

.instagram-tile.featured {
  grid-column: span 2;
  grid-row: span 2;
}

.instagram-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-smooth);
}

.instagram-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 25, 45, 0) 45%, rgba(11, 25, 45, 0.55));
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.instagram-tile-caption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  color: #ffffff;
  font-size: 0.8rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.instagram-tile:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(10, 132, 255, 0.3);
}

.instagram-tile:hover img {
  transform: scale(1.05);
}

.instagram-tile:hover::after,
.instagram-tile:hover .instagram-tile-caption {
  opacity: 1;
}

.instagram-tile:hover .instagram-tile-caption {
  transform: none;
}

.instagram-follow {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.instagram-follow-btn {
  text-decoration: none;
}

/* ── Footer ── */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border-light);
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
}

.footer-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

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

.footer-contact {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--accent);
  text-decoration: underline;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  background: var(--surface);
  color: var(--text-muted);
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-social-link svg {
  width: 20px;
  height: 20px;
}

.footer-social-link:hover {
  color: var(--primary-dark);
  border-color: rgba(10, 132, 255, 0.35);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ── Modal / Lightbox ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(11, 37, 69, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s var(--ease-smooth);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 0;
  transform: scale(0.92) translateY(16px);
  transition: transform 0.4s var(--ease-bounce);
  border-radius: var(--radius-xl);
  background: var(--surface2);
  backdrop-filter: var(--glass-blur-strong);
  -webkit-backdrop-filter: var(--glass-blur-strong);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xl);
}

.modal-overlay.active .modal-card {
  transform: scale(1) translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px 0;
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--text-muted);
  transition: all 0.25s;
}

.modal-close:hover {
  background: rgba(255, 59, 48, 0.1);
  color: var(--danger);
}

.modal-body {
  padding: 24px 32px 36px;
}

.modal-illustration {
  max-width: 360px;
  margin: 0 auto 20px;
}

.modal-illustration img {
  width: 100%;
  border-radius: var(--radius);
  filter: drop-shadow(0 8px 24px rgba(15, 40, 90, 0.1));
}

.modal-desc {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Modal flow diagram */
.modal-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px 16px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(234, 245, 255, 0.5), rgba(240, 235, 255, 0.5));
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  flex-wrap: wrap;
}

.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  min-width: 100px;
}

.flow-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--surface-solid);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
}

.flow-icon svg {
  width: 22px;
  height: 22px;
}

.flow-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.flow-text strong {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
}

.flow-text span {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.flow-arrow {
  font-size: 1.2rem;
  color: var(--primary);
  font-weight: 700;
  opacity: 0.5;
}

.modal-feature-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

.modal-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 10px 14px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.modal-feature-list li .check-icon {
  color: var(--success-dark);
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Scroll Reveal (hidden only when JS is active) ── */
.reveal {
  transition: all 0.7s var(--ease-smooth);
}

html.js .reveal {
  opacity: 0;
  transform: translateY(30px);
}

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

section[id] {
  scroll-margin-top: 90px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

  .hero-cta-group { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { margin-top: 40px; }

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

  .highlight-row {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .highlight-row.reverse { direction: ltr; }

  .highlight-content { max-width: 100%; margin: 0 auto; }
  .highlight-features-list { align-items: stretch; }
  .highlight-features-list li { text-align: left; justify-content: flex-start; }

  .modal-feature-list { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) and (min-width: 601px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

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

  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }

  .hero { min-height: auto; padding: 120px 0 60px; }
  .hero-illustration { max-width: 320px; }
  .hero-stats { gap: 24px; }

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

  .highlight-row { gap: 32px; margin-bottom: 60px; }
  .highlight-illustration { max-width: 300px; }

  .modal-flow { gap: 4px; padding: 16px 8px; }
  .flow-step { min-width: 70px; }
  .flow-icon { width: 40px; height: 40px; font-size: 1.1rem; }
  .flow-text strong { font-size: 0.72rem; }
  .flow-arrow { font-size: 1rem; }

  .speed-steps { gap: 16px; }
  .speed-step { width: 160px; padding: 20px 16px; }

  .footer .container {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .instagram-tile.featured {
    grid-column: span 2;
    grid-row: auto;
  }

  .modal-body { padding: 20px 20px 28px; }
  .modal-header { padding: 20px 20px 0; }
  .modal-screenshots { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  .hero-illustration { max-width: 260px; }
  .hero-stats { flex-direction: column; gap: 16px; align-items: center; }
  .cta-card, .contact-card { padding: 40px 24px; }
  .modal-flow { flex-direction: column; }
  .flow-arrow { transform: rotate(90deg); }
}

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

/* ── Free Invoice Generator ── */
.invoice-generator-section {
  padding: 80px 0;
}

.invoice-generator-section .section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.invoice-generator-section .section-header p {
  margin-top: 12px;
  font-size: 1rem;
}

.generator-container {
  padding: 40px;
  max-width: 960px;
  margin: 0 auto;
}

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

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

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

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.form-group label .required {
  color: var(--danger);
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  transition: all 0.25s var(--ease-smooth);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 4px var(--primary-light);
}

.input-with-action {
  display: flex;
  gap: 8px;
}

.btn-sm {
  padding: 8px 14px !important;
  font-size: 0.82rem !important;
  border-radius: 10px !important;
  flex-shrink: 0;
}

.items-section {
  margin: 32px 0;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.items-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.items-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
}

.items-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.4);
}

.items-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.items-table th {
  background: rgba(10, 132, 255, 0.08);
  padding: 12px 14px;
  font-weight: 700;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.items-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

.items-table tr:last-child td {
  border-bottom: none;
}

.table-input {
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.8);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text);
}

.table-input:focus {
  outline: none;
  border-color: var(--primary);
  background: #ffffff;
}

.btn-remove-item {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  background: rgba(255, 59, 48, 0.08);
  color: var(--danger);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-remove-item:hover {
  background: var(--danger);
  color: #fff;
}

/* Advanced options accordion */
.advanced-options-accordion {
  margin-bottom: 24px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
  transition: all 0.3s var(--ease-smooth);
}

.advanced-options-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
  list-style: none;
}

.advanced-options-summary::-webkit-details-marker {
  display: none;
}

.advanced-options-summary:hover {
  background: rgba(10, 132, 255, 0.08);
  color: var(--primary-dark);
}

.advanced-options-summary .summary-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.advanced-options-summary .chevron-icon {
  transition: transform 0.3s var(--ease-smooth);
}

.advanced-options-accordion[open] .chevron-icon {
  transform: rotate(180deg);
}

.advanced-grid {
  padding: 18px 18px 22px;
  border-top: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.5);
  margin-bottom: 0 !important;
}

.generator-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.summary-box {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.summary-row.total-row {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1.5px dashed var(--border);
  font-size: 1.15rem;
  color: var(--text);
}

.summary-row.total-row strong {
  font-size: 1.3rem;
  color: var(--primary-dark);
}

.download-action-group {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.download-btn {
  padding: 16px 36px !important;
  font-size: 1.05rem !important;
  border-radius: 16px !important;
}

.download-btn.loading {
  opacity: 0.7;
  pointer-events: none;
}

.btn-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
  margin-right: 8px;
}

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

.download-note {
  font-size: 0.78rem;
  color: var(--text-light);
}

@media (max-width: 768px) {
  /* ── Invoice Generator Mobile ── */
  .invoice-generator-section {
    padding: 48px 0;
  }

  .invoice-generator-section .section-header {
    margin-bottom: 28px;
  }

  .invoice-generator-section .section-header p {
    font-size: 0.9rem;
  }

  .generator-container {
    padding: 24px 18px;
    border-radius: var(--radius) !important;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 24px;
  }

  .form-group label {
    font-size: 0.88rem;
  }

  .form-input {
    padding: 14px 16px;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    min-height: 48px;
  }

  .input-with-action {
    flex-direction: column;
    gap: 10px;
  }

  .input-with-action .btn-sm {
    width: 100%;
    justify-content: center;
    padding: 12px 14px !important;
    font-size: 0.88rem !important;
  }

  /* Accordion: shorter label on mobile */
  .advanced-options-summary {
    padding: 14px 16px;
    font-size: 0.88rem;
  }

  .advanced-options-summary .summary-title {
    gap: 8px;
  }

  .advanced-grid {
    padding: 16px 16px 20px;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .advanced-label-detail {
    display: none;
  }

  /* Items section */
  .items-section {
    margin: 24px 0;
    padding-top: 20px;
  }

  .items-header {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 14px;
  }

  .items-header h3 {
    font-size: 1rem;
  }

  .items-header .btn-sm {
    width: 100%;
    justify-content: center;
    padding: 12px 14px !important;
    font-size: 0.88rem !important;
  }

  /* ── Mobile compact 2-row item cards ── */
  .items-table-wrapper {
    background: transparent;
    border: none;
    border-radius: 0;
    overflow-x: visible;
  }

  .items-table,
  .items-table thead,
  .items-table tbody,
  .items-table th,
  .items-table td,
  .items-table tr {
    display: block;
  }

  .items-table thead { display: none; }

  /* Card container — flex wrap forces 2 rows */
  .items-table tbody tr {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    padding: 12px 14px;
    box-shadow: var(--shadow-sm);
    gap: 0;
  }

  .items-table td {
    padding: 0;
    border-bottom: none;
  }

  /* ─ ROW 1: [badge] [product name input] ─ */

  /* Badge */
  .items-table td:nth-child(1) {
    order: 1;
    flex: 0 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: var(--primary-light);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-right: 8px;
    margin-top: 7px;
    margin-bottom: 10px;
  }

  /* Product name — fills row 1, forces wrap after */
  .items-table td:nth-child(2) {
    order: 2;
    flex: 1 1 calc(100% - 32px);
    min-width: 0;
    margin-bottom: 10px;
    padding-bottom: 0;
  }

  .items-table td:nth-child(2) .table-input {
    font-size: 0.92rem;
    padding: 7px 12px;
    font-weight: 600;
    min-height: 38px;
    width: 100%;
    border-radius: var(--radius-sm);
  }

  /* ─ ROW 2: [PRICE label+input] [QTY label+input] [amount] [×] ─ */

  /* Price field */
  .items-table td:nth-child(3) {
    order: 3;
    flex: 0 0 auto;
    display: inline-flex;
    flex-direction: column;
    gap: 3px;
    margin-right: 8px;
  }

  /* Qty field */
  .items-table td:nth-child(4) {
    order: 4;
    flex: 0 0 auto;
    display: inline-flex;
    flex-direction: column;
    gap: 3px;
    margin-right: auto;
  }

  /* Compact inputs for price & qty */
  .items-table td:nth-child(3) .table-input {
    font-size: 0.88rem;
    padding: 4px 6px;
    min-height: 34px;
    height: 34px;
    width: 72px;
    text-align: center;
    border-radius: 8px;
  }

  .items-table td:nth-child(4) .table-input {
    font-size: 0.88rem;
    padding: 4px 6px;
    min-height: 34px;
    height: 34px;
    width: 54px;
    text-align: center;
    border-radius: 8px;
  }

  /* Tiny uppercase labels */
  .items-table td:nth-child(3)::before,
  .items-table td:nth-child(4)::before {
    content: "PRICE";
    font-weight: 700;
    color: var(--text-muted);
    font-size: 0.62rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  .items-table td:nth-child(4)::before {
    content: "QTY";
  }

  /* Amount — bottom-aligned, height matched to input */
  .items-table td:nth-child(5) {
    order: 5;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    align-self: flex-end;
    height: 34px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    padding: 0;
    margin: 0 8px 0 0;
    border: none;
  }

  .items-table td:nth-child(5)::before { display: none; }

  /* Delete button — bottom-aligned, height matched to input */
  .items-table td:nth-child(6) {
    order: 6;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    align-self: flex-end;
    height: 34px;
    margin: 0;
    position: static;
  }

  .btn-remove-item {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Summary & Download */
  .generator-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    margin-top: 24px;
    padding-top: 20px;
  }

  .summary-box {
    min-width: 100%;
    padding: 18px 20px;
    border-radius: var(--radius-sm);
  }

  .summary-row {
    font-size: 0.95rem;
  }

  .summary-row.total-row {
    padding-top: 12px;
    margin-top: 8px;
  }

  .summary-row.total-row strong {
    font-size: 1.25rem;
  }

  .download-action-group {
    align-items: stretch;
  }

  .download-btn {
    width: 100%;
    justify-content: center;
    padding: 16px 24px !important;
    font-size: 1.05rem !important;
    border-radius: 14px !important;
    min-height: 56px;
  }

  .download-note {
    text-align: center;
    font-size: 0.8rem;
    margin-top: 4px;
  }
}

/* ── Post-Download Signup Promo Modal ── */
.download-signup-card {
  max-width: 600px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(246, 248, 255, 0.95));
  border: 1px solid rgba(79, 70, 229, 0.2);
  box-shadow: 0 25px 60px rgba(79, 70, 229, 0.2), 0 0 40px rgba(6, 182, 212, 0.15);
}

.download-signup-header {
  align-items: flex-start;
}

.download-signup-header-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.trial-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 14px;
  border-radius: 20px;
  background: linear-gradient(135deg, #4f46e5, #06b6d4);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
  width: fit-content;
}

.download-signup-header h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  margin: 0;
}

.promo-lead {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 20px;
}

.promo-lead strong {
  color: var(--primary-dark);
}

.promo-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.promo-feature-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.promo-feature-card:hover {
  transform: translateY(-2px);
  border-color: rgba(79, 70, 229, 0.3);
}

.promo-feature-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  color: var(--primary-dark);
  border-radius: 10px;
}

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

.promo-feature-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.promo-feature-info strong {
  font-size: 0.84rem;
  color: var(--text);
  font-weight: 700;
}

.promo-feature-info span {
  font-size: 0.73rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.promo-cta-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  text-align: center;
}

.promo-cta-btn {
  width: 100%;
  justify-content: center;
  padding: 16px 28px !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.35) !important;
  text-decoration: none;
}

.promo-subnote {
  font-size: 0.78rem;
  color: var(--text-light);
  font-weight: 500;
}

@media (max-width: 600px) {
  .download-signup-card {
    max-width: 94%;
    margin: 0 auto;
  }

  .download-signup-header {
    padding: 14px 14px 0;
  }

  .trial-badge {
    padding: 3px 10px;
    font-size: 0.7rem;
  }

  .download-signup-header h3 {
    font-size: 1.05rem;
    line-height: 1.3;
  }

  .download-signup-body {
    padding: 10px 14px 16px;
  }

  .promo-lead {
    font-size: 0.82rem;
    margin-bottom: 10px;
    line-height: 1.35;
  }

  .promo-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    margin-bottom: 12px;
  }

  .promo-feature-card {
    padding: 6px 8px;
    gap: 6px;
    border-radius: 8px;
  }

  .promo-feature-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    flex-shrink: 0;
  }

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

  .promo-feature-info {
    gap: 0;
    min-width: 0;
  }

  .promo-feature-info strong {
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.2;
    display: block;
  }

  .promo-feature-info span {
    font-size: 0.66rem;
    color: var(--text-muted);
    line-height: 1.2;
    display: block;
  }

  .promo-cta-box {
    padding-top: 10px;
    gap: 6px;
  }

  .promo-cta-btn {
    padding: 11px 16px !important;
    font-size: 0.88rem !important;
    border-radius: 10px !important;
  }

  .promo-subnote {
    font-size: 0.68rem;
  }
}

/* ── Privacy Portal Page ── */
.privacy-main {
  padding-top: 130px;
}

.privacy-hero {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}

.privacy-hero h1 {
  margin-bottom: 16px;
}

.privacy-hero p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.privacy-updated {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 6px 16px;
  border-radius: 20px;
  background: rgba(10, 132, 255, 0.1);
  border: 1px solid rgba(10, 132, 255, 0.2);
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 700;
}

.privacy-toc {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  max-width: 820px;
  margin: 0 auto 48px;
}

.privacy-toc a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s var(--ease-smooth);
}

.privacy-toc a:hover,
.privacy-toc a:focus-visible {
  color: var(--primary-dark);
  border-color: rgba(10, 132, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.privacy-body {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 80px;
}

.policy-section {
  background: var(--surface2);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 110px;
}

.policy-section h2 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.policy-num {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.85rem;
  font-weight: 800;
}

.privacy-toc .policy-num {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  font-size: 0.75rem;
}

.policy-section p {
  margin-bottom: 10px;
  color: var(--text-muted);
  line-height: 1.7;
}

.policy-section p:last-child {
  margin-bottom: 0;
}

.policy-section ul {
  margin: 0 0 10px 0;
  padding-left: 18px;
  color: var(--text-muted);
}

.policy-section ul li {
  margin-bottom: 8px;
  line-height: 1.65;
}

.policy-section ul li::marker {
  color: var(--primary);
}

.policy-section ul li:last-child {
  margin-bottom: 0;
}

.policy-section strong {
  color: var(--text);
}

.policy-section a {
  color: var(--primary-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.policy-section a:hover {
  color: var(--primary);
}

.privacy-backtop {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 8px auto 0;
  padding: 0;
  border: 0;
  background: none;
  font-family: inherit;
  cursor: pointer;
  color: var(--primary-dark);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.privacy-backtop:hover {
  color: var(--primary);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.85rem;
}

.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.25s;
}

.footer-legal a:hover {
  color: var(--primary-dark);
}

@media (max-width: 768px) {
  .privacy-main {
    padding-top: 100px;
  }

  .privacy-hero {
    margin-bottom: 28px;
  }

  .privacy-hero p {
    font-size: 0.95rem;
  }

  .privacy-toc {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 32px;
  }

  .policy-section {
    padding: 22px 18px;
  }

  .policy-section h2 {
    font-size: 1.15rem;
  }

  .footer-legal {
    gap: 16px;
  }
}

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

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

  .hero-illustration { animation: none; }

  html.js .reveal,
  html.js .reveal.visible {
    opacity: 1;
    transform: none;
  }
}
