/* ── Variables ───────────────────────────────────────────────────────────── */
:root {
  --l-bg: #0f172a;
  --l-bg2: #1e293b;
  --l-bg3: #334155;
  --l-surface: #1e293b;
  --l-border: rgba(255,255,255,0.08);
  --l-text: #f1f5f9;
  --l-text-muted: #94a3b8;
  --l-accent: #6366f1;
  --l-accent-hover: #818cf8;
  --l-accent-soft: rgba(99,102,241,0.15);
  --l-green: #10b981;
  --l-gold: #f59e0b;
  --l-radius: 14px;
  --l-shadow: 0 4px 32px rgba(0,0,0,0.4);
}

[data-theme="light"] {
  --l-bg: #f8fafc;
  --l-bg2: #ffffff;
  --l-bg3: #e2e8f0;
  --l-surface: #ffffff;
  --l-border: rgba(0,0,0,0.08);
  --l-text: #0f172a;
  --l-text-muted: #64748b;
  --l-accent: #4f46e5;
  --l-accent-hover: #6366f1;
  --l-accent-soft: rgba(79,70,229,0.08);
  --l-shadow: 0 4px 24px rgba(0,0,0,0.1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--l-bg);
  color: var(--l-text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* ── Header ──────────────────────────────────────────────────────────────── */
.l-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(15,23,42,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--l-border);
  height: 64px;
  display: flex;
  align-items: center;
}

[data-theme="light"] .l-header {
  background: rgba(248,250,252,0.9);
}

.l-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.l-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--l-text);
}

.l-logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--l-accent), #8b5cf6);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.l-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 1rem;
}

.l-nav a {
  font-size: 0.9rem;
  color: var(--l-text-muted);
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.l-nav a:hover { color: var(--l-text); background: var(--l-accent-soft); }

.l-header-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.l-btn-signin {
  background: var(--l-accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.l-btn-signin:hover { background: var(--l-accent-hover); transform: translateY(-1px); }

.l-btn-ghost {
  background: transparent;
  color: var(--l-text);
  border: 1px solid var(--l-border);
  border-radius: 8px;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.l-btn-ghost:hover { background: var(--l-accent-soft); border-color: var(--l-accent); }

/* ── Section layout ──────────────────────────────────────────────────────── */
.l-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Hero ────────────────────────────────────────────────────────────────── */
.l-hero {
  padding: 7rem 0 5rem;
  text-align: center;
}

.l-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--l-accent-soft);
  color: var(--l-accent-hover);
  border: 1px solid rgba(99,102,241,0.3);
  border-radius: 100px;
  padding: 0.3rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
}

.l-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.l-hero h1 .l-gradient {
  background: linear-gradient(135deg, var(--l-accent), #a78bfa, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.l-hero-sub {
  font-size: 1.1rem;
  color: var(--l-text-muted);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.l-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.l-btn-primary {
  background: linear-gradient(135deg, var(--l-accent), #8b5cf6);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0.85rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 0 24px rgba(99,102,241,0.35);
}
.l-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 4px 32px rgba(99,102,241,0.5); }

.l-btn-secondary {
  background: var(--l-surface);
  color: var(--l-text);
  border: 1px solid var(--l-border);
  border-radius: 10px;
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.l-btn-secondary:hover { border-color: var(--l-accent); background: var(--l-accent-soft); }

/* ── Features strip ──────────────────────────────────────────────────────── */
.l-features {
  padding: 4rem 0;
  border-top: 1px solid var(--l-border);
}

.l-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.l-feature-card {
  background: var(--l-surface);
  border: 1px solid var(--l-border);
  border-radius: var(--l-radius);
  padding: 1.5rem;
  transition: border-color 0.2s, transform 0.2s;
}
.l-feature-card:hover { border-color: var(--l-accent); transform: translateY(-3px); }

.l-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--l-accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.l-feature-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.4rem; }
.l-feature-card p  { font-size: 0.85rem; color: var(--l-text-muted); line-height: 1.5; }

/* ── Pricing ─────────────────────────────────────────────────────────────── */
.l-pricing {
  padding: 5rem 0;
}

.l-section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.l-section-header h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 800; margin-bottom: 0.5rem; }
.l-section-header p  { color: var(--l-text-muted); font-size: 1rem; }

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

.l-plan-card {
  background: var(--l-surface);
  border: 1px solid var(--l-border);
  border-radius: var(--l-radius);
  padding: 2rem;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}
.l-plan-card:hover { transform: translateY(-4px); }

.l-plan-card.l-popular {
  border-color: var(--l-accent);
  box-shadow: 0 0 0 1px var(--l-accent), var(--l-shadow);
}

.l-plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--l-accent), #8b5cf6);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.9rem;
  border-radius: 100px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.l-plan-name { font-size: 1rem; font-weight: 700; margin-bottom: 0.25rem; color: var(--l-text-muted); text-transform: uppercase; letter-spacing: 0.06em; }

.l-plan-price {
  display: flex;
  align-items: flex-end;
  gap: 0.25rem;
  margin: 0.75rem 0 0.5rem;
}
.l-plan-price .amount { font-size: 2.5rem; font-weight: 800; line-height: 1; }
.l-plan-price .currency { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.4rem; }
.l-plan-price .period { font-size: 0.85rem; color: var(--l-text-muted); margin-bottom: 0.5rem; }

.l-plan-desc { font-size: 0.85rem; color: var(--l-text-muted); margin-bottom: 1.5rem; line-height: 1.5; }

.l-plan-features { list-style: none; margin-bottom: 2rem; display: flex; flex-direction: column; gap: 0.6rem; }
.l-plan-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
}
.l-plan-features li .check { color: var(--l-green); font-size: 1rem; flex-shrink: 0; }
.l-plan-features li .soon { font-size: 0.7rem; color: var(--l-gold); background: rgba(245,158,11,0.12); border-radius: 4px; padding: 0.1rem 0.4rem; margin-left: 0.25rem; }

.l-plan-cta {
  width: 100%;
  padding: 0.8rem;
  border-radius: 9px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}
.l-plan-cta.primary {
  background: linear-gradient(135deg, var(--l-accent), #8b5cf6);
  color: #fff;
  box-shadow: 0 0 16px rgba(99,102,241,0.3);
}
.l-plan-cta.primary:hover { transform: translateY(-1px); box-shadow: 0 4px 24px rgba(99,102,241,0.45); }
.l-plan-cta.outline {
  background: transparent;
  color: var(--l-text);
  border: 1.5px solid var(--l-border);
}
.l-plan-cta.outline:hover { border-color: var(--l-accent); background: var(--l-accent-soft); }

.l-stripe-note {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--l-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.l-faq {
  padding: 5rem 0;
  border-top: 1px solid var(--l-border);
}

.l-faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.l-faq-item {
  background: var(--l-surface);
  border: 1px solid var(--l-border);
  border-radius: var(--l-radius);
  overflow: hidden;
  transition: border-color 0.2s;
}
.l-faq-item.open { border-color: var(--l-accent); }

.l-faq-q {
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--l-text);
  cursor: pointer;
}

.l-faq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--l-bg3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, background 0.2s;
  font-size: 0.7rem;
}
.l-faq-item.open .l-faq-chevron { transform: rotate(180deg); background: var(--l-accent-soft); color: var(--l-accent); }

.l-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.l-faq-a-inner {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.875rem;
  color: var(--l-text-muted);
  line-height: 1.7;
}

/* ── Contact ─────────────────────────────────────────────────────────────── */
.l-contact { padding: 5rem 0; border-top: 1px solid var(--l-border); }
.l-contact-form-wrap { max-width: 640px; margin: 0 auto; }
.l-contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.l-contact-group { display: flex; flex-direction: column; gap: 0.375rem; margin-bottom: 1rem; }
.l-contact-label { font-size: 0.875rem; font-weight: 600; color: var(--l-text); }
.l-contact-input,
.l-contact-textarea {
  padding: 0.625rem 0.875rem;
  border: 1.5px solid var(--l-border);
  border-radius: 10px;
  background: var(--l-bg);
  color: var(--l-text);
  font-size: 0.9rem;
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
}
.l-contact-input:focus,
.l-contact-textarea:focus {
  border-color: var(--l-accent);
  box-shadow: 0 0 0 3px var(--l-accent-soft);
}
.l-contact-textarea { resize: vertical; min-height: 130px; }
.l-contact-submit {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--l-accent); color: #fff; font-weight: 700;
  border: none; border-radius: 10px; padding: 0.75rem 1.75rem;
  font-size: 0.95rem; cursor: pointer; transition: opacity 0.15s;
  margin-top: 0.25rem;
}
.l-contact-submit:hover:not(:disabled) { opacity: 0.88; }
.l-contact-submit:disabled { opacity: 0.55; cursor: not-allowed; }
.l-contact-success {
  display: none; text-align: center;
  padding: 3rem 1rem;
  background: var(--l-bg); border-radius: 16px;
  border: 1px solid var(--l-border);
}
.l-contact-success-icon { font-size: 3rem; margin-bottom: 0.75rem; }
.l-contact-success h3 { font-size: 1.25rem; font-weight: 800; color: var(--l-text); margin: 0 0 0.5rem; }
.l-contact-success p { color: var(--l-text-muted); font-size: 0.95rem; margin: 0; }
.l-contact-error {
  margin-bottom: 1rem; padding: 0.75rem 1rem;
  background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.25);
  border-radius: 10px; color: #dc2626; font-size: 0.875rem;
}
@media (max-width: 640px) { .l-contact-row { grid-template-columns: 1fr; } }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.l-footer {
  border-top: 1px solid var(--l-border);
  padding: 2rem 0;
}

.l-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.l-footer-text { font-size: 0.8rem; color: var(--l-text-muted); }
.l-footer-link { font-size: 0.8rem; color: var(--l-text-muted); text-decoration: none; }
.l-footer-link:hover { color: var(--l-accent); text-decoration: underline; }

/* ── Divider ─────────────────────────────────────────────────────────────── */
.l-divider {
  height: 1px;
  background: var(--l-border);
  margin: 0;
}

/* ── Lang switcher (reused from style.css) ───────────────────────────────── */
.lang-switcher { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 0.35rem;
  background: transparent; border: 1px solid var(--l-border);
  border-radius: 8px; padding: 0.35rem 0.6rem;
  color: var(--l-text); cursor: pointer; font-size: 0.8rem; font-weight: 600;
  transition: border-color 0.2s, background 0.2s;
}
.lang-btn:hover { border-color: var(--l-accent); background: var(--l-accent-soft); }
.lang-flag-circle { width: 18px; height: 18px; border-radius: 50%; overflow: hidden; display: inline-flex; flex-shrink: 0; }
.lang-flag-circle svg { width: 100%; height: 100%; }
.lang-chevron { width: 10px; height: 6px; transition: transform 0.2s; }
.lang-btn[aria-expanded="true"] .lang-chevron { transform: rotate(180deg); }
.lang-menu {
  display: none; position: absolute; top: calc(100% + 6px); right: 0;
  background: var(--l-surface); border: 1px solid var(--l-border);
  border-radius: 10px; padding: 0.35rem; min-width: 130px; z-index: 200;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.lang-menu.open { display: block; }
.lang-menu-item {
  display: flex; align-items: center; gap: 0.5rem;
  width: 100%; background: transparent; border: none; border-radius: 7px;
  padding: 0.5rem 0.6rem; color: var(--l-text); cursor: pointer; font-size: 0.82rem;
  transition: background 0.15s;
}
.lang-menu-item:hover { background: var(--l-accent-soft); }
.lang-name { color: var(--l-text-muted); font-size: 0.75rem; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .l-nav { display: none; }
  .l-hero { padding: 6rem 0 3.5rem; }
  .l-hero-actions { flex-direction: column; align-items: stretch; }
  .l-btn-primary, .l-btn-secondary { justify-content: center; }
}
