:root {
  --navy: #0c2d57;
  --navy-deep: #08203f;
  --blue: #1763c6;
  --accent: #ff6a2c;
  --accent-dark: #ef551a;
  --bg: #ffffff;
  --soft: #f4f7fb;
  --soft-2: #eef3f9;
  --text: #14253a;
  --muted: #5d6b7d;
  --border: #e3e9f1;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(12, 45, 87, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.hidden { display: none !important; }

a { color: var(--blue); text-decoration: none; }

/* ---------- Brand ---------- */
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), #ff9248);
  color: #fff; font-weight: 800; font-size: 1.2rem;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(255, 106, 44, 0.35);
}
.brand-text {
  display: flex; flex-direction: column; line-height: 1.05;
  font-weight: 800; font-size: 1.18rem; color: var(--navy); letter-spacing: -0.3px;
}
.brand-sub { font-size: 0.68rem; font-weight: 600; color: var(--accent); letter-spacing: 1.5px; text-transform: uppercase; }
.brand.light .brand-text { color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; font-size: 0.95rem;
  padding: 12px 22px; border-radius: 10px;
  cursor: pointer; border: 1px solid transparent;
  transition: transform 0.08s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-sm { padding: 9px 18px; font-size: 0.9rem; }
.btn-lg { padding: 15px 30px; font-size: 1.02rem; }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(255, 106, 44, 0.3); }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 12px 26px rgba(255, 106, 44, 0.4); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--border); }
.btn-ghost:hover { background: var(--soft); }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.nav.scrolled { border-color: var(--border); box-shadow: 0 4px 20px rgba(12, 45, 87, 0.06); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { color: var(--text); font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--accent); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 80px 0 70px;
  background:
    radial-gradient(800px 400px at 85% -5%, rgba(23, 99, 198, 0.10), transparent),
    radial-gradient(600px 380px at -5% 10%, rgba(255, 106, 44, 0.08), transparent),
    var(--bg);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.badge {
  display: inline-block;
  background: var(--soft-2); color: var(--navy);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.2px;
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--border);
  margin-bottom: 22px;
}
.hero h1 {
  font-size: 3.1rem; line-height: 1.08; letter-spacing: -1.2px;
  color: var(--navy); font-weight: 800; margin-bottom: 18px;
}
.hero .hl { color: var(--accent); }
.lead { font-size: 1.14rem; color: var(--muted); max-width: 520px; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 16px; }
.hint { font-size: 0.9rem; color: var(--muted); }
.alert {
  background: #fff3f1; border: 1px solid #ffc9bb; color: #c0341a;
  padding: 11px 15px; border-radius: 10px; font-size: 0.9rem;
  margin-bottom: 18px; max-width: 520px;
}

/* ---------- Hero mockup ---------- */
.hero-visual { perspective: 1400px; }
.window {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  box-shadow: var(--shadow); overflow: hidden;
  transform: rotateY(-6deg) rotateX(3deg);
  transition: transform 0.4s ease;
}
.hero-visual:hover .window { transform: rotateY(0) rotateX(0); }
.window-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px; background: var(--soft); border-bottom: 1px solid var(--border);
}
.window-bar .dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.r { background: #ff5f57; } .dot.y { background: #febc2e; } .dot.g { background: #28c840; }
.window-url {
  margin-left: 10px; font-size: 0.78rem; color: var(--muted);
  background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 3px 12px;
}
.window-body { padding: 20px; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.mock-kpi { background: var(--soft); border: 1px solid var(--border); border-radius: 10px; padding: 12px; display: flex; flex-direction: column; gap: 3px; }
.mk-label { font-size: 0.68rem; color: var(--muted); }
.mk-val { font-size: 1.15rem; font-weight: 800; color: var(--navy); letter-spacing: -0.5px; }
.mk-up { font-size: 0.68rem; color: #1f9d57; font-weight: 700; }
.mk-down { font-size: 0.68rem; color: #e0523b; font-weight: 700; }
.mock-chart {
  display: flex; align-items: flex-end; gap: 12px; height: 110px;
  background: var(--soft); border: 1px solid var(--border); border-radius: 10px; padding: 14px;
}
.mock-chart span {
  flex: 1; border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--blue), #5a9bf0);
}
.mock-chart span:last-child { background: linear-gradient(180deg, var(--accent), #ff9a5e); }

/* ---------- Trust strip ---------- */
.trust { background: var(--navy); color: #fff; padding: 30px 0; }
.trust-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.trust-item { display: flex; flex-direction: column; }
.trust-item strong { font-size: 1.7rem; font-weight: 800; letter-spacing: -0.5px; }
.trust-item span { font-size: 0.86rem; color: #b9c6d8; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.eyebrow { color: var(--accent); font-weight: 700; font-size: 0.82rem; letter-spacing: 1.5px; text-transform: uppercase; }
.section-head h2 { font-size: 2.1rem; color: var(--navy); letter-spacing: -0.8px; margin: 10px 0 12px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px; transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfdbeb; }
.card-icon {
  width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center;
  font-size: 1.5rem; background: var(--soft-2); margin-bottom: 16px;
}
.card h3 { font-size: 1.12rem; color: var(--navy); margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.94rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy), var(--navy-deep));
  color: #fff; padding: 56px 0;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-inner h2 { font-size: 1.8rem; letter-spacing: -0.6px; }
.cta-inner p { color: #b9c6d8; margin-top: 6px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: #c7d2e0; padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 36px; padding-bottom: 40px; }
.footer-brand p { margin-top: 14px; max-width: 320px; font-size: 0.94rem; color: #95a6bd; }
.footer-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 14px; }
.footer-col p { font-size: 0.92rem; margin-bottom: 8px; color: #95a6bd; }
.footer-col a { color: #c7d2e0; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 20px 0; }
.footer-bottom span { font-size: 0.85rem; color: #7f90a8; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 2.5rem; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .window { transform: none; }
}
@media (max-width: 560px) {
  .trust-inner { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero h1 { font-size: 2.1rem; }
}
