:root{
  --bg0:#02030a;
  --bg1:#050815;
  --text:#f9fafb;
  --muted:rgba(209,213,219,.78);
  --stroke:rgba(148,163,184,.16);
  --card:rgba(15,23,42,.74);
  --shadow:0 40px 90px rgba(0,0,0,.85);
  --radius:22px;
  --accent0:#7c5cff;
  --accent1:#1bd3ff;
}

*,
*::before,
*::after{
  box-sizing:border-box;
}

html{
  height:100%;
  scroll-behavior:smooth;
}

body{
  min-height:100%;
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color:var(--text);
  background:
    radial-gradient(1200px 800px at 20% 15%, rgba(148,163,255,.16), transparent 55%),
    radial-gradient(1100px 760px at 78% 0%, rgba(15,23,42,.9), transparent 55%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
}

body,
.page{
  position:relative;
}

#bg{
  position:fixed;
  inset:0;
  width:100%;
  height:100%;
  display:block;
  z-index:-1;
}

.page{
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

.site-header{
  position:sticky;
  top:0;
  z-index:20;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background:linear-gradient(180deg, rgba(3,7,18,.92), rgba(3,7,18,.72), transparent);
  border-bottom:1px solid rgba(15,23,42,.6);
}

.nav-inner{
  max-width:1080px;
  margin:0 auto;
  padding:14px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

.brand-mark{
  display:inline-flex;
  align-items:center;
}

.brand-logo{
  height:40px;
  width:auto;
}

.nav{
  display:flex;
  align-items:center;
  gap:20px;
  font-size:14px;
}

.nav a{
  color:rgba(226,232,240,.9);
  text-decoration:none;
  padding:6px 0;
  position:relative;
}

.nav a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-4px;
  width:0;
  height:2px;
  border-radius:999px;
  background:linear-gradient(90deg,var(--accent0),var(--accent1));
  transition:width .18s ease-out;
}

.nav a:hover::after,
.nav a:focus-visible::after{
  width:100%;
}

main{
  flex:1;
}

.section{
  max-width:1080px;
  margin:0 auto;
  padding:56px 20px 40px;
}

.section-tight{
  padding-top:18px;
  padding-bottom:10px;
}

.hero{
  display:grid;
  align-items:center;
  min-height:calc(100vh - 80px);
}

.hero-content{
  max-width:640px;
}

.eyebrow{
  text-transform:uppercase;
  letter-spacing:.18em;
  font-size:11px;
  color:rgba(148,163,184,.9);
  margin:0 0 10px;
}

.hero h1{
  margin:0 0 12px;
  font-size:clamp(30px, 4vw, 40px);
  line-height:1.1;
  letter-spacing:-.03em;
}

.hero-subtitle{
  margin:0 0 10px;
  font-size:15px;
  color:var(--muted);
}

.hero-copy{
  margin:0 0 22px;
  font-size:14px;
  color:rgba(209,213,219,.82);
  max-width:540px;
}

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

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  padding:10px 18px;
  font-size:14px;
  font-weight:500;
  border:1px solid transparent;
  cursor:pointer;
  text-decoration:none;
  transition:transform .14s ease, box-shadow .14s ease, background .14s ease, border-color .14s ease, color .14s ease;
}

.btn-primary{
  color:#020617;
  background:linear-gradient(135deg,var(--accent0),var(--accent1));
  box-shadow:0 18px 40px rgba(124,92,255,.35),0 0 0 1px rgba(15,23,42,.8);
}

.btn-primary:hover{
  transform:translateY(-1px);
  box-shadow:0 24px 60px rgba(124,92,255,.45),0 0 0 1px rgba(15,23,42,.8);
}

.btn-ghost{
  color:rgba(226,232,240,.9);
  background:rgba(15,23,42,.75);
  border-color:rgba(148,163,184,.5);
}

.btn-ghost:hover{
  background:rgba(15,23,42,.95);
}

.full-width{
  width:100%;
}

.section-heading{
  max-width:720px;
  margin:0 0 26px;
}

.section h2{
  margin:4px 0 10px;
  font-size:clamp(22px, 3vw, 30px);
  letter-spacing:-.02em;
}

.section-lead{
  margin:0;
  font-size:14px;
  color:rgba(209,213,219,.82);
}

.trust-strip{
  border-top:1px solid rgba(15,23,42,.8);
  border-bottom:1px solid rgba(15,23,42,.8);
}

.trust-row{
  max-width:1080px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  font-size:12px;
  color:rgba(148,163,184,.9);
}

.trust-label{
  margin:0;
  white-space:nowrap;
}

.trust-items{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  justify-content:flex-end;
}

.pill{
  border-radius:999px;
  border:1px solid rgba(55,65,81,.9);
  background:radial-gradient(160% 200% at 0% 0%, rgba(56,189,248,.22), transparent 55%),
             rgba(15,23,42,.9);
  padding:4px 10px;
  font-size:11px;
  color:rgba(226,232,240,.9);
}

.about-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}

.services-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}

.process-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}

.stack-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}

.stack-item{
  border-radius:999px;
  padding:8px 12px;
  border:1px solid rgba(51,65,85,.9);
  background:radial-gradient(140% 180% at 0% 0%, rgba(148,163,255,.3), transparent 55%),
             rgba(15,23,42,.92);
  font-size:12px;
  text-align:center;
  color:rgba(226,232,240,.96);
}

.card{
  border-radius:18px;
  padding:18px 18px 16px;
  background:radial-gradient(180% 180% at 0% 0%, rgba(148,163,255,.16), transparent 55%),
             radial-gradient(160% 180% at 100% 0%, rgba(45,212,191,.1), transparent 55%),
             rgba(15,23,42,.86);
  border:1px solid rgba(15,23,42,.85);
  box-shadow:0 18px 40px rgba(0,0,0,.75);
  backdrop-filter:blur(22px);
  -webkit-backdrop-filter:blur(22px);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.card h3{
  margin:0 0 8px;
  font-size:15px;
}

.card p{
  margin:0;
  font-size:13px;
  color:rgba(209,213,219,.82);
}

.card:hover{
  transform:translateY(-3px);
  border-color:rgba(148,163,255,.7);
  box-shadow:0 28px 80px rgba(15,23,42,.9);
}

.service h3{
  font-size:14px;
}

.step{
  position:relative;
}

.step-label{
  margin:0 0 8px;
  font-size:12px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:rgba(148,163,184,.9);
}

.contact-layout{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(0,1.2fr);
  gap:18px;
}

.contact-list{
  list-style:none;
  margin:10px 0 0;
  padding:0;
  font-size:13px;
}

.contact-list li{
  margin-bottom:12px;
}

.contact-list span{
  display:block;
  font-size:11px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:rgba(148,163,184,.9);
  margin-bottom:4px;
}

.contact-list a{
  color:rgba(191,219,254,.96);
  text-decoration:none;
}

.contact-list a:hover{
  text-decoration:underline;
}

.contact-form h3{
  margin:0 0 12px;
}

.field-group{
  margin-bottom:12px;
}

.field-group label{
  display:block;
  margin-bottom:4px;
  font-size:12px;
  color:rgba(209,213,219,.9);
}

.field-group input,
.field-group textarea{
  width:100%;
  padding:9px 11px;
  border-radius:10px;
  border:1px solid rgba(30,64,175,.7);
  background:rgba(15,23,42,.82);
  color:var(--text);
  font-size:13px;
  outline:none;
}

.field-group input:focus,
.field-group textarea:focus{
  border-color:rgba(59,130,246,1);
  box-shadow:0 0 0 1px rgba(59,130,246,.85);
}

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

.form-note{
  margin:8px 0 14px;
  font-size:11px;
  color:rgba(148,163,184,.85);
}

.form-status{
  margin:6px 0 0;
  font-size:12px;
}

.site-footer{
  border-top:1px solid rgba(15,23,42,.8);
  background:radial-gradient(120% 200% at 10% 0%, rgba(79,70,229,.22), transparent 60%),
             rgba(3,7,18,.96);
  padding:24px 20px 18px;
  margin-top:20px;
}

.footer-top{
  max-width:1080px;
  margin:0 auto 16px;
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(0,1.2fr);
  gap:18px;
  align-items:flex-start;
}

.footer-copy{
  margin:6px 0 0;
  font-size:13px;
  color:rgba(209,213,219,.82);
}

.footer-nav{
  display:flex;
  flex-wrap:wrap;
  gap:10px 18px;
  font-size:13px;
}

.footer-nav a{
  color:rgba(209,213,219,.9);
  text-decoration:none;
}

.footer-nav a:hover{
  text-decoration:underline;
}

.footer-contact{
  font-size:12px;
  color:rgba(209,213,219,.9);
}

.footer-contact p{
  margin:0 0 8px;
}

.footer-contact a{
  color:rgba(191,219,254,.96);
  text-decoration:none;
}

.footer-contact a:hover{
  text-decoration:underline;
}

.footer-bottom{
  max-width:1080px;
  margin:0 auto;
  border-top:1px solid rgba(15,23,42,.8);
  padding-top:10px;
  font-size:11px;
  color:rgba(148,163,184,.9);
  text-align:center;
}

@media (max-width: 900px){
  .about-grid,
  .services-grid,
  .process-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .contact-layout{
    grid-template-columns:1fr;
  }

  .footer-top{
    grid-template-columns:1fr 1fr;
  }

  .stack-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media (max-width: 720px){
  .nav{
    display:none;
  }

  .hero{
    min-height:unset;
    padding-top:42px;
  }

  .hero-actions{
    flex-direction:column;
    align-items:stretch;
  }

  .about-grid,
  .services-grid,
  .process-grid{
    grid-template-columns:1fr;
  }

  .footer-top{
    grid-template-columns:1fr;
  }

  .trust-row{
    flex-direction:column;
    align-items:flex-start;
  }

  .trust-items{
    justify-content:flex-start;
  }

  .stack-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width: 480px){
  .section{
    padding:42px 16px 32px;
  }
}
