:root{
  --bg:#0b1220;
  --text:#eaf0ff;
  --muted:#b7c3e6;
  --line:rgba(255,255,255,.10);
  --brand:#2dd4ff;
  --brand2:#5b7cfa;
  --shadow: 0 18px 50px rgba(0,0,0,.35);
  --radius:18px;
  --container: clamp(980px, 84vw, 1480px);
}

*{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(900px 480px at 20% 0%, rgba(45,212,255,.20), transparent 60%),
    radial-gradient(900px 480px at 90% 20%, rgba(91,124,250,.18), transparent 60%),
    linear-gradient(180deg, var(--bg), #070b14 80%);
  color:var(--text);
  line-height:1.5;
}

a{color:inherit; text-decoration:none}
.container{
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

/* ============================
   PAGE LOADER
============================ */

.page-loader{
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(800px 400px at 50% 40%, rgba(45,212,255,.12), transparent 60%),
    linear-gradient(180deg, #0b1220, #070b14 80%);
  transition: opacity .55s ease, visibility .55s ease;
}

.page-loader.is-hidden{
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader.is-hidden .loader-inner{
  transform: scale(.90) translateY(-8px);
  opacity: 0;
  transition: transform .55s ease, opacity .55s ease;
}

.loader-inner{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 180px;
  transition: transform .55s ease, opacity .55s ease;
}

.loader-logo{
  position: relative;
  z-index: 2;
  width: 96px;
  height: auto;
  display: block;
  animation: loaderLogoPulse 1.8s ease-in-out infinite;
  filter:
    drop-shadow(0 4px 14px rgba(0,0,0,.35))
    drop-shadow(0 0 16px rgba(255,0,0,.18));
}

.loader-text{
  position: absolute;
  bottom: -28px;
  font-size: 12px;
  letter-spacing: 2px;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  opacity: 0;
  animation: loaderTextFade 1s ease forwards;
  animation-delay: .1s;
}

.loader-ring{
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.03) inset,
    0 0 26px rgba(45,212,255,.10);
}

.loader-ring::before,
.loader-ring::after{
  content:"";
  position: absolute;
  inset: 12px;
  border-radius: 999px;
}

.loader-ring::before{
  border: 2px solid transparent;
  border-top-color: rgba(45,212,255,.85);
  border-right-color: rgba(91,124,250,.55);
  animation: loaderSpin 1.4s linear infinite;
}

.loader-ring::after{
  inset: 26px;
  border: 1px solid transparent;
  border-bottom-color: rgba(255,255,255,.28);
  border-left-color: rgba(255,0,0,.20);
  animation: loaderSpinReverse 2.2s linear infinite;
}

@keyframes loaderSpin{
  from{ transform: rotate(0deg); }
  to{ transform: rotate(360deg); }
}

@keyframes loaderSpinReverse{
  from{ transform: rotate(360deg); }
  to{ transform: rotate(0deg); }
}

@keyframes loaderLogoPulse{
  0%, 100%{ transform: scale(1); opacity: .96; }
  50%{ transform: scale(1.04); opacity: 1; }
}

@keyframes loaderTextFade{
  to{ opacity: 1; }
}

/* NAV */
.nav{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(7, 11, 20, .55);
  border-bottom: 1px solid var(--line);
}

.nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height: 72px;
}

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

.desktop-only{ display:inline-flex; }

.nav-links{
  display:flex;
  gap:18px;
  align-items:center;
  color:var(--muted);
  font-weight:800;
  font-size:14px;
}

.nav-links a{
  padding:10px 10px;
  border-radius:12px;
}

.nav-links a:hover{
  background:rgba(255,255,255,.06);
  color:var(--text);
}

/* Brand */
.brand{
  display:flex;
  align-items:center;
  height: 72px;
}

/* LOGO */
.brand-logo{
  height: 44px;
  width: auto;
  display:block;
  filter:
    drop-shadow(0 2px 6px rgba(0,0,0,.35))
    drop-shadow(0 0 8px rgba(255,0,0,.18));
  opacity: 0;
  transform: translateY(-6px) scale(.96);
  transition:
    opacity .55s ease,
    transform .55s ease,
    filter .25s ease;
}

body.is-loaded .brand-logo{
  opacity: 1;
  transform: translateY(0) scale(1);
}

.brand:hover .brand-logo{
  transform: scale(1.05);
  filter:
    drop-shadow(0 2px 10px rgba(0,0,0,.45))
    drop-shadow(0 0 14px rgba(255,0,0,.28));
}

.footer-logo-image{
  height: 34px;
  width: auto;
  display: block;
  filter:
    drop-shadow(0 2px 6px rgba(0,0,0,.35))
    drop-shadow(0 0 8px rgba(255,0,0,.18));
}

.cta{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:11px 14px;
  border-radius:14px;
  background: linear-gradient(135deg, rgba(45,212,255,.18), rgba(91,124,250,.18));
  border:1px solid rgba(45,212,255,.22);
  box-shadow: 0 12px 30px rgba(0,0,0,.22);
  font-weight:900;
  color:var(--text);
}

.cta:hover{filter:brightness(1.05)}
.cta small{color:var(--muted); font-weight:900}

/* Mobile nav */
.burger{
  display:none;
  width:44px;
  height:44px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  cursor:pointer;
  align-items:center;
  justify-content:center;
  gap:5px;
  padding:10px;
}

.burger span{
  display:block;
  width:100%;
  height:2px;
  border-radius: 99px;
  background: rgba(234,240,255,.9);
  opacity:.9;
  transition: transform .2s ease, opacity .2s ease;
}

.mobile-menu{
  display:none;
  margin-top: 10px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(7, 11, 20, .72);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
}

.mobile-menu.open{
  display:grid;
  gap:10px;
}

.mobile-link{
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  color: var(--text);
  font-weight: 900;
}

.mobile-link:hover{
  background: rgba(255,255,255,.07);
}

.mobile-link.primary{
  border-color: rgba(45,212,255,.22);
  background: linear-gradient(135deg, rgba(45,212,255,.18), rgba(91,124,250,.14));
}

/* ============================
   HERO
============================ */

.hero{padding:64px 0 22px}

.hero-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:22px;
  align-items:center;
}

.hero h1{
  margin:0 0 12px;
  font-size: clamp(32px, 4vw, 54px);
  line-height:1.05;
  letter-spacing:-1px;
  text-shadow: 0 6px 30px rgba(0,0,0,.6);
}

.hero p{
  margin:0 0 18px;
  color:var(--muted);
  font-size: 16px;
  max-width: 60ch;
  text-shadow: 0 4px 20px rgba(0,0,0,.6);
}

.hero-footnote{
  margin-top:18px;
  color:var(--muted);
  font-size:13px;
}

.grad-text{
  background: linear-gradient(90deg, var(--brand), var(--brand2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow:
    0 0 18px rgba(45,212,255,.22),
    0 0 36px rgba(91,124,250,.18);
}

.pill-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:18px 0 26px;
}

.pill{
  padding:9px 12px;
  background: rgba(255,255,255,.06);
  border:1px solid var(--line);
  border-radius: 999px;
  color:var(--muted);
  font-weight:900;
  font-size:13px;
}

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

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  color:var(--text);
  font-weight:900;
  min-width: 170px;
  cursor:pointer;
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

.btn:hover{background:rgba(255,255,255,.07)}

.btn.primary{
  border-color: rgba(45,212,255,.25);
  background: linear-gradient(135deg, rgba(45,212,255,.22), rgba(91,124,250,.16));
  box-shadow: 0 14px 38px rgba(0,0,0,.25);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn.primary::before{
  content:"";
  position:absolute;
  inset:-2px;
  z-index:-1;
  background: linear-gradient(120deg, var(--brand), var(--brand2), var(--brand));
  opacity: 0;
  filter: blur(18px);
  transition: opacity .25s ease;
}

.btn.primary:hover{
  transform: translateY(-2px);
  box-shadow:
    0 12px 30px rgba(0,0,0,.4),
    0 0 30px rgba(45,212,255,.35);
}

.btn.primary:hover::before{ opacity: .8; }

.btn.primary:active{
  transform: translateY(0);
  box-shadow: 0 6px 18px rgba(0,0,0,.45);
}

.card{
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border:1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ============================
   HERO ENHANCED BACKGROUND
============================ */
.hero-enhanced{
  position: relative;
  overflow: hidden;
}

.hero-bg{
  position:absolute;
  inset:0;
  z-index:0;
  background:
    radial-gradient(900px 500px at 70% 40%, rgba(45,212,255,.20), transparent 60%),
    radial-gradient(800px 480px at 20% 20%, rgba(91,124,250,.18), transparent 65%),
    linear-gradient(180deg, #0b1220, #070b14 80%);
}

.hero-bg::before{
  content:"";
  position:absolute;
  inset:0;
  background: url("img/hero-bg.png") center / cover no-repeat;
  opacity: 0.18;
  filter: saturate(1.1) contrast(1.05);
  mix-blend-mode: screen;
  pointer-events:none;
}

.hero-overlay{
  position:absolute;
  inset:0;
  z-index:1;
  background: linear-gradient(180deg, rgba(7,11,20,.25), rgba(7,11,20,.65));
}

.hero-overlay::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 520px at 20% 40%, rgba(7,11,20,.78), transparent 60%),
    linear-gradient(90deg, rgba(7,11,20,.60), transparent 55%);
  pointer-events:none;
}

.hero-content{
  position: relative;
  z-index: 2;
}

/* HERO IMAGE */
.hero-visual{
  position: relative;
  display:flex;
  align-items:center;
  justify-content:center;
}

.hero-visual img{
  width:100%;
  max-width:540px;
  height:auto;
  object-fit: contain;
  filter:
    drop-shadow(0 40px 80px rgba(45,212,255,.35))
    drop-shadow(0 10px 40px rgba(0,0,0,.6));
}

.hero-visual::before{
  content:"";
  position:absolute;
  width:460px;
  height:460px;
  background: radial-gradient(circle, rgba(45,212,255,.30), rgba(45,212,255,.12), transparent 70%);
  filter: blur(55px);
  z-index:-1;
}

.hero-visual::after{
  content:"";
  position:absolute;
  bottom: 10px;
  width: 72%;
  height: 18px;
  background: radial-gradient(circle, rgba(45,212,255,.35), transparent 70%);
  filter: blur(10px);
  opacity: .55;
  z-index: -1;
}

/* Needed for parallax smoothness */
#heroIllustration{ will-change: transform; }

/* ============================
   HERO – ANIMATED LINES
============================ */
.hero-lines{
  position:absolute;
  inset:0;
  z-index: 1;
  pointer-events:none;
  overflow:hidden;
}

.hero-lines::before{
  content:"";
  position:absolute;
  inset:-20%;
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(255,255,255,.035) 0px,
      rgba(255,255,255,.035) 1px,
      transparent 1px,
      transparent 10px
    );
  opacity:.18;
  animation: heroScan 9s linear infinite;
  mix-blend-mode: overlay;
}

.hero-lines::after{
  content:"";
  position:absolute;
  inset:-30%;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(45,212,255,.14) 0px,
      rgba(45,212,255,.14) 2px,
      transparent 2px,
      transparent 90px
    );
  opacity:.10;
  transform: translateX(-8%);
  animation: heroStreaks 14s linear infinite;
  mix-blend-mode: screen;
}

@keyframes heroScan{
  0%   { transform: translateY(0); }
  100% { transform: translateY(12%); }
}

@keyframes heroStreaks{
  0%   { transform: translateX(-12%) translateY(0); }
  100% { transform: translateX(12%) translateY(-6%); }
}

/* ============================
   HERO – FLOATING PARTICLES
============================ */
.hero-particles{
  position:absolute;
  inset:0;
  z-index: 1;
  pointer-events:none;
  overflow:hidden;
}

.hero-particles::before,
.hero-particles::after{
  content:"";
  position:absolute;
  inset:-20%;
  background:
    radial-gradient(circle at 10% 20%, rgba(45,212,255,.35) 0 1px, transparent 2px),
    radial-gradient(circle at 30% 70%, rgba(255,255,255,.22) 0 1px, transparent 2px),
    radial-gradient(circle at 55% 35%, rgba(91,124,250,.28) 0 1px, transparent 2px),
    radial-gradient(circle at 75% 80%, rgba(255,255,255,.18) 0 1px, transparent 2px),
    radial-gradient(circle at 90% 30%, rgba(45,212,255,.24) 0 1px, transparent 2px);
  mix-blend-mode: screen;
}

.hero-particles::before{ animation: particlesDriftA 18s linear infinite; opacity:.22; }
.hero-particles::after{ animation: particlesDriftB 28s linear infinite; opacity:.16; }

@keyframes particlesDriftA{
  0%   { transform: translate3d(-2%,  2%, 0); }
  100% { transform: translate3d( 6%, -6%, 0); }
}

@keyframes particlesDriftB{
  0%   { transform: translate3d( 4%, -3%, 0); }
  100% { transform: translate3d(-6%,  6%, 0); }
}

/* ============================
   SECTION BASICS
============================ */

section{padding:46px 0}

.section-title{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-bottom: 18px;
}

.section-title h2{margin:0; font-size:26px; letter-spacing:-.3px}
.section-title p{margin:0; color:var(--muted); max-width:70ch}

/* ============================
   TECH STRIP
============================ */

.tech-strip{ padding: 18px 0 34px; }

.tech-card{
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.tech-card::before{
  content:"";
  position:absolute;
  inset:-40%;
  background:
    radial-gradient(circle at 20% 30%, rgba(45,212,255,.18), transparent 55%),
    radial-gradient(circle at 85% 70%, rgba(91,124,250,.16), transparent 60%);
  filter: blur(28px);
  z-index: 0;
}

.tech-left, .tech-right{ position: relative; z-index: 1; }

.tech-kicker{
  margin: 0 0 8px;
  color: var(--muted);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .6px;
  text-transform: uppercase;
}

.tech-title{ margin: 0; font-size: 18px; line-height: 1.2; }
.tech-sub{ margin: 10px 0 0; color: var(--muted); font-size: 13px; }

.tech-icons{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}

.tech-icon{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding: 14px 8px;
  border-radius: 16px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  color: var(--text);
  box-shadow: 0 10px 26px rgba(0,0,0,.35), 0 0 20px rgba(45,212,255,.12);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.tech-icon svg{ width: 26px; height: 26px; stroke: currentColor; opacity: .95; }
.tech-icon span{ font-size: 11px; font-weight: 900; color: var(--muted); letter-spacing: .3px; }

.tech-icon:hover{
  transform: translateY(-3px);
  border-color: rgba(45,212,255,.25);
  box-shadow: 0 14px 34px rgba(0,0,0,.45), 0 0 26px rgba(45,212,255,.28);
}

.tech-icon:hover span{ color: var(--text); }

.tech-pills{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:flex-end;
}

.tech-pill{
  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(--muted);
  font-weight: 900;
  font-size: 13px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.tech-dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow: 0 0 18px rgba(45,212,255,.25);
}

.tech-pill:hover{
  transform: translateY(-2px);
  border-color: rgba(45,212,255,.18);
  background: rgba(255,255,255,.06);
  color: var(--text);
}

/* ============================
   CASE STUDIES
============================ */

.case-studies{ padding: 54px 0; }

.cases-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
  margin-top:14px;
}

.case{
  padding:18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.case:hover{
  transform: translateY(-3px);
  border-color: rgba(45,212,255,.18);
  background: rgba(255,255,255,.05);
}

.case-meta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:10px;
}

.case-tag{
  display:inline-flex;
  align-items:center;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: var(--text);
  font-weight: 900;
  font-size: 12px;
}

.case-tag.soft{ color: var(--muted); border-color: rgba(255,255,255,.08); }
.case-title{ margin:0 0 8px; font-size:16px; letter-spacing:-.2px; }
.case-desc{ margin:0; color:var(--muted); font-size:14px; }

.case-media{
  margin: 14px 0 12px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(7,11,20,.35);
  box-shadow:
    0 14px 34px rgba(0,0,0,.35),
    0 0 18px rgba(45,212,255,.10);
  position: relative;
}

.case-media::before{
  content:"";
  position:absolute;
  top:0; left:0; right:0;
  height: 34px;
  background: linear-gradient(90deg, rgba(45,212,255,.10), rgba(91,124,250,.06));
  border-bottom: 1px solid rgba(255,255,255,.08);
  z-index: 2;
}

.case-media::after{
  content:"";
  position:absolute;
  top: 12px;
  left: 14px;
  width: 46px;
  height: 10px;
  background:
    radial-gradient(circle, rgba(255,255,255,.45) 0 3px, transparent 4px) 0 0/12px 10px,
    radial-gradient(circle, rgba(255,255,255,.30) 0 3px, transparent 4px) 16px 0/12px 10px,
    radial-gradient(circle, rgba(255,255,255,.22) 0 3px, transparent 4px) 32px 0/12px 10px;
  opacity: .55;
  z-index: 3;
}

.case-media img{
  display:block;
  width:100%;
  height:auto;
  transform: translateZ(0);
  filter: contrast(1.02) saturate(1.04);
  opacity: .95;
}

.case:hover .case-media{
  box-shadow:
    0 18px 44px rgba(0,0,0,.45),
    0 0 26px rgba(45,212,255,.18);
}

.case-metrics{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 12px 0 12px;
}

.metric-chip{
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  position: relative;
  overflow: hidden;
}

.metric-chip::before{
  content:"";
  position:absolute;
  inset:-40%;
  background:
    radial-gradient(circle at 30% 30%, rgba(45,212,255,.16), transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(91,124,250,.12), transparent 60%);
  filter: blur(18px);
  opacity: .55;
  pointer-events:none;
}

.metric-value{
  font-weight: 1000;
  letter-spacing: -.2px;
  color: var(--text);
  font-size: 13px;
  position: relative;
  z-index: 1;
}

.metric-label{
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  position: relative;
  z-index: 1;
}

.case:hover .metric-chip{
  border-color: rgba(45,212,255,.16);
  background: rgba(255,255,255,.05);
}

.case-bullets{ margin:0; padding-left:18px; color:var(--muted); font-size:13px; }
.case-bullets li{ margin:8px 0; }
.case-bullets b{ color: var(--text); }

.case-cta{
  display:flex;
  gap:12px;
  align-items:center;
  flex-wrap:wrap;
  margin-top:14px;
}

.case-note{ color:var(--muted); font-size:12px; }

/* ============================
   SERVICES / ABOUT
============================ */

.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}

.svc{
  padding:18px;
  border-radius: var(--radius);
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  position: relative;
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}

.svc:hover{
  transform: translateY(-3px);
  border-color: rgba(45,212,255,.18);
  background: rgba(255,255,255,.05);
}

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

.svc-icon{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  color: rgba(234,240,255,.95);
  background: linear-gradient(135deg, rgba(45,212,255,.18), rgba(91,124,250,.14));
  border: 1px solid rgba(45,212,255,.16);
  box-shadow: 0 14px 32px rgba(0,0,0,.35), 0 0 22px rgba(45,212,255,.18);
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
}

.svc-icon::after{
  content:"";
  position:absolute;
  inset:-60%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.35), transparent 55%);
  transform: rotate(25deg);
  opacity:.55;
}

.svc-icon svg{ width: 22px; height: 22px; stroke: currentColor; opacity: .95; }

.svc:hover .svc-icon{
  box-shadow: 0 16px 36px rgba(0,0,0,.4), 0 0 28px rgba(45,212,255,.26);
  filter: brightness(1.05);
}

.about-card{ padding:18px; }
.about-grid{ grid-template-columns:repeat(3,1fr); }
.about-svc{ background:rgba(255,255,255,.03); }

/* ============================
   PROCESS
============================ */

.process{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:12px;
}

.step{
  padding:16px;
  background: rgba(255,255,255,.04);
  border:1px solid var(--line);
  border-radius: var(--radius);
  position:relative;
  overflow:hidden;
}

.step:before{
  content:"";
  position:absolute;
  inset:-40%;
  background: radial-gradient(circle at 30% 30%, rgba(45,212,255,.16), transparent 55%);
  transform: rotate(12deg);
  pointer-events:none;
}

.step b{display:block; margin-bottom:6px}
.step span{color:var(--muted); font-size:14px}

/* ============================
   CONTACT
============================ */

.contact{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
  align-items:stretch;
}

.box{ padding:18px; }

.box-title{margin:0 0 8px}
.box-subtitle{margin:0 0 10px; color:var(--muted); font-size:14px}

label{
  display:block;
  font-weight:900;
  font-size:13px;
  margin:12px 0 8px;
}

input, textarea{
  width:100%;
  padding:12px 12px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(7,11,20,.55);
  color: var(--text);
  outline:none;
}

textarea{min-height:120px; resize:vertical}

input:focus, textarea:focus{
  border-color: rgba(45,212,255,.35);
}

.form-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.form-actions{
  display:flex;
  gap:12px;
  align-items:center;
  flex-wrap:wrap;
  margin-top:12px;
}

.hint{color:var(--muted);font-size:13px}
.info-stack{margin-top:14px;display:grid;gap:10px}
.email-cta{margin-top:14px}
.email-note{margin:10px 0 0;color:var(--muted);font-size:12px}

/* Reused metric boxes */
.metric{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding:14px;
  border-radius: 16px;
  background: rgba(16,26,48,.55);
  border:1px solid rgba(255,255,255,.08);
}

.metric b{display:block; font-size:14px}
.metric span{color:var(--muted); font-size:13px}

.badge{
  font-size:12px;
  font-weight:900;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: var(--muted);
  white-space:nowrap;
}

.badge.ok{
  border-color: rgba(52,211,153,.35);
  color: rgba(167,243,208,.95);
}

/* ============================
   FOOTER
============================ */

.footer{
  padding:22px 0 40px;
  color:var(--muted);
  border-top: 1px solid var(--line);
  margin-top: 30px;
}

.footer-row{
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
}

.footer-brand{gap:10px}
.footer-copy{color:var(--muted);font-size:13px}

.footer small{
  display:block;
  margin-top:6px;
  opacity:.9;
}

/* ============================
   SCROLL REVEAL
============================ */

.reveal{
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity .75s ease,
    transform .75s ease;
  will-change: opacity, transform;
}

.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

.reveal.reveal-left{
  transform: translateX(-28px);
}

.reveal.reveal-right{
  transform: translateX(28px);
}

.reveal.reveal-left.is-visible,
.reveal.reveal-right.is-visible{
  transform: translateX(0);
}

.reveal-delay-1{ transition-delay: .08s; }
.reveal-delay-2{ transition-delay: .16s; }
.reveal-delay-3{ transition-delay: .24s; }
.reveal-delay-4{ transition-delay: .32s; }

/* ============================
   ACCESSIBILITY
============================ */

@media (prefers-reduced-motion: reduce){
  .loader-logo,
  .loader-ring::before,
  .loader-ring::after,
  .hero-lines::before,
  .hero-lines::after,
  .hero-particles::before,
  .hero-particles::after{
    animation: none !important;
  }

  .reveal,
  .reveal.reveal-left,
  .reveal.reveal-right{
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ============================
   RESPONSIVE
============================ */

@media (max-width: 1100px){
  .cases-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 960px){
  .hero-grid{grid-template-columns: 1fr}
  .grid-3{grid-template-columns: 1fr}
  .process{grid-template-columns: 1fr 1fr}
  .contact{grid-template-columns: 1fr}
  .form-row{grid-template-columns: 1fr}
  .nav-links{display:none}
  .desktop-only{ display:none; }
  .burger{ display:flex; }
  .tech-card{ grid-template-columns: 1fr; }
  .tech-icons{ grid-template-columns: repeat(3, 1fr); }
  .tech-pills{ justify-content:flex-start; }
  .case-metrics{ grid-template-columns: 1fr; }
}

@media (max-width: 768px){
  .nav-inner{ min-height: 64px; }
  .brand{ height: 64px; }
  .brand-logo{ height: 36px; }
}

@media (max-width: 640px){
  .loader-text{
    bottom: -24px;
    font-size: 11px;
    letter-spacing: 1.5px;
  }
}
