/* ================================================================
   LANDING PAGE — Light, inviting theme
   ================================================================ */

/* ---- Reset & base — standalone, no style.css dependency ---- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}

:root {
  --bg: #ffffff;
  --bg-soft: #f7f8fc;
  --bg-muted: #eef0f6;
  --accent: #4f46e5;
  --accent-end: #7c3aed;
  --accent-light: rgba(79, 70, 229, 0.08);
  --accent-glow: rgba(79, 70, 229, 0.2);
  --text: #1e1e2e;
  --text-sub: #555770;
  --text-muted: #8b8da3;
  --green: #16a34a;
  --green-light: rgba(22, 163, 74, 0.08);
  --red: #dc2626;
  --red-light: rgba(220, 38, 38, 0.06);
  --border: rgba(0,0,0,0.08);
  --border-hover: rgba(0,0,0,0.15);
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 2px 12px rgba(0,0,0,0.06);
  --shadow-hover: 0 8px 32px rgba(0,0,0,0.10);
}

.landing-body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
}

/* ---- Particles canvas ---- */
#particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ---- Generic section ---- */
.l-section {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.5rem;
}

.l-section:nth-child(odd) {
  background: var(--bg);
}
.l-section:nth-child(even) {
  background: var(--bg-soft);
}

.l-container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

/* ---- Section labels ---- */
.l-section-label {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: .72rem;
  font-weight: 600;
  color: var(--accent);
  text-align: center;
  margin-bottom: .8rem;
}

.l-section-h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 3rem;
}

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

/* ---- Fade-in animation ---- */
.l-fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.l-fade-in.l-visible {
  opacity: 1;
  transform: translateY(0);
}
.l-fade-in:nth-child(2) { transition-delay: .1s }
.l-fade-in:nth-child(3) { transition-delay: .2s }
.l-fade-in:nth-child(4) { transition-delay: .3s }
.l-fade-in:nth-child(5) { transition-delay: .4s }
.l-fade-in:nth-child(6) { transition-delay: .5s }

/* ================================================================
   NAVIGATION
   ================================================================ */

.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: .8rem 1.5rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}

.nav-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}

.nav-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  background: linear-gradient(135deg, var(--accent), var(--accent-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  font-size: 1.2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.btn-nav {
  color: var(--text-sub);
  text-decoration: none;
  font-size: .85rem;
  padding: .35rem .8rem;
  border-radius: 8px;
  transition: all .2s;
}
.btn-nav:hover { color: var(--text) }
.btn-nav-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-end));
  color: #fff !important;
}
.btn-nav-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px var(--accent-glow);
}

/* ================================================================
   HERO — fullscreen photo background + glass text overlay
   ================================================================ */

.l-hero {
  padding: 0;
  position: relative;
  overflow: hidden;
  background: #1a1a2e;
}

.l-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.l-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.l-hero-overlay {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius);
  padding: 3rem;
  max-width: 520px;
  margin: 8rem auto 4rem 6%;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
}

.l-hero-badge {
  display: inline-block;
  background: var(--accent-light);
  border: 1px solid rgba(79, 70, 229, 0.15);
  border-radius: 20px;
  padding: .3rem 1rem;
  font-size: .72rem;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: .5px;
  margin-bottom: 1.5rem;
}

.l-hero-h1 {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.12;
  margin-bottom: 1.2rem;
  letter-spacing: -.02em;
}

.l-hero-sub {
  color: var(--text-sub);
  font-size: .95rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.l-hero-actions {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
}

.l-hero-note {
  color: var(--text-muted);
  font-size: .78rem;
  margin-top: 1rem;
}

/* Hero stats strip */
.l-hero-stats {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-top: 2rem;
  padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.l-hero-stat {
  text-align: center;
}
.l-hero-stat strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent);
}
.l-hero-stat span {
  font-size: .78rem;
  color: var(--text-muted);
}

.l-hero-stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* Scroll hint */
.l-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

.l-scroll-arrow {
  display: block;
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  animation: l-bounce 2s infinite;
}

@keyframes l-bounce {
  0%, 20%, 50%, 80%, 100% { transform: rotate(45deg) translateY(0) }
  40% { transform: rotate(45deg) translateY(8px) }
  60% { transform: rotate(45deg) translateY(4px) }
}

/* ================================================================
   BUTTONS
   ================================================================ */

.l-btn {
  display: inline-block;
  padding: .85rem 2.2rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all .25s;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.l-btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-end));
  color: #fff;
}
.l-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
}

.l-btn-ghost {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
}
.l-btn-ghost:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.l-btn-outline {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  width: 100%;
  text-align: center;
}
.l-btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.l-btn-lg {
  padding: 1rem 3rem;
  font-size: 1.1rem;
}

/* ================================================================
   SECTION WITH PHOTO BACKGROUND
   ================================================================ */

.l-section-photo {
  position: relative;
}

.l-section-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bg-photo) center / cover no-repeat;
  background-attachment: fixed;
  z-index: 0;
}

.l-section-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.35);
  z-index: 1;
}

.l-section-photo > .l-container {
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .l-section-photo::before {
    background-attachment: scroll;
  }
}

/* ================================================================
   SAVINGS / TIME COMPARISON
   ================================================================ */

.l-savings {
  background: var(--bg-soft) !important;
}

.l-compare-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.l-compare-col {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.l-compare-col h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  padding-bottom: .8rem;
  border-bottom: 1px solid var(--border);
}

.l-compare-old h3 { color: var(--red) }
.l-compare-new h3 { color: var(--green) }

.l-compare-col ul {
  list-style: none;
  padding: 0;
}

.l-compare-col li {
  padding: .5rem 0;
  font-size: .9rem;
  color: var(--text-sub);
  border-bottom: 1px solid var(--bg-muted);
  display: flex;
  align-items: center;
  gap: .6rem;
}
.l-compare-col li:last-child { border-bottom: none }

.l-compare-time {
  display: inline-block;
  min-width: 56px;
  font-weight: 700;
  font-size: .82rem;
  color: var(--red);
  background: var(--red-light);
  padding: .15rem .5rem;
  border-radius: 6px;
  text-align: center;
}

.l-compare-fast {
  color: var(--green) !important;
  background: var(--green-light) !important;
}

.l-compare-total {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 2px solid var(--border);
  font-size: 1.1rem;
  color: var(--text);
  text-align: center;
}
.l-compare-total strong { font-size: 1.3rem }

.l-compare-total-fast {
  border-top-color: var(--green);
}
.l-compare-total-fast strong {
  color: var(--green);
}

.l-savings-note {
  text-align: center;
  margin-top: 2rem;
  font-size: .95rem;
  color: var(--text-sub);
  background: var(--accent-light);
  border: 1px solid rgba(79, 70, 229, 0.12);
  border-radius: var(--radius-sm);
  padding: 1rem 1.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.l-savings-note strong {
  color: var(--accent);
}

/* ================================================================
   PROBLEM SECTION
   ================================================================ */

.l-problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.l-problem-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
  transition: all .3s;
}
.l-problem-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.l-problem-icon {
  font-size: 2rem;
  margin-bottom: .8rem;
}

.l-problem-card h3 {
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: .6rem;
  line-height: 1.3;
}

.l-problem-card p {
  color: var(--text-sub);
  font-size: .88rem;
  line-height: 1.6;
}

/* ================================================================
   HOW IT WORKS
   ================================================================ */

.l-steps {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.l-step {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: all .3s;
}
.l-step:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.l-step-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent), var(--accent-end));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
}

.l-step-content h3 {
  color: var(--text);
  font-size: 1.05rem;
  margin-bottom: .4rem;
}

.l-step-content p {
  color: var(--text-sub);
  font-size: .88rem;
  line-height: 1.6;
}

.l-step-connector {
  width: 2px;
  height: 24px;
  background: linear-gradient(180deg, var(--accent), var(--accent-end));
  margin-left: calc(1.5rem + 23px);
  opacity: .3;
}

/* ================================================================
   MODES
   ================================================================ */

.l-modes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.l-mode-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
  transition: all .3s;
}
.l-mode-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.l-mode-badge {
  display: inline-block;
  padding: .2rem .7rem;
  border-radius: 20px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .3px;
  margin-bottom: 1rem;
}
.l-mode-badge-blue {
  background: rgba(79, 70, 229, 0.08);
  border: 1px solid rgba(79, 70, 229, 0.2);
  color: var(--accent);
}
.l-mode-badge-purple {
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.2);
  color: var(--accent-end);
}
.l-mode-badge-green {
  background: var(--green-light);
  border: 1px solid rgba(22, 163, 74, 0.2);
  color: var(--green);
}

.l-mode-card h3 {
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: .6rem;
}

.l-mode-card p {
  color: var(--text-sub);
  font-size: .88rem;
  line-height: 1.6;
}

/* ================================================================
   PERSONAS
   ================================================================ */

.l-personas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.l-persona-pill {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  box-shadow: var(--shadow);
  transition: all .3s;
}
.l-persona-pill:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.l-persona-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.l-persona-text strong {
  display: block;
  color: var(--text);
  font-size: .95rem;
  margin-bottom: .15rem;
}

.l-persona-text span {
  color: var(--text-muted);
  font-size: .82rem;
}

.l-persona-pill-custom {
  border-color: rgba(79, 70, 229, 0.2);
  background: var(--accent-light);
}
.l-persona-pill-custom:hover {
  border-color: var(--accent);
}

/* ================================================================
   PRICING
   ================================================================ */

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

.l-pricing-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all .3s;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.l-pricing-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.l-pricing-popular {
  border-color: rgba(79, 70, 229, 0.3);
  box-shadow: 0 4px 24px rgba(79, 70, 229, 0.12);
}

.l-pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-end));
  color: #fff;
  padding: .25rem 1rem;
  border-radius: 20px;
  font-size: .72rem;
  font-weight: 600;
  white-space: nowrap;
}

.l-pricing-card h3 {
  color: var(--text);
  font-size: 1.2rem;
  margin-bottom: .6rem;
  margin-top: 0;
}

.l-pricing-price {
  font-size: 2.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: .2rem;
}
.l-pricing-price span {
  font-size: .9rem;
  font-weight: 400;
}

.l-pricing-tokens {
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: .2rem;
}

.l-pricing-per {
  color: var(--text-muted);
  font-size: .78rem;
  margin-bottom: 1.5rem;
}

.l-pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  width: 100%;
}

.l-pricing-card li {
  padding: .4rem 0;
  font-size: .85rem;
  color: var(--text-sub);
  border-bottom: 1px solid var(--bg-muted);
}
.l-pricing-card li:last-child { border-bottom: none }
.l-pricing-card li::before {
  content: '\2713 ';
  color: var(--green);
  font-weight: 600;
}

.l-pricing-card .l-btn {
  margin-top: auto;
}

.l-pricing-note {
  text-align: center;
  margin-top: 1.5rem;
  font-size: .82rem;
  color: var(--text-muted);
}

/* ================================================================
   CTA
   ================================================================ */

.l-cta {
  min-height: 50vh;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-soft), var(--bg)) !important;
}

.l-cta-h2 {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.l-cta-sub {
  color: var(--text-sub);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* ================================================================
   FOOTER
   ================================================================ */

.l-footer {
  text-align: center;
  padding: 2rem;
  color: var(--text-muted);
  font-size: .78rem;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
  background: var(--bg);
}
.l-footer a {
  color: var(--text-sub);
  text-decoration: none;
}
.l-footer a:hover { color: var(--accent) }

/* ================================================================
   RESPONSIVE
   ================================================================ */

@media (max-width: 768px) {
  .l-section {
    padding: 4rem 1rem;
    min-height: auto;
  }

  .l-hero-overlay {
    margin: 6rem 1rem 2rem;
    padding: 2rem 1.5rem;
    max-width: 100%;
  }

  .l-hero-h1 { font-size: 2rem }
  .l-hero-sub { font-size: .95rem }
  .l-section-h2 { font-size: 1.5rem }

  .l-problem-grid,
  .l-modes-grid,
  .l-pricing-grid,
  .l-compare-table {
    grid-template-columns: 1fr;
  }

  .l-personas-grid {
    grid-template-columns: 1fr;
  }

  .l-hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .l-hero-stats {
    flex-direction: column;
    gap: 1rem;
  }
  .l-hero-stat-divider {
    width: 40px;
    height: 1px;
  }

  .l-cta-h2 { font-size: 1.8rem }
  .l-scroll-hint { display: none }

  .nav-links {
    gap: .4rem;
  }
  .btn-nav {
    font-size: .75rem;
    padding: .25rem .5rem;
  }
}

@media (max-width: 480px) {
  .l-hero-h1 { font-size: 1.7rem }
  .l-section-h2 { font-size: 1.3rem }

  .nav-links a:not(.btn-nav-primary) {
    display: none;
  }
}
