/* ══════════════════════════════════════════════════════
   landing.css — Public landing, pricing & legal pages
   Uses the same CSS custom-properties defined in main.css
   ══════════════════════════════════════════════════════ */

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

body.landing {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: #09090b;
  color: #f0ece0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: #e7c112; text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; }

/* ── Utility ──────────────────────────────────────────── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  text-align: center;
  transition: background .2s, transform .15s;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }

.btn-primary { background: #f0b90b; color: #0b0e11; }
.btn-primary:hover { background: #d4a30a; }

.btn-outline { background: transparent; color: #eaecef; border: 1px solid #2b3139; }
.btn-outline:hover { border-color: #f0b90b; color: #f0b90b; }

.btn-ghost { background: transparent; color: #f0b90b; }
.btn-ghost:hover { background: rgba(240,185,11,.08); }

.text-secondary { color: #848e9c; }
.text-accent { color: #f0b90b; }

/* ── Navbar (landing) ─────────────────────────────────── */
.ln-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9,9,11,.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(231,193,18,.06);
  padding: 0 clamp(16px,3vw,40px);
}
.ln-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  height: 64px;
  gap: 0;
}
.ln-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: #e7c112;
  white-space: nowrap;
  letter-spacing: -.03em;
  flex-shrink: 0;
}
.ln-brand:hover { text-decoration: none; color: #e7c112; }
.ln-brand img { width: 36px; height: 36px; object-fit: contain; filter: drop-shadow(0 0 5px rgba(240,185,11,.2)); }

.ln-links { display: flex; gap: 6px; margin: 0 auto; }
.ln-links a {
  color: #9a9080;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: color .2s, background .2s, border-color .2s;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.ln-links a:hover { color: #fff; background: rgba(255,255,255,.05); text-decoration: none; border-bottom-color: rgba(231,193,18,.5); }
.ln-links a.active { color: #e7c112; text-decoration: none; }

.ln-cta { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }
.ln-cta::before { content: ''; width: 1px; height: 20px; background: rgba(255,255,255,.08); margin-right: 4px; }
.ln-cta .btn { padding: 8px 20px; font-size: 14px; }
.ln-cta .btn-ghost { color: rgba(255,255,255,.85); border: 1px solid transparent; background: none; transition: color .2s, background .2s, border-color .2s; }
.ln-cta .btn-ghost:hover { color: #fff; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.15); }
.ln-cta .btn-primary {
  position: relative;
  background: linear-gradient(135deg,#e7c112,#f5d942);
  color: #000;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  padding: 10px 24px;
  overflow: hidden;
  z-index: 1;
}
.ln-cta .btn-primary::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 12px;
  background: linear-gradient(135deg,#e7c112,#f5d942,#e7c112);
  opacity: .6;
  filter: blur(10px);
  z-index: -1;
  transition: opacity .4s;
  animation: cta-glow 2.5s ease-in-out infinite alternate;
}
@keyframes cta-glow {
  0%   { opacity: .4; filter: blur(8px); }
  100% { opacity: .7; filter: blur(12px); }
}
.ln-cta .btn-primary:hover {
  background: linear-gradient(135deg,#f5d942,#fff176);
  box-shadow: 0 0 20px rgba(231,193,18,.35), 0 0 40px rgba(231,193,18,.15);
  transform: translateY(-1px);
}
.ln-cta .btn-primary:hover::before { opacity: .8; }
.ln-cta .btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
  transform: translateX(-100%) skewX(-15deg);
  animation: ln-shimmer 3s ease-in-out infinite;
  border-radius: 10px;
}
@keyframes ln-shimmer {
  0%   { transform: translateX(-100%) skewX(-15deg); }
  100% { transform: translateX(200%) skewX(-15deg); }
}

/* language selector */
.ln-lang { display: flex; align-items: center; margin-left: 4px; }
.ln-lang select {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  padding: 6px 28px 6px 10px;
  font-size: 12px;
  font-family: var(--font, inherit);
  color: #eaecef;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  transition: border-color 0.15s;
}
.ln-lang select:hover,
.ln-lang select:focus { outline: none; border-color: #f0b90b; }

/* hamburger */
.ln-hamburger {
  display: none;
  background: none;
  border: none;
  color: #eaecef;
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
}

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  padding: 100px 24px 80px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(240,185,11,.07) 0%, transparent 60%);
}
.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero h1 .accent { color: #f0b90b; }
.hero .subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: #848e9c;
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.6;
}
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Section shared ───────────────────────────────────── */
.section { padding: 80px 24px; }
.section-dark { background: #0d1117; }

.section-hd {
  text-align: center;
  margin-bottom: 48px;
}
.section-hd h2 {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  margin-bottom: 12px;
}
.section-hd p {
  color: #848e9c;
  max-width: 560px;
  margin: 0 auto;
  font-size: 16px;
}

/* ── What-is (feature grid) ───────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1140px;
  margin: 0 auto;
}
.feature-card {
  background: #161a1e;
  border: 1px solid #2b3139;
  border-radius: 14px;
  padding: 32px 28px;
  transition: border-color .2s;
}
.feature-card:hover { border-color: #f0b90b; }
.feature-icon {
  font-size: 28px;
  margin-bottom: 14px;
  display: block;
}
.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.feature-card p { color: #848e9c; font-size: 14px; line-height: 1.6; }

/* ── How it works (steps) ─────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
  counter-reset: step;
}
.step {
  text-align: center;
  position: relative;
}
.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(240,185,11,.12);
  color: #f0b90b;
  font-weight: 700;
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.step h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.step p { color: #848e9c; font-size: 14px; }

/* ── Why different ────────────────────────────────────── */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1140px;
  margin: 0 auto;
}
.diff-card {
  background: #161a1e;
  border: 1px solid #2b3139;
  border-radius: 14px;
  padding: 28px 24px;
}
.diff-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.diff-card p { color: #848e9c; font-size: 14px; line-height: 1.6; }

/* ── Pricing teaser ───────────────────────────────────── */
.pricing-teaser {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.pricing-teaser .price-tag {
  font-size: 48px;
  font-weight: 800;
  color: #f0b90b;
  margin: 16px 0 4px;
}
.pricing-teaser .price-period {
  color: #848e9c;
  font-size: 14px;
  margin-bottom: 24px;
}

/* ── Pricing page — cards ─────────────────────────────── */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  max-width: 760px;
  margin: 0 auto;
}
.price-card {
  background: #161a1e;
  border: 1px solid #2b3139;
  border-radius: 16px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
}
.price-card.featured { border-color: #f0b90b; }
.price-card .badge {
  display: inline-block;
  background: rgba(240,185,11,.12);
  color: #f0b90b;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 16px;
  align-self: flex-start;
}
.price-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.price-card .card-price {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 4px;
  color: #f0b90b;
}
.price-card .card-period { color: #848e9c; font-size: 14px; margin-bottom: 24px; }
.price-card ul {
  list-style: none;
  flex: 1;
  margin-bottom: 28px;
}
.price-card ul li {
  padding: 6px 0;
  font-size: 14px;
  color: #c4c9d2;
  display: flex;
  align-items: center;
  gap: 8px;
}
.price-card ul li::before {
  content: "\2713";
  color: #f0b90b;
  font-weight: 700;
  font-size: 13px;
}
.price-card .btn { width: 100%; }

.pricing-note {
  text-align: center;
  color: #848e9c;
  font-size: 13px;
  margin-top: 32px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ── FAQ teaser ───────────────────────────────────────── */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid #2b3139;
  padding: 20px 0;
}
.faq-q {
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-q::after {
  content: "+";
  font-size: 20px;
  color: #848e9c;
  transition: transform .2s;
}
.faq-item.open .faq-q::after {
  content: "\2212";
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  color: #848e9c;
  font-size: 14px;
  line-height: 1.6;
}
.faq-item.open .faq-a {
  max-height: 300px;
  padding-top: 12px;
}

/* ── Footer ───────────────────────────────────────────── */
.ln-footer {
  border-top: 1px solid #2b3139;
  padding: 48px 24px 32px;
  background: #0b0e11;
}
.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer-brand p { color: #848e9c; font-size: 13px; margin-top: 12px; line-height: 1.6; max-width: 280px; }
.footer-col h4 {
  font-size: 13px;
  text-transform: uppercase;
  color: #848e9c;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  color: #c4c9d2;
  font-size: 14px;
  padding: 4px 0;
  transition: color .15s;
}
.footer-col a:hover { color: #f0b90b; text-decoration: none; }

.footer-bottom {
  max-width: 1140px;
  margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid #2b3139;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #555;
}
.footer-bottom a { color: #848e9c; margin-left: 16px; }

/* ── Legal pages ──────────────────────────────────────── */
.legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}
.legal-page h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
}
.legal-page .legal-updated {
  color: #848e9c;
  font-size: 13px;
  margin-bottom: 40px;
}
.legal-page h2 {
  font-size: 20px;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 12px;
  padding-top: 20px;
  border-top: 1px solid #2b3139;
}
.legal-page h2:first-of-type { border-top: none; padding-top: 0; }
.legal-page p, .legal-page ul {
  color: #c4c9d2;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 16px;
}
.legal-page ul { padding-left: 24px; list-style-type: disc; }
.legal-page li { margin-bottom: 8px; }
.legal-page li strong { color: #eaecef; }

/* ══════════════════════════════════════════════════════
   Responsive
   ══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .ln-links { display: none; }
  .ln-hamburger { display: block; }

  /* mobile menu */
  .ln-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: #0b0e11;
    border-bottom: 1px solid #2b3139;
    padding: 16px 24px;
    gap: 12px;
  }

  .hero { padding: 60px 20px 48px; }
  .section { padding: 48px 16px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .pricing-cards { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 28px; }
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-cta .btn { width: 100%; max-width: 300px; }
}
