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

:root {
  --bg: #080c14;
  --bg2: #0d1524;
  --bg3: #111d2e;
  --accent: #00c8ff;
  --accent2: #0077ff;
  --glow: 0 0 18px rgba(0,200,255,.35);
  --text: #c8d8ec;
  --text-dim: #5a7a9a;
  --border: rgba(0,200,255,.15);
  --radius: 10px;
  --font: 'Segoe UI', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.6; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: #fff; }
img { max-width: 100%; }

/* ── Layout ───────────────────────────────────────────────── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

/* ── Header ───────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8,12,20,.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo { display: flex; align-items: center; gap: 10px; font-size: 1.35rem; font-weight: 700; color: #fff; letter-spacing: .5px; }
.logo span { color: var(--accent); }
.logo-img { width: 38px; height: 38px; border-radius: 8px; filter: drop-shadow(0 0 8px rgba(0,200,255,.5)); transition: filter .2s; }
.logo:hover .logo-img { filter: drop-shadow(0 0 14px rgba(0,200,255,.8)); }

.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a { color: var(--text); font-size: .95rem; transition: color .2s; }
.site-nav a:hover, .site-nav a.active { color: var(--accent); }

.nav-actions { display: flex; gap: 12px; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; border-radius: var(--radius); font-weight: 600; font-size: .9rem; cursor: pointer; border: none; transition: all .2s; }
.btn-ghost { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-primary { background: var(--accent); color: #000; box-shadow: var(--glow); }
.btn-primary:hover { background: #fff; color: #000; }
.btn-outline { background: transparent; border: 1px solid var(--accent); color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: #000; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-xl { padding: 16px 40px; font-size: 1.05rem; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  min-height: calc(100vh - 64px);
  display: flex; align-items: center;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,120,255,.12) 0%, transparent 70%),
              radial-gradient(ellipse 40% 40% at 80% 80%, rgba(0,200,255,.07) 0%, transparent 60%),
              var(--bg);
  padding: 80px 0;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='rgba(0,200,255,.04)' stroke-width='1'%3E%3Cpath d='M0 30h60M30 0v60'/%3E%3C/g%3E%3C/svg%3E") repeat;
  pointer-events: none;
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(0,200,255,.1); border: 1px solid rgba(0,200,255,.25); border-radius: 99px; padding: 6px 16px; font-size: .8rem; color: var(--accent); margin-bottom: 20px; }
.hero-badge::before { content: ''; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 6px var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }
.hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; line-height: 1.15; color: #fff; margin-bottom: 20px; }
.hero h1 .accent { color: var(--accent); }
.hero p { font-size: 1.1rem; color: var(--text-dim); margin-bottom: 36px; max-width: 480px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual { position: relative; }
.hero-card {
  background: var(--bg2); border: 1px solid var(--border); border-radius: 16px;
  padding: 28px; position: relative; overflow: hidden;
}
.hero-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); }
.hud-line { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: .85rem; }
.hud-line:last-child { border-bottom: none; }
.hud-key { color: var(--text-dim); }
.hud-val { color: var(--accent); font-weight: 600; font-family: monospace; }
.hud-status { display: flex; align-items: center; gap: 6px; }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot-green { background: #00ff88; box-shadow: 0 0 6px #00ff88; }
.dot-blue { background: var(--accent); box-shadow: var(--glow); }
.voice-bar { display: flex; gap: 3px; align-items: flex-end; height: 24px; }
.voice-bar span { width: 4px; background: var(--accent); border-radius: 2px; animation: bar .8s ease-in-out infinite alternate; }
.voice-bar span:nth-child(2) { animation-delay: .15s; }
.voice-bar span:nth-child(3) { animation-delay: .3s; }
.voice-bar span:nth-child(4) { animation-delay: .45s; }
.voice-bar span:nth-child(5) { animation-delay: .6s; }
@keyframes bar { from{height:4px} to{height:20px} }

/* ── Features ─────────────────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feat-card {
  background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: border-color .2s, box-shadow .2s;
}
.feat-card:hover { border-color: var(--accent); box-shadow: var(--glow); }
.feat-icon { width: 48px; height: 48px; background: rgba(0,200,255,.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 1.4rem; }
.feat-card h3 { color: #fff; margin-bottom: 8px; font-size: 1rem; }
.feat-card p { color: var(--text-dim); font-size: .9rem; }

/* ── Section titles ───────────────────────────────────────── */
.section-title { text-align: center; margin-bottom: 56px; }
.section-title h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; color: #fff; margin-bottom: 12px; }
.section-title p { color: var(--text-dim); max-width: 520px; margin: 0 auto; }

/* ── Plans ────────────────────────────────────────────────── */
.plans-toggle { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 48px; font-size: .95rem; }
.toggle-switch { position: relative; width: 48px; height: 26px; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider { position: absolute; inset: 0; background: var(--bg3); border-radius: 99px; cursor: pointer; border: 1px solid var(--border); transition: .3s; }
.toggle-slider::before { content: ''; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; background: var(--text-dim); border-radius: 50%; transition: .3s; }
.toggle-switch input:checked + .toggle-slider { background: rgba(0,200,255,.2); border-color: var(--accent); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(22px); background: var(--accent); }
.badge-save { background: rgba(0,200,255,.15); color: var(--accent); border-radius: 99px; padding: 2px 10px; font-size: .75rem; font-weight: 600; }

.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.plan-card {
  background: var(--bg2); border: 1px solid var(--border); border-radius: 16px;
  padding: 32px; position: relative; transition: border-color .2s;
}
.plan-card.featured { border-color: var(--accent); box-shadow: var(--glow); }
.plan-popular { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #000; font-size: .75rem; font-weight: 700; padding: 4px 14px; border-radius: 99px; white-space: nowrap; }
.plan-name { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--accent); margin-bottom: 8px; }
.plan-price { margin-bottom: 4px; }
.plan-price .amount { font-size: 2.8rem; font-weight: 800; color: #fff; line-height: 1; }
.plan-price .period { color: var(--text-dim); font-size: .9rem; }
.plan-header { min-height: 160px; }
.plan-desc { color: var(--text-dim); font-size: .875rem; margin-bottom: 0; margin-top: 8px; }
.plan-divider { border: none; border-top: 1px solid var(--border); margin-bottom: 24px; }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.plan-features li { display: flex; align-items: flex-start; gap: 10px; font-size: .875rem; }
.plan-features li .check { color: #00ff88; flex-shrink: 0; margin-top: 2px; }
.plan-features li .cross { color: var(--text-dim); flex-shrink: 0; margin-top: 2px; }
.plan-features li.disabled { color: var(--text-dim); }

/* ── About ────────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text h2 { font-size: 2rem; font-weight: 800; color: #fff; margin-bottom: 16px; }
.about-text p { color: var(--text-dim); margin-bottom: 16px; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.stat-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; text-align: center; }
.stat-card .num { font-size: 2rem; font-weight: 800; color: var(--accent); }
.stat-card .label { font-size: .8rem; color: var(--text-dim); margin-top: 4px; }

/* ── CTA strip ────────────────────────────────────────────── */
.cta-strip {
  background: linear-gradient(135deg, rgba(0,120,255,.15), rgba(0,200,255,.08));
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  text-align: center; padding: 64px 0;
}
.cta-strip h2 { font-size: 2rem; font-weight: 800; color: #fff; margin-bottom: 12px; }
.cta-strip p { color: var(--text-dim); margin-bottom: 32px; }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 60px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand p { color: var(--text-dim); font-size: .875rem; margin: 12px 0 20px; max-width: 260px; }
.footer-col h4 { color: #fff; font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { color: var(--text-dim); font-size: .875rem; transition: color .2s; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-bottom p { color: var(--text-dim); font-size: .8rem; }
.payment-methods { display: flex; gap: 10px; align-items: center; }
.payment-badge {
  background: var(--bg3); border: 1px solid var(--border); border-radius: 6px;
  padding: 5px 10px; font-size: .7rem; font-weight: 700; color: var(--text-dim);
  display: flex; align-items: center; gap: 4px;
}
.payment-badge.visa { color: #1a1f71; background: #fff; }
.payment-badge.mc { color: #eb001b; background: #fff; }
.payment-badge.pp { color: #003087; background: #fff; }
.payment-badge.mb { color: #fff; background: #0066cc; }
.payment-badge.mbway { color: #fff; background: #e4003b; }

/* ── Auth ─────────────────────────────────────────────────── */
.auth-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(0,120,255,.1) 0%, transparent 70%), var(--bg); padding: 40px 24px; }
.auth-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 16px; padding: 40px; width: 100%; max-width: 420px; }
.auth-card h1 { color: #fff; font-size: 1.5rem; margin-bottom: 6px; }
.auth-card .sub { color: var(--text-dim); font-size: .9rem; margin-bottom: 32px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: .85rem; color: var(--text-dim); margin-bottom: 8px; }
.form-group input { width: 100%; background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 16px; color: #fff; font-size: .95rem; outline: none; transition: border-color .2s; }
.form-group input:focus { border-color: var(--accent); }
.form-error { color: #ff4455; font-size: .8rem; margin-top: 6px; }
.auth-footer { text-align: center; margin-top: 24px; font-size: .875rem; color: var(--text-dim); }

/* ── Page hero (inner pages) ──────────────────────────────── */
.page-hero { padding: 72px 0 56px; text-align: center; background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(0,120,255,.1) 0%, transparent 70%); border-bottom: 1px solid var(--border); }
.page-hero h1 { font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 800; color: #fff; margin-bottom: 12px; }
.page-hero p { color: var(--text-dim); max-width: 520px; margin: 0 auto; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .plans-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .site-nav { display: none; }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
