:root {
  --primary: #1565C0;
  --primary-light: #1E88E5;
  --accent: #FF6F00;
  --accent-light: #FFA000;
  --bg: #0A0E1A;
  --surface: #131929;
  --surface2: #1A2235;
  --border: #1E2D45;
  --text: #E2E8F0;
  --text-muted: #8899AA;
  --success: #00C853;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,.4);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', system-ui, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }
a { color: var(--primary-light); text-decoration: none; }
a:hover { color: var(--accent-light); }
img { max-width: 100%; }

/* ── Nav ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,14,26,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.nav-inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.2rem; color: var(--text); }
.nav-logo span { color: var(--accent); }
.nav-logo svg { width: 32px; height: 32px; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a { padding: 8px 14px; border-radius: 8px; color: var(--text-muted); font-size: .9rem; transition: .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--surface2); }
.nav-cta { background: var(--accent); color: #fff !important; padding: 8px 18px !important; border-radius: 8px !important; font-weight: 600; }
.nav-cta:hover { background: var(--accent-light) !important; color: #fff !important; }
.nav-menu-btn { display: none; background: none; border: none; color: var(--text); cursor: pointer; padding: 8px; }

/* ── Hero ── */
.hero {
  min-height: 92vh; display: flex; align-items: center;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(21,101,192,.25) 0%, transparent 70%);
  text-align: center; padding: 80px 24px;
}
.hero-inner { max-width: 800px; margin: 0 auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(21,101,192,.15); border: 1px solid rgba(21,101,192,.4);
  color: var(--primary-light); padding: 6px 16px; border-radius: 100px;
  font-size: .85rem; font-weight: 500; margin-bottom: 32px;
}
.hero h1 { font-size: clamp(2.2rem,5vw,3.8rem); font-weight: 800; line-height: 1.15; margin-bottom: 20px; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero p { font-size: 1.15rem; color: var(--text-muted); max-width: 600px; margin: 0 auto 40px; }
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: var(--radius); font-size: 1rem; font-weight: 600; cursor: pointer; transition: .2s; border: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-light); color: #fff; }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-outline:hover { background: var(--surface2); color: var(--text); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-light); color: #fff; }

/* ── Section ── */
section { padding: 80px 24px; }
.section-inner { max-width: 1120px; margin: 0 auto; }
.section-label { color: var(--accent); font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.section-title { font-size: clamp(1.8rem,3vw,2.6rem); font-weight: 700; margin-bottom: 16px; }
.section-sub { color: var(--text-muted); font-size: 1.05rem; max-width: 560px; }
.section-header { margin-bottom: 56px; }
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin: 0 auto; }

/* ── Features ── */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.feature-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
  transition: border-color .2s, transform .2s;
}
.feature-card:hover { border-color: var(--primary); transform: translateY(-4px); }
.feature-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 1.5rem; }
.feature-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 10px; }
.feature-card p { color: var(--text-muted); font-size: .95rem; }

/* ── Stats ── */
.stats-section { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 56px 24px; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px; text-align: center; max-width: 900px; margin: 0 auto; }
.stat-number { font-size: 2.5rem; font-weight: 800; color: var(--accent); }
.stat-label { color: var(--text-muted); font-size: .9rem; margin-top: 4px; }

/* ── Pricing ── */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; max-width: 960px; margin: 0 auto; }
.pricing-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px; position: relative;
  transition: transform .2s;
}
.pricing-card:hover { transform: translateY(-4px); }
.pricing-card.featured { border-color: var(--accent); background: linear-gradient(160deg, rgba(255,111,0,.06) 0%, var(--surface) 60%); }
.pricing-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: .78rem; font-weight: 700; padding: 4px 16px; border-radius: 100px; white-space: nowrap; }
.pricing-name { font-size: .85rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.pricing-price { font-size: 2.6rem; font-weight: 800; color: var(--text); }
.pricing-price sup { font-size: 1.2rem; font-weight: 600; vertical-align: super; }
.pricing-price span { font-size: 1rem; color: var(--text-muted); font-weight: 400; }
.pricing-desc { color: var(--text-muted); font-size: .9rem; margin: 12px 0 28px; min-height: 40px; }
.pricing-features { list-style: none; margin-bottom: 32px; }
.pricing-features li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: .95rem; color: var(--text-muted); }
.pricing-features li:last-child { border: none; }
.pricing-features li::before { content: '✓'; color: var(--success); font-weight: 700; flex-shrink: 0; }
.pricing-features li.no::before { content: '✕'; color: var(--border); }
.pricing-features li.no { opacity: .5; }
.pricing-card .btn { width: 100%; justify-content: center; }

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, rgba(21,101,192,.2) 0%, rgba(255,111,0,.12) 100%);
  border: 1px solid var(--border); border-radius: 20px;
  padding: 64px 40px; text-align: center; max-width: 800px; margin: 0 auto;
}
.cta-banner h2 { font-size: clamp(1.6rem,3vw,2.4rem); font-weight: 700; margin-bottom: 16px; }
.cta-banner p { color: var(--text-muted); margin-bottom: 32px; font-size: 1.05rem; }

/* ── About ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-text h2 { font-size: clamp(1.8rem,3vw,2.4rem); font-weight: 700; margin-bottom: 20px; }
.about-text p { color: var(--text-muted); margin-bottom: 16px; }
.about-visual { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 48px; display: flex; align-items: center; justify-content: center; min-height: 300px; font-size: 6rem; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 24px; }
.team-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; text-align: center; }
.team-avatar { width: 72px; height: 72px; border-radius: 50%; background: var(--surface2); display: flex; align-items: center; justify-content: center; font-size: 2rem; margin: 0 auto 16px; border: 2px solid var(--border); }
.team-card h4 { font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.team-card p { color: var(--text-muted); font-size: .85rem; }

/* ── Policy ── */
.policy-content { max-width: 760px; margin: 0 auto; }
.policy-content h2 { font-size: 1.4rem; font-weight: 700; margin: 40px 0 12px; color: var(--text); }
.policy-content h2:first-child { margin-top: 0; }
.policy-content p, .policy-content li { color: var(--text-muted); margin-bottom: 12px; font-size: .97rem; }
.policy-content ul { padding-left: 20px; }
.policy-content li { margin-bottom: 6px; }
.policy-meta { color: var(--text-muted); font-size: .85rem; margin-bottom: 48px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }

/* ── Auth ── */
.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 80px 24px; }
.auth-card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 48px; width: 100%; max-width: 440px; }
.auth-logo { text-align: center; margin-bottom: 32px; }
.auth-logo h2 { font-size: 1.6rem; font-weight: 800; }
.auth-logo h2 span { color: var(--accent); }
.auth-logo p { color: var(--text-muted); font-size: .9rem; margin-top: 4px; }
.auth-tabs { display: flex; background: var(--bg); border-radius: 10px; padding: 4px; margin-bottom: 32px; }
.auth-tab { flex: 1; padding: 10px; text-align: center; border-radius: 8px; font-size: .9rem; font-weight: 500; cursor: pointer; color: var(--text-muted); border: none; background: none; transition: .2s; }
.auth-tab.active { background: var(--surface2); color: var(--text); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: .85rem; font-weight: 500; margin-bottom: 8px; color: var(--text-muted); }
.form-group input {
  width: 100%; padding: 12px 16px; background: var(--bg); border: 1px solid var(--border);
  border-radius: 10px; color: var(--text); font-size: .97rem; transition: .2s;
}
.form-group input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(21,101,192,.15); }
.form-group input::placeholder { color: var(--text-muted); opacity: .6; }
.auth-submit { width: 100%; padding: 14px; background: var(--primary); color: #fff; border: none; border-radius: 10px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: .2s; margin-top: 8px; }
.auth-submit:hover { background: var(--primary-light); }
.auth-submit:disabled { opacity: .6; cursor: not-allowed; }
.auth-msg { margin-top: 16px; padding: 12px 16px; border-radius: 8px; font-size: .9rem; display: none; }
.auth-msg.success { background: rgba(0,200,83,.1); border: 1px solid rgba(0,200,83,.3); color: #00C853; display: block; }
.auth-msg.error { background: rgba(229,57,53,.1); border: 1px solid rgba(229,57,53,.3); color: #EF5350; display: block; }
.auth-divider { text-align: center; color: var(--text-muted); font-size: .85rem; margin: 20px 0; position: relative; }
.auth-divider::before, .auth-divider::after { content: ''; position: absolute; top: 50%; width: calc(50% - 24px); height: 1px; background: var(--border); }
.auth-divider::before { left: 0; }
.auth-divider::after { right: 0; }
.forgot-link { text-align: right; font-size: .82rem; margin-top: -12px; margin-bottom: 20px; }

/* ── Footer ── */
footer { background: var(--surface); border-top: 1px solid var(--border); padding: 56px 24px 32px; }
.footer-inner { max-width: 1120px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { color: var(--text-muted); font-size: .9rem; margin-top: 12px; max-width: 260px; }
.footer-col h4 { font-size: .9rem; font-weight: 600; margin-bottom: 16px; color: var(--text); }
.footer-col a { display: block; color: var(--text-muted); font-size: .9rem; margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { color: var(--text-muted); font-size: .85rem; }

/* ── Page Hero ── */
.page-hero { padding: 80px 24px 60px; text-align: center; border-bottom: 1px solid var(--border); background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(21,101,192,.12) 0%, transparent 70%); }
.page-hero h1 { font-size: clamp(1.8rem,4vw,3rem); font-weight: 800; margin-bottom: 12px; }
.page-hero p { color: var(--text-muted); font-size: 1.05rem; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: fixed; inset: 64px 0 0; background: var(--bg); padding: 24px; gap: 4px; z-index: 99; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 16px; font-size: 1rem; }
  .nav-menu-btn { display: block; }
  .hero { min-height: 80vh; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
  .auth-card { padding: 32px 24px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-btns .btn { justify-content: center; }
}
