:root{
  --bg:#f7f9fc;
  --card:#ffffff;
  --text:#0b1320;
  --muted:#6a7a8c;
  --line:#e9eef5;
  --primary:#0A4A8B;
  --accent:#00A8E8;
  --navy:#0b1220;
  --shadow: 0 18px 50px rgba(11,18,32,.10);
  --shadow-soft: 0 10px 30px rgba(11,18,32,.10);
  --radius:16px;
  --radius-lg:22px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.45;
}
img{max-width:100%; height:auto}
a{color:inherit; text-decoration:none}
p{margin:0 0 16px}
h1,h2,h3,h4{margin:0}
h2{
  font-size: 42px;
  letter-spacing: -0.02em;
}
h3{
  font-size: 18px;
  letter-spacing: -0.01em;
}
.container{
  width:min(1120px, calc(100% - 48px));
  margin:0 auto;
}
.visually-hidden{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap}

.icon{width:18px; height:18px; display:inline-block}
.icon-btn{
  border:0;
  background:transparent;
  padding:10px;
  border-radius:12px;
  cursor:pointer;
  color:inherit;
}
.icon-btn:hover{background:rgba(255,255,255,.08)}
.nav-wrap{
  position:fixed;
  top:0; left:0; right:0;
  z-index:50;
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-wrap.is-solid{
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap.is-solid .nav-links a{color:var(--text)}
.nav-wrap.is-solid .brand-name{color:var(--text)}
.nav-wrap.is-solid .btn-ghost{
  background: rgba(11,18,32,.05);
  border-color: rgba(11,18,32,.12);
  color:var(--text);
}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
}
.brand-mark{
  width:28px; height:28px;
  display:grid; place-items:center;
  border-radius:9px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color:white;
  font-weight:800;
  font-size:12px;
}
.brand-name{
  font-weight:600;
  color:white;
  letter-spacing:-0.01em;
}
.nav-links{
  display:flex;
  gap:26px;
  align-items:center;
}
.nav-links a{
  color: rgba(255,255,255,.9);
  font-size:13px;
  font-weight:500;
  padding:8px 0;
  position:relative;
}
.nav-links a::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:2px;
  height:2px;
  transform:scaleX(0);
  transform-origin:left;
  background: linear-gradient(90deg, var(--accent), rgba(0,168,232,0));
  transition: transform .25s ease;
  opacity:.9;
}
.nav-links a:hover::after,
.nav-links a.active::after{transform:scaleX(1)}

.nav-cta{display:flex; align-items:center; gap:10px}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 13px;
  border:1px solid transparent;
  cursor:pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover{transform: translateY(-1px)}
.btn:active{transform: translateY(0)}
.btn-primary{
  color:white;
  background: linear-gradient(90deg, #0b4f97, #00a8e8);
  box-shadow: 0 16px 30px rgba(0, 168, 232, .18);
}
.btn-primary:hover{box-shadow: 0 18px 36px rgba(0, 168, 232, .22)}
.btn-outline{
  color: rgba(255,255,255,.92);
  border-color: rgba(255,255,255,.22);
  background: rgba(255,255,255,.04);
}
.btn-outline:hover{background: rgba(255,255,255,.07)}
.btn-ghost{
  color: rgba(255,255,255,.92);
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.04);
  padding: 10px 16px;
  border-radius: 999px;
}
.btn-wide{width:100%}

.hero{
  position:relative;
  min-height: 820px;
  padding-top: 72px;
  overflow:hidden;
}
.hero-bg{
  position:absolute;
  inset:0;
  background-image: url("../img/hero-bg.jpg");
  background-size: cover;
  background-position: 50% 35%;
  transform: scale(1.03);
}
.hero-overlay{
  position:absolute;
  inset:0;
  background: radial-gradient(1100px 600px at 35% 45%, rgba(0,168,232,.18), rgba(0,0,0,0) 60%),
              linear-gradient(180deg, rgba(11,18,32,.42), rgba(11,18,32,.20) 40%, rgba(11,18,32,.12));
}
.hero-noise{
  position:absolute;
  inset:0;
  background-image:url("../img/noise.png");
  opacity:.05;
  mix-blend-mode: overlay;
  pointer-events:none;
}
.hero-grid{
  position:relative;
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  align-items:center;
  gap: 64px;
  padding: 86px 0 64px;
}
.badge-row{display:flex; gap:10px; flex-wrap:wrap; margin-bottom:18px}
.badge{
  display:inline-flex;
  align-items:center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
  background: #e9f6ff;
  border: 1px solid rgba(0,168,232,.22);
}
.badge-dark{
  color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.14);
}
.hero-title{
  color:white;
  font-size: 56px;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom:16px;
}
.accent{color: var(--accent)}
.hero-sub{
  color: rgba(255,255,255,.78);
  max-width: 520px;
  font-size: 13px;
  margin-bottom:24px;
}
.hero-actions{display:flex; gap:12px; flex-wrap:wrap}

.hero-mock{
  display:flex;
  justify-content:center;
}
.mock-window{
  width:min(520px, 100%);
  border-radius: var(--radius);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(10px);
  box-shadow: 0 22px 55px rgba(11,18,32,.25);
  overflow:hidden;
}
.mock-top{
  display:flex;
  align-items:center;
  gap:6px;
  padding: 10px 12px;
  background: rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.dot{width:8px; height:8px; border-radius:50%}
.dot.red{background:#ff5f57}
.dot.yellow{background:#febc2e}
.dot.green{background:#28c840}
.mock-title{
  margin-left:6px;
  font-size: 11px;
  color: rgba(255,255,255,.8);
  font-weight:600;
}
.mock-body{padding:14px}
.mock-input{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 12px 12px;
  border-radius: 12px;
  background: rgba(11,18,32,.28);
  border: 1px solid rgba(255,255,255,.08);
}
.mini-mark{
  width:22px; height:22px;
  display:grid; place-items:center;
  border-radius:6px;
  background: rgba(0,168,232,.16);
  color: rgba(255,255,255,.92);
  font-weight:800;
  font-size:10px;
}
.mock-placeholder{
  color: rgba(255,255,255,.65);
  font-size: 12px;
}
.mock-suggestion{
  margin-top:12px;
  margin-left:auto;
  width:max-content;
  max-width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0,168,232,.18);
  border: 1px solid rgba(0,168,232,.30);
  color: rgba(255,255,255,.86);
  font-size: 12px;
}
.mock-dots{
  margin-top:12px;
  display:flex;
  gap:6px;
  padding-left:6px;
}
.mock-dots span{
  width:6px; height:6px; border-radius:50%;
  background: rgba(255,255,255,.24);
}
.scroll-indicator{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  bottom: 26px;
}
.scroll-mouse{
  width:18px; height:30px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.26);
  position:relative;
}
.scroll-mouse::after{
  content:"";
  width:4px; height:4px;
  border-radius:50%;
  background: rgba(255,255,255,.65);
  position:absolute;
  left:50%;
  top:7px;
  transform:translateX(-50%);
  animation: scrollDot 1.6s infinite;
}
@keyframes scrollDot{
  0%{opacity:.2; transform:translate(-50%,0)}
  40%{opacity:1}
  100%{opacity:.2; transform:translate(-50%,12px)}
}

/* Sections */
.section{
  padding: 96px 0;
  position:relative;
}
.section-features{
  background: #fbfcff;
}
.section-features::before{
  content:"";
  position:absolute;
  left:0; right:0;
  top:-140px;
  height:180px;
  background: linear-gradient(180deg, rgba(10,74,139,0), rgba(10,74,139,.06), rgba(10,74,139,0));
  pointer-events:none;
}
.section-value{
  background: radial-gradient(900px 500px at 12% 70%, rgba(0,168,232,.10), rgba(0,0,0,0) 60%),
              radial-gradient(900px 500px at 88% 40%, rgba(10,74,139,.08), rgba(0,0,0,0) 60%),
              #fbfcff;
}
.section-demo{
  background: #fbfcff;
}
.section-contact{
  background: radial-gradient(900px 500px at 15% 50%, rgba(0,168,232,.10), rgba(0,0,0,0) 60%),
              radial-gradient(900px 500px at 95% 30%, rgba(10,74,139,.08), rgba(0,0,0,0) 60%),
              #fbfcff;
}

.section-head{
  text-align:center;
  margin-bottom: 44px;
}
.section-head p{
  color: var(--muted);
  margin-top:10px;
  font-size:13px;
}
.section-head .badge{margin-bottom:14px}

.grid{
  display:grid;
  gap: 20px;
}
.grid-4{grid-template-columns: repeat(4, 1fr)}
.grid-3{grid-template-columns: repeat(3, 1fr)}

.card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 28px rgba(11,18,32,.06);
}

.feature-card{
  padding: 22px 22px 20px;
}
.icon-tile{
  width:34px; height:34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display:grid;
  place-items:center;
  color:white;
  margin-bottom:14px;
}
.feature-card h3{
  margin-bottom:6px;
}
.feature-card p{
  color: var(--muted);
  font-size: 12px;
  margin:0;
  line-height:1.4;
}

.value-card{
  padding: 26px 24px 22px;
  position:relative;
}
.pill{
  position:absolute;
  top:-12px;
  left:50%;
  transform:translateX(-50%);
  padding:6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color:white;
  background: #0b4f97;
  box-shadow: 0 10px 24px rgba(11,18,32,.12);
  white-space:nowrap;
}
.pill span{font-weight:600; opacity:.9}
.pill-accent{background: linear-gradient(90deg, #0b4f97, #00a8e8)}
.value-icon{
  width:34px; height:34px;
  border-radius: 12px;
  background: rgba(11,18,32,.05);
  display:grid; place-items:center;
  color: #0b4f97;
  margin-bottom:14px;
}
.value-card h3{margin-bottom:10px}
.value-card p{
  color: var(--muted);
  font-size: 13px;
  margin:0;
}
.value-line{
  height:3px;
  width: 34px;
  border-radius: 99px;
  background: rgba(0,168,232,.55);
  margin-top: 18px;
}

/* Demo */
.demo-window{
  border-radius: 18px;
  overflow:hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background:#0c0f14;
}
.demo-top{
  height:34px;
  display:flex;
  align-items:center;
  gap:8px;
  padding:0 14px;
  background: rgba(255,255,255,.06);
}
.demo-url{
  margin:0 auto;
  font-size: 11px;
  color: rgba(255,255,255,.65);
  background: rgba(255,255,255,.08);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
}
.demo-media{
  position:relative;
  padding: 0;
}
.demo-video{
  width:100%;
  display:block;
  background: #000;
  aspect-ratio: 16 / 9;
}
.demo-caption{
  position:absolute;
  left: 18px;
  bottom: 18px;
  color:white;
  z-index:2;
}
.demo-caption-title{
  font-weight:700;
  letter-spacing:-0.01em;
  margin-bottom:3px;
}
.demo-caption-sub{
  font-size: 12px;
  color: rgba(255,255,255,.75);
}
.demo-fab{
  position:absolute;
  right: 18px;
  bottom: 18px;
  width:44px; height:44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.10);
  color:white;
  display:grid;
  place-items:center;
  cursor:pointer;
  z-index:2;
}
.demo-fab:hover{background: rgba(255,255,255,.14)}

/* Contact */
.contact-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  align-items:start;
  gap: 54px;
}
.contact-copy h2{
  font-size: 44px;
  line-height:1.05;
  margin: 14px 0 14px;
}
.contact-copy p{color: var(--muted); max-width: 520px}
.checklist{
  list-style:none;
  padding:0;
  margin: 18px 0 0;
  display:grid;
  gap:10px;
  color: #3c4b5c;
  font-size: 12px;
}
.check{
  width:18px; height:18px;
  border-radius: 999px;
  background: rgba(0,168,232,.10);
  color: #0b4f97;
  display:inline-grid;
  place-items:center;
  margin-right:8px;
  transform: translateY(3px);
}
.form-card{
  padding: 18px 18px 16px;
  box-shadow: var(--shadow-soft);
}
.form-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}
.field-wide{grid-column: 1 / -1}
.field-label{
  font-size: 11px;
  font-weight: 600;
  color: #6e7d8d;
  display:block;
  margin-bottom: 6px;
}
input, textarea{
  width:100%;
  border-radius: 12px;
  border: 1px solid #e7edf4;
  background: #ffffff;
  padding: 11px 12px;
  font: inherit;
  font-size: 12px;
  color: var(--text);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
textarea{resize: vertical; min-height: 96px}
input:focus, textarea:focus{
  border-color: rgba(0,168,232,.55);
  box-shadow: 0 0 0 4px rgba(0,168,232,.12);
}
.form-hint{
  color: #8b97a6;
  font-size: 10px;
  text-align:center;
  margin: 10px 0 0;
}

/* Footer */
.footer{
  background: #0a1222;
  color: rgba(255,255,255,.8);
  padding-top: 44px;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr .8fr 1fr;
  gap: 26px;
  padding-bottom: 34px;
}
.footer-brand p{
  color: rgba(255,255,255,.65);
  font-size: 12px;
  max-width: 320px;
}
.footer-col h4{
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,.92);
  margin-bottom: 10px;
}
.footer-col a{
  display:block;
  font-size: 12px;
  color: rgba(255,255,255,.65);
  margin: 8px 0;
}
.footer-col a:hover{color: rgba(255,255,255,.9)}
.footer-address{
  font-size: 12px;
  color: rgba(255,255,255,.65);
  margin-top: 8px;
  line-height: 1.5;
}
.social{display:flex; gap:10px; margin-top:14px}
.social-btn{
  width:28px; height:28px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  display:grid; place-items:center;
  color: rgba(255,255,255,.80);
}
.social-btn:hover{background: rgba(255,255,255,.10)}
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 14px 0;
}
.footer-bottom-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.footer-links{display:flex; gap:18px}
.footer-links a{
  font-size: 11px;
  color: rgba(255,255,255,.55);
}
.footer-links a:hover{color: rgba(255,255,255,.9)}
.muted{font-size: 11px; color: rgba(255,255,255,.45)}

.footer-compact{padding-top:0}
.legal-header .nav-wrap{position:sticky}
.legal{
  padding: 120px 0 64px;
}
.legal h1{
  font-size: 38px;
  letter-spacing:-0.02em;
  margin-bottom: 18px;
}
.legal-card{
  padding: 22px;
}

/* Mobile drawer */
.nav-toggle{display:none}
.mobile-drawer{
  display:none;
  position:fixed;
  inset:0;
  background: rgba(11,18,32,.55);
  backdrop-filter: blur(6px);
  z-index:60;
}
.mobile-inner{
  position:absolute;
  top: 12px;
  right: 12px;
  width: min(360px, calc(100% - 24px));
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 14px;
  display:grid;
  gap: 10px;
}
.mobile-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.brand-inline{display:flex; align-items:center; gap:10px}
.mobile-inner a{
  padding: 10px 10px;
  border-radius: 12px;
  color: var(--text);
  font-weight: 600;
  font-size: 13px;
}
.mobile-inner a:hover{background: rgba(11,18,32,.06)}
.mobile-inner .btn{margin-top: 6px}

/* Reveal animation */
.reveal{
  opacity: 0;
  transform: translateY(10px);
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
  transition: opacity .55s ease, transform .55s ease;
}

/* Toast */
.toast{
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  background: rgba(255,255,255,.92);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  box-shadow: var(--shadow-soft);
  font-size: 12px;
  font-weight: 600;
  opacity: 0;
  pointer-events:none;
  transition: opacity .25s ease, transform .25s ease;
}
.toast.show{
  opacity: 1;
  transform: translateX(-50%) translateY(-6px);
}

/* Responsive */
@media (max-width: 980px){
  .grid-4{grid-template-columns: repeat(2, 1fr)}
  .hero-grid{grid-template-columns: 1fr; gap: 34px; padding-top: 58px}
  .hero{min-height: 900px}
  .hero-title{font-size: 46px}
  .contact-grid{grid-template-columns: 1fr; gap: 28px}
  .footer-grid{grid-template-columns: 1fr 1fr; gap: 22px}
  .nav-links{display:none}
  .nav-toggle{display:inline-flex}
}
@media (max-width: 560px){
  .container{width: min(1120px, calc(100% - 32px))}
  h2{font-size: 34px}
  .hero-title{font-size: 40px}
  .grid-3{grid-template-columns: 1fr}
  .grid-4{grid-template-columns: 1fr}
  .form-grid{grid-template-columns: 1fr}
  .footer-bottom-row{flex-direction:column; align-items:flex-start}
}
