:root{
  --bg: #f7fbff;
  --bg2:#eef6ff;
  --panel:#ffffffcc;
  --stroke:#d7e6f7;

  --text:#0b1b33;
  --muted:#4a617a;

  --accent:#0a84ff;
  --accent2:#22c3ff;
  --ice:#8bd3ff;

  --shadow: 0 18px 60px rgba(10, 40, 90, .12);
  --radius: 18px;

  /* JS will update this when cookie banner is visible */
  --bottom-ui-offset: 0px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background:
    radial-gradient(1000px 700px at 15% 10%, rgba(34,195,255,.18), transparent 55%),
    radial-gradient(900px 600px at 85% 20%, rgba(10,132,255,.16), transparent 55%),
    radial-gradient(900px 600px at 55% 90%, rgba(139,211,255,.18), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  color:var(--text);
  overflow-x:hidden;
}

a{color:inherit;text-decoration:none}
.container{
  width:min(1160px, calc(100% - 40px));
  margin:0 auto;
}

/* Winter background details */
.bg-winter{
  position:fixed;
  inset:0;
  pointer-events:none;
  opacity:.55;
  background-image:
    radial-gradient(circle at 18% 18%, rgba(255,255,255,.95), transparent 28%),
    radial-gradient(circle at 82% 24%, rgba(255,255,255,.88), transparent 30%),
    radial-gradient(circle at 72% 78%, rgba(255,255,255,.78), transparent 34%),
    radial-gradient(circle at 24% 82%, rgba(255,255,255,.88), transparent 34%);
  filter: blur(0.5px);
}

/* Topbar */
.topbar{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(247,251,255,.88), rgba(247,251,255,.62));
  border-bottom:1px solid rgba(215,230,247,.9);
}
.nav-wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:14px;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-width: 220px;
}
.brand-mark{
  width:40px;height:40px;border-radius: 14px;
  display:grid;place-items:center;
  border:1px solid rgba(10,132,255,.28);
  box-shadow: 0 0 0 6px rgba(10,132,255,.06);
  background: rgba(255,255,255,.8);
}
.brand-mark.sm{ width:32px;height:32px;border-radius:12px; box-shadow:none;}
.mark-core{
  width:18px;height:18px;border-radius:10px;
  background: radial-gradient(circle at 35% 35%, var(--accent), rgba(10,132,255,.25));
  box-shadow: 0 0 18px rgba(10,132,255,.22);
}
.brand-name{ font-weight:900; letter-spacing:.2px; }

.nav{
  display:flex;
  gap:22px;
  align-items:center;
}
.nav a{
  color: rgba(11,27,51,.86);
  font-size:14px;
  padding:8px 10px;
  border-radius:12px;
  border:1px solid transparent;
}
.nav a:hover{
  border-color: rgba(10,132,255,.18);
  background: rgba(255,255,255,.7);
}

.nav-cta{
  display:flex;
  align-items:center;
  gap:10px;
}

.nav-burger{
  display:none;
  background: rgba(255,255,255,.75);
  border:1px solid rgba(215,230,247,.9);
  border-radius:12px;
  padding:10px;
  cursor:pointer;
}
.nav-burger span{
  display:block;
  width:18px;height:2px;
  background: rgba(11,27,51,.85);
  margin:4px 0;
  border-radius:2px;
}

/* Mobile drawer */
.mobile-drawer{
  display:none;
  border-top:1px solid rgba(215,230,247,.9);
  background: rgba(247,251,255,.92);
}
.mobile-drawer.open{ display:block; }
.drawer-inner{
  width:min(1160px, calc(100% - 40px));
  margin:0 auto;
  padding:14px 0 18px;
  display:grid;
  gap:10px;
}
.drawer-link{
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(215,230,247,.9);
  background: rgba(255,255,255,.72);
}
.drawer-actions{ display:grid; gap:10px; margin-top:6px; }
.w100{ width:100%; }

/* Buttons */
.btn{
  border:none;
  border-radius: 14px;
  padding:12px 14px;
  font-weight:800;
  cursor:pointer;
  transition: transform .08s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  user-select:none;
}
.btn:active{ transform: translateY(1px); }
.btn-primary{
  color:#ffffff;
  background: linear-gradient(135deg, var(--accent), rgba(34,195,255,.9));
  box-shadow: 0 16px 40px rgba(10,132,255,.18);
}
.btn-primary:hover{ box-shadow: 0 18px 55px rgba(10,132,255,.24); }
.btn-ghost{
  color: rgba(11,27,51,.9);
  background: rgba(255,255,255,.75);
  border:1px solid rgba(215,230,247,.95);
}
.btn-ghost:hover{
  border-color: rgba(10,132,255,.2);
  background: rgba(255,255,255,.92);
}

/* Sections */
.section{ padding: 64px 0; }
.section-head{ display:grid; gap:8px; margin-bottom: 20px; }
.section-head h2{ margin:0; font-size: 34px; letter-spacing:.2px; }
.section-head p{ margin:0; color: var(--muted); }

/* Hero */
.hero{ padding: 42px 0 26px; }
.hero-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items:stretch;
}
.pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:999px;
  background: rgba(255,255,255,.78);
  border:1px solid rgba(215,230,247,.95);
  color: rgba(11,27,51,.88);
  font-size: 13px;
  width: fit-content;
}
.winter-pill{ box-shadow: 0 10px 30px rgba(10,132,255,.08); }
.pill .dot{
  width:10px;height:10px;border-radius:99px;
  background: var(--accent);
  box-shadow:0 0 18px rgba(10,132,255,.35);
}
.pill-strong{ color: rgba(10,132,255,.98); font-weight:950; }
.pill-sep{ opacity:.6; }

.hero-title{
  margin:14px 0 8px;
  font-size: 46px;
  line-height: 1.05;
}
.hero-sub{
  margin:0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 60ch;
}
.hero-actions{
  display:flex;
  gap:10px;
  margin-top: 18px;
  flex-wrap:wrap;
}
.micro{
  margin: 14px 0 0;
  color: rgba(74,97,122,.95);
  font-size: 12.5px;
}

/* Preview panel */
.hero-panel{
  border-radius: var(--radius);
  border:1px solid rgba(215,230,247,.95);
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.72));
  box-shadow: var(--shadow);
  overflow:hidden;
}
.panel-head{
  padding: 18px 18px 12px;
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:flex-start;
}
.panel-title{ font-weight:950; letter-spacing:.2px; }
.panel-badges{ display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end; }
.badge{
  font-size:12px;
  padding: 7px 10px;
  border-radius: 999px;
  border:1px solid rgba(215,230,247,.95);
  background: rgba(255,255,255,.78);
  color: rgba(11,27,51,.78);
}
.badge.ice{
  border-color: rgba(139,211,255,.55);
  background: rgba(139,211,255,.22);
  color: rgba(10,132,255,.95);
  font-weight:900;
}
.panel-body{ padding: 0 18px 18px; }
.mini-cards{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
}
.mini-card{
  border-radius: 16px;
  border:1px solid rgba(215,230,247,.95);
  background: rgba(255,255,255,.75);
  padding: 12px;
}
.mini-k{ color: rgba(74,97,122,.95); font-size: 12px; }
.mini-v{ font-weight:900; margin-top:6px; }
.panel-line{
  height:1px;
  background: rgba(215,230,247,.95);
  margin: 14px 0 12px;
}
.panel-list{ display:grid; gap:10px; }
.panel-row{
  display:flex;
  gap:10px;
  align-items:center;
  padding: 10px 12px;
  border-radius: 14px;
  border:1px solid rgba(215,230,247,.95);
  background: rgba(255,255,255,.72);
}
.tag{
  width:22px;height:22px;border-radius:8px;
  display:grid;place-items:center;
  background: rgba(10,132,255,.12);
  border:1px solid rgba(10,132,255,.22);
  color: rgba(10,132,255,.95);
  font-weight:950;
  font-size:12px;
}
.row-main{ flex:1; font-weight:850; color: rgba(11,27,51,.92); }
.row-side{ color: rgba(74,97,122,.95); font-size: 12px; text-transform:uppercase; letter-spacing:.12em; }

/* Poster */
.poster-single{ max-width: 820px; margin: 0 auto; }
.poster-main{
  position:relative;
  display:block;
  border-radius: 22px;
  overflow:hidden;
  border:1px solid rgba(215,230,247,.95);
  background: rgba(255,255,255,.75);
  box-shadow: var(--shadow);
}
.poster-main img{
  width:100%;
  height:auto;
  display:block;
  object-fit:cover;
}
.poster-overlay{
  position:absolute;
  inset:auto 0 0 0;
  padding: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(11,27,51,.68) 100%);
}
.poster-title{
  font-size: 22px;
  font-weight: 950;
  letter-spacing: .3px;
  color: rgba(255,255,255,.98);
}
.poster-sub{
  margin-top: 8px;
  font-size: 14px;
  color: rgba(235,245,255,.95);
  line-height: 1.5;
}
.poster-cta{
  margin-top: 18px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 12px;
  flex-wrap:wrap;
}
.poster-cta.center{
  justify-content:center;
  flex-direction:column;
  text-align:center;
}

/* Sample tables */
.sample-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.sample-card{
  border-radius: var(--radius);
  border:1px solid rgba(215,230,247,.95);
  background: rgba(255,255,255,.78);
  padding: 16px;
  box-shadow: 0 18px 55px rgba(10, 40, 90, .08);
}
.sample-title{
  font-weight:950;
  font-size: 18px;
  color: rgba(10,132,255,.95);
  margin-bottom: 10px;
}
.table{ display:grid; gap:8px; }
.t-row{
  display:grid;
  grid-template-columns: 42px 78px 1fr 70px;
  gap: 10px;
  align-items:center;
  padding: 10px 10px;
  border-radius: 14px;
  border:1px solid rgba(215,230,247,.95);
  background: rgba(255,255,255,.76);
  font-size: 13px;
}
.t-head{
  background: rgba(247,251,255,.9);
  color: rgba(74,97,122,.98);
  text-transform: uppercase;
  letter-spacing:.12em;
  font-size: 11px;
}
.t-accent{ color: rgba(10,132,255,.95); font-weight:950; }
.t-right{ text-align:right; color: rgba(11,27,51,.85); font-weight:800; }
.sample-foot{
  margin-top: 10px;
  color: rgba(74,97,122,.95);
  font-size: 12px;
}

/* CTA band */
.cta-band{
  margin-top: 16px;
  border-radius: 18px;
  border:1px solid rgba(215,230,247,.95);
  background: linear-gradient(90deg, rgba(255,255,255,.86), rgba(34,195,255,.10));
  padding: 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.winter-band{
  background: linear-gradient(90deg, rgba(255,255,255,.86), rgba(10,132,255,.08), rgba(34,195,255,.10));
}
.cta-title{ font-weight:950; }
.cta-sub{ color: rgba(74,97,122,.98); font-size: 13px; margin-top: 4px; }

/* Capabilities */
.cap-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.cap-card{
  border-radius: var(--radius);
  border:1px solid rgba(215,230,247,.95);
  background: rgba(255,255,255,.78);
  padding: 18px;
  box-shadow: 0 18px 55px rgba(10, 40, 90, .08);
  min-height: 120px;
}
.cap-title{
  font-weight:950;
  font-size: 18px;
  color: rgba(11,27,51,.92);
}
.cap-sub{
  margin-top: 10px;
  color: rgba(74,97,122,.98);
  line-height: 1.6;
  font-size: 13.5px;
}

/* FAQ */
.faq{ display:grid; gap: 12px; }
.faq-item{
  border-radius: 16px;
  border:1px solid rgba(215,230,247,.95);
  background: rgba(255,255,255,.78);
  padding: 12px 14px;
}
.faq-item summary{
  cursor:pointer;
  font-weight:900;
  color: rgba(11,27,51,.92);
}
.faq-body{
  margin-top: 10px;
  color: rgba(74,97,122,.98);
  line-height: 1.65;
  font-size: 13.5px;
}

/* Footer */
.footer{ margin-top: 20px; padding-top: 10px; }
.footer-line{
  height:1px;
  background: rgba(215,230,247,.95);
  margin: 10px 0 18px;
}
.footer-grid{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:flex-start;
  flex-wrap:wrap;
}
.footer-brand{ display:flex; align-items:center; gap:10px; font-weight:950; }
.footer-sub{ margin-top: 10px; color: rgba(74,97,122,.95); max-width: 56ch; }
.tiny{ font-size: 12px; color: rgba(74,97,122,.9); margin-top: 10px; }
.legal{ margin-top: 18px; opacity:.85; }

/* =========================
   Mobile Floating Button (CENTERED + stronger UI)
   ========================= */
.fab{
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(16px + var(--bottom-ui-offset) + env(safe-area-inset-bottom));
  z-index: 70;

  display:none;
  border:none;
  border-radius: 999px;
  padding: 14px 18px;

  font-weight: 950;
  font-size: 14px;
  letter-spacing: .2px;

  color:#ffffff;
  cursor:pointer;

  background: linear-gradient(135deg, var(--accent), rgba(34,195,255,.95));
  box-shadow:
    0 18px 55px rgba(10,132,255,.18),
    0 0 0 6px rgba(10,132,255,.08);

  text-align:center;
  white-space: nowrap;
}
.fab:active{ transform: translateX(-50%) translateY(1px); }

/* =========================
   Back to Top button
   ========================= */
.to-top{
  position: fixed;
  right: 16px;
  bottom: calc(16px + var(--bottom-ui-offset) + env(safe-area-inset-bottom));
  z-index: 70;

  display:none;
  border:none;
  border-radius: 999px;
  padding: 12px 14px;

  font-weight: 900;
  font-size: 13px;

  color: rgba(11,27,51,.92);
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(215,230,247,.95);
  box-shadow: 0 18px 55px rgba(10, 40, 90, .10);
  cursor:pointer;
}
.to-top:hover{
  border-color: rgba(10,132,255,.22);
  box-shadow: 0 18px 55px rgba(10, 40, 90, .14);
}

/* Modal */
.modal{ position: fixed; inset:0; display:none; z-index: 80; }
.modal.open{ display:block; }
.modal-backdrop{
  position:absolute;
  inset:0;
  background: rgba(11,27,51,.35);
  backdrop-filter: blur(6px);
}
.modal-card{
  position: relative;
  width: min(520px, calc(100% - 30px));
  margin: 10vh auto 0;
  border-radius: 20px;
  border: 1px solid rgba(215,230,247,.95);
  background: rgba(255,255,255,.92);
  box-shadow: 0 30px 120px rgba(10, 40, 90, .20);
  overflow:hidden;
}
.modal-head{
  padding: 16px 16px 10px;
  display:flex;
  justify-content:space-between;
  gap: 10px;
  align-items:flex-start;
}
.modal-title{ font-weight: 950; letter-spacing:.2px; }
.modal-sub{
  margin-top: 6px;
  color: rgba(74,97,122,.95);
  font-size: 13px;
}
.modal-x{
  border:none;
  background: rgba(247,251,255,.9);
  border:1px solid rgba(215,230,247,.95);
  color: rgba(11,27,51,.9);
  border-radius: 12px;
  padding: 8px 10px;
  cursor:pointer;
}
.modal-body{ padding: 12px 16px 16px; }
.modal-row{
  border-radius: 16px;
  border:1px solid rgba(215,230,247,.95);
  background: rgba(247,251,255,.9);
  padding: 12px;
}
.modal-label{
  color: rgba(74,97,122,.95);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .10em;
}
.modal-number{
  margin-top: 8px;
  font-weight: 950;
  font-size: 20px;
  color: rgba(10,132,255,.98);
}
.modal-actions{
  margin-top: 12px;
  display:flex;
  gap:10px;
}
.modal-actions .btn{ flex:1; }
.modal-note{
  margin-top: 12px;
  color: rgba(74,97,122,.92);
  font-size: 12px;
  line-height: 1.55;
}

/* =========================
   Cookie banner (does not block buttons)
   ========================= */
.cookie-banner{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 65;

  display:none;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(247,251,255,.92), rgba(247,251,255,.98));
  border-top: 1px solid rgba(215,230,247,.95);
  backdrop-filter: blur(10px);
}
.cookie-banner.show{ display:block; }

.cookie-inner{
  width: min(1160px, calc(100% - 16px));
  margin: 0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}
.cookie-title{
  font-weight: 950;
  color: rgba(11,27,51,.92);
}
.cookie-desc{
  margin-top: 4px;
  color: rgba(74,97,122,.95);
  font-size: 12.5px;
  line-height: 1.35;
}
.cookie-actions{
  display:flex;
  gap: 10px;
  flex: 0 0 auto;
}

/* Responsive */
@media (max-width: 1020px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-title{ font-size: 40px; }
  .sample-grid{ grid-template-columns: 1fr; }
  .cap-grid{ grid-template-columns: 1fr; }
}
@media (max-width: 860px){
  .nav{ display:none; }
  .nav-cta{ display:none; }
  .nav-burger{ display:block; }
  .fab{ display:block; }
  .to-top{ display:block; }
  .cookie-inner{ flex-direction: column; align-items: stretch; }
  .cookie-actions{ width:100%; }
  .cookie-actions .btn{ flex:1; }
}
@media (max-width: 520px){
  .hero-title{ font-size: 34px; }
  .pill{ max-width: 100%; }
  .t-row{ grid-template-columns: 36px 70px 1fr 62px; }
  .cta-band{ flex-direction:column; align-items:stretch; }
  .modal-actions{ flex-direction:column; }
}
