/* ============================================================
   MOON Fleet Intelligence Platform — Premium Landing CSS
   Inspired by: Stripe, Linear, Vercel, Framer, MaintainX
   ============================================================ */

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

/* ── Design Tokens ─────────────────────────────────── */
:root {
  --moon-bg:        #0f172a;
  --moon-bg2:       #1e293b;
  --moon-surface:   rgba(255,255,255,0.06);
  --moon-surface2:  rgba(255,255,255,0.09);
  --moon-border:    rgba(255,255,255,0.08);
  --moon-border2:   rgba(0,242,254,0.2);

  --moon-cyan:      #00f2fe;
  --moon-blue:      #4facfe;
  --moon-violet:    #7c3aed;
  --moon-indigo:    #4f46e5;
  --moon-white:     #f8fafc;
  --moon-muted:     #94a3b8;
  --moon-subtle:    #64748b;

  --grad-hero:      linear-gradient(135deg, #00f2fe 0%, #4facfe 50%, #7c3aed 100%);
  --grad-btn:       linear-gradient(135deg, #00c6fb 0%, #005bea 100%);
  --grad-card:      linear-gradient(145deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);

  --shadow-card:    0 4px 24px rgba(0,0,0,0.4), 0 1px 0 rgba(255,255,255,0.05) inset;
  --shadow-glow:    0 0 40px rgba(0,242,254,0.15);
  --shadow-btn:     0 4px 20px rgba(0,198,251,0.35);

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

  --transition: cubic-bezier(0.23, 1, 0.32, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: var(--moon-bg);
  color: var(--moon-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Grid noise overlay ───────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(0,242,254,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(124,58,237,0.10) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── NAVBAR ──────────────────────────────────────── */
.ln-navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6%;
  height: 70px;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--moon-border);
  transition: background 0.4s var(--transition);
}

.ln-navbar.scrolled {
  background: rgba(15, 23, 42, 0.95);
  border-bottom-color: rgba(0,242,254,0.15);
}

.ln-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.ln-logo-moon {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -1px;
  background: var(--grad-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ln-logo-word {
  font-size: .7rem;
  font-weight: 600;
  color: var(--moon-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  border-left: 1px solid var(--moon-border2);
  padding-left: 8px;
}

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

.ln-nav-links a {
  text-decoration: none;
  font-size: .88rem;
  font-weight: 500;
  color: var(--moon-muted);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}

.ln-nav-links a:hover {
  color: var(--moon-white);
  background: var(--moon-surface2);
}

.ln-btn-nav {
  background: var(--grad-btn) !important;
  color: white !important;
  padding: 8px 20px !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
  box-shadow: var(--shadow-btn) !important;
  transition: opacity 0.2s !important;
}

.ln-btn-nav:hover { opacity: 0.88 !important; background: var(--moon-surface2) !important; box-shadow: none !important; }

.ln-btn-nav-ghost {
  border: 1px solid var(--moon-border2) !important;
  color: var(--moon-cyan) !important;
  background: transparent !important;
  padding: 7px 18px !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 500 !important;
}

.ln-btn-nav-ghost:hover { background: rgba(0,242,254,0.08) !important; }

/* ── BUTTONS ─────────────────────────────────────── */
.ln-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: .95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s var(--transition);
  border-radius: var(--radius-sm);
  padding: 14px 28px;
}

.ln-btn-primary {
  background: var(--grad-btn);
  color: white;
  box-shadow: var(--shadow-btn);
}

.ln-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,198,251,0.45);
}

.ln-btn-outline {
  background: transparent;
  color: var(--moon-white);
  border: 1px solid var(--moon-border2);
}

.ln-btn-outline:hover {
  background: var(--moon-surface2);
  border-color: var(--moon-cyan);
  transform: translateY(-1px);
}

/* ── HERO ────────────────────────────────────────── */
.ln-hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 6% 80px;
  gap: 60px;
}

.ln-hero-content { flex: 1; max-width: 600px; }

.ln-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,242,254,0.08);
  border: 1px solid rgba(0,242,254,0.25);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--moon-cyan);
  margin-bottom: 24px;
  animation: fadeInDown 0.6s var(--transition);
}

.ln-hero-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--moon-cyan);
  box-shadow: 0 0 8px var(--moon-cyan);
  animation: pulse 2s infinite;
}

.ln-hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  animation: fadeInUp 0.7s var(--transition);
}

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

.ln-hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--moon-muted);
  margin-bottom: 40px;
  animation: fadeInUp 0.8s var(--transition);
}

.ln-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeInUp 0.9s var(--transition);
}

.ln-hero-visual {
  flex: 1;
  max-width: 580px;
  position: relative;
  animation: floatY 6s ease-in-out infinite;
}

.ln-hero-visual::before {
  content: '';
  position: absolute;
  inset: -30px;
  background: radial-gradient(ellipse, rgba(0,242,254,0.12) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.ln-dashboard-mock {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--moon-border2);
  border-radius: var(--radius-xl);
  padding: 20px;
  box-shadow: var(--shadow-card), var(--shadow-glow);
  backdrop-filter: blur(10px);
}

.ln-mock-topbar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}

.ln-mock-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}

.ln-mock-dot:nth-child(1) { background: #ff5f57; }
.ln-mock-dot:nth-child(2) { background: #febc2e; }
.ln-mock-dot:nth-child(3) { background: #28c840; }

.ln-mock-title {
  font-size: .75rem;
  color: var(--moon-subtle);
  margin-left: 8px;
  font-weight: 500;
}

.ln-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}

.ln-kpi-card {
  background: var(--grad-card);
  border: 1px solid var(--moon-border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  transition: border-color 0.2s;
}

.ln-kpi-card:hover { border-color: var(--moon-border2); }

.ln-kpi-label { font-size: .72rem; color: var(--moon-subtle); font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.ln-kpi-value { font-size: 1.5rem; font-weight: 800; }
.ln-kpi-value.cyan { color: var(--moon-cyan); }
.ln-kpi-value.blue { color: var(--moon-blue); }
.ln-kpi-value.violet { color: #a78bfa; }
.ln-kpi-value.green { color: #34d399; }

.ln-kpi-delta {
  font-size: .75rem;
  font-weight: 600;
  color: #34d399;
  margin-top: 2px;
}

.ln-chart-bar {
  background: var(--grad-card);
  border: 1px solid var(--moon-border);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 12px;
}

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

.ln-chart-label { font-size: .78rem; font-weight: 600; color: var(--moon-muted); }

.ln-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 60px;
}

.ln-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(to top, rgba(0,198,251,0.3), rgba(0,242,254,0.6));
  transition: background 0.3s;
  animation: growBar 1s var(--transition) forwards;
  transform-origin: bottom;
}

.ln-bar.active { background: linear-gradient(to top, #005bea, #00c6fb); }

.ln-alert-list { display: grid; gap: 8px; }

.ln-alert-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--moon-surface);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  font-size: .78rem;
  border-left: 3px solid;
}

.ln-alert-item.warn { border-left-color: #f59e0b; }
.ln-alert-item.ok   { border-left-color: #34d399; }
.ln-alert-item.info { border-left-color: var(--moon-cyan); }

/* ── SECTION SHARED ──────────────────────────────── */
.ln-section { position: relative; z-index: 1; padding: 100px 6%; }
.ln-section-sm { padding: 60px 6%; }

.ln-section-badge {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--moon-cyan);
  margin-bottom: 14px;
}

.ln-section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.ln-section-subtitle {
  font-size: 1.05rem;
  color: var(--moon-muted);
  max-width: 560px;
  line-height: 1.7;
}

.ln-text-center { text-align: center; }
.ln-text-center .ln-section-subtitle { margin-inline: auto; }

/* ── LOGOS STRIP ─────────────────────────────────── */
.ln-logos-section {
  position: relative;
  z-index: 1;
  padding: 48px 6%;
  border-top: 1px solid var(--moon-border);
  border-bottom: 1px solid var(--moon-border);
  background: rgba(255,255,255,0.015);
}

.ln-logos-label {
  text-align: center;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--moon-subtle);
  margin-bottom: 28px;
}

.ln-logos-track-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.ln-logos-track {
  display: flex;
  gap: 40px;
  animation: scrollLogos 20s linear infinite;
  width: max-content;
}

.ln-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  background: var(--moon-surface);
  border: 1px solid var(--moon-border);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 700;
  color: var(--moon-subtle);
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
  min-width: 120px;
}

.ln-logo-item:hover { color: var(--moon-white); border-color: var(--moon-border2); }

/* ── STATS ───────────────────────────────────────── */
.ln-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 60px;
}

.ln-stat-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--grad-card);
  border: 1px solid var(--moon-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--transition), border-color 0.3s;
}

.ln-stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--moon-border2);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.ln-stat-icon { font-size: 2rem; margin-bottom: 12px; }

.ln-stat-value {
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  background: var(--grad-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.ln-stat-label { font-size: .9rem; color: var(--moon-muted); font-weight: 500; }

/* ── BENEFITS GRID ───────────────────────────────── */
.ln-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 60px;
}

.ln-benefit-card {
  background: var(--grad-card);
  border: 1px solid var(--moon-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--transition), border-color 0.3s, box-shadow 0.3s;
  cursor: default;
}

.ln-benefit-card:hover {
  transform: translateY(-5px);
  border-color: var(--moon-border2);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.ln-benefit-icon {
  font-size: 1.8rem;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,242,254,0.08);
  border: 1px solid rgba(0,242,254,0.18);
  border-radius: var(--radius-md);
  margin-bottom: 18px;
}

.ln-benefit-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--moon-white);
}

.ln-benefit-desc { font-size: .88rem; color: var(--moon-muted); line-height: 1.65; }

/* ── MODULES ─────────────────────────────────────── */
.ln-modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  margin-top: 60px;
}

.ln-module-card {
  display: flex;
  gap: 18px;
  background: var(--grad-card);
  border: 1px solid var(--moon-border);
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: all 0.3s var(--transition);
  cursor: default;
}

.ln-module-card:hover {
  border-color: var(--moon-border2);
  background: rgba(0,242,254,0.04);
  transform: translateX(4px);
}

.ln-module-icon {
  font-size: 1.5rem;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(79,172,254,0.1);
  border-radius: var(--radius-sm);
}

.ln-module-title { font-size: .95rem; font-weight: 700; color: var(--moon-white); margin-bottom: 6px; }
.ln-module-desc  { font-size: .83rem; color: var(--moon-muted); line-height: 1.6; }

/* ── INDUSTRIES ──────────────────────────────────── */
.ln-industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 60px;
}

.ln-industry-card {
  text-align: center;
  padding: 28px 16px;
  background: var(--grad-card);
  border: 1px solid var(--moon-border);
  border-radius: var(--radius-lg);
  transition: all 0.3s var(--transition);
  cursor: default;
}

.ln-industry-card:hover {
  border-color: var(--moon-border2);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,242,254,0.08);
}

.ln-industry-icon { font-size: 2.2rem; margin-bottom: 12px; }
.ln-industry-name { font-size: .9rem; font-weight: 700; color: var(--moon-white); }
.ln-industry-desc { font-size: .78rem; color: var(--moon-subtle); margin-top: 6px; }

/* ── HOW IT WORKS ────────────────────────────────── */
.ln-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  margin-top: 60px;
  position: relative;
}

.ln-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--moon-border2), transparent);
}

.ln-step {
  text-align: center;
  padding: 0 20px 0;
  position: relative;
}

.ln-step-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid var(--moon-border2);
  background: rgba(0,242,254,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--moon-cyan);
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 20px rgba(0,242,254,0.15);
}

.ln-step-title { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.ln-step-desc  { font-size: .85rem; color: var(--moon-muted); }

/* ── PLANS (PRICING) ─────────────────────────────── */
.ln-plans-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 60px;
}

.ln-plan-card {
  flex: 1;
  min-width: 280px;
  max-width: 360px;
  background: var(--grad-card);
  border: 1px solid var(--moon-border);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: transform 0.3s var(--transition), border-color 0.3s;
}

.ln-plan-card:hover {
  transform: translateY(-6px);
}

.ln-plan-card.featured {
  border-color: rgba(0,242,254,0.4);
  background: linear-gradient(145deg, rgba(0,242,254,0.07) 0%, rgba(79,172,254,0.04) 100%);
  box-shadow: var(--shadow-card), 0 0 60px rgba(0,242,254,0.12);
  transform: scale(1.03);
}

.ln-plan-card.featured:hover { transform: scale(1.03) translateY(-6px); }

.ln-plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-btn);
  color: white;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: var(--shadow-btn);
}

.ln-plan-name { font-size: 1.15rem; font-weight: 700; margin-bottom: 4px; }
.ln-plan-desc { font-size: .85rem; color: var(--moon-muted); margin-bottom: 24px; }

.ln-plan-price {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 28px;
}

.ln-plan-currency { font-size: 1.2rem; font-weight: 700; color: var(--moon-muted); margin-top: 8px; }

.ln-plan-amount {
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: var(--grad-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.ln-plan-cycle { font-size: .85rem; color: var(--moon-muted); margin-top: 10px; align-self: flex-end; }

.ln-plan-features {
  list-style: none;
  margin-bottom: 28px;
  display: grid;
  gap: 10px;
}

.ln-plan-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .88rem;
  color: var(--moon-muted);
}

.ln-plan-feature::before {
  content: '✓';
  color: var(--moon-cyan);
  font-weight: 800;
  font-size: .85rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.ln-plan-trial {
  font-size: .8rem;
  color: var(--moon-subtle);
  text-align: center;
  margin-top: 14px;
}

/* ── COMPARISON TABLE ────────────────────────────── */
.ln-compare-wrap { overflow-x: auto; margin-top: 48px; }

.ln-compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.ln-compare-table th {
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--moon-muted);
  padding: 14px 20px;
  text-align: center;
  border-bottom: 1px solid var(--moon-border);
}

.ln-compare-table th:first-child { text-align: left; }

.ln-compare-table td {
  padding: 13px 20px;
  font-size: .88rem;
  border-bottom: 1px solid var(--moon-border);
  text-align: center;
  color: var(--moon-muted);
}

.ln-compare-table td:first-child { text-align: left; color: var(--moon-white); font-weight: 500; }

.ln-compare-table tr:hover td { background: var(--moon-surface); }

.ln-check { color: var(--moon-cyan); font-size: 1.1rem; font-weight: 700; }
.ln-cross  { color: var(--moon-subtle); font-size: 1rem; }
.ln-soon   { color: var(--moon-subtle); font-size: .75rem; font-style: italic; }

/* ── TESTIMONIALS ────────────────────────────────── */
.ln-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 60px;
}

.ln-testimonial-card {
  background: var(--grad-card);
  border: 1px solid var(--moon-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--transition), border-color 0.3s;
}

.ln-testimonial-card:hover {
  transform: translateY(-4px);
  border-color: var(--moon-border2);
}

.ln-testimonial-stars { color: #f59e0b; font-size: 1rem; margin-bottom: 14px; letter-spacing: 2px; }

.ln-testimonial-text {
  font-size: .92rem;
  line-height: 1.7;
  color: var(--moon-muted);
  margin-bottom: 20px;
  font-style: italic;
}

.ln-testimonial-author { display: flex; align-items: center; gap: 14px; }

.ln-t-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--grad-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .85rem;
  color: white;
  flex-shrink: 0;
}

.ln-t-name { font-weight: 700; font-size: .9rem; }
.ln-t-role { font-size: .78rem; color: var(--moon-subtle); }

/* ── FAQ ─────────────────────────────────────────── */
.ln-faqs { display: grid; gap: 12px; margin-top: 60px; max-width: 860px; margin-inline: auto; margin-top: 60px; }

.ln-faq-item {
  background: var(--grad-card);
  border: 1px solid var(--moon-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s;
}

.ln-faq-item:hover { border-color: var(--moon-border2); }

.ln-faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 22px;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 600;
  color: var(--moon-white);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.2s;
}

.ln-faq-question:hover { color: var(--moon-cyan); }

.ln-faq-icon {
  width: 24px; height: 24px;
  flex-shrink: 0;
  border: 1px solid var(--moon-border2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--moon-cyan);
  transition: transform 0.3s var(--transition);
}

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

.ln-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--transition), padding 0.3s;
  font-size: .9rem;
  color: var(--moon-muted);
  line-height: 1.7;
  padding: 0 22px;
}

.ln-faq-item.open .ln-faq-answer {
  max-height: 300px;
  padding: 0 22px 18px;
}

/* ── CTA FINAL ───────────────────────────────────── */
.ln-cta {
  position: relative;
  z-index: 1;
  margin: 0 6% 100px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  padding: 80px 60px;
  text-align: center;
  background: linear-gradient(135deg, rgba(0,198,251,0.1) 0%, rgba(0,91,234,0.12) 50%, rgba(124,58,237,0.1) 100%);
  border: 1px solid rgba(0,242,254,0.25);
  box-shadow: 0 0 80px rgba(0,242,254,0.08);
}

.ln-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,242,254,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.ln-cta-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.ln-cta-subtitle { font-size: 1.05rem; color: var(--moon-muted); margin-bottom: 40px; }

.ln-cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ──────────────────────────────────────── */
.ln-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--moon-border);
  padding: 60px 6% 40px;
  background: rgba(15, 23, 42, 0.9);
}

.ln-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}

.ln-footer-brand-desc { font-size: .88rem; color: var(--moon-subtle); line-height: 1.7; margin: 12px 0 20px; }

.ln-footer-social { display: flex; gap: 10px; }

.ln-social-btn {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: var(--moon-surface2);
  border: 1px solid var(--moon-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--moon-muted);
  text-decoration: none;
  font-size: .9rem;
  transition: all 0.2s;
}

.ln-social-btn:hover { border-color: var(--moon-border2); color: var(--moon-cyan); }

.ln-footer-col-title { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--moon-muted); margin-bottom: 16px; }

.ln-footer-links { list-style: none; display: grid; gap: 10px; }

.ln-footer-links a { text-decoration: none; font-size: .88rem; color: var(--moon-subtle); transition: color 0.2s; }
.ln-footer-links a:hover { color: var(--moon-white); }

.ln-footer-contact { display: grid; gap: 12px; }

.ln-contact-item { display: flex; align-items: center; gap: 10px; font-size: .88rem; color: var(--moon-subtle); }
.ln-contact-item a { color: var(--moon-subtle); text-decoration: none; transition: color 0.2s; }
.ln-contact-item a:hover { color: var(--moon-cyan); }

.ln-footer-bottom {
  border-top: 1px solid var(--moon-border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.ln-footer-copy { font-size: .82rem; color: var(--moon-subtle); }

.ln-footer-legal { display: flex; gap: 20px; }
.ln-footer-legal a { font-size: .82rem; color: var(--moon-subtle); text-decoration: none; transition: color 0.2s; }
.ln-footer-legal a:hover { color: var(--moon-white); }

/* ── ANIMATIONS ──────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes growBar {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,242,254,0.6); }
  50%       { box-shadow: 0 0 0 6px rgba(0,242,254,0); }
}

@keyframes scrollLogos {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Scroll animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
}

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

/* ── RESPONSIVE STYLES ──────────────────────────────────── */

/* Mobile Toggle Button */
.ln-mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
}
.ln-mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--moon-light, #ffffff);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.ln-mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.ln-mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}
.ln-mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1024px) {
  .ln-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .ln-hero { flex-direction: column; min-height: auto; padding-bottom: 60px; text-align: center; }
  .ln-hero-visual { max-width: 100%; width: 100%; margin-top: 30px; }
  .ln-hero-actions { justify-content: center; }
}

@media (max-width: 768px) {
  .ln-navbar { 
    padding: max(12px, env(safe-area-inset-top, 12px)) 5% 12px 5%; 
    height: auto; 
    min-height: 72px; 
  }
  
  /* Mobile Navigation Flyout */
  .ln-mobile-toggle { display: flex; }
  .ln-nav-links {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: rgba(10, 15, 30, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 242, 254, 0.2);
    padding: 24px 20px;
    gap: 14px;
    align-items: stretch;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: all 0.3s ease;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    z-index: 1000;
  }
  .ln-nav-links.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .ln-nav-links li { width: 100%; text-align: center; }
  .ln-nav-links a { display: block; padding: 12px 16px; font-size: 1rem; border-radius: 10px; }
  .ln-btn-nav, .ln-btn-nav-ghost {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 12px 20px;
  }

  .ln-section, .ln-section-sm { padding: 60px 5%; }
  .ln-hero { padding: 145px 5% 50px; }
  .ln-hero-title { font-size: 2.1rem; line-height: 1.25; }
  .ln-steps::before { display: none; }
  
  .ln-modules-grid, .ln-benefits-grid, .ln-industries-grid, .ln-testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .ln-plans-grid { flex-direction: column; align-items: center; width: 100%; }
  .ln-plan-card { width: 100%; max-width: 100%; }
  .ln-plan-card.featured { transform: none; }
  .ln-plan-card.featured:hover { transform: translateY(-6px); }

  .ln-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .ln-footer-bottom { flex-direction: column; text-align: center; gap: 14px; }
  .ln-cta { margin: 0 4% 50px; padding: 40px 20px; text-align: center; }
  .ln-cta-actions { flex-direction: column; width: 100%; }
  .ln-cta-actions .ln-btn { width: 100%; justify-content: center; }
  
  .ln-compare-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -5%;
    padding: 0 5%;
    border-radius: 0;
  }
  .ln-compare-table { min-width: 600px; }
}

@media (max-width: 480px) {
  .ln-hero { padding: 135px 4% 40px; }
  .ln-hero-title { font-size: 1.75rem !important; }
  .ln-hero-subtitle { font-size: 0.92rem !important; }
  .ln-hero-badge { font-size: 0.72rem !important; padding: 6px 12px !important; }
  .ln-hero-actions { flex-direction: column; width: 100%; gap: 10px; }
  .ln-hero-actions .ln-btn { width: 100%; justify-content: center; }
  
  .ln-section-title { font-size: 1.5rem !important; }
  .ln-section-subtitle { font-size: 0.88rem !important; }
  .ln-plan-card { padding: 24px 18px !important; }
  
  #cookieConsentBanner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 16px;
    gap: 14px;
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
  #cookieConsentBanner button {
    width: 100%;
  }
}

/* =========================================================
   SECCIÓN PREVIEW DEL SISTEMA
   ========================================================= */

/* Tabs */
.ln-preview-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 40px 0 24px;
}

.ln-preview-tab {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--moon-muted);
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  font-family: inherit;
}

.ln-preview-tab:hover {
  background: rgba(99,102,241,0.15);
  border-color: rgba(99,102,241,0.4);
  color: #e2e8f0;
}

.ln-preview-tab.active {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  border-color: #6366f1;
  color: #fff;
  box-shadow: 0 4px 18px rgba(99,102,241,0.35);
}

/* Panels */
.ln-preview-panel {
  display: none;
  max-width: 900px;
  margin: 0 auto;
  animation: fadeInUp 0.35s ease;
}

.ln-preview-panel.active {
  display: block;
}

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

/* Screen mockup */
.ln-preview-screen {
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(99,102,241,0.15);
}

/* Topbar */
.ln-prev-topbar {
  background: #1e293b;
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #334155;
}

.ln-prev-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.ln-prev-badge {
  background: #334155;
  color: #94a3b8;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
  text-transform: uppercase;
}

/* KPI Row */
.ln-prev-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-bottom: 1px solid #1e293b;
}

.ln-prev-kpi {
  padding: 14px 16px;
  border-right: 1px solid #1e293b;
}

.ln-prev-kpi:last-child { border-right: none; }

.ln-prev-kpi-label {
  font-size: 0.65rem;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 4px;
}

.ln-prev-kpi-val {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 3px;
}

.ln-prev-kpi-sub {
  font-size: 0.65rem;
  font-weight: 600;
}

/* Body: Chart + Activity */
.ln-prev-body {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0;
}

.ln-prev-chart-box {
  padding: 16px;
  border-right: 1px solid #1e293b;
}

.ln-prev-activity {
  padding: 16px;
}

.ln-prev-chart-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

/* Bar Chart */
.ln-prev-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 100px;
  margin-bottom: 12px;
}

.ln-prev-bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  height: 100%;
  justify-content: flex-end;
}

.ln-prev-bar-fill {
  width: 100%;
  border-radius: 4px 4px 0 0;
  min-height: 4px;
  transition: height 0.5s ease;
}

.ln-prev-bar-col span {
  font-size: 0.58rem;
  color: #64748b;
}

/* =========================================================
   REAL SYSTEM MOCKUP STYLING (MATCHING THE TRUE APP THEME)
   ========================================================= */

.real-app-layout {
  background: #f5f6fa !important;
  color: #1e293b !important;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04) !important;
  border: 1px solid #e2e8f0 !important;
  text-align: left;
}

.ln-prev-topbar-real {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ln-sidebar-logo-text {
  font-weight: 800;
  font-size: 0.95rem;
  color: #2563eb;
  letter-spacing: -0.2px;
}

.ln-header-tag {
  font-size: 0.65rem;
  background: #eff6ff;
  color: #2563eb;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  margin-left: 8px;
}

.ln-real-user {
  font-size: 0.72rem;
  font-weight: 600;
  color: #475569;
}

.ln-real-body-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ln-real-welcome {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  position: relative;
  overflow: hidden;
}

.ln-real-welcome h3 {
  margin: 0 0 4px 0;
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
}

.ln-real-welcome p {
  margin: 0;
  font-size: 0.78rem;
  opacity: 0.9;
  line-height: 1.4;
}

.ln-real-widget {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

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

.ln-widget-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0f172a;
}

.ln-widget-tag {
  font-size: 0.68rem;
  color: #2563eb;
  font-weight: 600;
}

.ln-ratio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.ln-ratio-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px;
}

.ln-ratio-lbl {
  font-size: 0.65rem;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 700;
  display: block;
}

.ln-ratio-val {
  font-size: 1.05rem;
  font-weight: 800;
  margin-top: 2px;
}

.ln-sub-text {
  font-size: 0.68rem;
  font-weight: 500;
  color: #64748b;
}

.ln-real-progress-bar {
  width: 100%;
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
}

.ln-real-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 8px;
}

.ln-real-kpi-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.ln-kpi-lbl {
  font-size: 0.62rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  display: block;
}

.ln-kpi-val {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin-top: 4px;
}

/* Planning real styling */
.ln-real-summary-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ln-sum-pill {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}

.text-green { background: #d1fae5; color: #065f46; }
.text-blue { background: #dbeafe; color: #1e40af; }
.text-orange { background: #ffedd5; color: #9a3412; }
.text-red { background: #fee2e2; color: #991b1b; }

.ln-real-week-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.ln-real-week-col {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 220px;
}

.ln-week-col-hdr {
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 6px;
  text-align: center;
}

.ln-week-col-hdr strong {
  display: block;
  font-size: 0.72rem;
  color: #1e293b;
}

.ln-week-col-hdr span {
  font-size: 0.62rem;
  color: #64748b;
}

.ln-no-tasks {
  font-size: 0.62rem;
  color: #94a3b8;
  text-align: center;
  padding: 20px 0;
  border: 1px dashed #e2e8f0;
  border-radius: 6px;
  display: block;
}

.ln-real-task-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ln-real-task-card strong {
  font-size: 0.65rem;
  color: #1e293b;
}

.ln-real-task-card p {
  margin: 0;
  font-size: 0.58rem;
  color: #64748b;
  line-height: 1.2;
}

/* Assets real table */
.ln-real-search {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.72rem;
  color: #64748b;
}

.ln-real-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.ln-real-table th {
  background: #f8fafc;
  border-bottom: 2px solid #e2e8f0;
  padding: 10px 14px;
  font-size: 0.65rem;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  text-align: left;
}

.ln-real-table td {
  padding: 10px 14px;
  font-size: 0.72rem;
  border-bottom: 1px solid #e2e8f0;
  color: #334155;
}

.ln-status-badge {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
}

.tag-green { background: #d1fae5; color: #065f46; }
.tag-orange { background: #ffedd5; color: #9a3412; }
.tag-red { background: #fee2e2; color: #991b1b; }

/* AI chat mockup */
.ln-chat-wrapper {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.ln-suggested {
  background: #f1f5f9;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.68rem;
  color: #475569;
}

.ln-msg-user {
  align-self: flex-end;
  background: #2563eb;
  color: #ffffff;
  border-radius: 12px 12px 2px 12px;
  padding: 8px 12px;
  font-size: 0.7rem;
  max-width: 80%;
  font-weight: 600;
}

.ln-msg-ai {
  align-self: flex-start;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px 12px 12px 2px;
  padding: 10px 12px;
  font-size: 0.7rem;
  color: #334155;
  max-width: 85%;
  line-height: 1.45;
}

@media (max-width: 768px) {
  .ln-real-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ln-real-week-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ln-real-table {
    display: block;
    overflow-x: auto;
  }
}


/* JS switchTab */

