/* Landing page scoped variables and utility overrides
   These rules are namespaced under .landing-root so they only affect landing pages.
   They provide CSS variables and simple utility mappings for common Tailwind classes
   used by the dedicated landing styling in the original standalone HTML.
*/

.landing-root {
  /* color tokens (matching previous inline :root values) */
  --background: #F3F4F6;
  --foreground: #6B7280;
  --card: #FFFFFF;
  --card-foreground: #111827;
  --primary: #4F46E5;
  --primary-foreground: #FFFFFF;
  --secondary: #6366F1;
  --secondary-foreground: #FFFFFF;
  --muted: #F3F4F6;
  --muted-foreground: #6B7280;
  --accent: #22C55E;
  --accent-foreground: #FFFFFF;
  --destructive: #EF4444;
  --destructive-foreground: #FFFFFF;
  --border: #E5E7EB;
  --input: #D1D5DB;
  --ring: #C7D2FE;
  --card-radius: 10px;
  --card-shadow: -2px 4px 12px 4px rgba(51,51,51,0.05);

  /* gradient variables used by Tailwind gradient utilities */
  --tw-gradient-from: var(--primary);
  --tw-gradient-via: var(--secondary);
  --tw-gradient-to: var(--primary);
}

/* Backgrounds / text colors */
.landing-root .bg-background { background: var(--background) !important; }
.landing-root .text-foreground { color: var(--foreground) !important; }
.landing-root .bg-card { background: var(--card) !important; }
.landing-root .text-card-foreground { color: var(--card-foreground) !important; }

.landing-root .bg-primary { background-color: var(--primary) !important; }
.landing-root .text-primary { color: var(--primary) !important; }
.landing-root .text-primary-foreground { color: var(--primary-foreground) !important; }

.landing-root .bg-secondary { background-color: var(--secondary) !important; }
.landing-root .text-secondary { color: var(--secondary) !important; }
.landing-root .text-secondary-foreground { color: var(--secondary-foreground) !important; }

.landing-root .bg-accent { background-color: var(--accent) !important; }
.landing-root .text-accent { color: var(--accent) !important; }
.landing-root .text-accent-foreground { color: var(--accent-foreground) !important; }

.landing-root .bg-muted { background-color: var(--muted) !important; }
.landing-root .text-muted { color: var(--muted-foreground) !important; }

/* borders and inputs */
.landing-root .border-border { border-color: var(--border) !important; }
.landing-root .border-input { border-color: var(--input) !important; }

/* ring focus imitation for simple inputs */
.landing-root .focus\:ring-primary:focus { box-shadow: 0 0 0 4px rgba(99,102,241,0.15); }

/* small helpers matching earlier layout styles */
.landing-root .rounded-2xl { border-radius: var(--card-radius) !important; }
.landing-root .shadow-xl { box-shadow: var(--card-shadow) !important; }

/* Gradient helpers: map tailwind gradient token classes to our vars */
.landing-root .from-primary { --tw-gradient-from: var(--primary); }
.landing-root .via-secondary { --tw-gradient-via: var(--secondary); }
.landing-root .to-primary { --tw-gradient-to: var(--primary); }

/* Support for opacity variants like bg-primary/10 by providing overlay classes
   Use e.g. .bg-primary-10 to avoid conflicting with Tailwind generated utilities. */
.landing-root .bg-primary-10 { background-color: rgba(79,70,229,0.10) !important; }
.landing-root .bg-accent-10 { background-color: rgba(34,197,94,0.10) !important; }

/* Ensure fonts for landing pages if needed */
.landing-root .font-sans { font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif !important; }

/* Small layout utility to constrain main content like earlier design */
.landing-root .max-w-7xl { max-width: 80rem; margin-left: auto; margin-right: auto; }

/* Keep these class overrides low specificity but inside landing-root so they don't leak */

/* --- Banner contrast fixes (targeted only for landing banners) --- */
.landing-root .bg-gradient-to-br.from-primary.via-secondary.to-primary {
  /* stronger explicit gradient for better contrast */
  background-image: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--primary) 100%) !important;
  color: var(--primary-foreground) !important;
}

.landing-root .bg-gradient-to-br.from-card.via-background.to-muted {
  background-image: linear-gradient(135deg, var(--card) 0%, var(--background) 45%, var(--muted) 100%) !important;
  color: var(--card-foreground) !important;
}

/* Slight dark overlay on top of primary banners to avoid washed look without altering markup */
.landing-root .bg-gradient-to-br.from-primary.via-secondary.to-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.08));
  pointer-events: none;
}

/* Ensure headings and important texts in banner containers remain high-contrast */
.landing-root .bg-gradient-to-br.from-primary.via-secondary.to-primary h1,
.landing-root .bg-gradient-to-br.from-primary.via-secondary.to-primary h2,
.landing-root .bg-gradient-to-br.from-primary.via-secondary.to-primary h3,
.landing-root .bg-gradient-to-br.from-primary.via-secondary.to-primary p {
  color: var(--primary-foreground) !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

/* --- Pricing buttons alignment: make all pricing CTA buttons same minimum height and centered content --- */
.landing-root section.pb-24 .max-w-7xl .grid > div > button {
  min-height: 48px; /* ensures consistent height */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
  line-height: 1; /* avoid extra height due to line height differences */
}

/* If a plan button uses a different background color (accent), keep styling consistent */
.landing-root section.pb-24 .max-w-7xl .grid > div > button.bg-accent,
.landing-root section.pb-24 .max-w-7xl .grid > div > button.bg-primary {
  box-shadow: 0 6px 18px rgba(15,23,42,0.12);
}

/* Small fallback: ensure any badge or icon visuals remain untouched */
.landing-root .fa, .landing-root .fab, .landing-root .fas { /* no changes, just scoping to landing-root so icons keep original behavior */ }

/* End targeted fixes */

/* Ensure banner containers create a stacking context and anchor the overlay */
.landing-root .bg-gradient-to-br.from-primary.via-secondary.to-primary,
.landing-root .bg-gradient-to-br.from-card.via-background.to-muted {
  position: relative; /* anchor pseudo-element inside the banner */
  isolation: isolate; /* create a stacking context to avoid overlay escaping */
  overflow: hidden; /* clip overlay to the banner bounds to avoid overlapping other sections */
}

/* Put the overlay behind content inside the banner */
.landing-root .bg-gradient-to-br.from-primary.via-secondary.to-primary::before,
.landing-root .bg-gradient-to-br.from-card.via-background.to-muted::before {
  z-index: 0;
}

/* Ensure banner direct children render above the overlay */
.landing-root .bg-gradient-to-br.from-primary.via-secondary.to-primary > *,
.landing-root .bg-gradient-to-br.from-card.via-background.to-muted > * {
  position: relative;
  z-index: 1;
}

/* =========================================================
   MOBILE IMPROVEMENTS – HEADER & FOOTER
   ========================================================= */

@media (max-width: 768px) {

    /* Header spacing */
    .landing-root header {
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }

    /* Footer layout */
    .landing-root footer .grid {
        gap: 2.5rem;
    }

    .landing-root footer h4 {
        font-size: 1rem;
    }

    .landing-root footer ul li a {
        display: inline-block;
        padding: 0.25rem 0;
    }

    .landing-root footer .border-t {
        flex-direction: column;
        text-align: center;
    }

    .landing-root footer .border-t > div:last-child {
        justify-content: center;
    }
}

button,
[role="button"],
.cursor-pointer {
    cursor: pointer;
}

/* =========================================================
   FEATURE COMPARISON TABLE STYLES
   ========================================================= */

.feature-col {
    width: 40%;
}

.plan-col {
    width: 20%;
}

@media (max-width: 640px) {
    .feature-col {
        width: 45%;
    }
    
    .plan-col {
        width: 18.33%;
    }
}

.growth-column-header {
    background: linear-gradient(180deg, rgba(var(--primary-rgb, 59, 130, 246), 0.08) 0%, rgba(var(--primary-rgb, 59, 130, 246), 0.03) 100%);
}

.growth-column {
    background: linear-gradient(180deg, rgba(var(--primary-rgb, 59, 130, 246), 0.04) 0%, rgba(var(--primary-rgb, 59, 130, 246), 0.01) 100%);
    position: relative;
}

.growth-column::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary) 0%, transparent 100%);
    opacity: 0.3;
}

tr:hover .growth-column {
    background: linear-gradient(180deg, rgba(var(--primary-rgb, 59, 130, 246), 0.08) 0%, rgba(var(--primary-rgb, 59, 130, 246), 0.03) 100%);
}

@media (max-width: 640px) {
    .growth-column::before {
        width: 1px;
    }
}

/* =========================================================
   REDESIGN: Animation Infrastructure
   ========================================================= */

/* Additional color tokens */
.landing-root {
  --glow-primary: rgba(79, 70, 229, 0.15);
  --glow-accent: rgba(34, 197, 94, 0.12);
  --terminal-bg: #0B0F1A;
  --terminal-text: #A5F3FC;
  --terminal-green: #4ADE80;
  --terminal-comment: #64748B;
  --hero-dark: #0B0F1A;
  --hero-dark-end: #1E1B4B;
}

/* --- Keyframe Animations --- */

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-60px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(60px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes terminalBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px var(--glow-primary); }
  50% { box-shadow: 0 0 40px var(--glow-primary), 0 0 60px var(--glow-primary); }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes particleFlow {
  0% { transform: translateX(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateX(100%); opacity: 0; }
}

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

@keyframes slideInStagger {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes confidenceBar {
  from { width: 0%; }
  to { width: var(--target-width, 97%); }
}

/* --- Scroll Animation Utility Classes --- */

.landing-root .anim-hidden {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.landing-root .anim-hidden.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.landing-root .anim-from-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.landing-root .anim-from-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.landing-root .anim-from-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.landing-root .anim-from-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.landing-root .anim-scale {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.landing-root .anim-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}

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

/* --- Reduced motion support --- */
@media (prefers-reduced-motion: reduce) {
  .landing-root .anim-hidden,
  .landing-root .anim-from-left,
  .landing-root .anim-from-right,
  .landing-root .anim-scale {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .landing-root .terminal-cursor {
    animation: none;
    opacity: 1;
  }
}

/* =========================================================
   REDESIGN: Header Glassmorphism
   ========================================================= */

.landing-root .header-landing {
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.landing-root .header-landing .header-logo-text {
  color: #FFFFFF;
  transition: color 0.4s ease;
}

.landing-root .header-landing .header-nav-btn {
  color: #FFFFFF;
  transition: color 0.3s ease;
  padding: 6px 10px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  font-size: 0.95rem;
}

.landing-root .header-landing .header-nav-btn.header-nav-btn--subtle {
  color: rgba(255, 255, 255, 0.78);
  padding-inline: 8px;
}

.landing-root .header-landing .header-nav-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.landing-root .header-landing .header-nav-btn:hover::before {
  opacity: 1;
  transform: scale(1);
}

.landing-root .header-landing .header-nav-btn:hover {
  color: #fff;
}

.landing-root .header-landing .header-nav-btn.header-nav-btn--subtle::before {
  background: rgba(255, 255, 255, 0.06);
}

.landing-root .header-landing .header-nav-btn.header-nav-btn--subtle:hover {
  color: rgba(255, 255, 255, 0.92);
}

.landing-root .header-landing .header-nav-btn.nav-active::before {
  opacity: 1;
  transform: scale(1);
  background: rgba(255, 255, 255, 0.12);
}

.landing-root .header-landing .header-logo-icon {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  transition: background 0.4s ease;
}

.landing-root .header-landing .header-cta-btn {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  transition: background 0.4s ease, border-color 0.4s ease;
}

.landing-root .header-landing .header-cta-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Scrolled state */
.landing-root .header-landing.header-scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
}

.landing-root .header-landing.header-scrolled .header-logo-text {
  color: var(--card-foreground);
}

.landing-root .header-landing.header-scrolled .header-nav-btn {
  color: var(--foreground);
}

.landing-root .header-landing.header-scrolled .header-nav-btn.header-nav-btn--subtle {
  color: color-mix(in srgb, var(--foreground) 70%, transparent);
}

.landing-root .header-landing.header-scrolled .header-nav-btn::before {
  background: rgba(79, 70, 229, 0.08);
}

.landing-root .header-landing.header-scrolled .header-nav-btn.header-nav-btn--subtle::before {
  background: rgba(79, 70, 229, 0.05);
}

.landing-root .header-landing.header-scrolled .header-nav-btn:hover {
  color: var(--primary);
}

.landing-root .header-landing.header-scrolled .header-nav-btn.header-nav-btn--subtle:hover {
  color: color-mix(in srgb, var(--primary) 82%, var(--foreground));
}

.landing-root .header-landing.header-scrolled .header-nav-btn.nav-active {
  color: var(--primary);
}

.landing-root .header-landing.header-scrolled .header-nav-btn.nav-active::before {
  background: rgba(79, 70, 229, 0.08);
}

.landing-root .header-landing.header-scrolled .header-logo-icon {
  background: var(--primary);
}

.landing-root .header-landing.header-scrolled .header-cta-btn {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--primary-foreground);
}

.landing-root .header-landing.header-scrolled .header-cta-btn:hover {
  background: var(--secondary);
  border-color: var(--secondary);
}

.landing-root .header-landing.header-scrolled .header-hamburger {
  color: var(--card-foreground);
}

/* =========================================================
   NAV: Product badge + Tutorials icon + Responsive sizing
   ========================================================= */

/* "Product" badge on Learning Hub nav item */
.landing-root .nav-product-badge {
  display: inline-block;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 2px 5px;
  border-radius: 4px;
  margin-left: 5px;
  vertical-align: middle;
  line-height: 1.5;
  position: relative;
  top: -1px;
  transition: background 0.3s ease, color 0.3s ease;
}

.landing-root .header-landing:not(.header-scrolled) .nav-product-badge {
  background: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.92);
}

.landing-root .header-landing.header-scrolled .nav-product-badge {
  background: rgba(79, 70, 229, 0.1);
  color: var(--primary);
}

/* Active state badge */
.landing-root .header-landing.header-scrolled .header-nav-btn.nav-active .nav-product-badge {
  background: rgba(79, 70, 229, 0.18);
}

/* Small icon before Tutorials label */
.landing-root .header-nav-icon {
  margin-right: 5px;
  font-size: 0.75rem;
  opacity: 0.7;
  vertical-align: middle;
}

/* Responsive: shrink nav text so 7 items fit */
@media (max-width: 1280px) {
  .landing-root .header-landing .header-nav-btn {
    font-size: 0.85rem;
    padding: 5px 8px;
  }
}

@media (max-width: 1080px) {
  .landing-root .header-landing .header-nav-btn {
    font-size: 0.78rem;
    padding: 4px 6px;
  }
  .landing-root .nav-product-badge {
    display: none;
  }
}

/* =========================================================
   REDESIGN: Cinematic Hero
   ========================================================= */

.landing-root .hero-cinematic {
  min-height: 100vh;
  background: linear-gradient(170deg, var(--hero-dark) 0%, var(--hero-dark-end) 40%, var(--background) 100%);
  position: relative;
  overflow: hidden;
}

/* =========================================================
   AUTH / TEAMLEAD REGISTRATION
   ========================================================= */

.landing-root .teamlead-register-page {
  --font-display: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 55% at 10% 18%, rgba(129, 140, 248, 0.24), transparent 65%),
    radial-gradient(ellipse 55% 45% at 90% 85%, rgba(34, 197, 94, 0.16), transparent 65%),
    radial-gradient(ellipse 45% 40% at 72% 8%, rgba(217, 70, 239, 0.10), transparent 60%),
    linear-gradient(135deg, #0c1023 0%, #1e1b4b 55%, #0c1023 100%);
}

.landing-root .teamlead-register-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.22;
  pointer-events: none;
}

.landing-root .teamlead-register-display {
  font-family: var(--font-display);
  letter-spacing: -0.022em;
  line-height: 1.1;
  font-feature-settings: 'ss01' on, 'ss02' on;
}

.landing-root .teamlead-register-grid {
  position: relative;
  z-index: 1;
}

.landing-root .teamlead-register-panel {
  border-radius: 1.75rem;
}

.landing-root .teamlead-register-panel--info {
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.landing-root .teamlead-register-panel--form {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 28px 90px rgba(15, 23, 42, 0.28);
}

.landing-root .teamlead-register-icon {
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.12);
}

.landing-root .teamlead-register-lead {
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
  font-size: 1rem;
}

.landing-root .teamlead-register-feature {
  padding: 0.875rem 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.landing-root .teamlead-register-feature:hover {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

.landing-root .teamlead-register-feature__number {
  flex-shrink: 0;
  min-width: 2.25rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1;
  padding-top: 0.125rem;
  background: linear-gradient(135deg, #c4b5fd 0%, #6ee7b7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.landing-root .teamlead-register-note {
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
}

.landing-root .teamlead-register-subtext {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  line-height: 1.65;
}

.landing-root .teamlead-register-label {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.875rem;
}

.landing-root .teamlead-register-input {
  min-height: 3.25rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.landing-root .teamlead-register-input::placeholder {
  color: rgba(255,255,255,0.35);
}

.landing-root .teamlead-register-input option {
  background: #1e1b4b;
  color: #fff;
}

.landing-root .teamlead-register-input:hover {
  border-color: rgba(167, 139, 250, 0.55);
  background: rgba(255, 255, 255, 0.11);
}

.landing-root .teamlead-register-input:focus,
.landing-root .teamlead-register-input:focus-visible,
.landing-root .teamlead-register-input:focus-within {
  outline: none;
  border-color: rgba(167, 139, 250, 0.8);
  background: rgba(255, 255, 255, 0.13);
  box-shadow: 0 0 0 4px rgba(167, 139, 250, 0.18);
}

.landing-root .teamlead-register-textarea {
  min-height: 8rem;
  resize: vertical;
}

.landing-root .teamlead-register-terms {
  background: rgba(167, 139, 250, 0.08);
  border: 1px solid rgba(167, 139, 250, 0.2);
}

.landing-root .teamlead-register-terms-text {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
}

.landing-root .teamlead-register-checkbox {
  accent-color: #a78bfa;
}

.landing-root .teamlead-register-error {
  background: rgba(220, 38, 38, 0.18);
  color: #fca5a5;
  border: 1px solid rgba(220, 38, 38, 0.35);
}

.landing-root .teamlead-register-success-icon {
  background: rgba(52, 211, 153, 0.18);
  color: #6ee7b7;
}

.landing-root .teamlead-register-status {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.landing-root .teamlead-register-page .validation-message {
  font-weight: 600;
}

/* Secondary-outline buttons need brighter defaults on the dark glass background;
   the global slate-700 text + light-gray border disappears against the gradient. */
.landing-root .teamlead-register-page .btn-secondary-outline {
  color: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.04);
}

.landing-root .teamlead-register-page .btn-secondary-outline:hover:not(:disabled) {
  background-color: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

/* Pair primary and secondary at identical heights so the navigation row reads as one unit;
   the global .btn-* padding overrides Tailwind's py-3 and renders the secondary visibly shorter. */
.landing-root .teamlead-register-page .btn-primary,
.landing-root .teamlead-register-page .btn-secondary-outline {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  min-height: 3rem;
}

/* Step 2 has a button + helper-text cluster next to a single back button. We need
   align-items: flex-start so the back button matches the primary button's height
   (not the whole cluster). Tailwind's sm:items-start is not in the generated build. */
@media (min-width: 640px) {
  .landing-root .teamlead-register-page .teamlead-register-actions-row {
    align-items: flex-start;
  }
}

.landing-root .teamlead-register-review {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.landing-root .teamlead-register-edit-btn {
  color: rgba(196, 181, 253, 1);
  transition: color 0.18s ease;
}

.landing-root .teamlead-register-edit-btn:hover:not(:disabled) {
  color: rgba(221, 214, 254, 1);
}

.landing-root .teamlead-register-recurring {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.landing-root .teamlead-register-cta-helper {
  color: rgba(255, 255, 255, 0.65);
  padding-left: 0.125rem;
}

.landing-root .teamlead-register-cta-helper i {
  color: rgba(110, 231, 183, 0.85);
}

.landing-root .teamlead-register-chip {
  padding: 0.55rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
  cursor: pointer;
}

.landing-root .teamlead-register-chip:hover:not(.is-selected) {
  border-color: rgba(167, 139, 250, 0.55);
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}

.landing-root .teamlead-register-chip.is-selected {
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(167, 139, 250, 0.18);
}

.landing-root .teamlead-register-chip:focus-visible {
  outline: none;
  border-color: rgba(167, 139, 250, 0.85);
  box-shadow: 0 0 0 4px rgba(167, 139, 250, 0.22);
}

.landing-root .teamlead-register-plan-card {
  position: relative;
  text-align: left;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.landing-root .teamlead-register-plan-card:hover:not(.is-selected) {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
}

.landing-root .teamlead-register-plan-card.is-popular {
  border-color: rgba(167, 139, 250, 0.55);
  background: rgba(167, 139, 250, 0.07);
}

.landing-root .teamlead-register-plan-card.is-selected {
  border-color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.13);
  box-shadow:
    0 0 0 4px rgba(167, 139, 250, 0.22),
    0 18px 38px -16px rgba(15, 23, 42, 0.55);
}

.landing-root .teamlead-register-plan-card:focus-visible {
  outline: none;
  border-color: rgba(167, 139, 250, 0.9);
  box-shadow: 0 0 0 4px rgba(167, 139, 250, 0.28);
}

.landing-root .teamlead-register-plan-card__popular {
  position: absolute;
  top: -10px;
  right: 14px;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  background: linear-gradient(135deg, #a78bfa, #c084fc);
  color: #1e1b4b;
  box-shadow: 0 6px 14px rgba(167, 139, 250, 0.4);
}

/* =========================================================
   LOGIN MODAL — light + purple base, Shopify accent green
   ========================================================= */

.landing-root .login-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: loginFadeIn 0.2s ease-out;
}

@keyframes loginFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes loginCardIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.landing-root .login-modal-card {
  position: relative;
  width: 100%;
  max-width: 28rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.75rem 1.5rem 1.25rem;
  box-shadow:
    0 32px 80px -20px rgba(79, 70, 229, 0.25),
    0 0 0 1px rgba(79, 70, 229, 0.04),
    0 8px 24px -8px rgba(15, 23, 42, 0.08);
  isolation: isolate;
  overflow: hidden;
  animation: loginCardIn 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Subtle decorative glow in the corner */
.landing-root .login-modal-card::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.landing-root .login-modal-card::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(0, 128, 96, 0.06) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.landing-root .login-modal-card > * {
  position: relative;
  z-index: 1;
}

/* Close button */
.landing-root .login-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid transparent;
  color: var(--muted-foreground);
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.landing-root .login-modal-close:hover:not(:disabled) {
  background: rgba(79, 70, 229, 0.08);
  color: var(--primary);
  border-color: rgba(79, 70, 229, 0.18);
}

.landing-root .login-modal-close:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Header */
.landing-root .login-modal-header {
  text-align: center;
  margin-bottom: 1.25rem;
}

.landing-root .login-modal-brand-ring {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.12), rgba(129, 140, 248, 0.06));
  border: 1px solid rgba(79, 70, 229, 0.18);
  color: var(--primary);
  font-size: 1.4rem;
  box-shadow:
    0 8px 20px -6px rgba(79, 70, 229, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.landing-root .login-modal-brand {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--card-foreground);
  margin-bottom: 0.5rem;
}

.landing-root .login-modal-title {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--card-foreground);
  margin-bottom: 0.4rem;
  line-height: 1.25;
}

.landing-root .login-modal-subtitle {
  font-size: 0.875rem;
  color: var(--foreground);
  line-height: 1.55;
  max-width: 22rem;
  margin: 0 auto;
}

/* Body */
.landing-root .login-modal-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Option cards */
.landing-root .login-option {
  border-radius: 16px;
  padding: 1.1rem 1.1rem 1rem;
  border: 1px solid;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  position: relative;
}

.landing-root .login-option--learninghub {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.05) 0%, rgba(129, 140, 248, 0.02) 100%);
  border-color: rgba(79, 70, 229, 0.18);
}

.landing-root .login-option--learninghub:hover {
  border-color: rgba(79, 70, 229, 0.32);
  box-shadow:
    0 14px 32px -12px rgba(79, 70, 229, 0.18),
    0 0 0 1px rgba(79, 70, 229, 0.04);
}

.landing-root .login-option--shopify {
  background: linear-gradient(135deg, rgba(0, 128, 96, 0.05) 0%, rgba(0, 128, 96, 0.02) 100%);
  border-color: rgba(0, 128, 96, 0.2);
}

.landing-root .login-option--shopify:hover {
  border-color: rgba(0, 128, 96, 0.38);
  box-shadow:
    0 14px 32px -12px rgba(0, 128, 96, 0.2),
    0 0 0 1px rgba(0, 128, 96, 0.05);
}

.landing-root .login-option--debug {
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.04) 0%, rgba(217, 119, 6, 0.02) 100%);
  border: 1px dashed rgba(217, 119, 6, 0.28);
}

/* Option head (icon + title row) */
.landing-root .login-option-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.6rem;
}

.landing-root .login-option-head-text {
  flex: 1;
  min-width: 0;
}

.landing-root .login-option-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.landing-root .login-option:hover .login-option-icon {
  transform: scale(1.05);
}

.landing-root .login-option-icon--purple {
  background: rgba(79, 70, 229, 0.1);
  color: var(--primary);
  border: 1px solid rgba(79, 70, 229, 0.2);
  box-shadow: 0 4px 12px -4px rgba(79, 70, 229, 0.25);
}

.landing-root .login-option-icon--green {
  background: rgba(0, 128, 96, 0.1);
  color: #008060;
  border: 1px solid rgba(0, 128, 96, 0.22);
  box-shadow: 0 4px 12px -4px rgba(0, 128, 96, 0.25);
}

.landing-root .login-option-icon--amber {
  background: rgba(217, 119, 6, 0.1);
  color: #D97706;
  border: 1px solid rgba(217, 119, 6, 0.22);
}

.landing-root .login-option-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--card-foreground);
  line-height: 1.3;
}

.landing-root .login-option-desc {
  font-size: 0.825rem;
  color: var(--foreground);
  line-height: 1.55;
  margin-bottom: 0.85rem;
}

/* Option actions */
.landing-root .login-option-actions {
  display: grid;
  gap: 0.5rem;
}

.landing-root .login-option-actions--split {
  grid-template-columns: 1fr 1fr;
}

.landing-root .login-option-actions--stack {
  grid-template-columns: 1fr;
}

@media (max-width: 480px) {
  .landing-root .login-option-actions--split {
    grid-template-columns: 1fr;
  }
}

/* Buttons */
.landing-root .login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 0.9rem;
  border-radius: 10px;
  font-size: 0.825rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  border: 1px solid transparent;
  white-space: nowrap;
  line-height: 1;
  min-height: 40px;
}

.landing-root .login-btn--block {
  width: 100%;
}

.landing-root .login-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.landing-root .login-btn--purple-outline {
  background: var(--card);
  color: var(--primary);
  border-color: rgba(79, 70, 229, 0.28);
}

.landing-root .login-btn--purple-outline:hover:not(:disabled) {
  background: rgba(79, 70, 229, 0.08);
  border-color: var(--primary);
  box-shadow: 0 6px 16px -6px rgba(79, 70, 229, 0.3);
  transform: translateY(-1px);
}

.landing-root .login-btn--purple-solid {
  background: linear-gradient(135deg, var(--primary) 0%, #6366F1 100%);
  color: #fff;
  box-shadow:
    0 8px 20px -6px rgba(79, 70, 229, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.landing-root .login-btn--purple-solid:hover:not(:disabled) {
  box-shadow:
    0 12px 28px -6px rgba(79, 70, 229, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.landing-root .login-btn--green-solid {
  background: linear-gradient(135deg, #008060 0%, #00A47C 100%);
  color: #fff;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  min-height: 46px;
  box-shadow:
    0 8px 20px -6px rgba(0, 128, 96, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.landing-root .login-btn--green-solid:hover:not(:disabled) {
  box-shadow:
    0 12px 28px -6px rgba(0, 128, 96, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

/* Hint text under each option */
.landing-root .login-option-hint {
  font-size: 0.72rem;
  color: var(--muted-foreground);
  line-height: 1.55;
  margin-top: 0.75rem;
}

.landing-root .login-option-hint--center {
  text-align: center;
}

.landing-root .login-option-hint-strong {
  font-weight: 700;
  color: var(--card-foreground);
}

/* Divider */
.landing-root .login-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.25rem 0;
}

.landing-root .login-divider::before,
.landing-root .login-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.landing-root .login-divider span {
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Production / status badge */
.landing-root .login-badge {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  line-height: 1;
}

.landing-root .login-badge--green {
  background: rgba(0, 128, 96, 0.12);
  color: #008060;
  border: 1px solid rgba(0, 128, 96, 0.22);
}

/* Privacy footer */
.landing-root .login-modal-privacy {
  font-size: 0.7rem;
  text-align: center;
  color: var(--muted-foreground);
  line-height: 1.65;
  margin-top: 0.75rem;
}

.landing-root .login-modal-privacy a {
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
}

.landing-root .login-modal-privacy a:hover {
  text-decoration: underline;
}

/* Loading dots inside buttons */
.landing-root .login-btn-dots {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

.landing-root .login-btn-dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  animation: loginDotBounce 0.9s ease-in-out infinite;
}

@keyframes loginDotBounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
  40%           { transform: translateY(-4px); opacity: 1; }
}

/* Full-modal loading overlay */
.landing-root .login-modal-loading {
  position: absolute;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: inherit;
}

.landing-root .login-modal-loading-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2rem 2.25rem;
  box-shadow: 0 24px 60px -16px rgba(15, 23, 42, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}

.landing-root .login-modal-loading-icon {
  position: relative;
  width: 56px;
  height: 56px;
}

.landing-root .login-modal-loading-pulse {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: rgba(79, 70, 229, 0.25);
  animation: loginPulse 1.5s ease-out infinite;
}

@keyframes loginPulse {
  0%   { transform: scale(1);   opacity: 0.8; }
  100% { transform: scale(1.5); opacity: 0;   }
}

.landing-root .login-modal-loading-icon-inner {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), #6366F1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 10px 24px -6px rgba(79, 70, 229, 0.5);
}

.landing-root .login-modal-loading-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.landing-root .login-modal-loading-text p {
  color: var(--card-foreground);
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0;
}

.landing-root .login-modal-loading-dots {
  display: flex;
  gap: 6px;
}

.landing-root .login-modal-loading-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  animation: loginDotBounce 0.9s ease-in-out infinite;
}

@media (max-width: 640px) {
  .landing-root .teamlead-register-panel--form,
  .landing-root .teamlead-register-panel--info {
    padding: 1.5rem;
  }

  .landing-root .teamlead-register-feature {
    padding: 0.75rem;
  }

  .landing-root .login-modal-card {
    padding: 1.5rem 1.25rem 1rem;
    max-width: 100%;
  }

  .landing-root .login-modal-title {
    font-size: 1.25rem;
  }
}

/* Dark mode overrides — form panel now uses dark glass by default, no overrides needed */

/* Tech grid dot pattern */
.landing-root .hero-cinematic::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.landing-root .hero-gradient-text {
  background: linear-gradient(135deg, #fff, var(--primary), #C7D2FE, #fff);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 6s ease infinite;
}

/* Terminal styles */
/* ── Hero Chat Widget ─────────────────────────────────── */

.landing-root .hero-chat-widget {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 25px 80px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 60px rgba(79, 70, 229, 0.12);
  transform: perspective(800px) rotateY(-2deg);
  transition: transform 0.4s ease;
  display: flex;
  flex-direction: column;
  max-height: 480px;
}

.landing-root .hero-chat-widget:hover {
  transform: perspective(800px) rotateY(0deg);
}

/* Header */
.landing-root .hero-chat-header {
  background: linear-gradient(135deg, var(--primary), #6366F1);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.landing-root .hero-chat-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.landing-root .hero-chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  position: relative;
  flex-shrink: 0;
}

.landing-root .hero-chat-status-dot {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 10px;
  height: 10px;
  background: #4ADE80;
  border-radius: 50%;
  border: 2px solid var(--primary);
}

.landing-root .hero-chat-agent-name {
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
}

.landing-root .hero-chat-agent-status {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.72rem;
  font-weight: 500;
}

.landing-root .hero-chat-header-actions {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

/* Chat body */
.landing-root .hero-chat-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #F8F9FB;
  flex: 1;
  overflow: hidden;
}

/* Welcome pill */
.landing-root .hero-chat-welcome {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  padding: 8px 16px;
  background: rgba(79, 70, 229, 0.06);
  border-radius: 999px;
  align-self: center;
  margin-bottom: 4px;
}

.landing-root .hero-chat-welcome-icon {
  font-size: 0.8rem;
}

.landing-root .hero-chat-welcome span {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6366F1;
}

/* Messages */
.landing-root .hero-chat-msg {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}

.landing-root .hero-chat-msg--user {
  justify-content: flex-end;
}

.landing-root .hero-chat-msg--bot {
  justify-content: flex-start;
}

.landing-root .hero-chat-bot-avatar {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), #818CF8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.65rem;
  flex-shrink: 0;
}

.landing-root .hero-chat-bubble {
  padding: 10px 16px;
  font-size: 0.84rem;
  line-height: 1.5;
  max-width: 80%;
}

.landing-root .hero-chat-bubble--user {
  background: var(--primary);
  color: #fff;
  border-radius: 16px 16px 4px 16px;
  font-weight: 500;
}

.landing-root .hero-chat-bubble--bot {
  background: #fff;
  color: #1E293B;
  border-radius: 16px 16px 16px 4px;
  border: 1px solid #E8EAF0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* Typing indicator */
.landing-root .hero-chat-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px 18px;
}

.landing-root .hero-typing-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #A0A7B8;
  animation: heroChatBounce 1.4s ease-in-out infinite;
}

.landing-root .hero-typing-dot:nth-child(2) {
  animation-delay: 0.16s;
}

.landing-root .hero-typing-dot:nth-child(3) {
  animation-delay: 0.32s;
}

@keyframes heroChatBounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

/* Animated reveal for messages */
.landing-root .hero-chat-anim {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.landing-root .hero-chat-anim.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Input bar */
.landing-root .hero-chat-input {
  padding: 12px 16px;
  background: #fff;
  border-top: 1px solid #E8EAF0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.landing-root .hero-chat-input input {
  flex: 1;
  border: 1px solid #E2E5EB;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.82rem;
  color: #94A3B8;
  background: #F8F9FB;
  outline: none;
}

.landing-root .hero-chat-send {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  cursor: default;
  opacity: 0.5;
}

/* Glow behind widget */
.landing-root .hero-chat-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--glow-primary) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Hero badge pulse */
.landing-root .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #86EFAC;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  animation: pulseGlow 3s ease-in-out infinite;
}

/* Hero CTA glow */
.landing-root .hero-cta-primary {
  position: relative;
  box-shadow: 0 0 30px var(--glow-primary);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.landing-root .hero-cta-primary:hover {
  box-shadow: 0 0 50px var(--glow-primary);
  transform: translateY(-2px);
}

@media (max-width: 1024px) {
  .landing-root .hero-chat-widget {
    transform: none;
  }
  .landing-root .hero-chat-widget:hover {
    transform: none;
  }
}

@media (max-width: 640px) {
  .landing-root .hero-cinematic {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 60px;
  }
}

/* =========================================================
   REDESIGN: Stats Dark Strip
   ========================================================= */

.landing-root .stats-strip {
  background: linear-gradient(135deg, var(--hero-dark) 0%, var(--hero-dark-end) 50%, var(--hero-dark) 100%);
  position: relative;
  overflow: hidden;
}

.landing-root .stats-strip::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79, 70, 229, 0.5), transparent);
}

.landing-root .stats-strip::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79, 70, 229, 0.5), transparent);
}

.landing-root .stat-number {
  font-variant-numeric: tabular-nums;
}

/* =========================================================
   REDESIGN: Bento Grid Features
   ========================================================= */

.landing-root .bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  gap: 24px;
}

.landing-root .bento-grid > div:nth-child(1) {
  grid-column: 1 / 6;
}

.landing-root .bento-grid > div:nth-child(2) {
  grid-column: 6 / 9;
}

.landing-root .bento-grid > div:nth-child(3) {
  grid-column: 9 / 13;
}

.landing-root .bento-grid > div:nth-child(4) {
  grid-column: 1 / 5;
}

.landing-root .bento-grid > div:nth-child(5) {
  grid-column: 5 / 9;
}

.landing-root .bento-grid > div:nth-child(6) {
  grid-column: 9 / 13;
}

.landing-root .bento-card {
  background: var(--card);
  border-radius: var(--card-radius);
  padding: 32px;
  border: 1px solid var(--border);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}

.landing-root .bento-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px var(--glow-primary);
}

/* First card: hero card with gradient left border */
.landing-root .bento-grid > div:nth-child(1) .bento-card {
  padding: 40px;
}

.landing-root .bento-grid > div:nth-child(1) .bento-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
}

.landing-root .bento-grid > div:nth-child(1) .bento-card .bento-icon {
  width: 56px;
  height: 56px;
  font-size: 28px;
}

.landing-root .bento-grid > div:nth-child(1) .bento-card h3 {
  font-size: 1.75rem;
}

@media (max-width: 768px) {
  .landing-root .bento-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .landing-root .bento-grid > div:nth-child(1) .bento-card {
    padding: 32px;
  }
}

/* =========================================================
   REDESIGN: Agentic AI Rotated Cards
   ========================================================= */

.landing-root .agentic-cards-grid {
  transform: rotate(-2deg);
  transition: transform 0.4s ease;
}

.landing-root .agentic-card {
  transform: rotate(2deg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  border-left: 3px solid var(--primary);
}

.landing-root .agentic-card:nth-child(2) { border-left-color: var(--accent); }
.landing-root .agentic-card:nth-child(3) { border-left-color: var(--secondary); }
.landing-root .agentic-card:nth-child(4) { border-left-color: var(--destructive); }

.landing-root .agentic-card:hover {
  transform: rotate(2deg) scale(1.05);
  border-left-width: 6px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

/* Agentic spotlight glow */
.landing-root .agentic-spotlight {
  position: relative;
}

.landing-root .agentic-spotlight::before {
  content: "";
  position: absolute;
  right: 10%;
  top: 30%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.08) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

/* =========================================================
   REDESIGN: RAG Pipeline (How It Works)
   ========================================================= */

.landing-root .rag-pipeline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  padding: 40px 0;
}

.landing-root .rag-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 130px;
  position: relative;
  z-index: 2;
  opacity: 0.4;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.landing-root .rag-node.is-active {
  opacity: 1;
  transform: scale(1.05);
}

.landing-root .rag-node-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 12px;
  border: 2px solid var(--border);
  background: var(--card);
  transition: border-color 0.5s ease, box-shadow 0.5s ease, background 0.5s ease;
}

.landing-root .rag-node.is-active .rag-node-icon {
  border-color: var(--primary);
  box-shadow: 0 0 24px var(--glow-primary);
  background: rgba(79, 70, 229, 0.08);
}

.landing-root .rag-node-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--foreground);
  transition: color 0.5s ease;
}

.landing-root .rag-node.is-active .rag-node-label {
  color: var(--card-foreground);
}

/* Pipeline connector line */
.landing-root .rag-connector {
  position: absolute;
  top: 72px;
  left: 65px;
  right: 65px;
  height: 2px;
  background: var(--border);
  z-index: 1;
}

.landing-root .rag-connector-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.6s ease;
  position: relative;
}

/* Flowing particle on connector */
.landing-root .rag-particle {
  position: absolute;
  right: -4px;
  top: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--glow-accent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.landing-root .rag-connector-fill[style*="width: 0"] .rag-particle {
  opacity: 0;
}

/* Step descriptions that appear below pipeline */
.landing-root .rag-step-desc {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.landing-root .rag-step-desc.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .landing-root .rag-pipeline {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 20px 0;
  }

  .landing-root .rag-connector {
    display: none;
  }

  .landing-root .rag-node {
    width: 100%;
    flex-direction: row;
    text-align: left;
    gap: 16px;
  }

  .landing-root .rag-node-icon {
    margin-bottom: 0;
    flex-shrink: 0;
  }
}

/* =========================================================
   REDESIGN: Pricing Cards — Editorial Style
   ========================================================= */

/* ── Pricing Stage ─────────────────────────────────────── */
.landing-root .pricing-stage {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(170deg, #0C0A1D 0%, #111036 40%, #0E0D24 100%);
}

/* Ambient floating orbs */
.landing-root .pricing-stage-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(100px);
}
.landing-root .pricing-stage-orb-1 {
  width: 500px; height: 500px;
  top: -120px; left: -100px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.18) 0%, transparent 70%);
}
.landing-root .pricing-stage-orb-2 {
  width: 400px; height: 400px;
  bottom: -80px; right: -60px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.12) 0%, transparent 70%);
}

/* Header */
.landing-root .pricing-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
  padding: 6px 16px;
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.06);
}

.landing-root .pricing-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

/* ── Cards grid ───────────────────────────────────────── */
.landing-root .pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: stretch;
}

@media (max-width: 900px) {
  .landing-root .pricing-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 420px;
  }
}

/* ── Card wrapper ─────────────────────────────────────── */
.landing-root .pricing-card-wrap {
  position: relative;
}
.landing-root .pricing-card-wrap--featured {
  z-index: 2;
}

/* ── Card ──────────────────────────────────────────────── */
.landing-root .pricing-card {
  position: relative;
  padding: 2.75rem 2.25rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.4s ease,
              border-color 0.4s ease;
}

.landing-root .pricing-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 64px -12px rgba(0, 0, 0, 0.5),
              0 0 40px -8px rgba(79, 70, 229, 0.08);
}

/* ── Featured card ────────────────────────────────────── */
.landing-root .pricing-card--featured {
  background: linear-gradient(165deg, rgba(79, 70, 229, 0.12) 0%, rgba(49, 46, 129, 0.2) 50%, rgba(79, 70, 229, 0.06) 100%);
  border-color: rgba(129, 140, 248, 0.2);
  box-shadow: 0 0 0 1px rgba(79, 70, 229, 0.08),
              0 24px 64px -12px rgba(79, 70, 229, 0.25);
}

.landing-root .pricing-card--featured:hover {
  border-color: rgba(129, 140, 248, 0.35);
  box-shadow: 0 0 0 1px rgba(79, 70, 229, 0.15),
              0 32px 80px -12px rgba(79, 70, 229, 0.35),
              0 0 60px -10px rgba(129, 140, 248, 0.15);
  transform: translateY(-10px);
}

/* Animated border glow behind featured card */
.landing-root .pricing-card-border-glow {
  position: absolute;
  inset: -1px;
  border-radius: 21px;
  background: conic-gradient(
    from var(--pricing-glow-angle, 0deg),
    rgba(79, 70, 229, 0.5),
    rgba(129, 140, 248, 0.2),
    rgba(34, 197, 94, 0.3),
    rgba(129, 140, 248, 0.2),
    rgba(79, 70, 229, 0.5)
  );
  z-index: -1;
  opacity: 0.6;
  filter: blur(2px);
  animation: pricingGlowSpin 6s linear infinite;
}

@property --pricing-glow-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@keyframes pricingGlowSpin {
  to { --pricing-glow-angle: 360deg; }
}

/* ── Badge ────────────────────────────────────────────── */
.landing-root .pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), #818CF8);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 20px;
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.4);
  white-space: nowrap;
  z-index: 3;
}

/* ── Card header ──────────────────────────────────────── */
.landing-root .pricing-card-head {
  text-align: center;
  margin-bottom: 2rem;
}

.landing-root .pricing-icon-ring {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin: 0 auto 1.25rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.landing-root .pricing-card:hover .pricing-icon-ring {
  transform: scale(1.1);
}

.landing-root .pricing-icon-ring--starter {
  background: rgba(79, 70, 229, 0.1);
  color: #A5B4FC;
  border: 1px solid rgba(79, 70, 229, 0.15);
}
.landing-root .pricing-icon-ring--growth {
  background: rgba(129, 140, 248, 0.15);
  color: #C7D2FE;
  border: 1px solid rgba(129, 140, 248, 0.2);
  box-shadow: 0 0 20px rgba(79, 70, 229, 0.15);
}
.landing-root .pricing-icon-ring--pro {
  background: rgba(34, 197, 94, 0.1);
  color: #86EFAC;
  border: 1px solid rgba(34, 197, 94, 0.15);
}

.landing-root .pricing-plan-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.landing-root .pricing-plan-desc {
  font-size: 0.85rem;
  color: rgba(200, 210, 230, 0.6);
  line-height: 1.55;
}

/* ── Price ─────────────────────────────────────────────── */
.landing-root .pricing-price {
  text-align: center;
  margin-bottom: 2rem;
}

.landing-root .pricing-amount {
  display: block;
  font-size: 3.25rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.landing-root .pricing-card--featured .pricing-amount {
  background: linear-gradient(135deg, #C7D2FE 0%, #fff 50%, #A5B4FC 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.landing-root .pricing-cycle {
  font-size: 0.8rem;
  color: rgba(200, 210, 230, 0.5);
  font-weight: 500;
}

/* ── CTA buttons ──────────────────────────────────────── */
.landing-root .pricing-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
}

.landing-root .pricing-cta i {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.landing-root .pricing-cta:hover i {
  transform: translateX(4px);
}

/* Ghost button (Starter & Pro) */
.landing-root .pricing-cta--ghost {
  background: transparent;
  color: #C7D2FE;
  border: 1px solid rgba(129, 140, 248, 0.2);
}

.landing-root .pricing-cta--ghost:hover {
  background: rgba(79, 70, 229, 0.15);
  border-color: rgba(129, 140, 248, 0.4);
  color: #fff;
  box-shadow: 0 0 24px rgba(79, 70, 229, 0.15);
}

/* Solid button (Featured) */
.landing-root .pricing-cta--solid {
  background: linear-gradient(135deg, #fff, #E0E7FF);
  color: #1E1B4B;
  border: none;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.landing-root .pricing-cta--solid:hover {
  box-shadow: 0 8px 32px rgba(79, 70, 229, 0.3),
              0 0 0 2px rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* ── Feature list ─────────────────────────────────────── */
.landing-root .pricing-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-grow: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.75rem;
}

.landing-root .pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(200, 210, 230, 0.75);
  line-height: 1.55;
}

.landing-root .pricing-features li i {
  color: var(--accent);
  font-size: 0.7rem;
  margin-top: 5px;
  flex-shrink: 0;
  opacity: 0.8;
}

.landing-root .pricing-card--featured .pricing-features li i {
  color: #A5B4FC;
}

/* =========================================================
   REDESIGN: Pricing Page — Toggle, FAQ, Feature Comparison
   ========================================================= */

/* Toggle */
.landing-root .pricing-toggle-wrap {
  display: inline-flex;
  align-items: center;
  border-radius: 14px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.landing-root .pricing-toggle-btn {
  padding: 10px 24px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(200, 210, 230, 0.5);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.landing-root .pricing-toggle-btn--active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.3);
}

.landing-root .pricing-toggle-btn:not(.pricing-toggle-btn--active):hover {
  color: rgba(200, 210, 230, 0.8);
}

.landing-root .pricing-toggle-discount {
  font-size: 0.7rem;
  font-weight: 700;
  color: #86EFAC;
  background: rgba(34, 197, 94, 0.15);
  padding: 2px 8px;
  border-radius: 999px;
}

/* ── Pricing Light Theme ──────────────────────────────── */

.landing-root .pricing-stage--light {
  background: var(--background);
}

.landing-root .pricing-stage--light .pricing-stage-orb {
  display: none;
}

/* Toggle in light mode */
.landing-root .pricing-stage--light .pricing-toggle-wrap {
  background: rgba(0, 0, 0, 0.04);
  border-color: var(--border);
  backdrop-filter: none;
}

.landing-root .pricing-stage--light .pricing-toggle-btn {
  color: var(--foreground);
}

.landing-root .pricing-stage--light .pricing-toggle-btn--active {
  color: #fff;
}

.landing-root .pricing-stage--light .pricing-toggle-btn:not(.pricing-toggle-btn--active):hover {
  color: var(--card-foreground);
}

/* Cards in light mode */
.landing-root .pricing-stage--light .pricing-card {
  background: var(--card);
  border-color: var(--border);
  backdrop-filter: none;
}

.landing-root .pricing-stage--light .pricing-card:hover {
  border-color: var(--primary);
  box-shadow: 0 24px 64px -12px rgba(79, 70, 229, 0.1),
              0 0 40px -8px rgba(79, 70, 229, 0.06);
}

.landing-root .pricing-stage--light .pricing-card--featured {
  background: linear-gradient(165deg, rgba(79, 70, 229, 0.06) 0%, rgba(49, 46, 129, 0.08) 50%, rgba(79, 70, 229, 0.03) 100%);
  border-color: rgba(79, 70, 229, 0.2);
  box-shadow: 0 0 0 1px rgba(79, 70, 229, 0.06),
              0 24px 64px -12px rgba(79, 70, 229, 0.12);
}

.landing-root .pricing-stage--light .pricing-card--featured:hover {
  border-color: rgba(79, 70, 229, 0.35);
  box-shadow: 0 0 0 1px rgba(79, 70, 229, 0.1),
              0 32px 80px -12px rgba(79, 70, 229, 0.2),
              0 0 60px -10px rgba(129, 140, 248, 0.1);
}

.landing-root .pricing-stage--light .pricing-plan-name {
  color: var(--card-foreground);
}

.landing-root .pricing-stage--light .pricing-plan-desc {
  color: var(--foreground);
}

.landing-root .pricing-stage--light .pricing-amount {
  color: var(--card-foreground);
}

.landing-root .pricing-stage--light .pricing-card--featured .pricing-amount {
  background: linear-gradient(135deg, var(--primary) 0%, #818CF8 50%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.landing-root .pricing-stage--light .pricing-cycle {
  color: var(--foreground);
}

.landing-root .pricing-stage--light .pricing-cta--ghost {
  color: var(--primary);
  border-color: rgba(79, 70, 229, 0.2);
}

.landing-root .pricing-stage--light .pricing-cta--ghost:hover {
  background: rgba(79, 70, 229, 0.08);
  border-color: rgba(79, 70, 229, 0.4);
  color: var(--primary);
  box-shadow: 0 0 24px rgba(79, 70, 229, 0.1);
}

.landing-root .pricing-stage--light .pricing-features {
  border-top-color: var(--border);
}

.landing-root .pricing-stage--light .pricing-features li {
  color: var(--foreground);
}

.landing-root .pricing-stage--light .pricing-icon-ring--starter {
  background: rgba(79, 70, 229, 0.08);
  color: var(--primary);
  border-color: rgba(79, 70, 229, 0.12);
}

.landing-root .pricing-stage--light .pricing-icon-ring--growth {
  background: rgba(79, 70, 229, 0.1);
  color: var(--primary);
  border-color: rgba(79, 70, 229, 0.15);
  box-shadow: 0 0 20px rgba(79, 70, 229, 0.08);
}

.landing-root .pricing-stage--light .pricing-icon-ring--pro {
  background: rgba(34, 197, 94, 0.08);
  color: var(--accent);
  border-color: rgba(34, 197, 94, 0.12);
}

.landing-root .pricing-stage--light .pricing-card--featured .pricing-features li i {
  color: var(--primary);
}

.landing-root .pricing-stage--light .pricing-badge {
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.25);
}

.landing-root .pricing-stage--light p[style*="color: rgba(134,239,172"] {
  color: var(--accent) !important;
}

/* ── Feature Comparison — Dark Glass Tabbed ───────────── */

.landing-root .fc-stage {
  padding: 5rem 0;
  background: linear-gradient(180deg, #0E0D24 0%, #111036 50%, #0C0A1D 100%);
  position: relative;
  overflow: hidden;
}

/* Category tabs — horizontal scrollable pill bar */
.landing-root .fc-tabs {
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  padding: 0 0.5rem;
}

.landing-root .fc-tab {
  padding: 8px 18px;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(200, 210, 230, 0.45);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.landing-root .fc-tab:hover {
  color: rgba(200, 210, 230, 0.8);
  background: rgba(255, 255, 255, 0.06);
}

.landing-root .fc-tab--active {
  color: #fff;
  background: rgba(79, 70, 229, 0.2);
  border-color: rgba(79, 70, 229, 0.35);
  box-shadow: 0 0 16px rgba(79, 70, 229, 0.12);
}

/* Table wrapper */
.landing-root .fc-table-wrap {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Shared cell layout */
.landing-root .fc-header-row,
.landing-root .fc-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  min-width: 640px;
}

@media (max-width: 700px) {
  .landing-root .fc-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

.landing-root .fc-cell {
  padding: 14px 20px;
  display: flex;
  align-items: center;
}

.landing-root .fc-cell--plan {
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.landing-root .fc-cell--value {
  justify-content: center;
}

.landing-root .fc-cell--label {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(200, 210, 230, 0.7);
}

/* Highlighted (Growth) column */
.landing-root .fc-cell--highlighted {
  background: rgba(79, 70, 229, 0.06);
  border-left: 1px solid rgba(79, 70, 229, 0.08);
  border-right: 1px solid rgba(79, 70, 229, 0.08);
}

/* Header row */
.landing-root .fc-header-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 4px 0;
}

.landing-root .fc-header-row .fc-cell {
  padding-top: 18px;
  padding-bottom: 18px;
}

.landing-root .fc-plan-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}

.landing-root .fc-popular-pill {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #818CF8);
  padding: 3px 10px;
  border-radius: 999px;
}

/* Feature rows */
.landing-root .fc-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: background 0.2s ease;
}

.landing-root .fc-row:last-child {
  border-bottom: none;
}

.landing-root .fc-row:hover {
  background: rgba(255, 255, 255, 0.02);
}

/* Check indicator */
.landing-root .fc-check {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(34, 197, 94, 0.12);
  color: #86EFAC;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
}

/* Cross/minus indicator */
.landing-root .fc-cross {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(200, 210, 230, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
}

/* Text values */
.landing-root .fc-text {
  font-size: 0.82rem;
  color: rgba(200, 210, 230, 0.55);
}

.landing-root .fc-text--bold {
  font-weight: 700;
  color: #C7D2FE;
}

/* ── Light variant overrides ─────────────────────────── */
.landing-root .fc-stage--light {
  background: var(--background);
}

.landing-root .fc-stage--light .fc-tab {
  color: var(--foreground);
  background: var(--card);
  border-color: var(--border);
}

.landing-root .fc-stage--light .fc-tab:hover {
  color: var(--card-foreground);
  background: var(--card);
  border-color: var(--primary);
}

.landing-root .fc-stage--light .fc-tab--active {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.2);
}

.landing-root .fc-stage--light .fc-table-wrap {
  background: var(--card);
  border-color: var(--border);
  backdrop-filter: none;
}

.landing-root .fc-stage--light .fc-header-row {
  border-bottom-color: var(--border);
}

.landing-root .fc-stage--light .fc-plan-name {
  color: var(--card-foreground);
}

.landing-root .fc-stage--light .fc-cell--label {
  color: var(--card-foreground);
}

.landing-root .fc-stage--light .fc-cell--highlighted {
  background: rgba(79, 70, 229, 0.04);
  border-left-color: rgba(79, 70, 229, 0.06);
  border-right-color: rgba(79, 70, 229, 0.06);
}

.landing-root .fc-stage--light .fc-row {
  border-bottom-color: var(--border);
}

.landing-root .fc-stage--light .fc-row:hover {
  background: rgba(79, 70, 229, 0.02);
}

.landing-root .fc-stage--light .fc-check {
  background: rgba(34, 197, 94, 0.1);
  color: var(--accent);
}

.landing-root .fc-stage--light .fc-cross {
  background: rgba(0, 0, 0, 0.04);
  color: rgba(0, 0, 0, 0.2);
}

.landing-root .fc-stage--light .fc-text {
  color: var(--foreground);
}

.landing-root .fc-stage--light .fc-text--bold {
  color: var(--primary);
}

/* FAQ */
.landing-root .faq-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.landing-root .faq-card:hover {
  border-color: rgba(79, 70, 229, 0.15);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.landing-root .faq-toggle-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(79, 70, 229, 0.06);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s ease;
}

.landing-root .faq-toggle-icon--open {
  transform: rotate(45deg);
  background: rgba(79, 70, 229, 0.12);
}

.landing-root .faq-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  transition: max-height 0.35s ease, opacity 0.3s ease, margin-top 0.3s ease;
}

.landing-root .faq-content.open {
  max-height: 300px;
  opacity: 1;
  margin-top: 1rem;
}

/* =========================================================
   REDESIGN: About Page
   ========================================================= */

/* Values dark section */
.landing-root .about-values-section {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(170deg, #0C0A1D 0%, #111036 40%, #0E0D24 100%);
}

.landing-root .about-value-card {
  padding: 2.25rem 2rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
  height: 100%;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.35s ease,
              box-shadow 0.35s ease;
}

.landing-root .about-value-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.landing-root .about-value-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.landing-root .group:hover .about-value-icon {
  transform: scale(1.1);
}

.landing-root .about-value-icon--primary {
  background: rgba(79, 70, 229, 0.12);
  color: #A5B4FC;
  border: 1px solid rgba(79, 70, 229, 0.15);
}
.landing-root .about-value-icon--secondary {
  background: rgba(99, 102, 241, 0.12);
  color: #C7D2FE;
  border: 1px solid rgba(99, 102, 241, 0.15);
}
.landing-root .about-value-icon--accent {
  background: rgba(34, 197, 94, 0.12);
  color: #86EFAC;
  border: 1px solid rgba(34, 197, 94, 0.15);
}

.landing-root .group:hover .about-value-icon--primary {
  box-shadow: 0 0 24px rgba(79, 70, 229, 0.2);
}
.landing-root .group:hover .about-value-icon--secondary {
  box-shadow: 0 0 24px rgba(99, 102, 241, 0.2);
}
.landing-root .group:hover .about-value-icon--accent {
  box-shadow: 0 0 24px rgba(34, 197, 94, 0.2);
}

/* Timeline */
.landing-root .about-timeline {
  position: relative;
  padding-left: 40px;
}

.landing-root .about-timeline-line {
  position: absolute;
  left: 27px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--secondary), var(--accent));
  border-radius: 2px;
  opacity: 0.3;
}

.landing-root .about-timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding-bottom: 3rem;
  position: relative;
}

.landing-root .about-timeline-item:last-child {
  padding-bottom: 0;
}

.landing-root .about-timeline-marker {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.landing-root .about-timeline-marker--primary {
  background: linear-gradient(135deg, var(--primary), #818CF8);
}
.landing-root .about-timeline-marker--secondary {
  background: linear-gradient(135deg, var(--secondary), #A5B4FC);
}
.landing-root .about-timeline-marker--accent {
  background: linear-gradient(135deg, var(--accent), #86EFAC);
}

.landing-root .about-timeline-content {
  padding-top: 0.5rem;
}

@media (max-width: 640px) {
  .landing-root .about-timeline {
    padding-left: 20px;
  }
  .landing-root .about-timeline-line {
    left: 17px;
  }
  .landing-root .about-timeline-marker {
    width: 44px;
    height: 44px;
    font-size: 0.65rem;
  }
}

/* =========================================================
   REDESIGN: Contact Page
   ========================================================= */

/* Contact method cards */
.landing-root .contact-method-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.25rem 2rem;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.35s ease,
              border-color 0.35s ease;
}

.landing-root .contact-method-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(79, 70, 229, 0.15);
}

.landing-root .contact-method-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.landing-root .group:hover .contact-method-icon {
  transform: scale(1.1);
}

.landing-root .contact-method-icon--primary {
  background: rgba(79, 70, 229, 0.08);
  color: var(--primary);
  border: 1px solid rgba(79, 70, 229, 0.1);
}
.landing-root .contact-method-icon--accent {
  background: rgba(34, 197, 94, 0.08);
  color: var(--accent);
  border: 1px solid rgba(34, 197, 94, 0.1);
}
.landing-root .contact-method-icon--secondary {
  background: rgba(99, 102, 241, 0.08);
  color: var(--secondary);
  border: 1px solid rgba(99, 102, 241, 0.1);
}

.landing-root .group:hover .contact-method-icon--primary { box-shadow: 0 0 20px rgba(79, 70, 229, 0.12); }
.landing-root .group:hover .contact-method-icon--accent { box-shadow: 0 0 20px rgba(34, 197, 94, 0.12); }
.landing-root .group:hover .contact-method-icon--secondary { box-shadow: 0 0 20px rgba(99, 102, 241, 0.12); }

.landing-root .contact-method-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  background: transparent;
  border: 1px solid rgba(79, 70, 229, 0.2);
  cursor: pointer;
  margin-top: auto;
  transition: all 0.3s ease;
}

.landing-root .contact-method-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.2);
}

.landing-root .contact-method-btn i {
  transition: transform 0.3s ease;
}
.landing-root .contact-method-btn:hover i {
  transform: translateX(4px);
}

/* Contact form */
.landing-root .contact-form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.landing-root .contact-form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--card-foreground);
  margin-bottom: 0.5rem;
}

.landing-root .contact-form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--background);
  color: var(--card-foreground);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.landing-root .contact-form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.08);
}

.landing-root .contact-form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 36px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  background: var(--primary);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.25);
}

.landing-root .contact-form-submit:hover {
  background: var(--secondary);
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.3);
  transform: translateY(-2px);
}

.landing-root .contact-form-submit--success {
  background: var(--accent);
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.25);
}

/* Office info dark section */
.landing-root .contact-office-section {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(170deg, #0C0A1D 0%, #111036 40%, #0E0D24 100%);
}

.landing-root .contact-office-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(79, 70, 229, 0.1);
  border: 1px solid rgba(79, 70, 229, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.landing-root .contact-office-icon--sm {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

/* CTA inline button override */
.landing-root .contact-cta-inline-btn {
  width: auto !important;
  display: inline-flex !important;
  padding: 14px 32px !important;
}

/* =========================================================
   REDESIGN: HowItWorks Page
   ========================================================= */

/* Process overview timeline */
.landing-root .hiw-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .landing-root .hiw-timeline {
    grid-template-columns: 1fr;
    max-width: 420px;
    gap: 2rem;
  }
}

.landing-root .hiw-step {
  text-align: center;
  display: flex;
  flex-direction: column;
}

/* Step number circle */
.landing-root .hiw-step-number {
  position: relative;
  width: 88px;
  height: 88px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.12), rgba(129, 140, 248, 0.06));
  border: 1px solid rgba(79, 70, 229, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.landing-root .hiw-step:hover .hiw-step-number {
  transform: scale(1.08);
  box-shadow: 0 0 32px rgba(79, 70, 229, 0.15);
}

.landing-root .hiw-step-num-text {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.landing-root .hiw-step-icon-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: #fff;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

/* Step visual card */
.landing-root .hiw-step-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem;
  margin-top: auto;
  transition: box-shadow 0.3s ease;
}

.landing-root .hiw-step:hover .hiw-step-card {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* Detailed steps dark section */
.landing-root .hiw-detailed-section {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(170deg, #0C0A1D 0%, #111036 40%, #0E0D24 100%);
}

/* Glass card for dark sections */
.landing-root .hiw-glass-card {
  padding: 2rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Integration cards */
.landing-root .hiw-integration-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  text-align: center;
  height: 100%;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.35s ease,
              border-color 0.35s ease;
}

.landing-root .hiw-integration-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(79, 70, 229, 0.15);
}

.landing-root .hiw-integration-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.landing-root .group:hover .hiw-integration-icon {
  transform: scale(1.1);
}

.landing-root .hiw-integration-icon--primary {
  background: rgba(79, 70, 229, 0.08);
  color: var(--primary);
  border: 1px solid rgba(79, 70, 229, 0.1);
}

.landing-root .hiw-integration-icon--secondary {
  background: rgba(99, 102, 241, 0.08);
  color: var(--secondary);
  border: 1px solid rgba(99, 102, 241, 0.1);
}

.landing-root .hiw-integration-icon--accent {
  background: rgba(34, 197, 94, 0.08);
  color: var(--accent);
  border: 1px solid rgba(34, 197, 94, 0.1);
}

.landing-root .group:hover .hiw-integration-icon--primary {
  box-shadow: 0 0 20px rgba(79, 70, 229, 0.12);
}
.landing-root .group:hover .hiw-integration-icon--secondary {
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.12);
}
.landing-root .group:hover .hiw-integration-icon--accent {
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.12);
}

.landing-root .hiw-integration-code {
  background: var(--background);
  border-radius: 10px;
  padding: 0.75rem;
  font-family: 'SF Mono', 'Fira Code', monospace;
}

/* =========================================================
   REDESIGN: Testimonials Carousel
   ========================================================= */

.landing-root .testimonials-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 16px;
  scrollbar-width: none;
}

.landing-root .testimonials-carousel::-webkit-scrollbar {
  display: none;
}

.landing-root .testimonial-card {
  min-width: 400px;
  max-width: 400px;
  scroll-snap-align: start;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.landing-root .testimonial-card .testimonial-quote-mark {
  position: absolute;
  top: -8px;
  left: 16px;
  font-size: 100px;
  line-height: 1;
  color: var(--primary);
  opacity: 0.08;
  font-family: Georgia, serif;
  pointer-events: none;
}

.landing-root .testimonial-avatar-ring {
  border: 2px solid var(--primary);
  padding: 2px;
  border-radius: 50%;
  display: inline-block;
}

@media (max-width: 640px) {
  .landing-root .testimonial-card {
    min-width: 85vw;
    max-width: 85vw;
  }
}

/* =========================================================
   REDESIGN: CTA Animated Gradient
   ========================================================= */

.landing-root .cta-cinematic {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--primary) 100%);
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.landing-root .cta-cinematic::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

/* Decorative diagonal lines */
.landing-root .cta-cinematic::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.landing-root .cta-cinematic > * {
  position: relative;
  z-index: 1;
}

/* Unified CTA buttons */
.landing-root .cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.landing-root .cta-btn--solid {
  background: linear-gradient(135deg, #fff, #E0E7FF);
  color: #1E1B4B;
  border: none;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.landing-root .cta-btn--solid:hover {
  box-shadow: 0 8px 32px rgba(79, 70, 229, 0.3),
              0 0 0 2px rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.landing-root .cta-btn--ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.25);
}

.landing-root .cta-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.45);
}

/* =========================================================
   LEARNING HUB PAGE
   ========================================================= */

.landing-root .lh-cta-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 0 30px var(--glow-primary);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.landing-root .lh-cta-primary:hover {
  box-shadow: 0 0 50px var(--glow-primary);
  transform: translateY(-2px);
}

.landing-root .lh-cta-secondary {
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(255, 255, 255, 0.22);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.landing-root .lh-cta-secondary:hover {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.05);
}

/* Feature cards */
.landing-root .lh-feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.landing-root .lh-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 24px 24px 0 0;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.landing-root .lh-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

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

/* Teal */
.landing-root .lh-feature-card--teal::before {
  background: linear-gradient(90deg, #2DD4BF, #06B6D4);
}
.landing-root .lh-feature-card--teal .lh-feature-icon {
  background: rgba(20, 184, 166, 0.1);
  color: #0D9488;
}
.landing-root .lh-feature-card--teal:hover {
  border-color: rgba(20, 184, 166, 0.3);
}

/* Amber */
.landing-root .lh-feature-card--amber::before {
  background: linear-gradient(90deg, #F59E0B, #FBBF24);
}
.landing-root .lh-feature-card--amber .lh-feature-icon {
  background: rgba(245, 158, 11, 0.1);
  color: #D97706;
}
.landing-root .lh-feature-card--amber:hover {
  border-color: rgba(245, 158, 11, 0.3);
}

/* Violet */
.landing-root .lh-feature-card--violet::before {
  background: linear-gradient(90deg, #8B5CF6, #A78BFA);
}
.landing-root .lh-feature-card--violet .lh-feature-icon {
  background: rgba(139, 92, 246, 0.1);
  color: #7C3AED;
}
.landing-root .lh-feature-card--violet:hover {
  border-color: rgba(139, 92, 246, 0.3);
}

.landing-root .lh-feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* Manager section */
.landing-root .lh-manager-card {
  background: var(--card);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.landing-root .lh-manager-card::after {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.landing-root .lh-point-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--background);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.landing-root .lh-point-card:hover {
  border-color: rgba(79, 70, 229, 0.25);
  transform: translateX(4px);
}

.landing-root .lh-point-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(79, 70, 229, 0.09);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* =========================================================
   TUTORIALS PAGE
   ========================================================= */

.landing-root .tut-video-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.landing-root .tut-video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.1);
  border-color: rgba(79, 70, 229, 0.2);
}

.landing-root .tut-video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0f0e1a;
  overflow: hidden;
}

.landing-root .tut-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  z-index: 2;
}

.landing-root .tut-video-card:hover .tut-video-overlay {
  opacity: 1;
}

.landing-root .tut-play-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1rem;
  padding-left: 3px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
  transform: scale(0.75);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.landing-root .tut-video-card:hover .tut-play-btn {
  transform: scale(1);
}

.landing-root .tut-duration-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  backdrop-filter: blur(4px);
  z-index: 3;
}

.landing-root .tut-video-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.landing-root .tut-video-title {
  font-size: 1.025rem;
  font-weight: 700;
  color: var(--card-foreground);
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.landing-root .tut-video-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

/* =========================================================
   PRODUCTS DROPDOWN
   ========================================================= */

.landing-root .products-dropdown-wrap {
  position: relative;
}

/* Outer wrapper: top:100% so NO gap → no accidental mouseleave.
   padding-top creates visual spacing while staying inside hover zone. */
.landing-root .products-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  padding-top: 8px;
}

.landing-root .products-dropdown__panel {
  min-width: 288px;
  border-radius: 16px;
  padding: 6px;
  animation: products-dropdown-in 0.16s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes products-dropdown-in {
  from { opacity: 0; transform: translateY(-6px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)   scale(1);    }
}

.landing-root .header-landing:not(.header-scrolled) .products-dropdown__panel {
  background: rgba(10, 8, 25, 0.84);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(255,255,255,0.05) inset;
}

.landing-root .header-landing.header-scrolled .products-dropdown__panel {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
}

.landing-root .products-dropdown__divider {
  height: 1px;
  margin: 4px 8px;
}

.landing-root .header-landing:not(.header-scrolled) .products-dropdown__divider {
  background: rgba(255, 255, 255, 0.08);
}

.landing-root .header-landing.header-scrolled .products-dropdown__divider {
  background: var(--border);
}

.landing-root .products-dropdown__item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 11px 12px;
  border-radius: 10px;
  text-align: left;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.landing-root .header-landing:not(.header-scrolled) .products-dropdown__item {
  color: rgba(255, 255, 255, 0.82);
}
.landing-root .header-landing:not(.header-scrolled) .products-dropdown__item:hover,
.landing-root .header-landing:not(.header-scrolled) .products-dropdown__item.active {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}

.landing-root .header-landing.header-scrolled .products-dropdown__item {
  color: var(--foreground);
}
.landing-root .header-landing.header-scrolled .products-dropdown__item:hover,
.landing-root .header-landing.header-scrolled .products-dropdown__item.active {
  background: rgba(79, 70, 229, 0.07);
  color: var(--primary);
}

.landing-root .products-dropdown__icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  transition: background 0.18s ease;
}

.landing-root .header-landing:not(.header-scrolled) .products-dropdown__icon {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
}
.landing-root .header-landing:not(.header-scrolled) .products-dropdown__item:hover .products-dropdown__icon,
.landing-root .header-landing:not(.header-scrolled) .products-dropdown__item.active .products-dropdown__icon {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.landing-root .header-landing.header-scrolled .products-dropdown__icon--ragently,
.landing-root .header-landing.header-scrolled .products-dropdown__icon--lh {
  background: rgba(20, 184, 166, 0.1);
  color: #0D9488;
}
.landing-root .header-landing.header-scrolled .products-dropdown__item:hover .products-dropdown__icon {
  filter: brightness(1.1);
}

.landing-root .products-dropdown__label {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25;
  display: flex;
  align-items: center;
  gap: 6px;
}

.landing-root .products-dropdown__desc {
  font-size: 0.72rem;
  opacity: 0.55;
  margin-top: 2px;
  line-height: 1.3;
}

.landing-root .products-dropdown__badge {
  display: inline-block;
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 2px 5px;
  border-radius: 4px;
  vertical-align: middle;
}

.landing-root .header-landing:not(.header-scrolled) .products-dropdown__badge {
  background: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.9);
}
.landing-root .header-landing.header-scrolled .products-dropdown__badge {
  background: rgba(79, 70, 229, 0.1);
  color: var(--primary);
}

/* =========================================================
   LEARNING HUB — 3-STEP SECTION
   ========================================================= */

.landing-root .lh-steps-connector {
  position: absolute;
  top: 38px;
  left: calc(16.67% + 32px);
  right: calc(16.67% + 32px);
  height: 1px;
  background: linear-gradient(90deg, var(--border), rgba(79, 70, 229, 0.3), var(--border));
  z-index: 0;
}

.landing-root .lh-step-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.landing-root .lh-step-card:hover {
  border-color: rgba(79, 70, 229, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.07);
}

.landing-root .lh-step-number {
  position: absolute;
  top: -14px;
  left: 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.35);
}

.landing-root .lh-step-icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: rgba(79, 70, 229, 0.09);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-top: 4px;
}

.landing-root .lh-step-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  opacity: 0.7;
}

/* =========================================================
   TUTORIALS — notice bar + product tags
   ========================================================= */

.landing-root .tut-notice-card {
  background: var(--card);
  border: 1px solid var(--border);
}

.landing-root .tut-notice-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: rgba(79, 70, 229, 0.09);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.landing-root .tut-product-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
}

.landing-root .tut-product-tag--ragently {
  background: rgba(79, 70, 229, 0.1);
  color: var(--primary);
  border: 1px solid rgba(79, 70, 229, 0.18);
}

.landing-root .tut-product-tag--lh {
  background: rgba(20, 184, 166, 0.1);
  color: #0D9488;
  border: 1px solid rgba(20, 184, 166, 0.2);
}

/* Product pill on video thumbnail */
.landing-root .tut-product-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  z-index: 3;
}

.landing-root .tut-product-pill--ragently {
  background: rgba(79, 70, 229, 0.75);
  color: #fff;
}

.landing-root .tut-product-pill--lh {
  background: rgba(13, 148, 136, 0.8);
  color: #fff;
}


/* =========================================================
   PARTNER PORTAL — Dark glass theme (partner-root)
   ========================================================= */

.partner-root {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #07091a;
  color: #e2e8f0;
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  position: relative;
  isolation: isolate;
}

/* Dot grid + ambient orbs fixed in background */
.partner-root::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(99,102,241,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: -1;
}

.partner-root::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 8% 8%, rgba(99,102,241,0.13), transparent 60%),
    radial-gradient(ellipse 50% 45% at 92% 88%, rgba(34,197,94,0.06), transparent 60%),
    radial-gradient(ellipse 40% 35% at 50% -5%, rgba(99,102,241,0.07), transparent 55%);
  pointer-events: none;
  z-index: -1;
}

/* --- Tailwind class overrides inside partner-root --- */
.partner-root .bg-background  { background-color: #07091a !important; }
.partner-root .bg-card        { background-color: rgba(255,255,255,0.04) !important; }
.partner-root .bg-primary     { background-color: #6366f1 !important; }
.partner-root .text-card-foreground  { color: #f1f5f9 !important; }
.partner-root .text-muted-foreground { color: #64748b !important; }
.partner-root .text-primary   { color: #818cf8 !important; }
.partner-root .text-foreground{ color: #e2e8f0 !important; }
.partner-root .border-border  { border-color: rgba(255,255,255,0.09) !important; }
.partner-root .shadow-xl      { box-shadow: 0 20px 60px rgba(0,0,0,0.5) !important; }
.partner-root .bg-green-50    { background-color: rgba(34,197,94,0.1) !important; }
.partner-root .border-green-200 { border-color: rgba(34,197,94,0.25) !important; }
.partner-root .text-green-800 { color: #86efac !important; }
.partner-root .bg-red-50      { background-color: rgba(239,68,68,0.1) !important; }
.partner-root .border-red-200 { border-color: rgba(239,68,68,0.25) !important; }
.partner-root .text-red-700   { color: #fca5a5 !important; }
.partner-root .text-red-600   { color: #fca5a5 !important; }

/* --- Header --- */
.partner-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(7,9,26,0.85);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 1px 0 rgba(99,102,241,0.1);
}

.partner-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.partner-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.partner-brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #6366f1, #818cf8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 4px 14px rgba(99,102,241,0.45);
  flex-shrink: 0;
}

.partner-brand-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #f1f5f9;
  letter-spacing: -0.01em;
}

.partner-brand-tag {
  color: rgba(129,140,248,0.9);
  font-weight: 500;
  margin-left: 4px;
}

.partner-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.partner-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 9px;
  font-size: 0.855rem;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}

.partner-nav-link:hover {
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.06);
}

.partner-nav-link.active {
  color: #a5b4fc;
  background: rgba(99,102,241,0.12);
}

.partner-nav-link i { font-size: 0.72rem; }

.partner-nav-divider {
  width: 1px;
  height: 20px;
  background: rgba(255,255,255,0.1);
  margin: 0 4px;
}

.partner-nav-logout {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 9px;
  font-size: 0.855rem;
  font-weight: 500;
  color: rgba(255,255,255,0.3);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.partner-nav-logout:hover {
  color: #fca5a5;
  background: rgba(239,68,68,0.08);
}

/* --- Main & Footer --- */
.partner-main {
  position: relative;
  z-index: 1;
  flex: 1;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

.partner-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.22);
}

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

.partner-footer a:hover { color: rgba(255,255,255,0.55); }

/* --- Auth page layout --- */
.partner-auth-wrap {
  min-height: calc(100vh - 62px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.partner-auth-card {
  width: 100%;
  max-width: 420px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1.5rem;
  padding: 2.25rem 2rem;
  box-shadow:
    0 40px 100px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,255,255,0.04),
    inset 0 1px 0 rgba(255,255,255,0.07);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.partner-auth-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(99,102,241,0.2), rgba(99,102,241,0.06));
  border: 1px solid rgba(99,102,241,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #818cf8;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 20px rgba(99,102,241,0.2);
}

.partner-auth-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #f1f5f9;
  margin-bottom: 0.375rem;
}

.partner-auth-subtitle {
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 1.75rem;
  line-height: 1.65;
}

.partner-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.375rem;
}

.partner-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 0.75rem;
  color: #f1f5f9;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
  display: block;
}

.partner-input::placeholder { color: rgba(255,255,255,0.25); }

.partner-input:hover {
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.09);
}

.partner-input:focus {
  border-color: rgba(99,102,241,0.7);
  background: rgba(255,255,255,0.09);
  box-shadow: 0 0 0 4px rgba(99,102,241,0.15);
}

.partner-btn {
  width: 100%;
  padding: 0.8125rem 1.25rem;
  background: linear-gradient(135deg, #5b5bd6, #6366f1 50%, #818cf8);
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: none;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 22px rgba(99,102,241,0.38), inset 0 1px 0 rgba(255,255,255,0.2);
  display: block;
}

.partner-btn:hover:not(:disabled) {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(99,102,241,0.48), inset 0 1px 0 rgba(255,255,255,0.2);
}

.partner-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.partner-link {
  color: #818cf8;
  text-decoration: none;
  font-size: 0.8125rem;
  transition: color 0.2s;
}

.partner-link:hover {
  color: #a5b4fc;
  text-decoration: underline;
}

.partner-auth-footer {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 1.25rem;
  text-align: center;
  margin-top: 1.5rem;
}

/* --- Alerts --- */
.partner-success {
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.2);
  color: #86efac;
  border-radius: 0.875rem;
  padding: 1rem 1.125rem;
  font-size: 0.875rem;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
}

.partner-error-msg {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.2);
  color: #fca5a5;
  border-radius: 0.875rem;
  padding: 1rem 1.125rem;
  font-size: 0.875rem;
}

.partner-inline-error {
  color: #fca5a5;
  font-size: 0.8125rem;
  margin-top: 0.375rem;
}

/* --- Dashboard --- */
.partner-page-title {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #f1f5f9;
  margin-bottom: 0.2rem;
}

.partner-page-sub {
  font-size: 0.875rem;
  color: #64748b;
}

.partner-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.partner-kpi {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1.25rem;
  padding: 1.5rem;
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
}

.partner-kpi:hover {
  border-color: rgba(99,102,241,0.22);
  background: rgba(99,102,241,0.04);
  transform: translateY(-2px);
}

.partner-kpi-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  margin-bottom: 0.625rem;
}

.partner-kpi-value {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #f1f5f9;
  line-height: 1;
}

.partner-kpi-value.accent { color: #818cf8; }

.partner-install-card {
  background: rgba(99,102,241,0.06);
  border: 1px solid rgba(99,102,241,0.18);
  border-radius: 1.25rem;
  padding: 1.75rem;
}

.partner-install-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #818cf8;
  margin-bottom: 0.25rem;
}

.partner-code {
  font-size: 1.5rem;
  font-weight: 800;
  font-family: 'Courier New', monospace;
  color: #a5b4fc;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
}

.partner-install-row {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
}

.partner-install-link-box {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-family: 'Courier New', monospace;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.55);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: flex;
  align-items: center;
}

.partner-copy-btn {
  background: linear-gradient(135deg, #5b5bd6, #6366f1);
  color: white;
  border: none;
  border-radius: 0.75rem;
  padding: 0.75rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(99,102,241,0.3);
  white-space: nowrap;
  min-width: 100px;
}

.partner-copy-btn:hover:not(:disabled) {
  opacity: 0.88;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(99,102,241,0.4);
}

.partner-copy-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.partner-quick-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.625rem 1.125rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0.875rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: all 0.2s;
}

.partner-quick-link:hover {
  color: #f1f5f9;
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.07);
  transform: translateY(-1px);
}

/* --- Cards + Tables --- */
.partner-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1.25rem;
  overflow: hidden;
}

.partner-empty {
  padding: 4rem 2rem;
  text-align: center;
  color: #64748b;
  font-size: 0.9rem;
}

.partner-empty i {
  font-size: 2.25rem;
  opacity: 0.25;
  display: block;
  margin-bottom: 0.875rem;
}

.partner-table { width: 100%; border-collapse: collapse; }

.partner-table th {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.28);
  padding: 0.875rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  text-align: left;
  white-space: nowrap;
}

.partner-table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
}

.partner-table tr:last-child td { border-bottom: none; }
.partner-table tbody tr:hover td { background: rgba(255,255,255,0.025); }
.partner-table .cell-name { font-weight: 600; color: #f1f5f9; }
.partner-table .cell-amount { font-weight: 600; color: #f1f5f9; }
.partner-table .cell-commission { font-weight: 700; color: #818cf8; }
.partner-table .align-right { text-align: right; }

/* --- Badges --- */
.partner-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.partner-badge-plan {
  background: rgba(99,102,241,0.12);
  color: #a5b4fc;
  border: 1px solid rgba(99,102,241,0.22);
}

.partner-badge-paid {
  background: rgba(34,197,94,0.1);
  color: #86efac;
  border: 1px solid rgba(34,197,94,0.2);
}

.partner-badge-pending {
  background: rgba(245,158,11,0.1);
  color: #fcd34d;
  border: 1px solid rgba(245,158,11,0.2);
}

/* --- Loading + expired --- */
.partner-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  flex-direction: column;
  gap: 1rem;
  color: #64748b;
  font-size: 0.9rem;
}

.partner-loading-dots { display: flex; gap: 6px; }

.partner-loading-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6366f1;
  animation: partnerDotBounce 0.9s ease-in-out infinite;
}

.partner-loading-dot:nth-child(2) { animation-delay: 0.15s; }
.partner-loading-dot:nth-child(3) { animation-delay: 0.3s; }

@keyframes partnerDotBounce {
  0%, 80%, 100% { transform: translateY(0) scale(0.7); opacity: 0.4; }
  40% { transform: translateY(-6px) scale(1); opacity: 1; }
}

.partner-expired {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  gap: 0.75rem;
  text-align: center;
  color: #64748b;
}

/* --- Mobile --- */
@media (max-width: 768px) {
  .partner-header-inner { padding: 0 1rem; }
  .partner-main { padding: 1.5rem 1rem; }
  .partner-nav-link span { display: none; }
  .partner-nav-link { padding: 7px 10px; }
  .partner-nav-logout span { display: none; }
  .partner-nav-logout { padding: 7px 10px; }
  .partner-auth-card { padding: 1.75rem 1.25rem; }
  .partner-kpi-grid { grid-template-columns: 1fr 1fr; }
  .partner-install-row { flex-direction: column; }
  .partner-copy-btn { width: 100%; min-width: unset; }
}

@media (max-width: 480px) {
  .partner-kpi-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   PARTNER LANDING PAGE — premium section styles
   (lives inside landing-root context)
   ========================================================= */

.landing-root .partner-landing-hero-cta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.landing-root .partner-commission-section {
  padding: 5.5rem 0;
  background: linear-gradient(170deg, #0B0F1A 0%, #1E1B4B 55%, #0B0F1A 100%);
  position: relative;
  overflow: hidden;
}

.landing-root .partner-commission-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.35;
  pointer-events: none;
}

.landing-root .partner-section-label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #818cf8;
  background: rgba(99,102,241,0.12);
  border: 1px solid rgba(99,102,241,0.22);
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.landing-root .partner-section-title {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #f1f5f9;
  margin-bottom: 0.75rem;
}

.landing-root .partner-section-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.45);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

.landing-root .partner-plan-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1.25rem;
  padding: 1.875rem;
  text-align: center;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  position: relative;
  z-index: 1;
}

.landing-root .partner-plan-card:hover {
  border-color: rgba(99,102,241,0.4);
  transform: translateY(-5px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35), 0 0 0 1px rgba(99,102,241,0.15);
}

.landing-root .partner-plan-name {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1rem;
}

.landing-root .partner-plan-amount {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: #818cf8;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.landing-root .partner-plan-amount span {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.35);
}

.landing-root .partner-plan-desc {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
  margin-top: 0.625rem;
}

.landing-root .partner-steps-section {
  padding: 5.5rem 0;
  background: linear-gradient(180deg, #0B0F1A 0%, #0f1322 100%);
  position: relative;
}

.landing-root .partner-step { text-align: center; }

.landing-root .partner-step-num {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(99,102,241,0.2), rgba(99,102,241,0.06));
  border: 1px solid rgba(99,102,241,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: #818cf8;
  box-shadow: 0 6px 20px rgba(99,102,241,0.2);
}

.landing-root .partner-step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 0.5rem;
}

.landing-root .partner-step-desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  max-width: 240px;
  margin: 0 auto;
}

.landing-root .partner-apply-section {
  padding: 5.5rem 0 8rem;
  background: linear-gradient(180deg, #0f1322 0%, #0B0F1A 100%);
  position: relative;
}

.landing-root .partner-apply-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1.75rem;
  padding: 2.5rem;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 40px 100px rgba(0,0,0,0.38);
  position: relative;
  overflow: hidden;
}

.landing-root .partner-apply-card::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(99,102,241,0.1) 0%, transparent 65%);
  pointer-events: none;
}

.landing-root .partner-apply-title {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #f1f5f9;
  margin-bottom: 0.5rem;
  position: relative;
}

.landing-root .partner-apply-sub {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 2rem;
  line-height: 1.65;
  position: relative;
}

.landing-root .partner-apply-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.4rem;
}

.landing-root .partner-apply-input {
  width: 100%;
  padding: 0.8125rem 1rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 0.875rem;
  color: #f1f5f9;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
  display: block;
  position: relative;
}

.landing-root .partner-apply-input::placeholder { color: rgba(255,255,255,0.22); }

.landing-root .partner-apply-input:hover {
  border-color: rgba(255,255,255,0.2);
}

.landing-root .partner-apply-input:focus {
  border-color: rgba(99,102,241,0.65);
  background: rgba(255,255,255,0.09);
  box-shadow: 0 0 0 4px rgba(99,102,241,0.14);
}
