:root{
  --bg: #0b1020;
  --card: rgba(255,255,255,.06);
  --card2: rgba(255,255,255,.09);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.68);
  --line: rgba(255,255,255,.12);
  --brand: #66e3ff;
  --brand2:#a78bfa;
  --shadow: 0 20px 50px rgba(0,0,0,.45);
  --radius: 18px;
  --max: 1100px;
}

*{ box-sizing:border-box; }
html, body{ height:100%; }

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial;
  color: var(--text);
  background:
    radial-gradient(900px 600px at 15% 0%, rgba(102,227,255,.18), transparent 55%),
    radial-gradient(900px 600px at 85% 10%, rgba(167,139,250,.16), transparent 55%),
    radial-gradient(1200px 900px at 50% 120%, rgba(255,255,255,.08), transparent 60%),
    var(--bg);
  line-height: 1.55;
}

a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; text-underline-offset: 3px; }

.wrap{ max-width: var(--max); margin:0 auto; padding: 24px; }

/* ===== TOP BAR ===== */
.topbar{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(11,16,32,.55);
  border-bottom: 1px solid var(--line);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  padding: 14px 24px;
  max-width: var(--max);
  margin: 0 auto;
}

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
}

.brand img{
  height: 64px;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
  padding: 4px;
}

.brand .name strong{ font-size: 14px; }
.brand .name span{ font-size: 12px; color: var(--muted); }

.menu{
  display:flex;
  gap: 8px;
}

.menu a{
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
}

.menu a.active,
.menu a[aria-current="page"]{
  color: var(--text);
  background: rgba(255,255,255,.06);
}

.menu .cta{
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color:#001018;
  font-weight:700;
}

.hamburger{ display:none; }

/* ===== PAGE HERO ===== */
.pageHero{ padding: 42px 0 18px; }

.pageHeroInner{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items: stretch;
}

.kicker{
  display:inline-flex;
  gap:8px;
  align-items:center;
  font-size:12px;
  color:var(--muted);
  border:1px solid rgba(255,255,255,.14);
  padding:6px 10px;
  border-radius:999px;
  background: rgba(255,255,255,.04);
}

.dot{
  width:8px;height:8px;border-radius:50%;
  background: linear-gradient(135deg,var(--brand),var(--brand2));
  box-shadow: 0 0 18px rgba(102,227,255,.28);
}

.pageTitle{
  margin: 12px 0 8px;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.5px;
  line-height: 1.12;
}

.pageSub{
  max-width:70ch;
  color:var(--muted);
  margin: 0 0 14px;
}

.actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.btn{
  padding:11px 14px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  font-weight:600;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.btn:hover{ background: rgba(255,255,255,.09); text-decoration:none; }

.btn.primary{
  background: linear-gradient(135deg,var(--brand),var(--brand2));
  color:#001018;
  border-color: transparent;
  font-weight:800;
}

/* ===== IMAGE CARDS (BLENDED, NO CROP) ===== */
/* Used for hero image and other big visuals */
.imageCard{
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(800px 300px at 30% 0%, rgba(102,227,255,.18), transparent 55%),
    radial-gradient(800px 300px at 70% 100%, rgba(167,139,250,.14), transparent 60%),
    rgba(255,255,255,.03);
  box-shadow: var(--shadow);
}

.imageCard::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  /* soft vignette to blend */
  background: linear-gradient(180deg, rgba(11,16,32,.15), rgba(11,16,32,.70));
  opacity: .55;
}

.imageCard img{
  position: relative;
  z-index: 1;
  display:block;
  width: 100%;
  height: 100%;
  object-fit: contain;   /* IMPORTANT: no crop */
  object-position: center;
  padding: 18px;
  filter: saturate(1.02) contrast(1.03);
}

/* Size control for hero image (bigger) */
.heroMedia{
  min-height: 340px;
}

@media (min-width: 900px){
  .heroMedia{
    min-height: 460px;
  }
}

/* ===== SERVICE CARDS ===== */
.serviceGrid{
  display:grid;
  grid-template-columns: repeat(3,1fr);
  gap:14px;
  margin: 20px 0;
}

.serviceCard{
  border:1px solid var(--line);
  background: rgba(255,255,255,.05);
  border-radius: var(--radius);
  padding:18px;
}

.serviceCard h2{ margin:0 0 8px; font-size:16px; }
.serviceCard p{ color:var(--muted); font-size:14px; margin:0 0 10px; }
.serviceCard ul{ padding-left:18px; color:var(--muted); margin:0; }
.serviceCard li{ margin:6px 0; }

/* ===== MEDIA GRID (DEVICES BIG, NO CROP, BLENDED) ===== */
.mediaGrid{
  display:grid;
  grid-template-columns: 1.6fr .4fr;
  gap:14px;
  margin: 20px 0;
  align-items: start;
}

.mediaStack{
  display:grid;
  gap:14px;
}

.mediaCardSmall{
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  overflow:hidden;
}

.mediaCardSmall img{
  display:block;
  width:100%;
  height: 140px;
  object-fit: contain;
  padding: 12px;
  background: rgba(0,0,0,.12);
}

/* ===== CTA PANEL ===== */
.panel{
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:22px;
  background: rgba(255,255,255,.04);
}

.ctaPanel{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  flex-wrap: wrap;
}

/* ===== FOOTER ===== */
footer{
  border-top:1px solid var(--line);
  padding:22px 0;
  color:var(--muted);
  font-size:13px;
}

.foot{
  display:flex;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}

.footTitle{ color:var(--text); font-weight:700; }

/* ===== RESPONSIVE ===== */
@media (max-width: 920px){
  .pageHeroInner,
  .serviceGrid,
  .mediaGrid{
    grid-template-columns: 1fr;
  }
  .heroMedia{ min-height: 320px; }
  .imageCard img{ padding: 14px; }
}
