:root{
  --bg:#0B1220;
  --bg2:#0F172A;
  --text:#EAF0FF;
  --muted:#B7C2E3;
  --card:rgba(255,255,255,.06);
  --border:rgba(255,255,255,.10);
  --primary:#7C3AED;
  --cyan:#22D3EE;
  --light:#F8FAFC;
  --darktext:#0B1220;
  --shadow: 0 18px 60px rgba(0,0,0,.45);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x:hidden;
}

a{color:inherit; text-decoration:none}
.container{width:min(1120px, 92%); margin:0 auto}

/* BACKGROUND */
.bg{position:fixed; inset:0; z-index:-2}
#particles{position:absolute; inset:0; width:100%; height:100%}
.grid-overlay{
  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: 80px 80px;
  opacity:.08;
  mask-image: radial-gradient(circle at 25% 10%, black 0%, transparent 60%);
}
.glow{
  position:absolute; width:640px; height:640px; filter: blur(40px);
  opacity:.35;
  background: radial-gradient(circle, rgba(124,58,237,.55), transparent 60%);
}
.glow.a{left:-180px; top:-160px}
.glow.b{
  right:-220px; top:80px;
  background: radial-gradient(circle, rgba(34,211,238,.45), transparent 60%);
}

/* HEADER */
.header{
  position:sticky; top:0; z-index:50;
  background: rgba(11,18,32,.68);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
}
.brand{display:flex; align-items:center; gap:10px}
.brand-mark{
  width:14px; height:14px; border-radius:6px;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  box-shadow: 0 0 20px rgba(124,58,237,.35);
}
.brand-text{font-weight:700; letter-spacing:.2px}
.brand-text b{color:var(--primary)}

.nav-links{display:flex; align-items:center; gap:18px}
.nav-links a{color:var(--muted); font-size:14px; padding:10px 10px; border-radius:10px}
.nav-links a:hover{color:var(--text); background: rgba(255,255,255,.06)}

.nav-toggle{
  display:none;
  background:transparent; border:0; cursor:pointer;
}
.nav-toggle span{
  display:block; width:26px; height:2px; margin:6px 0;
  background: rgba(255,255,255,.82);
  border-radius:2px;
}

/* BUTTONS */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 16px;
  border-radius:12px;
  font-weight:700;
  font-size:14px;
  border:1px solid transparent;
  transition: .18s ease;
}
.btn.small{padding:10px 14px; border-radius:12px}
.btn.primary{
  background: linear-gradient(135deg, var(--primary), rgba(34,211,238,.40));
  color:#081022;
}
.btn.primary:hover{transform: translateY(-1px); box-shadow: 0 14px 40px rgba(124,58,237,.22)}
.btn.ghost{
  border-color: rgba(34,211,238,.35);
  background: rgba(34,211,238,.08);
  color: var(--cyan);
}
.btn.ghost:hover{transform: translateY(-1px); background: rgba(34,211,238,.14)}

/* HERO */
.hero{padding: 64px 0 40px}
.hero-grid{
  display:grid;
  grid-template-columns: 1.25fr .95fr;
  gap: 28px;
  align-items:center;
  padding: 34px 0 10px;
}
.badge{
  display:inline-flex; align-items:center; gap:10px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  color: var(--muted);
  font-size:13px;
}
.dot{width:8px;height:8px;border-radius:50%;background: var(--cyan); box-shadow:0 0 18px rgba(34,211,238,.55)}
h1{
  margin:14px 0 12px;
  font-size: clamp(34px, 4.3vw, 56px);
  line-height:1.05;
}
.grad{
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.lead{color: var(--muted); font-size:16px; max-width: 62ch}
.hero-cta{margin-top:20px; display:flex; gap:12px; flex-wrap:wrap}
.hero-trust{margin-top:14px; display:flex; gap:10px; flex-wrap:wrap}
.hero-trust span{
  font-size:13px;
  color: rgba(255,255,255,.86);
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  padding:8px 10px;
  border-radius:999px;
}

/* MOCK */
.mock{
  border:1px solid var(--border);
  background: rgba(255,255,255,.05);
  border-radius:22px;
  overflow:hidden;
  box-shadow: var(--shadow);
}
.mock-top{
  display:flex; gap:8px;
  padding:14px;
  border-bottom:1px solid var(--border);
  background: rgba(255,255,255,.03);
}
.mock-top span{width:10px;height:10px;border-radius:50%; background: rgba(255,255,255,.18)}
.mock-body{padding:18px}
.mock-kpi{display:flex; gap:12px}
.kpi{
  flex:1;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  border-radius:16px;
  padding:14px;
}
.kpi-num{font-weight:800; font-size:18px}
.kpi-label{color:var(--muted); font-size:12px; margin-top:4px}
.mock-lines{margin-top:14px}
.line{height:10px;border-radius:999px;background: rgba(255,255,255,.10); margin:10px 0}
.w-70{width:70%}.w-55{width:55%}.w-85{width:85%}
.mock-cards{
  margin-top:16px;
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:12px;
}
.mini{
  height:86px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.08);
  background: linear-gradient(135deg, rgba(124,58,237,.18), rgba(34,211,238,.10));
}
.mock-cta{
  height:40px;
  margin-top:16px;
  border-radius:14px;
  border:1px solid rgba(34,211,238,.20);
  background: rgba(34,211,238,.10);
}

/* SECTIONS */
.section{padding: 88px 0}
.section-head{text-align:center; max-width: 820px; margin:0 auto 34px}
.section-head h2{margin:0 0 10px; font-size: clamp(26px, 3vw, 38px)}
.section-head p{margin:0; color: var(--muted); line-height:1.6}

.section.light{
  background: var(--light);
  color: var(--darktext);
}
.section.light .section-head p{color: rgba(11,18,32,.70)}
.section.dark{
  background: radial-gradient(900px 700px at 12% 10%, rgba(124,58,237,.14), transparent 55%),
              radial-gradient(900px 700px at 90% 20%, rgba(34,211,238,.10), transparent 55%),
              var(--bg2);
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

/* CARDS */
.cards{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:16px;
}
.card{
  border:1px solid rgba(11,18,32,.10);
  background: #FFFFFF;
  border-radius:20px;
  padding:22px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  transition: .18s ease;
}
.card:hover{transform: translateY(-2px)}
.icon{
  width:44px; height:44px; border-radius:14px;
  display:grid; place-items:center;
  background: rgba(124,58,237,.12);
  border: 1px solid rgba(124,58,237,.18);
  margin-bottom:10px;
}
.card h3{margin:10px 0 8px}
.card p{margin:0; color: rgba(11,18,32,.70); line-height:1.6}
.card ul{margin:14px 0 0; padding-left:18px; color: rgba(11,18,32,.70)}
.card li{margin:8px 0}

/* SPLIT */
.split{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:18px;
  align-items:start;
}
.split p{color: var(--muted); line-height:1.65}
.pill-grid{
  margin-top:16px;
  display:flex; gap:10px; flex-wrap:wrap;
}
.pill-grid span{
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.86);
  padding:8px 10px;
  border-radius:999px;
  font-size:13px;
}
.panel{
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  border-radius:22px;
  padding:18px;
  box-shadow: var(--shadow);
}
.panel-title{font-weight:800; margin-bottom:12px}
.stack{display:flex; flex-wrap:wrap; gap:10px}
.chip{
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.12);
  padding:10px 12px;
  border-radius:999px;
  font-size:13px;
  color: rgba(255,255,255,.88);
}
.panel-foot{
  margin-top:14px;
  display:flex; align-items:center; gap:10px;
  color: rgba(255,255,255,.78);
  font-size:13px;
}
.status-dot{
  width:8px; height:8px; border-radius:50%;
  background: #22c55e;
  box-shadow: 0 0 14px rgba(34,197,94,.45);
}

.cta-row{margin-top:16px; display:flex; gap:12px; flex-wrap:wrap}

/* WORK */
.work-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:16px;
}
.work{
  border:1px solid rgba(11,18,32,.10);
  background:#fff;
  border-radius:20px;
  padding:16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  transition:.18s ease;
}
.work:hover{transform: translateY(-2px)}
.thumb{
  height:170px;
  border-radius:18px;
  border:1px solid rgba(11,18,32,.10);
  position:relative;
  overflow:hidden;
}
.thumb:before{
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.25), transparent 55%);
  opacity:.8;
}
.t1{background: linear-gradient(135deg, rgba(124,58,237,.22), rgba(34,211,238,.12))}
.t2{background: linear-gradient(135deg, rgba(34,211,238,.18), rgba(15,23,42,.00))}
.t3{background: linear-gradient(135deg, rgba(124,58,237,.16), rgba(11,18,32,.00))}
.tag{
  position:absolute; left:12px; top:12px;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  background: rgba(0,0,0,.35);
  color:#fff;
  border:1px solid rgba(255,255,255,.18);
}
.work h3{margin:12px 0 6px}
.work p{margin:0; color: rgba(11,18,32,.70); line-height:1.6}

/* ABOUT */
.about{max-width: 820px}
.about p{color: var(--muted); line-height:1.7}
.about-badges{margin-top:16px; display:flex; gap:10px; flex-wrap:wrap}
.ab{
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.86);
  padding:10px 12px;
  border-radius:14px;
  font-size:13px;
}

/* CONTACT */
.contact{
  max-width: 820px;
  margin: 0 auto;
  border:1px solid rgba(11,18,32,.10);
  background:#fff;
  border-radius:22px;
  padding:18px;
  box-shadow: 0 18px 60px rgba(0,0,0,.12);
}
.contact label span{
  display:block;
  font-size:13px;
  color: rgba(11,18,32,.70);
  margin-bottom:6px;
}
.contact input, .contact textarea, .contact select{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(11,18,32,.16);
  background: #fff;
  outline:none;
}
.contact textarea{min-height: 130px; resize:vertical}
.two{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
  margin-bottom:12px;
}
.contact-links{
  margin-top:12px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  color: rgba(11,18,32,.70);
}
.link{color: rgba(11,18,32,.88); text-decoration:underline; text-decoration-color: rgba(124,58,237,.35)}
.sep{opacity:.6}

/* FOOTER */
.footer{
  padding: 34px 0 16px;
  border-top:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.12);
}
.foot{
  display:flex; justify-content:space-between; align-items:flex-start;
  gap:18px; flex-wrap:wrap;
}
.foot-brand{font-weight:800}
.foot-brand b{color: var(--primary)}
.foot-sub{color: rgba(255,255,255,.74); font-size:13px; margin-top:6px}
.foot-right{display:flex; gap:14px; flex-wrap:wrap}
.foot-right a{color: rgba(255,255,255,.76); font-size:14px}
.foot-right a:hover{color: var(--text)}
.copy{margin-top:14px; color: rgba(255,255,255,.60); font-size:13px}

/* FAB */
.fab{
  position:fixed;
  right:18px; bottom:18px;
  padding:12px 14px;
  border-radius:999px;
  font-weight:800;
  background: linear-gradient(135deg, #25D366, rgba(34,211,238,.35));
  color:#071018;
  border:1px solid rgba(255,255,255,.18);
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
  z-index:60;
}
.fab:hover{transform: translateY(-1px)}

/* REVEAL */
.reveal{opacity:0; transform: translateY(14px); transition: .7s ease}
.reveal.show{opacity:1; transform: translateY(0)}
.delay-1{transition-delay:.08s}
.delay-2{transition-delay:.16s}
.delay-3{transition-delay:.24s}

/* RESPONSIVE */
@media (max-width: 980px){
  .hero-grid{grid-template-columns:1fr}
  .cards{grid-template-columns:1fr}
  .split{grid-template-columns:1fr}
  .work-grid{grid-template-columns:1fr}
}
@media (max-width: 760px){
  .nav-toggle{display:block}
  .nav-links{
    position:absolute;
    right:4%;
    left:4%;
    top:66px;
    display:none;
    flex-direction:column;
    gap:10px;
    padding:14px;
    border-radius:16px;
    border:1px solid var(--border);
    background: rgba(11,18,32,.92);
    backdrop-filter: blur(12px);
  }
  .nav-links.open{display:flex}
  .two{grid-template-columns:1fr}
}