:root{
  --bg0:#070A10;
  --bg1:#0B1220;
  --card:#0F1A2C;
  --muted:#9FB0C6;
  --text:#EAF2FF;

  --blue:#2E7BFF;      /* royal-ish blue */
  --green:#1ED47C;     /* royal-ish green */
  --line:rgba(255,255,255,.10);
  --shadow: 0 18px 60px rgba(0,0,0,.55);

  --r:18px;
  --r2:22px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background: radial-gradient(1100px 700px at 20% 10%, rgba(46,123,255,.14), transparent 60%),
              radial-gradient(900px 650px at 85% 20%, rgba(30,212,124,.10), transparent 55%),
              linear-gradient(180deg, var(--bg0), var(--bg1));
  overflow-x:hidden;
}

.bg{position:fixed; inset:0; pointer-events:none; z-index:-1}
.bg-glow{
  position:absolute; inset:-20%;
  background:
    radial-gradient(600px 500px at 25% 10%, rgba(46,123,255,.18), transparent 65%),
    radial-gradient(700px 500px at 80% 20%, rgba(30,212,124,.14), transparent 60%);
  filter: blur(18px);
  opacity:.9;
}
.bg-grid{
  position:absolute; inset:0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(65% 45% at 50% 20%, #000 60%, transparent 100%);
  opacity:.35;
}

.container{max-width:1100px; margin:0 auto; padding:0 18px}

.topbar{
  position:sticky; top:0;
  backdrop-filter: blur(10px);
  background: rgba(7,10,16,.55);
  border-bottom:1px solid rgba(255,255,255,.06);
  z-index:10;
}
.topbar-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
  gap:16px;
}

.brand{display:flex; align-items:center; gap:12px}
.brand-mark{
  width:38px; height:38px; border-radius:12px;
  background: linear-gradient(135deg, rgba(46,123,255,.9), rgba(30,212,124,.85));
  box-shadow: 0 10px 30px rgba(46,123,255,.22);
}
.brand-name{font-weight:800; letter-spacing:.2px}
.brand-sub{font-size:12px; color:var(--muted)}

.topbar-actions{display:flex; gap:10px; align-items:center; flex-wrap:wrap}
.pill{
  color:var(--text);
  text-decoration:none;
  font-size:13px;
  padding:10px 12px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:999px;
  background: rgba(255,255,255,.03);
}
.pill-button{
  font: inherit;
  font-weight:700;
  cursor:pointer;
}
.pill:hover{border-color: rgba(255,255,255,.18)}

.hero{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:22px;
  padding:42px 0 28px;
}

.badge{
  display:inline-flex; align-items:center; gap:10px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color:var(--text);
}
.dot{
  width:10px; height:10px; border-radius:999px;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(30,212,124,.12);
}

.headline{
  margin:16px 0 10px;
  font-size:46px;
  line-height:1.06;
  letter-spacing:-.9px;
}
.accent{
  background: linear-gradient(90deg, rgba(46,123,255,1), rgba(30,212,124,1));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.subhead{
  margin:0 0 16px;
  color: var(--muted);
  font-size:16px;
  line-height:1.55;
}

.bullets{list-style:none; padding:0; margin:0 0 14px}
.bullets li{
  display:flex; gap:10px; align-items:flex-start;
  padding:8px 0;
  color: rgba(234,242,255,.92);
}
.check{
  display:inline-flex;
  width:22px; height:22px;
  align-items:center; justify-content:center;
  border-radius:7px;
  background: rgba(30,212,124,.14);
  border:1px solid rgba(30,212,124,.32);
  color: var(--green);
  font-weight:800;
  flex: 0 0 22px;
  margin-top:1px;
}

.location{
  display:flex; gap:10px; align-items:center;
  color: rgba(234,242,255,.92);
  margin: 6px 0 18px;
}
.pin{opacity:.9}

.cta-row{display:flex; gap:12px; flex-wrap:wrap}

.btn{
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: var(--text);
  padding:12px 14px;
  border-radius:14px;
  font-weight:700;
  cursor:pointer;
}
.btn:hover{
  border-color: rgba(255,255,255,.20);
}
.btn:active{transform: translateY(1px)}
.btn-lg{padding:13px 16px; border-radius:16px}

.btn-primary{
  border: none;
  background: linear-gradient(135deg, rgba(46,123,255,1), rgba(30,212,124,1));
  color:#061019;
  box-shadow: 0 16px 45px rgba(46,123,255,.18);
}
.btn-primary:hover{filter: brightness(1.04)}

.btn-secondary{
  border:1px solid rgba(46,123,255,.45);
  background: rgba(46,123,255,.10);
}
.btn-ghost{
  background: transparent;
}

.fineprint{
  margin-top:16px;
  color: rgba(159,176,198,.9);
  font-size:12.5px;
  line-height:1.4;
}

.card{
  border-radius: var(--r2);
  background: rgba(15,26,44,.68);
  border:1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.card-top{
  display:flex; justify-content:space-between; align-items:center;
  padding:16px 16px 10px;
  border-bottom:1px solid rgba(255,255,255,.06);
}
.card-title{font-weight:800}
.chip{
  font-size:12px;
  padding:8px 10px;
  border-radius:999px;
  background: rgba(30,212,124,.10);
  border:1px solid rgba(30,212,124,.22);
  color: rgba(234,242,255,.92);
}

.card-body{padding:16px}
.package{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
}
.pkg-item{
  padding:10px 10px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  color: rgba(234,242,255,.92);
  font-size:13.5px;
}

.divider{
  height:1px;
  background: rgba(255,255,255,.08);
  margin:14px 0;
}

.mini-note{
  color: rgba(159,176,198,.95);
  font-size:13px;
  line-height:1.5;
  margin-bottom:14px;
}
.full{width:100%}
.package-label{
  margin-bottom:10px;
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color: rgba(159,176,198,.95);
}

.package-grid,
.device-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:14px;
}
.pkg-card,
.device-card{
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  padding:16px;
}
.pkg-top h3{
  margin:0;
  font-size:18px;
  font-weight:800;
}
.pkg-price{
  margin-top:6px;
  font-size:13px;
  color: rgba(234,242,255,.92);
}
.pkg-credit{
  margin-top:6px;
  font-size:12px;
  font-weight:700;
  color: rgba(30,212,124,.92);
}
.pkg-list{
  margin:12px 0 14px;
  padding-left:18px;
  color: rgba(234,242,255,.92);
  font-size:13px;
  line-height:1.5;
}
.pkg-list li + li{margin-top:6px}
.pkg-note{
  margin:0 0 14px;
  color: var(--muted);
  line-height:1.5;
  font-size:13.5px;
}
.pkg-badge{
  display:inline-flex;
  margin-bottom:10px;
  padding:6px 10px;
  border-radius:999px;
  background: rgba(30,212,124,.10);
  border:1px solid rgba(30,212,124,.22);
  color: rgba(234,242,255,.92);
  font-size:11px;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.pkg-badge.alt{
  background: rgba(46,123,255,.10);
  border-color: rgba(46,123,255,.22);
}
.pkg-card.featured{
  border-color: rgba(30,212,124,.24);
  box-shadow: 0 18px 44px rgba(30,212,124,.08);
}

.split-banner{
  height: clamp(180px, 28vw, 320px);
  margin: 8px auto;
  border-radius: 24px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  box-shadow: 0 18px 56px rgba(0,0,0,.24);
}
.split-banner-top{
  margin-top: 8px;
  margin-bottom: 0;
  background-image: url("./assets/packages-top.png");
}
.split-banner-bottom{
  margin-top: 0;
  margin-bottom: 8px;
  background-image: url("./assets/packages-bottom.png");
}

.section{
  padding: 18px 0 12px;
  scroll-margin-top: 92px;
}
.section-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:18px;
  margin-bottom:16px;
}
.section-head-stack{align-items:flex-start}
.section-kicker{
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color: rgba(159,176,198,.95);
}
.section-title{
  margin:8px 0 8px;
  font-size:32px;
  line-height:1.1;
}
.section-copy{
  margin:0;
  color: var(--muted);
  line-height:1.5;
}
.section-link{
  color: rgba(234,242,255,.92);
  text-decoration:none;
  font-size:13px;
  font-weight:700;
}
.section-link:hover{text-decoration:underline}

.device-card{
  padding:0;
  overflow:hidden;
}
.device-card img{
  display:block;
  width:100%;
  aspect-ratio: 16 / 10;
  object-fit:cover;
  background: rgba(255,255,255,.03);
}
.device-body{padding:16px}
.device-title{
  font-size:18px;
  font-weight:800;
}
.device-copy{
  margin:8px 0 0;
  color: var(--muted);
  line-height:1.5;
}

.trust{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:10px;
  margin-top:12px;
}
.trust-item{
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  padding:12px 12px;
}
.trust-num{font-weight:900}
.trust-label{font-size:12px; color: rgba(159,176,198,.95); margin-top:4px}

.footer{
  margin-top: 18px;
  border-top:1px solid rgba(255,255,255,.06);
  background: rgba(7,10,16,.35);
}
.footer-inner{
  display:flex; justify-content:space-between; align-items:center;
  padding: 18px 0;
  color: rgba(159,176,198,.95);
  font-size:12.5px;
  gap:12px;
  flex-wrap:wrap;
}
.footer-links{display:flex; gap:14px; opacity:.9}

/* Modal */
.modal[hidden],
.modal-backdrop[hidden]{
  display:none !important;
}

.modal-backdrop{
  position:fixed; inset:0;
  background: rgba(0,0,0,.58);
  backdrop-filter: blur(6px);
  z-index:999;
}
.modal{
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 1000;
}
.modal-panel{
  width: min(520px, 100%);
  max-width: 520px;
  max-height: 82vh;
  overflow-y: auto;
  border-radius: 18px;
  position: relative;
  z-index: 1001;
}
.modal-head{
  display:flex; justify-content:space-between; align-items:flex-start;
  gap:12px;
  padding:16px 16px 12px;
  border-bottom:1px solid rgba(255,255,255,.06);
}
.modal-title{font-weight:900; font-size:18px}
.modal-sub{font-size:12.5px; color: rgba(159,176,198,.95); margin-top:4px}
.icon-btn{
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: var(--text);
  border-radius: 12px;
  width:40px; height:40px;
  cursor:pointer;
}
.icon-btn:hover{border-color: rgba(255,255,255,.20)}

.form{padding:16px}
.grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}
label span{
  display:block;
  font-size:12.5px;
  color: rgba(159,176,198,.95);
  margin-bottom:6px;
}
input, textarea{
  width:100%;
  padding:12px 12px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: var(--text);
  outline:none;
}
input:focus, textarea:focus{
  border-color: rgba(46,123,255,.55);
  box-shadow: 0 0 0 4px rgba(46,123,255,.14);
}
textarea{resize: vertical}
.span-2{grid-column: span 2}

.form-actions{
  display:flex; justify-content:flex-end; gap:10px;
  margin-top:14px;
}
.form-msg{
  margin-top:12px;
  font-size:13px;
  color: rgba(234,242,255,.92);
  min-height: 18px;
}
.modal-fineprint{
  margin-top: 10px;
  font-size: 12px;
  color: rgba(159,176,198,.95);
}

/* Modal state styles */
body.modal-open .hero-right{
  display: none;
}

body.modal-open .trust{
  display: none;
}

body.modal-open .hero-left{
  opacity: .35;
}

body.modal-open .modal-backdrop{
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(8px);
}

@media (max-width: 920px){
  .hero{grid-template-columns: 1fr; padding-top: 28px}
  .headline{font-size:40px}
  .trust{grid-template-columns: 1fr 1fr 1fr}
  .package-grid,
  .device-grid{grid-template-columns: 1fr}
  .section-head{
    align-items:flex-start;
    flex-direction:column;
  }
}
@media (max-width: 560px){
  .headline{font-size:34px}
  .grid{grid-template-columns: 1fr}
  .span-2{grid-column: auto}
  .trust{grid-template-columns: 1fr}
  .topbar-actions{width:100%}
  .split-banner{
    height: clamp(140px, 40vw, 220px);
    border-radius: 18px;
  }
  .section-title{font-size:28px}
}
