/* ===== Design Tokens ===== */
:root {
  --bg: #0e0f13;
  --panel: #141720;
  --muted: #8f96a3;
  --text: #e9eef6;
  --accent: #64d4c2;
  --accent-2: #5aa3ff;
  --warning: #ffd166;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0,0,0,0.4);
  --maxw: 1100px;
}

/* ===== Base ===== */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font: 16px/1.5 system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: radial-gradient(1200px 800px at 80% -10%, rgba(90,163,255,0.15), transparent 60%),
              radial-gradient(800px 600px at 0% 10%, rgba(100,212,194,0.18), transparent 60%),
              var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.eyebrow { letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-size: 12px; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 16px; }
h1 { font-size: clamp(36px, 6vw, 56px); }
h2 { font-size: clamp(28px, 4.5vw, 36px); }
p { color: #cfd6e3; margin: 0 0 16px; }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(1.2) blur(10px);
  background: linear-gradient(to bottom, rgba(14,15,19,.9), rgba(14,15,19,.6));
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.logo {
  width: 28px; height: 28px; border-radius: 8px; box-shadow: var(--shadow);
  background: conic-gradient(from 180deg, var(--accent), var(--accent-2));
}
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav a { color: var(--muted); font-weight: 600; }
.nav a:hover { color: var(--text); }
.menu-btn { display: none; }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; font-weight: 700; border: 1px solid rgba(255,255,255,0.08); }
.btn-primary { background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: #0a0c10; border-color: transparent; }
.btn-ghost { color: var(--text); background: transparent; }
.btn:hover { transform: translateY(-1px); transition: transform .2s ease; }

/* ===== Hero ===== */
.hero { padding: 96px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center; }
.hero .lede { font-size: clamp(18px, 2.2vw, 20px); color: #d9e2f1; }
.pill { display:inline-block; padding:6px 10px; border:1px solid rgba(255,255,255,.12); border-radius:999px; color:var(--muted); margin-bottom:12px; }
.media {
  height: 360px; border-radius: var(--radius); overflow: hidden; position: relative;
  background: radial-gradient(600px 400px at 60% 10%, rgba(100,212,194,.18), transparent 60%),
              linear-gradient(180deg, #141720, #0c0e13);
  border: 1px solid rgba(255,255,255,.06);
  box-shadow: var(--shadow);
}
.media::after {
  content:""; position:absolute; inset:0;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.06) 0 2px, transparent 2px 10px);
  mix-blend-mode: overlay; opacity:.25;
}

/* ===== Badges / Logos ===== */
.logos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; opacity:.9; }
.logo-tile { height: 48px; border-radius: 12px; border:1px dashed rgba(255,255,255,.12); display:grid; place-items:center; color:var(--muted); font-weight:700; }

/* ===== Services ===== */
.cards { display:grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { padding: 22px; background: var(--panel); border:1px solid rgba(255,255,255,.06); border-radius: var(--radius); box-shadow: var(--shadow); }
.card h3 { margin-bottom: 8px; font-size: 20px; }
.card p { color:#c7cfde; }

/* ===== Case Studies ===== */
.cases { display:grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.case {
  background: linear-gradient(180deg, rgba(90,163,255,.12), rgba(100,212,194,.10));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
}
.case .thumb {
  height: 160px;
  background: radial-gradient(300px 180px at 30% 20%, rgba(255,255,255,.2), transparent 40%),
              linear-gradient(135deg, #1a2030, #0d111a);
}
.case .body {
  padding: 24px;
}

.meta { color: var(--muted); font-size: 12px; margin-bottom: 6px; }

/* ===== About ===== */
.about { display:grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items:center; }
.statbar {
  height: 10px; background:#0b0d12;
  border:1px solid rgba(255,255,255,.06);
  border-radius:999px; overflow:hidden;
}
.statbar > span {
  display:block; height:100%;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  width: 72%;
}

/* ===== CTA ===== */
.cta {
  text-align:center;
  background: linear-gradient(180deg, rgba(100,212,194,.06), rgba(90,163,255,.06));
  border-top:1px solid rgba(255,255,255,.06);
  border-bottom:1px solid rgba(255,255,255,.06);
}

/* ===== Footer ===== */
footer { padding: 28px 0 48px; color: var(--muted); }

/* ===== Utilities ===== */
.row { display:flex; gap: 10px; flex-wrap: wrap; }
.spacer { height: 14px; }
.grid-2 { display:grid; grid-template-columns: 1fr 1fr; gap:18px; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-grid, .about { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .cases { grid-template-columns: 1fr 1fr; }
  .logos { grid-template-columns: 1fr 1fr 1fr; }
  .nav-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--panel);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 12px;
    padding: 12px;
  }
}


/* ===== Tiny animations ===== */
.reveal { opacity: 0; transform: translateY(8px); transition: all .6s ease; }
.reveal.in { opacity: 1; transform: none; }
