:root {
  --navy: #061427;
  --navy-2: #0b1d3a;
  --blue: #2563eb;
  --blue-2: #3b82f6;
  --black: #0a0a0a;
  --ink: #111827;
  --muted: #64748b;
  --line: #dbe3ee;
  --light: #f8fafc;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(2, 12, 27, 0.18);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Arial, sans-serif; color: var(--ink); background: var(--white); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 20px; border-radius: 12px; font-weight: 800; border: 1px solid transparent; transition: 0.2s ease; cursor: pointer; }
.btn-primary { background: var(--blue); color: white; box-shadow: 0 10px 30px rgba(37,99,235,0.25); }
.btn-primary:hover { background: #1d4ed8; transform: translateY(-1px); }
.btn-secondary { border-color: rgba(255,255,255,0.25); color: white; background: rgba(255,255,255,0.04); }
.btn-secondary:hover { border-color: rgba(255,255,255,0.45); background: rgba(255,255,255,0.08); }
.btn-light { background: white; color: var(--navy); }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(6,20,39,0.86); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(255,255,255,0.1); }
.nav { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo img { width: 190px; filter: brightness(0) invert(1); }
.nav-links { display: flex; align-items: center; gap: 28px; color: rgba(255,255,255,0.78); font-weight: 700; font-size: 14px; }
.nav-links a:hover { color: white; }
.mobile-toggle { display: none; background: none; border: 0; color: white; font-size: 28px; }
.hero { position: relative; overflow: hidden; background: radial-gradient(circle at 80% 20%, rgba(37,99,235,0.33), transparent 32%), linear-gradient(135deg, #061427 0%, #081a33 52%, #030712 100%); color: white; padding: 96px 0 46px; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 25% 25%, rgba(59,130,246,0.45) 0 2px, transparent 3px), radial-gradient(circle at 70% 45%, rgba(59,130,246,0.4) 0 2px, transparent 3px), linear-gradient(115deg, transparent 0 45%, rgba(37,99,235,0.12) 45% 46%, transparent 46% 100%); background-size: 140px 140px, 190px 190px, 100% 100%; opacity: 0.55; pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 0.85fr; gap: 60px; align-items: center; }
.kicker { color: var(--blue-2); text-transform: uppercase; font-weight: 900; letter-spacing: 0.16em; font-size: 12px; margin-bottom: 18px; }
h1 { font-size: clamp(44px, 6vw, 78px); line-height: 0.98; letter-spacing: -0.06em; margin: 0 0 24px; }
.hero p { font-size: 19px; color: rgba(255,255,255,0.78); max-width: 620px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-card { border: 1px solid rgba(255,255,255,0.12); border-radius: 28px; background: rgba(255,255,255,0.05); box-shadow: var(--shadow); padding: 24px; }
.dashboard { border-radius: 22px; background: linear-gradient(180deg, #0d203d, #07162d); border: 1px solid rgba(255,255,255,0.1); padding: 22px; min-height: 390px; }
.metric-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.metric { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 18px; }
.metric strong { display: block; font-size: 30px; line-height: 1; }
.metric span { color: rgba(255,255,255,0.64); font-size: 12px; }
.chart { margin-top: 18px; height: 160px; border-radius: 16px; background: linear-gradient(180deg, rgba(37,99,235,0.16), rgba(255,255,255,0.02)); position: relative; overflow: hidden; }
.chart svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.trust { position: relative; z-index: 1; margin-top: 68px; display: flex; align-items: center; justify-content: space-between; gap: 28px; color: rgba(255,255,255,0.62); font-weight: 800; letter-spacing: 0.08em; font-size: 12px; flex-wrap: wrap; }
.logo-row { display: flex; gap: 34px; flex-wrap: wrap; align-items: center; color: rgba(255,255,255,0.8); letter-spacing: normal; font-size: 15px; }
section { padding: 92px 0; }
.section-head { display: grid; grid-template-columns: 0.95fr 1fr; gap: 70px; align-items: end; margin-bottom: 42px; }
h2 { margin: 0; color: var(--navy); font-size: clamp(32px, 4vw, 52px); line-height: 1.05; letter-spacing: -0.04em; }
.section-head p { color: var(--muted); margin: 0; font-size: 17px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { border: 1px solid var(--line); border-radius: 22px; padding: 26px; background: white; box-shadow: 0 16px 45px rgba(15,23,42,0.06); }
.icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #eff6ff; color: var(--blue); font-weight: 900; font-size: 22px; margin-bottom: 22px; }
.card h3 { margin: 0 0 12px; color: var(--navy); line-height: 1.15; }
.card p { color: var(--muted); margin: 0 0 18px; font-size: 14px; }
.card a { color: var(--blue); font-weight: 800; }
.process { background: var(--light); }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 24px; background: white; overflow: hidden; }
.step { padding: 30px 22px; border-right: 1px solid var(--line); }
.step:last-child { border-right: 0; }
.step-num { width: 34px; height: 34px; border-radius: 999px; display: grid; place-items: center; background: var(--blue); color: white; font-weight: 900; margin-bottom: 22px; }
.step h3 { margin: 0 0 10px; color: var(--navy); }
.step p { margin: 0; color: var(--muted); font-size: 14px; }
.dark { background: linear-gradient(135deg, #061427, #020817); color: white; }
.dark h2 { color: white; }
.dark .section-head p, .dark .card p { color: rgba(255,255,255,0.66); }
.dark .card { background: rgba(255,255,255,0.045); border-color: rgba(255,255,255,0.12); box-shadow: none; }
.dark .card h3 { color: white; }
.cta { padding: 76px 0; background: linear-gradient(135deg, #0b1d3a 0%, #2563eb 100%); color: white; }
.cta-wrap { display: flex; justify-content: space-between; gap: 40px; align-items: center; }
.cta h2 { color: white; }
.cta p { color: rgba(255,255,255,0.78); margin: 14px 0 0; }
.footer { background: #030712; color: rgba(255,255,255,0.72); padding: 62px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 42px; margin-bottom: 44px; }
.footer .logo img { filter: brightness(0) invert(1); }
.footer h4 { color: white; margin: 0 0 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin: 8px 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 13px; }
.page-hero { padding: 86px 0; background: linear-gradient(135deg, #061427, #0b1d3a); color: white; }
.page-hero h1 { max-width: 820px; }
.page-hero p { max-width: 720px; color: rgba(255,255,255,0.78); font-size: 19px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.check-list { list-style: none; padding: 0; margin: 20px 0 0; }
.check-list li { margin: 12px 0; color: var(--muted); }
.check-list li::before { content: "\2713"; color: var(--blue); font-weight: 900; margin-right: 10px; }
.form { border: 1px solid var(--line); border-radius: 24px; padding: 30px; box-shadow: var(--shadow); background: white; }
.form label { display: block; font-weight: 800; margin-top: 14px; color: var(--navy); }
.form input, .form textarea, .form select { width: 100%; padding: 13px 14px; margin-top: 6px; border: 1px solid var(--line); border-radius: 12px; font: inherit; }
.form textarea { min-height: 150px; resize: vertical; }
.hidden { display: none !important; }
.admin-body { min-height: 100vh; background: radial-gradient(circle at top right, rgba(37,99,235,0.18), transparent 28%), linear-gradient(135deg, #061427 0%, #081a33 52%, #030712 100%); }
.admin-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 48px 0 80px; }
.admin-panel { border: 1px solid rgba(255,255,255,0.1); border-radius: 28px; background: rgba(255,255,255,0.06); box-shadow: var(--shadow); padding: 32px; color: white; backdrop-filter: blur(16px); }
.admin-panel h1, .admin-panel h2 { color: white; }
.admin-panel p { color: rgba(255,255,255,0.76); }
.admin-auth { max-width: 560px; margin: 40px auto 0; }
.admin-dashboard { display: grid; gap: 26px; }
.admin-topbar { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; }
.admin-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.admin-form { box-shadow: none; }
.admin-form h2 { margin-bottom: 10px; font-size: 28px; }
.admin-message { min-height: 24px; margin: 16px 0 0; font-weight: 700; color: #bfdbfe; }
.admin-message.error { color: #fca5a5; }
.admin-preview { padding: 28px; }
.admin-section-head { grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.admin-section-head h2 { font-size: clamp(28px, 3vw, 40px); }
.admin-embed-preview { min-height: 180px; border-radius: 18px; border: 1px solid rgba(255,255,255,0.14); background: rgba(255,255,255,0.04); padding: 22px; overflow: auto; }
.admin-embed-preview iframe { width: 100%; min-height: 420px; border: 0; }
.admin-logout { white-space: nowrap; }
@media (max-width: 920px) {
  .mobile-toggle { display: block; }
  .nav-links { position: absolute; left: 20px; right: 20px; top: 78px; display: none; flex-direction: column; align-items: flex-start; background: #061427; padding: 20px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.1); }
  .nav-links.open { display: flex; }
  .hero-grid, .section-head, .two-col, .admin-grid, .admin-section-head { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-wrap, .admin-topbar { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 560px) {
  .container, .admin-shell { width: min(100% - 28px, 1180px); }
  .hero { padding-top: 70px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .cards, .footer-grid { grid-template-columns: 1fr; }
  .trust { align-items: flex-start; flex-direction: column; }
  .admin-panel { padding: 24px; }
}
