/* ============================================================
   ALPHARIA - Landing Page Styles
   Dedicated stylesheet; does not affect app pages.
   ============================================================ */

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

/* ── Design Tokens ── */
:root {
  --lp-primary:    #4f46e5;
  --lp-primary-d:  #3730a3;
  --lp-teal:       #14b8a6;
  --lp-coral:      #f97316;
  --lp-navy:       #0f172a;
  --lp-navy-l:     #1e293b;
  --lp-slate:      #334155;
  --lp-muted:      #64748b;
  --lp-light:      #f8fafc;
  --lp-white:      #ffffff;
  --lp-border:     rgba(255,255,255,0.12);
  --lp-card-glass: rgba(255,255,255,0.07);

  --lp-grad-hero:  linear-gradient(135deg, #0f172a 0%, #1e1b4b 55%, #0f2027 100%);
  --lp-grad-btn:   linear-gradient(135deg, #4f46e5, #6366f1);
  --lp-grad-teal:  linear-gradient(135deg, #0d9488, #14b8a6);
  --lp-grad-coral: linear-gradient(135deg, #ea580c, #f97316);

  --lp-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --lp-shadow-sm:  0 4px 6px -1px rgba(0,0,0,.15);
  --lp-shadow-md:  0 10px 25px -5px rgba(0,0,0,.25);
  --lp-shadow-lg:  0 25px 50px -12px rgba(0,0,0,.35);
  --lp-radius:     1rem;
  --lp-radius-lg:  1.5rem;
}

/* ── Global Resets for Landing root ── */
.lp-root {
  font-family: 'Inter', 'Poppins', sans-serif;
  color: var(--lp-white);
  overflow-x: hidden;
}

/* Smooth theme switching — applied to all landing sections */
.lp-navbar,
.lp-hero,
.lp-trust,
.lp-features,
.lp-ai-section,
.lp-pricing,
#contact,
.lp-footer,
.lp-feat-card,
.lp-plan,
.lp-tab,
.lp-mobile-nav,
.lp-mockup-window,
.lp-mockup-bar,
.lp-mockup-card {
  transition: background 0.4s ease, color 0.3s ease,
              border-color 0.3s ease, box-shadow 0.3s ease !important;
}


/* ============================================================
   NAVBAR
   ============================================================ */
.lp-navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 72px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--lp-border);
  transition: var(--lp-transition);
}

.lp-navbar.scrolled {
  background: rgba(15, 23, 42, 0.97);
  box-shadow: 0 4px 30px rgba(0,0,0,.3);
}

.lp-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.lp-brand-icon {
  width: 38px; height: 38px;
  background: var(--lp-grad-btn);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: white;
  box-shadow: 0 4px 12px rgba(79,70,229,.4);
}

.lp-brand-name {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(90deg, #818cf8, #c4b5fd);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}

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

.lp-nav-links a {
  color: rgba(255,255,255,.8);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  transition: var(--lp-transition);
}

.lp-nav-links a:hover {
  color: white;
  background: rgba(255,255,255,.1);
}

.lp-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: 10px;
  padding: 0.6rem 1.4rem;
  cursor: pointer;
  text-decoration: none;
  transition: var(--lp-transition);
  letter-spacing: -0.01em;
}

.lp-btn-primary {
  background: var(--lp-grad-btn);
  color: white;
  box-shadow: 0 4px 15px rgba(79,70,229,.4);
}

.lp-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(79,70,229,.55);
  color: white;
}

.lp-btn-outline {
  background: transparent;
  color: rgba(255,255,255,.85);
  border: 1.5px solid rgba(255,255,255,.25);
}

.lp-btn-outline:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.5);
  color: white;
  transform: translateY(-2px);
}

.lp-btn-coral {
  background: var(--lp-grad-coral);
  color: white;
  box-shadow: 0 4px 15px rgba(249,115,22,.35);
}

.lp-btn-coral:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(249,115,22,.5);
  color: white;
}

.lp-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}

.lp-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: white;
  border-radius: 2px;
  transition: var(--lp-transition);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.lp-hero {
  min-height: 100vh;
  background: var(--lp-grad-hero);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 7rem 5% 5rem;
  position: relative;
  overflow: hidden;
}

/* Animated mesh gradient blobs */
.lp-hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  pointer-events: none;
  animation: lp-blob-float 12s ease-in-out infinite;
}

.lp-hero-blob-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #4f46e5, #7c3aed);
  top: -150px; left: -100px;
  animation-delay: 0s;
}

.lp-hero-blob-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #0d9488, #14b8a6);
  bottom: -100px; right: -80px;
  animation-delay: 4s;
}

.lp-hero-blob-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #f97316, #ef4444);
  top: 40%; right: 25%;
  animation-delay: 7s;
  opacity: 0.15;
}

@keyframes lp-blob-float {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(30px,-30px) scale(1.05); }
  66% { transform: translate(-20px,20px) scale(0.97); }
}

/* Stars / particles overlay */
.lp-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 20% 15%, rgba(255,255,255,.35) 0%, transparent 100%),
    radial-gradient(1px 1px at 75% 30%, rgba(255,255,255,.3) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 50% 70%, rgba(255,255,255,.25) 0%, transparent 100%),
    radial-gradient(1px 1px at 85% 80%, rgba(255,255,255,.2) 0%, transparent 100%),
    radial-gradient(1px 1px at 10% 60%, rgba(255,255,255,.2) 0%, transparent 100%);
  pointer-events: none;
}

.lp-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}

.lp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(79,70,229,.2);
  border: 1px solid rgba(129,140,248,.35);
  color: #a5b4fc;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.lp-hero-badge i {
  color: #fbbf24;
  font-size: 0.8rem;
}

.lp-hero-h1 {
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -2px;
  margin-bottom: 1.6rem;
  color: white;
}

.lp-hero-h1 .lp-hl-blue {
  background: linear-gradient(120deg, #818cf8, #c4b5fd);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lp-hero-h1 .lp-hl-teal {
  background: linear-gradient(120deg, #2dd4bf, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lp-hero-sub {
  font-size: 1.2rem;
  line-height: 1.75;
  color: rgba(255,255,255,.68);
  max-width: 640px;
  margin: 0 auto 2.8rem;
}

.lp-hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.lp-hero-ctas .lp-btn {
  padding: 0.85rem 2rem;
  font-size: 1rem;
  border-radius: 12px;
}

/* Stats row */
.lp-hero-stats {
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.lp-stat {
  text-align: center;
}

.lp-stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: white;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.lp-stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,.5);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Dashboard mockup widget */
.lp-dashboard-mockup {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 3.5rem auto -2rem;
  padding: 0 5%;
}

.lp-mockup-window {
  background: rgba(30,27,75,.8);
  border: 1px solid rgba(129,140,248,.2);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(129,140,248,.1);
  backdrop-filter: blur(10px);
  animation: lp-float-up 6s ease-in-out infinite;
}

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

.lp-mockup-bar {
  background: rgba(15,23,42,.6);
  padding: 0.75rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.lp-mockup-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}

.lp-mockup-dot:nth-child(1) { background: #ef4444; }
.lp-mockup-dot:nth-child(2) { background: #f59e0b; }
.lp-mockup-dot:nth-child(3) { background: #10b981; }

.lp-mockup-url {
  flex: 1;
  background: rgba(255,255,255,.06);
  border-radius: 6px;
  padding: 0.3rem 1rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,.4);
  margin-left: 0.5rem;
  font-family: monospace;
}

.lp-mockup-body {
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
}

.lp-mockup-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 1.1rem;
}

.lp-mockup-card-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
}

.lp-mockup-card-val {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.lp-mockup-card-bar {
  height: 4px;
  background: rgba(255,255,255,.1);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 0.7rem;
}

.lp-mockup-card-bar-fill {
  height: 100%;
  border-radius: 4px;
  animation: lp-bar-grow 2s ease-out forwards;
}

@keyframes lp-bar-grow {
  from { width: 0; }
}

.fill-blue { background: linear-gradient(90deg, #4f46e5, #818cf8); width: 78%; }
.fill-teal { background: linear-gradient(90deg, #0d9488, #14b8a6); width: 91%; }
.fill-coral { background: linear-gradient(90deg, #ea580c, #f97316); width: 63%; }

/* Waveform visualizer */
.lp-waveform {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 32px;
  margin-top: 1rem;
}

.lp-wave-bar {
  flex: 1;
  background: linear-gradient(to top, #4f46e5, #818cf8);
  border-radius: 3px;
  animation: lp-wave-anim 1.2s ease-in-out infinite;
}

.lp-wave-bar:nth-child(2) { animation-delay: 0.1s; }
.lp-wave-bar:nth-child(3) { animation-delay: 0.2s; }
.lp-wave-bar:nth-child(4) { animation-delay: 0.3s; }
.lp-wave-bar:nth-child(5) { animation-delay: 0.15s; }
.lp-wave-bar:nth-child(6) { animation-delay: 0.25s; }
.lp-wave-bar:nth-child(7) { animation-delay: 0.05s; }
.lp-wave-bar:nth-child(8) { animation-delay: 0.35s; }
.lp-wave-bar:nth-child(9) { animation-delay: 0.1s; }
.lp-wave-bar:nth-child(10) { animation-delay: 0.2s; }
.lp-wave-bar:nth-child(11) { animation-delay: 0.3s; }
.lp-wave-bar:nth-child(12) { animation-delay: 0.05s; }

@keyframes lp-wave-anim {
  0%, 100% { height: 25%; }
  50% { height: 100%; }
}

/* ============================================================
   SHARED SECTION LAYOUT
   ============================================================ */
.lp-section {
  padding: 6rem 5%;
}

.lp-section-light {
  background: #f8fafc;
  color: #0f172a;
}

.lp-section-dark {
  background: var(--lp-navy);
  color: var(--lp-white);
}

.lp-section-alt {
  background: #0f172a;
  color: var(--lp-white);
}

.lp-section-mid {
  background: #1e293b;
  color: var(--lp-white);
}

.lp-container {
  max-width: 1200px;
  margin: 0 auto;
}

.lp-section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.2rem;
}

.lp-tag-blue {
  background: rgba(79,70,229,.12);
  color: #818cf8;
  border: 1px solid rgba(79,70,229,.25);
}

.lp-tag-teal {
  background: rgba(20,184,166,.12);
  color: #2dd4bf;
  border: 1px solid rgba(20,184,166,.25);
}

.lp-tag-coral {
  background: rgba(249,115,22,.12);
  color: #fb923c;
  border: 1px solid rgba(249,115,22,.25);
}

.lp-tag-dark {
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.6);
  border: 1px solid rgba(255,255,255,.12);
}

.lp-section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 1rem;
}

.lp-section-subtitle {
  font-size: 1.1rem;
  line-height: 1.7;
  opacity: 0.65;
  max-width: 560px;
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.lp-features {
  background: #0a0f1e;
}

.lp-features-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.lp-features-header .lp-section-subtitle {
  margin: 0 auto;
}

/* Tabs */
.lp-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.lp-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: 50px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.6);
  transition: var(--lp-transition);
}

.lp-tab:hover {
  border-color: rgba(255,255,255,.35);
  color: white;
  background: rgba(255,255,255,.08);
}

.lp-tab.active {
  background: var(--lp-grad-btn);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(79,70,229,.4);
}

/* Feature Panels */
.lp-tab-panel {
  display: none;
  animation: lp-tab-fade 0.4s ease-out;
}

.lp-tab-panel.active {
  display: block;
}

@keyframes lp-tab-fade {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.lp-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.lp-feat-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--lp-radius);
  padding: 1.8rem;
  transition: var(--lp-transition);
  position: relative;
  overflow: hidden;
}

.lp-feat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--lp-grad-btn);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.lp-feat-card:hover {
  border-color: rgba(129,140,248,.35);
  background: rgba(79,70,229,.08);
  transform: translateY(-4px);
  box-shadow: var(--lp-shadow-md);
}

.lp-feat-card:hover::before {
  transform: scaleX(1);
}

.lp-feat-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1.1rem;
  transition: var(--lp-transition);
}

.icon-blue  { background: rgba(79,70,229,.2);  color: #818cf8; }
.icon-teal  { background: rgba(20,184,166,.2); color: #2dd4bf; }
.icon-coral { background: rgba(249,115,22,.2); color: #fb923c; }
.icon-green { background: rgba(16,185,129,.2); color: #34d399; }

.lp-feat-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.lp-feat-desc {
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(255,255,255,.5);
}

/* ============================================================
   AI PROCESS TIMELINE
   ============================================================ */
.lp-ai-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
  position: relative;
  overflow: hidden;
}

.lp-ai-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234f46e5' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.lp-ai-inner {
  position: relative;
  z-index: 1;
}

.lp-ai-header {
  text-align: center;
  margin-bottom: 4rem;
}

.lp-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

/* Connecting line */
.lp-timeline::before {
  content: '';
  position: absolute;
  top: 52px;
  left: 12.5%;
  width: 75%;
  height: 2px;
  background: linear-gradient(90deg, rgba(79,70,229,.0), rgba(79,70,229,.7), rgba(20,184,166,.7), rgba(79,70,229,.0));
  pointer-events: none;
}

.lp-step {
  text-align: center;
  padding: 0 1.5rem;
  position: relative;
}

.lp-step-num {
  width: 56px; height: 56px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  position: relative;
  z-index: 2;
}

.step-1 { background: linear-gradient(135deg, #4f46e5, #7c3aed); box-shadow: 0 8px 20px rgba(79,70,229,.4); }
.step-2 { background: linear-gradient(135deg, #0d9488, #14b8a6); box-shadow: 0 8px 20px rgba(20,184,166,.4); }
.step-3 { background: linear-gradient(135deg, #f97316, #ef4444); box-shadow: 0 8px 20px rgba(249,115,22,.4); }
.step-4 { background: linear-gradient(135deg, #10b981, #059669); box-shadow: 0 8px 20px rgba(16,185,129,.4); }

.lp-step-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,.4);
  margin-bottom: 0.6rem;
}

.lp-step-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.lp-step-desc {
  font-size: 0.85rem;
  line-height: 1.65;
  color: rgba(255,255,255,.5);
}

/* ============================================================
   PRICING SECTION
   ============================================================ */
.lp-pricing {
  background: #060d1f;
}

.lp-pricing-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.lp-pricing-toggle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 3rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,.6);
  font-weight: 500;
}

.lp-toggle-track {
  position: relative;
  width: 48px; height: 26px;
  background: rgba(255,255,255,.12);
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.3s;
}

.lp-toggle-track.on {
  background: var(--lp-primary);
}

.lp-toggle-thumb {
  position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px;
  background: white;
  border-radius: 50%;
  transition: transform 0.3s;
}

.lp-toggle-track.on .lp-toggle-thumb {
  transform: translateX(22px);
}

.lp-discount-badge {
  background: var(--lp-grad-teal);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
}

.lp-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.lp-plan {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--lp-radius-lg);
  padding: 2.5rem 2rem;
  position: relative;
  transition: var(--lp-transition);
}

.lp-plan:hover {
  border-color: rgba(129,140,248,.3);
  transform: translateY(-4px);
  background: rgba(79,70,229,.06);
}

.lp-plan-popular {
  border-color: rgba(79,70,229,.5);
  background: rgba(79,70,229,.1);
  transform: scale(1.02);
}

.lp-plan-popular:hover {
  transform: scale(1.02) translateY(-4px);
}

.lp-popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--lp-grad-btn);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 1.2rem;
  border-radius: 50px;
  white-space: nowrap;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lp-plan-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
}

.lp-plan-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.lp-plan-target {
  font-size: 0.82rem;
  color: rgba(255,255,255,.45);
  margin-bottom: 1.5rem;
}

.lp-plan-price {
  margin-bottom: 1.5rem;
}

.lp-price-num {
  font-size: 2.8rem;
  font-weight: 900;
  color: white;
  line-height: 1;
}

.lp-price-period {
  font-size: 0.85rem;
  color: rgba(255,255,255,.45);
  margin-left: 0.2rem;
}

.lp-price-annual {
  font-size: 0.8rem;
  color: #2dd4bf;
  margin-top: 0.3rem;
}

.lp-plan-divider {
  height: 1px;
  background: rgba(255,255,255,.08);
  margin: 1.5rem 0;
}

.lp-plan-features {
  list-style: none;
  margin-bottom: 2rem;
}

.lp-plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,.7);
  padding: 0.35rem 0;
  line-height: 1.5;
}

.lp-plan-features li i {
  color: #34d399;
  font-size: 0.8rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.lp-plan-cta {
  width: 100%;
  padding: 0.8rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  cursor: pointer;
  transition: var(--lp-transition);
  border: none;
  font-family: inherit;
}

.lp-plan-cta-outline {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,.25);
}

.lp-plan-cta-outline:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.5);
}

.lp-plan-cta-solid {
  background: var(--lp-grad-btn);
  color: white;
  box-shadow: 0 4px 15px rgba(79,70,229,.4);
}

.lp-plan-cta-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(79,70,229,.55);
}

/* ============================================================
   TESTIMONIALS STRIP
   ============================================================ */
.lp-trust {
  background: #0f172a;
  padding: 3.5rem 5%;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.lp-trust-header {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,.35);
  margin-bottom: 2rem;
}

.lp-trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
  opacity: 0.55;
  filter: grayscale(100%);
}

.lp-trust-logo {
  font-size: 1rem;
  font-weight: 700;
  color: white;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.lp-footer {
  background: #020817;
  padding: 5rem 5% 2.5rem;
  border-top: 1px solid rgba(255,255,255,.06);
}

.lp-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.lp-footer-brand-name {
  font-size: 1.4rem;
  font-weight: 800;
  background: linear-gradient(90deg, #818cf8, #c4b5fd);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.8rem;
}

.lp-footer-brand-desc {
  font-size: 0.87rem;
  line-height: 1.7;
  color: rgba(255,255,255,.4);
  max-width: 260px;
  margin-bottom: 1.5rem;
}

.lp-footer-socials {
  display: flex;
  gap: 0.75rem;
}

.lp-social-btn {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.6);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--lp-transition);
}

.lp-social-btn:hover {
  background: rgba(79,70,229,.3);
  border-color: rgba(79,70,229,.5);
  color: white;
}

.lp-footer-col-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,.5);
  margin-bottom: 1.2rem;
}

.lp-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.lp-footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,.45);
  text-decoration: none;
  transition: color 0.2s;
}

.lp-footer-links a:hover {
  color: white;
}

.lp-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,.06);
  font-size: 0.82rem;
  color: rgba(255,255,255,.3);
  flex-wrap: wrap;
  gap: 1rem;
}

.lp-footer-bottom a {
  color: rgba(255,255,255,.3);
  text-decoration: none;
  transition: color 0.2s;
}

.lp-footer-bottom a:hover {
  color: rgba(255,255,255,.7);
}

.lp-footer-legal {
  display: flex;
  gap: 1.5rem;
}

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

.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; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .lp-pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }

  .lp-plan-popular {
    transform: scale(1);
    order: -1;
  }

  .lp-plan-popular:hover {
    transform: translateY(-4px);
  }

  .lp-timeline {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .lp-timeline::before { display: none; }

  .lp-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .lp-footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .lp-nav-links,
  .lp-nav-actions {
    display: none;
  }

  .lp-hamburger {
    display: flex;
  }

  .lp-hero-h1 {
    letter-spacing: -1px;
  }

  .lp-hero-stats {
    gap: 2rem;
  }

  .lp-mockup-body {
    grid-template-columns: 1fr;
  }

  .lp-timeline {
    grid-template-columns: 1fr;
  }

  .lp-section {
    padding: 4rem 5%;
  }

  .lp-footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .lp-tabs {
    gap: 0.4rem;
  }

  .lp-tab {
    padding: 0.55rem 0.9rem;
    font-size: 0.82rem;
  }
}

@media (max-width: 480px) {
  .lp-hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .lp-hero-ctas .lp-btn {
    width: 100%;
    justify-content: center;
    max-width: 300px;
  }

  .lp-hero-stats {
    gap: 1.5rem;
  }

  .lp-stat-num {
    font-size: 1.6rem;
  }

  .lp-section-title {
    font-size: 1.9rem;
  }
}

/* ============================================================
   MOBILE NAV DRAWER
   ============================================================ */
.lp-mobile-nav {
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: rgba(15,23,42,0.98);
  backdrop-filter: blur(16px);
  padding: 1.5rem 5%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 999;
  border-bottom: 1px solid rgba(255,255,255,.1);
  transform: translateY(-20px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

.lp-mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.lp-mobile-nav a {
  color: rgba(255,255,255,.8);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: color 0.2s;
}

.lp-mobile-nav a:last-child {
  border-bottom: none;
}

.lp-mobile-nav a:hover { color: white; }

.lp-mobile-nav .lp-btn {
  margin-top: 0.5rem;
  width: 100%;
  justify-content: center;
}

/* ============================================================
   LIGHT / DAY MODE OVERRIDES
   Applied when <body> has class "light"
   ============================================================ */

/* ── Root ── */
body.light .lp-root,
body.light {
  color: #0f172a;
}

/* ── Navbar ── */
body.light .lp-navbar {
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

body.light .lp-navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

body.light .lp-brand-name {
  background: linear-gradient(90deg, #4f46e5, #7c3aed);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.light .lp-nav-links a {
  color: #334155;
}

body.light .lp-nav-links a:hover {
  color: #0f172a;
  background: rgba(79,70,229,.08);
}

body.light .lp-btn-outline {
  color: #334155;
  border-color: rgba(0,0,0,0.2);
}

body.light .lp-btn-outline:hover {
  color: #0f172a;
  background: rgba(0,0,0,.05);
  border-color: rgba(0,0,0,.35);
}

body.light .lp-hamburger span {
  background: #0f172a;
}

/* ── Mobile Nav ── */
body.light .lp-mobile-nav {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

body.light .lp-mobile-nav a {
  color: #334155;
  border-bottom-color: rgba(0,0,0,.06);
}

body.light .lp-mobile-nav a:hover { color: #0f172a; }

/* ── Hero ── */
body.light .lp-hero {
  background: linear-gradient(135deg, #eff6ff 0%, #f5f3ff 50%, #ecfdf5 100%);
}

body.light .lp-hero::before {
  background-image:
    radial-gradient(1px 1px at 20% 15%, rgba(79,70,229,.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 75% 30%, rgba(79,70,229,.2) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 50% 70%, rgba(20,184,166,.2) 0%, transparent 100%),
    radial-gradient(1px 1px at 85% 80%, rgba(79,70,229,.15) 0%, transparent 100%),
    radial-gradient(1px 1px at 10% 60%, rgba(20,184,166,.15) 0%, transparent 100%);
}

body.light .lp-hero-blob-1 {
  opacity: 0.12;
}
body.light .lp-hero-blob-2 {
  opacity: 0.1;
}
body.light .lp-hero-blob-3 {
  opacity: 0.07;
}

body.light .lp-hero-badge {
  background: rgba(79,70,229,.08);
  border-color: rgba(79,70,229,.25);
  color: #4f46e5;
}

body.light .lp-hero-h1 {
  color: #0f172a;
}

body.light .lp-hero-sub {
  color: #475569;
}

body.light .lp-stat-num {
  color: #0f172a;
}

body.light .lp-stat-label {
  color: #64748b;
}

/* Dashboard mockup in light mode */
body.light .lp-mockup-window {
  background: rgba(255,255,255,0.85);
  border-color: rgba(79,70,229,.2);
  box-shadow: 0 40px 80px rgba(79,70,229,.12), 0 0 0 1px rgba(79,70,229,.1);
}

body.light .lp-mockup-bar {
  background: #f8fafc;
  border-bottom-color: rgba(0,0,0,.07);
}

body.light .lp-mockup-url {
  background: rgba(0,0,0,.05);
  color: #64748b;
}

body.light .lp-mockup-card {
  background: #f8fafc;
  border-color: rgba(0,0,0,.08);
}

body.light .lp-mockup-card-label {
  color: #64748b;
}

body.light .lp-mockup-card-val {
  color: #0f172a;
}

body.light .lp-mockup-card-bar {
  background: rgba(0,0,0,.07);
}

/* ── Trust strip ── */
body.light .lp-trust {
  background: #f1f5f9;
  border-top-color: rgba(0,0,0,.08);
  border-bottom-color: rgba(0,0,0,.08);
}

body.light .lp-trust-header {
  color: #94a3b8;
}

body.light .lp-trust-logos {
  filter: grayscale(0%);
  opacity: 0.65;
}

body.light .lp-trust-logo {
  color: #334155;
}

/* ── Features Section ── */
body.light .lp-features {
  background: #f8fafc;
}

body.light .lp-section-title {
  color: #0f172a;
}

body.light .lp-section-subtitle {
  color: #475569;
  opacity: 1;
}

body.light .lp-tag-blue {
  background: rgba(79,70,229,.08);
  color: #4f46e5;
  border-color: rgba(79,70,229,.2);
}

body.light .lp-tag-teal {
  background: rgba(20,184,166,.08);
  color: #0d9488;
  border-color: rgba(20,184,166,.2);
}

body.light .lp-tag-coral {
  background: rgba(249,115,22,.08);
  color: #ea580c;
  border-color: rgba(249,115,22,.2);
}

body.light .lp-tag-dark {
  background: rgba(0,0,0,.04);
  color: #64748b;
  border-color: rgba(0,0,0,.1);
}

body.light .lp-tab {
  border-color: rgba(0,0,0,.12);
  background: white;
  color: #475569;
}

body.light .lp-tab:hover {
  border-color: rgba(79,70,229,.4);
  color: #4f46e5;
  background: rgba(79,70,229,.05);
}

body.light .lp-tab.active {
  background: var(--lp-grad-btn);
  color: white;
  border-color: transparent;
}

body.light .lp-feat-card {
  background: white;
  border-color: rgba(0,0,0,.08);
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}

body.light .lp-feat-card:hover {
  border-color: rgba(79,70,229,.25);
  background: white;
  box-shadow: 0 10px 30px rgba(79,70,229,.1);
}

body.light .lp-feat-title {
  color: #0f172a;
}

body.light .lp-feat-desc {
  color: #64748b;
}

body.light .icon-blue  { background: rgba(79,70,229,.1);  color: #4f46e5; }
body.light .icon-teal  { background: rgba(20,184,166,.1); color: #0d9488; }
body.light .icon-coral { background: rgba(249,115,22,.1); color: #ea580c; }
body.light .icon-green { background: rgba(16,185,129,.1); color: #059669; }

/* ── AI Timeline Section ── */
body.light .lp-ai-section {
  background: linear-gradient(135deg, #f5f3ff 0%, #eff6ff 100%);
}

body.light .lp-step-label {
  color: #94a3b8;
}

body.light .lp-step-title {
  color: #0f172a;
}

body.light .lp-step-desc {
  color: #475569;
}

/* Timeline connecting line in light mode */
body.light .lp-timeline::before {
  background: linear-gradient(90deg, rgba(79,70,229,.0), rgba(79,70,229,.35), rgba(20,184,166,.35), rgba(79,70,229,.0));
}

/* ── Pricing Section ── */
body.light .lp-pricing {
  background: #f8fafc;
}

body.light .lp-pricing-toggle {
  color: #475569;
}

body.light .lp-toggle-track {
  background: rgba(0,0,0,.12);
}

body.light .lp-plan {
  background: white;
  border-color: rgba(0,0,0,.1);
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
}

body.light .lp-plan:hover {
  border-color: rgba(79,70,229,.3);
  background: white;
  box-shadow: 0 12px 40px rgba(79,70,229,.12);
}

body.light .lp-plan-popular {
  border-color: rgba(79,70,229,.5);
  background: #fafaff;
  box-shadow: 0 8px 30px rgba(79,70,229,.15);
}

body.light .lp-plan-popular:hover {
  box-shadow: 0 16px 50px rgba(79,70,229,.2);
}

body.light .lp-plan-name {
  color: #0f172a;
}

body.light .lp-plan-target {
  color: #64748b;
}

body.light .lp-price-num {
  color: #0f172a;
}

body.light .lp-price-period {
  color: #64748b;
}

body.light .lp-plan-divider {
  background: rgba(0,0,0,.08);
}

body.light .lp-plan-features li {
  color: #334155;
}

body.light .lp-plan-cta-outline {
  color: #334155;
  border-color: rgba(0,0,0,.2);
}

body.light .lp-plan-cta-outline:hover {
  background: rgba(0,0,0,.04);
  border-color: rgba(0,0,0,.35);
}

/* ── Contact CTA Banner ── */
body.light #contact {
  background: linear-gradient(135deg, #f5f3ff 0%, #eff6ff 100%) !important;
}

body.light #contact .lp-section-title {
  color: #0f172a;
}

body.light #contact p {
  color: #475569 !important;
}

body.light #contact .lp-tag-dark {
  background: rgba(79,70,229,.08);
  color: #4f46e5;
  border-color: rgba(79,70,229,.2);
}

/* ── Footer ── */
body.light .lp-footer {
  background: #1e293b;
}

body.light .lp-footer-bottom a {
  color: rgba(255,255,255,.35);
}

