/* ═══════════════════════════════════════════════════════════════════
   spndrai.com — Landing Page Styles
═══════════════════════════════════════════════════════════════════ */

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  background: #0a0312;
  color: #e8ddf4;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── CSS Variables ──────────────────────────────────────────────── */
:root {
  --l-dark:        #0a0312;
  --l-dark-2:      #110720;
  --l-dark-3:      #1a0c2e;
  --l-dark-4:      #231440;
  --l-light:       #f9f5ff;
  --l-light-2:     #f0eaf8;
  --l-light-3:     #e8ddf4;
  --l-purple:      #d174d2;
  --l-purple-dim:  #a855a8;
  --l-violet:      #412653;
  --l-coral:       #e0563f;
  --l-slate:       #3f567f;
  --l-text-dark:   #1a0a24;
  --l-text-mid:    #5c4a6e;
  --l-text-light:  #9b87ac;
  --l-border-dark: rgba(209,116,210,0.15);
  --l-border-light: rgba(65,38,83,0.12);
  --l-glow:        0 0 40px rgba(209,116,210,0.25);

  --grad-brand: linear-gradient(135deg, #412653 0%, #3f567f 50%, #d174d2 100%);
  --grad-accent: linear-gradient(135deg, #d174d2 0%, #e0563f 100%);
  --grad-dark-bg: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(65,38,83,0.6) 0%, transparent 70%);
}

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

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--l-purple);
  background: rgba(209,116,210,0.1);
  border: 1px solid rgba(209,116,210,0.25);
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.section-subtitle {
  font-size: 17px;
  line-height: 1.65;
  max-width: 560px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--grad-accent);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(209,116,210,0.35);
}
.btn-primary:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(209,116,210,0.45);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  background: transparent;
  color: #e8ddf4;
  font-weight: 600;
  font-size: 15px;
  border-radius: 12px;
  border: 1px solid rgba(209,116,210,0.3);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.btn-ghost:hover {
  background: rgba(209,116,210,0.1);
  border-color: rgba(209,116,210,0.5);
}

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  background: transparent;
  color: var(--l-text-dark);
  font-weight: 600;
  font-size: 15px;
  border-radius: 12px;
  border: 1.5px solid var(--l-border-light);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.btn-outline-dark:hover {
  background: rgba(65,38,83,0.06);
  border-color: rgba(65,38,83,0.3);
}

/* ── Scroll Animations ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ══════════════════════════════════════════════════════════════════
   NAV
══════════════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  background: rgba(10,3,18,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(209,116,210,0.12);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.nav-logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(232,221,244,0.75);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: #e8ddf4; }
.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-signin {
  font-size: 14px;
  font-weight: 600;
  color: rgba(232,221,244,0.8);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-signin:hover { color: #e8ddf4; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #e8ddf4;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: 65px; left: 0; right: 0;
  background: rgba(10,3,18,0.97);
  backdrop-filter: blur(24px);
  padding: 20px 24px 32px;
  border-bottom: 1px solid rgba(209,116,210,0.12);
  z-index: 99;
}
.nav-mobile.open { display: block; }
.nav-mobile ul { list-style: none; }
.nav-mobile ul li { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.nav-mobile ul a { font-size: 16px; font-weight: 500; color: #e8ddf4; text-decoration: none; }
.nav-mobile .nav-mobile-cta { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }

@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
}

/* ══════════════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
  background: var(--l-dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% -10%, rgba(65,38,83,0.7) 0%, transparent 65%),
    radial-gradient(ellipse 40% 35% at 80% 60%, rgba(63,86,127,0.25) 0%, transparent 60%),
    radial-gradient(ellipse 30% 25% at 15% 70%, rgba(209,116,210,0.12) 0%, transparent 55%);
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(209,116,210,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(209,116,210,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 0%, transparent 75%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(209,116,210,0.1);
  border: 1px solid rgba(209,116,210,0.25);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--l-purple);
  margin-bottom: 28px;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--l-purple);
  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.75); }
}
.hero-title {
  font-size: clamp(40px, 6.5vw, 80px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: #f0eaf8;
  margin-bottom: 24px;
}
.hero-title .gradient-text {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: clamp(16px, 2.2vw, 20px);
  line-height: 1.65;
  color: rgba(232,221,244,0.65);
  max-width: 580px;
  margin: 0 auto 40px;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.hero-social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 13px;
  color: rgba(232,221,244,0.45);
}
.hero-avatars {
  display: flex;
}
.hero-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid var(--l-dark);
  margin-left: -8px;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.hero-avatar:first-child { margin-left: 0; }

/* Browser frame */
.hero-browser {
  margin: 56px auto 0;
  max-width: 900px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(209,116,210,0.15), 0 24px 80px rgba(0,0,0,0.5), var(--l-glow);
  animation: float-browser 6s ease-in-out infinite;
}
@keyframes float-browser {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
.browser-bar {
  background: rgba(30,15,45,0.95);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(209,116,210,0.1);
}
.browser-dots { display: flex; gap: 6px; }
.browser-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.browser-dot:nth-child(1) { background: #ff5f57; }
.browser-dot:nth-child(2) { background: #febc2e; }
.browser-dot:nth-child(3) { background: #28c840; }
.browser-url {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 12px;
  color: rgba(232,221,244,0.4);
  font-family: monospace;
}
.browser-content {
  background: #0d0520;
  position: relative;
  overflow: hidden;
}
.hero-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0 0 12px 12px;
  border-top: none;
}
.browser-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  color: rgba(232,221,244,0.2);
  font-size: 13px;
}
.browser-placeholder-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: rgba(209,116,210,0.1);
  border: 1px solid rgba(209,116,210,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

/* Floating cards */
.hero-cards {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.float-card {
  position: absolute;
  border-radius: 12px;
  padding: 12px 16px;
  background: rgba(20,8,35,0.85);
  border: 1px solid rgba(209,116,210,0.2);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.float-card-1 {
  top: 18%; left: 2%;
  animation: float-1 5s ease-in-out infinite;
}
.float-card-2 {
  top: 40%; right: 3%;
  animation: float-2 6s ease-in-out infinite;
}
.float-card-3 {
  bottom: 22%; left: 5%;
  animation: float-3 4.5s ease-in-out infinite;
}
@keyframes float-1 { 0%,100%{transform:translateY(0) rotate(-1deg)} 50%{transform:translateY(-12px) rotate(1deg)} }
@keyframes float-2 { 0%,100%{transform:translateY(0) rotate(1deg)} 50%{transform:translateY(-8px) rotate(-1deg)} }
@keyframes float-3 { 0%,100%{transform:translateY(0) rotate(0.5deg)} 50%{transform:translateY(-14px) rotate(-0.5deg)} }

.float-card-label { font-size: 10px; font-weight: 600; color: rgba(232,221,244,0.4); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.float-card-value { font-size: 22px; font-weight: 800; }
.float-card-value.positive { color: #34d399; }
.float-card-value.negative { color: var(--l-coral); }
.float-card-sub   { font-size: 11px; color: rgba(232,221,244,0.4); margin-top: 2px; }
.float-card-bar   { height: 3px; border-radius: 2px; margin-top: 8px; background: rgba(255,255,255,0.08); overflow: hidden; }
.float-card-fill  { height: 100%; border-radius: 2px; background: var(--grad-accent); }

/* ══════════════════════════════════════════════════════════════════
   SOCIAL PROOF BAR (dark)
══════════════════════════════════════════════════════════════════ */
.social-bar {
  background: var(--l-dark-2);
  border-top: 1px solid rgba(209,116,210,0.08);
  border-bottom: 1px solid rgba(209,116,210,0.08);
  padding: 20px 0;
  overflow: hidden;
}
.social-bar-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.social-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.social-stat-num {
  font-size: 22px;
  font-weight: 800;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.social-stat-label {
  font-size: 12px;
  color: rgba(232,221,244,0.4);
  font-weight: 500;
}
.social-divider {
  width: 1px;
  height: 32px;
  background: rgba(209,116,210,0.12);
}

/* ══════════════════════════════════════════════════════════════════
   PROBLEM SECTION (light)
══════════════════════════════════════════════════════════════════ */
.section-light {
  background: var(--l-light);
  color: var(--l-text-dark);
}
.section-dark {
  background: var(--l-dark);
  color: #e8ddf4;
}
.section-dark-2 {
  background: var(--l-dark-2);
  color: #e8ddf4;
}

.problem-section {
  padding: 100px 0;
}
.problem-section .section-label { color: var(--l-coral); background: rgba(224,86,63,0.08); border-color: rgba(224,86,63,0.2); }
.problem-section .section-title { color: var(--l-text-dark); }
.problem-section .section-subtitle { color: var(--l-text-mid); }

.problem-header {
  text-align: center;
  margin-bottom: 56px;
}
.problem-header .section-subtitle { margin: 12px auto 0; }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.problem-card {
  background: #fff;
  border: 1px solid var(--l-border-light);
  border-radius: 16px;
  padding: 28px 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.problem-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(65,38,83,0.1);
}
.problem-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}
.problem-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--l-text-dark);
  margin-bottom: 8px;
}
.problem-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--l-text-mid);
}

/* ══════════════════════════════════════════════════════════════════
   DEMO SECTION (light, alternating)
══════════════════════════════════════════════════════════════════ */
.demo-section {
  padding: 80px 0 100px;
  background: #fff;
}
.demo-section .section-title { color: var(--l-text-dark); }
.demo-section .section-subtitle { color: var(--l-text-mid); }

.demo-header {
  text-align: center;
  margin-bottom: 72px;
}
.demo-header .section-subtitle { margin: 12px auto 0; }

.demo-row {
  display: block;
  max-width: 700px;
  margin: 0 auto 48px;
}
.demo-row:last-child { margin-bottom: 0; }

.demo-text .section-label { margin-bottom: 12px; text-align: center; }
.demo-text h3 {
  font-size: 28px;
  font-weight: 800;
  color: var(--l-text-dark);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  line-height: 1.2;
  text-align: center;
}
.demo-text p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--l-text-mid);
  margin-bottom: 20px;
}
.demo-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.demo-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--l-text-mid);
}
.demo-list li::before {
  content: "✓";
  font-weight: 700;
  color: var(--l-purple);
  flex-shrink: 0;
  margin-top: 1px;
}

.demo-visual {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(65,38,83,0.12);
  border: 1px solid var(--l-border-light);
}
.demo-img {
  width: 100%;
  height: auto;
  display: block;
}
.demo-placeholder {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #f0eaf8 0%, #e8ddf4 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--l-text-light);
  font-size: 14px;
  font-weight: 500;
}
.demo-placeholder-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(209,116,210,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

@media (max-width: 860px) {
  .demo-row { grid-template-columns: 1fr; gap: 32px; }
  .demo-row.reverse .demo-visual { order: 0; }
}

/* ══════════════════════════════════════════════════════════════════
   FEATURES GRID (light)
══════════════════════════════════════════════════════════════════ */
.features-section {
  padding: 100px 0;
  background: var(--l-light);
}
.features-section .section-title { color: var(--l-text-dark); }
.features-section .section-subtitle { color: var(--l-text-mid); }

.features-header {
  text-align: center;
  margin-bottom: 56px;
}
.features-header .section-subtitle { margin: 12px auto 0; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--l-border-light);
  border-radius: 16px;
  padding: 28px 24px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(209,116,210,0.3);
  box-shadow: 0 8px 28px rgba(65,38,83,0.08);
}
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(209,116,210,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}
.feature-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--l-text-dark);
  margin-bottom: 6px;
}
.feature-card p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--l-text-mid);
}

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

/* ══════════════════════════════════════════════════════════════════
   HOW IT WORKS (light)
══════════════════════════════════════════════════════════════════ */
.how-section {
  padding: 100px 0;
  background: #fff;
}
.how-section .section-title { color: var(--l-text-dark); }
.how-section .section-subtitle { color: var(--l-text-mid); }

.how-header {
  text-align: center;
  margin-bottom: 64px;
}
.how-header .section-subtitle { margin: 12px auto 0; }

.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.how-steps::before {
  content: "";
  position: absolute;
  top: 44px;
  left: calc(12.5% + 24px);
  right: calc(12.5% + 24px);
  height: 2px;
  background: linear-gradient(90deg, #d174d2, #e0563f);
  opacity: 0.3;
}
.how-step {
  text-align: center;
  padding: 0 16px;
  position: relative;
}
.how-step-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--grad-accent);
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(209,116,210,0.3);
}
.how-step h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--l-text-dark);
  margin-bottom: 8px;
}
.how-step p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--l-text-mid);
}

@media (max-width: 760px) {
  .how-steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .how-steps::before { display: none; }
}
@media (max-width: 480px) {
  .how-steps { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════════
   PRICING (light)
══════════════════════════════════════════════════════════════════ */
.pricing-section {
  padding: 100px 0;
  background: var(--l-light);
}
.pricing-section .section-title { color: var(--l-text-dark); }
.pricing-section .section-subtitle { color: var(--l-text-mid); }

.pricing-header {
  text-align: center;
  margin-bottom: 48px;
}
.pricing-header .section-subtitle { margin: 12px auto 0; }

.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--l-border-light);
  border-radius: 999px;
  padding: 6px;
  margin: 0 auto 48px;
  position: relative;
  display: flex;
  width: fit-content;
}
.billing-toggle-btn {
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: transparent;
  color: var(--l-text-mid);
  transition: background 0.2s, color 0.2s;
}
.billing-toggle-btn.active {
  background: var(--grad-accent);
  color: #fff;
}
.billing-save-badge {
  font-size: 11px;
  font-weight: 700;
  color: #1a9e75;
  background: rgba(26,158,117,0.1);
  border: 1px solid rgba(26,158,117,0.2);
  border-radius: 999px;
  padding: 2px 8px;
  margin-left: -4px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
.pricing-card {
  background: #fff;
  border: 1.5px solid var(--l-border-light);
  border-radius: 20px;
  padding: 32px 28px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.pricing-card:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(65,38,83,0.10); }
.pricing-card.featured {
  background: linear-gradient(160deg, #412653 0%, #3f567f 100%);
  border-color: rgba(209,116,210,0.3);
  position: relative;
  transform: scale(1.02);
  box-shadow: 0 16px 48px rgba(65,38,83,0.2);
  color: #e8ddf4;
}
.pricing-card.featured:hover { transform: scale(1.02) translateY(-3px); }
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.pricing-name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--l-purple);
  margin-bottom: 8px;
}
.pricing-card.featured .pricing-name { color: rgba(232,221,244,0.6); }
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 6px;
}
.pricing-price .amount {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--l-text-dark);
}
.pricing-card.featured .pricing-price .amount { color: #f0eaf8; }
.pricing-price .currency { font-size: 20px; font-weight: 700; color: var(--l-text-mid); align-self: flex-start; margin-top: 8px; }
.pricing-card.featured .pricing-price .currency { color: rgba(232,221,244,0.5); }
.pricing-price .period { font-size: 14px; color: var(--l-text-light); font-weight: 500; }
.pricing-card.featured .pricing-price .period { color: rgba(232,221,244,0.4); }
.pricing-desc {
  font-size: 13.5px;
  color: var(--l-text-mid);
  margin-bottom: 24px;
  line-height: 1.5;
}
.pricing-card.featured .pricing-desc { color: rgba(232,221,244,0.55); }
.pricing-divider {
  height: 1px;
  background: var(--l-border-light);
  margin-bottom: 24px;
}
.pricing-card.featured .pricing-divider { background: rgba(255,255,255,0.1); }
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--l-text-dark);
}
.pricing-card.featured .pricing-features li { color: rgba(232,221,244,0.85); }
.pricing-check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(209,116,210,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--l-purple);
  flex-shrink: 0;
  margin-top: 1px;
}
.pricing-card.featured .pricing-check { background: rgba(209,116,210,0.2); color: #d174d2; }
.pricing-cta {
  display: block;
  text-align: center;
  padding: 13px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
}
.pricing-cta:hover { opacity: 0.88; transform: translateY(-1px); }
.pricing-cta.filled {
  background: var(--grad-accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(209,116,210,0.3);
}
.pricing-cta.outline {
  border: 1.5px solid var(--l-border-light);
  color: var(--l-text-dark);
}
.pricing-cta.outline-white {
  border: 1.5px solid rgba(255,255,255,0.2);
  color: #e8ddf4;
}

@media (max-width: 860px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-3px); }
}

/* ══════════════════════════════════════════════════════════════════
   TESTIMONIALS (light)
══════════════════════════════════════════════════════════════════ */
.testi-section {
  padding: 100px 0;
  background: #fff;
}
.testi-section .section-title { color: var(--l-text-dark); }
.testi-section .section-subtitle { color: var(--l-text-mid); }

.testi-header {
  text-align: center;
  margin-bottom: 56px;
}
.testi-header .section-subtitle { margin: 12px auto 0; }

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testi-card {
  background: var(--l-light);
  border: 1px solid var(--l-border-light);
  border-radius: 16px;
  padding: 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.testi-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(65,38,83,0.08);
}
.testi-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 12px;
}
.testi-star { color: #f59e0b; font-size: 14px; }
.testi-quote {
  font-size: 14px;
  line-height: 1.65;
  color: var(--l-text-mid);
  margin-bottom: 20px;
  font-style: italic;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.testi-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.testi-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--l-text-dark);
}
.testi-role {
  font-size: 12px;
  color: var(--l-text-light);
}

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

/* ══════════════════════════════════════════════════════════════════
   FAQ (light)
══════════════════════════════════════════════════════════════════ */
.faq-section {
  padding: 100px 0;
  background: var(--l-light);
}
.faq-section .section-title { color: var(--l-text-dark); }
.faq-section .section-subtitle { color: var(--l-text-mid); }

.faq-header {
  text-align: center;
  margin-bottom: 56px;
}
.faq-header .section-subtitle { margin: 12px auto 0; }

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--l-border-light);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.open { border-color: rgba(209,116,210,0.3); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
}
.faq-q-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--l-text-dark);
}
.faq-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(209,116,210,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--l-purple);
  font-size: 16px;
  flex-shrink: 0;
  transition: transform 0.25s, background 0.2s;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: rgba(209,116,210,0.15);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s;
  padding: 0 24px;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}
.faq-answer p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--l-text-mid);
}

/* ══════════════════════════════════════════════════════════════════
   CTA SECTION (dark)
══════════════════════════════════════════════════════════════════ */
.cta-section {
  padding: 100px 0;
  background: var(--l-dark);
  position: relative;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 65% 70% at 50% 50%, rgba(65,38,83,0.6) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.cta-inner .section-title { color: #f0eaf8; margin-bottom: 16px; }
.cta-inner .section-subtitle { color: rgba(232,221,244,0.6); margin: 0 auto 40px; }
.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.cta-note {
  margin-top: 20px;
  font-size: 13px;
  color: rgba(232,221,244,0.35);
}

/* ══════════════════════════════════════════════════════════════════
   FOOTER (dark)
══════════════════════════════════════════════════════════════════ */
.footer {
  background: var(--l-dark-2);
  border-top: 1px solid rgba(209,116,210,0.08);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand p {
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(232,221,244,0.4);
  margin: 10px 0 20px;
  max-width: 260px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social-icon {
  width: 34px; height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(209,116,210,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(232,221,244,0.4);
  font-size: 14px;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.footer-social-icon:hover { border-color: rgba(209,116,210,0.4); color: var(--l-purple); }
.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(232,221,244,0.35);
  margin-bottom: 16px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 14px;
  color: rgba(232,221,244,0.55);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: #e8ddf4; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy {
  font-size: 13px;
  color: rgba(232,221,244,0.3);
}
.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a {
  font-size: 13px;
  color: rgba(232,221,244,0.3);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-bottom-links a:hover { color: rgba(232,221,244,0.65); }

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── Hero Demo Widget Container ─────────────────────────────────── */
.hero-demo-container {
  width: 100%;
  max-width: 860px;
  margin: 48px auto 0;
  background: var(--l-dark-3);
  border-radius: 16px;
  border: 1px solid var(--l-border-dark);
  padding: 20px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.3);
}

/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE GLOBAL
══════════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  .hero-cards { display: none; }
  .hero-browser { margin-top: 40px; }
  .social-bar-inner { gap: 28px; }
}

/* ══════════════════════════════════════════════════════════════════
   MOBILE FIXES — 375px–480px (iPhone-sized)
══════════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {

  /* Fix 1 — Hero title: smaller clamp so text never clips */
  .hero-title {
    font-size: clamp(32px, 8vw, 56px);
    line-height: 1.15;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .hero-inner {
    padding: 0 20px;
  }

  /* Fix 2 — Hero buttons stack vertically */
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
  }
  .hero-actions a,
  .hero-actions button {
    width: 100%;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
  }

  /* Fix 3 — Stats bar: 2-column grid, hide dividers */
  .social-bar-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 8px;
    text-align: center;
  }
  .social-divider {
    display: none;
  }

  /* Fix 4 — Demo widget: tighten padding, fix tab bar */
  .hero-demo-container {
    padding: 12px;
    overflow: hidden;
  }
  .wd-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 10px 10px 0;
    gap: 1px;
  }
  .wd-nav::-webkit-scrollbar { display: none; }
  .wd-tab {
    font-size: 11px;
    padding: 6px 10px 8px;
    flex-shrink: 0;
  }
  .wd-panel { padding: 14px 12px; }
  /* Stats row: shrink font to fit */
  .wd-stat-val { font-size: 15px; }
  .wd-stat-lbl { font-size: 10px; }
  /* Bar rows: narrow label column */
  .wd-bar-row { grid-template-columns: 90px 1fr 60px; gap: 6px; }
  .wd-bar-name { font-size: 11px; }
  .wd-bar-amt  { font-size: 10px; }

  /* Fix 5 — Section padding to prevent edge-to-edge text */
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Fix 6 — CTA section buttons stack */
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
  .cta-actions a,
  .cta-actions button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* Fix 7 — Problem-card emoji icons: display as block at readable size */
  .problem-icon {
    font-size: 28px;
    width: auto;
    height: auto;
    display: block;
    line-height: 1;
    margin-bottom: 12px;
    background: transparent !important;
    border-radius: 0;
  }
}

/* ── MOBILE OVERFLOW HOTFIX ── */
@media (max-width: 480px) {
  .hero-inner {
    padding: 0 16px;
    width: 100%;
    max-width: 100vw;
  }
  .hero-title {
    font-size: 36px;
    word-break: break-word;
  }
  .hero-subtitle {
    max-width: 100%;
    font-size: 15px;
    padding: 0;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    padding: 0;
  }
  .hero-actions a {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    justify-content: center;
    display: flex;
  }
  .hero-social-proof {
    flex-wrap: wrap;
    justify-content: center;
  }
  .hero-demo-container {
    margin: 0 -16px;
    width: calc(100% + 32px);
    border-radius: 0;
  }
}

/* ── MOBILE OVERFLOW HOTFIX ── */
@media (max-width: 480px) {
  .hero-inner {
    padding: 0 16px;
    width: 100%;
    max-width: 100vw;
  }
  .hero-title {
    font-size: 36px;
    word-break: break-word;
  }
  .hero-subtitle {
    max-width: 100%;
    font-size: 15px;
    padding: 0;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    padding: 0;
  }
  .hero-actions a {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    justify-content: center;
    display: flex;
  }
  .hero-social-proof {
    flex-wrap: wrap;
    justify-content: center;
  }
  .hero-demo-container {
    margin: 0 -16px;
    width: calc(100% + 32px);
    border-radius: 0;
  }
}


/* ── MOBILE OVERFLOW HOTFIX ── */
@media (max-width: 480px) {
  .hero-inner {
    padding: 0 16px;
    width: 100%;
    max-width: 100vw;
  }
  .hero-title {
    font-size: 36px;
    word-break: break-word;
  }
  .hero-subtitle {
    max-width: 100%;
    font-size: 15px;
    padding: 0;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    padding: 0;
  }
  .hero-actions a {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    justify-content: center;
    display: flex;
  }
  .hero-social-proof {
    flex-wrap: wrap;
    justify-content: center;
  }
  .hero-demo-container {
    margin: 0 -16px;
    width: calc(100% + 32px);
    border-radius: 0;
  }
}
