:root {
  --bg: #0b0f16;
  --panel: #0f1522;
  --muted: #8a93a6;
  --text: #dbe3f3;
  --brand: #70e1ff;
  --brand-2: #7affe1;
  --accent: #a78bfa;
  --danger: #ff7a7a;
  --ok: #7affb2;
  --ring: 0 0 0 2px color-mix(in srgb, var(--brand) 35%, transparent);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: radial-gradient(1200px 800px at 80% -20%, #10182a 0%, var(--bg) 40%), var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* Tech-forward font on key UI elements while keeping body highly readable */
h1, h2, h3, .brand-text, .btn, .chip, .pill, .badge, .nav a, .pc-meta h3 {
  font-family: "Space Grotesk", Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  letter-spacing: .2px;
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}
.row { display: flex; gap: 16px; }
.between { justify-content: space-between; }
.center { align-items: center; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  backdrop-filter: blur(10px);
}
.site-header.scrolled { border-bottom: 1px solid #141b2a; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}
.brand-icon { filter: drop-shadow(0 0 12px rgba(112,225,255,.4)); }
.brand-text { letter-spacing: .2px; }
.nav { display: flex; gap: 14px; align-items: center; }
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  padding: 10px 8px;
}
.nav a:hover { color: var(--text); }

.btn {
  appearance: none; border: 0; outline: none; cursor: pointer;
  padding: 10px 16px; border-radius: 10px; font-weight: 600;
  color: #0b0f16; background: #e6ecff;
}
.btn.primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #061018;
  box-shadow: 0 10px 30px -12px rgba(112,225,255, .5);
}
.btn.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid #20304d;
}
.icon-btn {
  border: 0; background: transparent; color: var(--muted);
  font-size: 18px; cursor: pointer; padding: 6px 8px; border-radius: 8px;
}
.icon-btn:hover { background: #161d2e; color: var(--text); }

.hero {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 30px; padding: 56px 0 24px;
  min-height: 72vh;
}
.hero-text h1 {
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.15;
  margin: 8px 0 12px 0;
}
.gradient-text {
  background: linear-gradient(135deg, var(--text), #c7d9ff 40%, var(--brand));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.kicker {
  margin: 2px 0 10px;
  color: #a7b3ca;
  font-weight: 600;
  letter-spacing: .2px;
}
.lead { color: var(--muted); font-size: 16px; }
.hero-bullets { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 24px; }
.chip {
  padding: 8px 12px; border-radius: 999px; font-weight: 500;
  letter-spacing: .15px;
  color: #cfe6ff; background: linear-gradient(180deg, #0f1a2d, #0b1222); border: 1px solid #2a3b5e;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.chip:hover { border-color: #3a4f78; transform: translateY(-1px); }
.cta-row { display: flex; gap: 12px; margin: 6px 0 12px; }
.trust { margin-top: 18px; color: var(--muted); font-size: 14px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.trust .dot { opacity: .4; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #20304d;
  background: #0e1728;
  color: #cfe6ff;
  text-decoration: none;
  font-weight: 700;
}
.badge.verified::before {
  content: "✓";
  display: inline-block;
  color: var(--brand-2);
  font-weight: 900;
}
.badge:hover { border-color: #2a4470; }
.hero-art {
  position: relative; border-radius: 16px; overflow: hidden;
  background: radial-gradient(500px 300px at 70% 30%, rgba(112,225,255,.08), transparent 60%),
              radial-gradient(400px 250px at 30% 60%, rgba(167,139,250,.08), transparent 60%),
              url('./assets/bg.jpg'),
              #0a0f18;
  background-size: auto, auto, cover, auto;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid #17223a;
}
.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(7, 11, 19, .52);
  backdrop-filter: blur(2.5px) saturate(0.9);
  pointer-events: none;
}
.orb { position: absolute; border-radius: 999px; filter: blur(20px); opacity: .5; }
.orb-1 { width: 140px; height: 140px; background: #70e1ff; top: 18%; left: 18%; }
.orb-2 { width: 200px; height: 200px; background: #a78bfa; bottom: 10%; right: 8%; }
.grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(#121a2c 1px, transparent 1px),
    linear-gradient(90deg, #121a2c 1px, transparent 1px);
  background-size: 40px 40px;
  mask: radial-gradient(800px 500px at 60% 40%, rgba(0,0,0,.9), transparent 80%);
  opacity: .8;
}

.section { padding: 56px 0; }
.section h2 { font-size: 26px; margin: 0 0 18px; font-weight: 800; letter-spacing: .2px; position: relative; }
.section h2::after { content: ""; display: block; width: 56px; height: 2px; margin-top: 8px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); border-radius: 2px; opacity: .8; }
.cards {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}
.card {
  background: linear-gradient(180deg, rgba(17,24,39,.7), rgba(12,17,27,.7)), var(--panel); border: 1px solid #1a2740; border-radius: 14px; padding: 16px;
  box-shadow: 0 20px 40px -32px rgba(0,0,0,.6);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-2px); border-color: #2a4470; box-shadow: 0 28px 56px -36px rgba(20,40,80,.5); }
.card h3 { margin: 4px 0 8px; }
.card p { color: var(--muted); font-size: 14px; }

.pill-grid {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.pill {
  border: 1px solid #2a3b5e; color: #d7e7ff; background: linear-gradient(180deg, #0f1a2d, #0b1222); padding: 8px 14px; border-radius: 999px; font-weight: 500; letter-spacing: .15px; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, background .2s ease;
}
.pill:hover { border-color: #3a4f78; box-shadow: 0 10px 26px -18px rgba(58,79,120,.8); transform: translateY(-1px); }

.grid-portfolio {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.portfolio-card {
  display: block; text-decoration: none; color: var(--text);
  background: var(--panel); border: 1px solid #17223a; border-radius: 14px; overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.portfolio-card .thumb { height: 160px; transition: filter .25s ease, transform .25s ease; background-size: cover; background-position: center; background-repeat: no-repeat; }
.gradient-1 { background: linear-gradient(135deg, #70e1ff, #7affe1); }
.gradient-2 { background: linear-gradient(135deg, #a78bfa, #7affe1); }
.gradient-3 { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.gradient-4 { background: linear-gradient(135deg, #34d399, #60a5fa); }
.pc-meta { padding: 12px; border-top: 1px solid #17223a; }
.pc-meta p { color: var(--muted); font-size: 14px; margin: 4px 0 0; }
.portfolio-card:hover { transform: translateY(-2px); border-color: #2a4470; box-shadow: 0 24px 50px -30px rgba(20,40,80,.5); }
.portfolio-card:hover .thumb { filter: saturate(1.1); transform: scale(1.01); }

.links { display: flex; gap: 12px; }
.ext { color: var(--brand); text-decoration: none; font-weight: 600; }
.ext:hover { text-decoration: underline; }
.testimonials {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 12px;
}
.t {
  margin: 0; padding: 16px; background: var(--panel); border: 1px solid #17223a; border-radius: 12px;
}
.t p { margin: 0 0 10px; }
.t footer { color: var(--muted); font-size: 14px; }
.note { color: var(--muted); margin-top: 14px; }

.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px;
}
.check { margin: 0; padding-left: 18px; }
.check li { margin: 6px 0; }

.consult-cta .cta-card {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: linear-gradient(135deg, rgba(112,225,255,.08), rgba(122,255,225,.08)), var(--panel);
  border: 1px solid #17223a; border-radius: 16px; padding: 20px;
}
.cta-copy h2 { margin: 0 0 8px; }

.site-footer {
  border-top: 1px solid #141b2a; padding: 24px 0; color: var(--muted);
}
.footer-links { display: flex; gap: 12px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }

dialog::backdrop { background: rgba(2, 6, 14, .6); backdrop-filter: blur(3px); }
dialog {
  width: min(760px, 92vw); border: 1px solid #17223a; background: #0c111b; border-radius: 16px;
  color: var(--text); padding: 0;
}
.consult-form { padding: 16px; }
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 4px 6px 4px; margin: 0 8px 8px 8px; border-bottom: 1px solid #17223a;
}
.grid-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px;
}
.grid-form .full { grid-column: 1 / -1; }
label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
input, select, textarea {
  background: #0e1524; border: 1px solid #20304d; color: var(--text);
  border-radius: 10px; padding: 10px 12px; outline: none;
}
input:focus, select:focus, textarea:focus { box-shadow: var(--ring); border-color: #2a4470; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; }
.form-status { margin: 10px 0 2px; min-height: 20px; font-size: 14px; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--danger); }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .grid-portfolio { grid-template-columns: 1fr 1fr; }
  .testimonials { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .nav a { display: none; }
  .cards { grid-template-columns: 1fr; }
  .grid-portfolio { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .grid-form { grid-template-columns: 1fr; }
}


