*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

:root{
  --bg:#050712;
  --bg-soft:#090d1d;
  --card:rgba(255,255,255,.065);
  --card-strong:rgba(255,255,255,.105);
  --line:rgba(255,255,255,.12);
  --text:#f7f9ff;
  --muted:#a9b1c8;
  --brand:#7c5cff;
  --brand-2:#00e7ff;
  --brand-3:#2cff9d;
  --radius:30px;
  --shadow:0 35px 110px rgba(0,0,0,.48);
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Inter',sans-serif;
  background:
    radial-gradient(circle at 18% 10%,rgba(124,92,255,.34),transparent 28%),
    radial-gradient(circle at 86% 14%,rgba(0,231,255,.22),transparent 24%),
    radial-gradient(circle at 70% 84%,rgba(44,255,157,.14),transparent 26%),
    var(--bg);
  color:var(--text);
  overflow-x:hidden;
}

a{
  color:inherit;
  text-decoration:none;
}

.container{
  width:min(1180px,92%);
  margin:auto;
}

.noise{
  position:fixed;
  inset:0;
  pointer-events:none;
  opacity:.08;
  z-index:-1;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.grid-bg{
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:-2;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size:72px 72px;
  mask-image:linear-gradient(to bottom,black,transparent 78%);
}

.cursor-glow{
  position:fixed;
  width:360px;
  height:360px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(0,231,255,.17),transparent 66%);
  pointer-events:none;
  transform:translate(-50%,-50%);
  z-index:-1;
}

.site-header{
  position:fixed;
  top:0;
  width:100%;
  z-index:100;
  background:rgba(5,7,18,.68);
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(22px);
}

.nav{
  height:96px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}

.logo{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:900;
  letter-spacing:.08em;
}

.logo-mark{
  width:42px;
  height:42px;
  border-radius:15px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,var(--brand),var(--brand-2));
  color:white;
  box-shadow:0 0 38px rgba(0,231,255,.28);
}

.desktop-nav{
  display:flex;
  align-items:center;
  gap:34px;
  color:var(--muted);
  font-weight:650;
}

.desktop-nav a{
  transition:.25s;
}

.desktop-nav a:hover{
  color:white;
}

.menu-btn{
  display:none;
  color:white;
  background:var(--card);
  border:1px solid var(--line);
  padding:12px 15px;
  border-radius:14px;
}

.btn{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border-radius:999px;
  padding:15px 22px;
  font-weight:800;
  overflow:hidden;
  transition:transform .25s, box-shadow .25s, border-color .25s;
}

.btn::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.36),transparent);
  transform:translateX(-120%);
  transition:.55s;
}

.btn:hover::before{
  transform:translateX(120%);
}

.btn-primary{
  background:linear-gradient(135deg,var(--brand),var(--brand-2));
  color:white;
  box-shadow:0 18px 48px rgba(124,92,255,.28);
}

.btn-ghost{
  border:1px solid var(--line);
  background:rgba(255,255,255,.055);
  color:white;
}

.btn:hover{
  transform:translateY(-4px);
}

.hero{
  min-height:100vh;
  padding:145px 0 90px;
  display:flex;
  align-items:center;
}

.hero-grid{
  display:grid;
  grid-template-columns:1.04fr .96fr;
  gap:58px;
  align-items:center;
}

.eyebrow,
.mini-label{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border:1px solid var(--line);
  border-radius:999px;
  background:rgba(255,255,255,.055);
  color:#d9ddff;
  font-weight:750;
}

.pulse{
  width:9px;
  height:9px;
  border-radius:50%;
  background:var(--brand-3);
  box-shadow:0 0 0 0 rgba(44,255,157,.55);
  animation:pulse 1.8s infinite;
}

@keyframes pulse{
  70%{box-shadow:0 0 0 13px rgba(44,255,157,0)}
  100%{box-shadow:0 0 0 0 rgba(44,255,157,0)}
}

h1{
  margin:24px 0 24px;
  font-size:clamp(52px,7vw,96px);
  line-height:.9;
  letter-spacing:-.08em;
}

h1 span,
.section-head h2 span{
  background:linear-gradient(135deg,#fff,var(--brand-2) 42%,var(--brand));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.hero-text{
  max-width:680px;
  color:var(--muted);
  font-size:clamp(18px,2vw,22px);
  line-height:1.65;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:15px;
  margin-top:34px;
}

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

.stat{
  padding:18px;
  border-radius:22px;
  border:1px solid var(--line);
  background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.035));
}

.stat strong{
  display:block;
  font-size:28px;
  letter-spacing:-.04em;
}

.stat span{
  color:var(--muted);
  font-size:13px;
}

.hero-visual{
  position:relative;
  min-height:570px;
}

.orb{
  position:absolute;
  border-radius:50%;
  filter:blur(6px);
}

.orb-one{
  width:170px;
  height:170px;
  top:20px;
  right:38px;
  background:rgba(124,92,255,.38);
}

.orb-two{
  width:120px;
  height:120px;
  bottom:90px;
  left:18px;
  background:rgba(0,231,255,.25);
}

.code-window{
  position:absolute;
  inset:60px 5px auto 30px;
  padding:22px;
  border-radius:36px;
  border:1px solid var(--line);
  background:linear-gradient(180deg,rgba(255,255,255,.125),rgba(255,255,255,.05));
  box-shadow:var(--shadow);
  backdrop-filter:blur(18px);
  transform:perspective(950px) rotateY(-7deg) rotateX(4deg);
}

.window-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:20px;
  color:var(--muted);
  font-size:12px;
  font-weight:800;
}

.window-dots{
  display:flex;
  gap:8px;
}

.window-dots i{
  width:12px;
  height:12px;
  display:block;
  border-radius:50%;
  background:rgba(255,255,255,.3);
}

.terminal{
  min-height:250px;
  border-radius:26px;
  border:1px solid var(--line);
  background:#070a16;
  padding:24px;
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;
  color:#d9e6ff;
  line-height:2;
}

.terminal em{
  color:var(--brand-2);
  font-style:normal;
}

.terminal span{
  color:var(--brand-3);
}

.progress-stack{
  display:grid;
  gap:12px;
  margin-top:20px;
}

.progress{
  height:13px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  overflow:hidden;
}

.progress b{
  display:block;
  height:100%;
  width:0;
  border-radius:999px;
  background:linear-gradient(90deg,var(--brand),var(--brand-2));
  transition:width 1.2s ease;
}

.floating{
  animation:float 5.5s ease-in-out infinite;
}

@keyframes float{
  50%{transform:perspective(950px) rotateY(-7deg) rotateX(4deg) translateY(-18px)}
}

.floating-chip{
  position:absolute;
  padding:18px 20px;
  border-radius:24px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.095);
  backdrop-filter:blur(16px);
  box-shadow:var(--shadow);
  animation:chipFloat 5s ease-in-out infinite;
}

.floating-chip small{
  display:block;
  color:var(--muted);
  margin-bottom:5px;
}

.chip-one{
  top:42px;
  left:0;
}

.chip-two{
  right:-10px;
  bottom:120px;
  animation-delay:-1.8s;
}

.chip-three{
  bottom:40px;
  left:60px;
  animation-delay:-3s;
}

@keyframes chipFloat{
  50%{transform:translateY(-14px)}
}

.section{
  padding:110px 0;
}

.section-head{
  max-width:840px;
  margin:0 auto 44px;
  text-align:center;
}

.section-head span{
  color:var(--brand-2);
  font-weight:850;
  text-transform:uppercase;
  letter-spacing:.14em;
  font-size:13px;
}

.section-head h2,
.about-text h2,
.faq-title h2,
.cta-box h2{
  font-size:clamp(36px,4.6vw,62px);
  line-height:1;
  letter-spacing:-.06em;
  margin:18px 0;
}

.section-head p,
.about-text p,
.faq-title p,
.cta-box p{
  color:var(--muted);
  line-height:1.75;
  font-size:17px;
}

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

.service-card{
  position:relative;
  min-height:390px;
  border-radius:var(--radius);
  border:1px solid var(--line);
  padding:30px;
  background:linear-gradient(180deg,rgba(255,255,255,.085),rgba(255,255,255,.035));
  overflow:hidden;
  transition:.32s;
}

.service-card::after{
  content:"";
  position:absolute;
  left:-25%;
  right:-25%;
  bottom:-35%;
  height:190px;
  background:radial-gradient(circle,rgba(0,231,255,.24),transparent 60%);
  opacity:0;
  transition:.32s;
}

.service-card:hover{
  transform:translateY(-10px);
  border-color:rgba(0,231,255,.42);
}

.service-card:hover::after{
  opacity:1;
}

.card-number{
  color:var(--brand-2);
  font-size:14px;
  font-weight:900;
}

.service-card h3{
  font-size:28px;
  line-height:1.05;
  letter-spacing:-.04em;
  margin:22px 0 16px;
}

.service-card p{
  color:var(--muted);
  line-height:1.75;
}

.tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:24px;
}

.tags span{
  padding:8px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.06);
  color:#d7def5;
  font-size:12px;
  font-weight:700;
}

.about-grid,
.faq-grid{
  display:grid;
  grid-template-columns:.92fr 1.08fr;
  gap:42px;
  align-items:start;
}

.about-text p + p{
  margin-top:18px;
}

.about-panel{
  border-radius:36px;
  border:1px solid var(--line);
  background:linear-gradient(180deg,rgba(255,255,255,.09),rgba(255,255,255,.035));
  padding:28px;
  box-shadow:var(--shadow);
}

.panel-header{
  display:flex;
  justify-content:space-between;
  color:var(--muted);
  margin-bottom:22px;
}

.flow-item{
  display:grid;
  grid-template-columns:58px 1fr;
  gap:18px;
  padding:20px;
  border-radius:24px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.045);
  margin-top:12px;
}

.flow-item b{
  width:44px;
  height:44px;
  border-radius:16px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,var(--brand),var(--brand-2));
}

.flow-item h4{
  margin-bottom:6px;
}

.flow-item p{
  color:var(--muted);
  line-height:1.55;
}

.testimonials{
  background:linear-gradient(180deg,transparent,rgba(255,255,255,.025),transparent);
}

.testimonial-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}

.testimonial{
  position:relative;
  border-radius:32px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.055);
  padding:34px;
  overflow:hidden;
}

.quote{
  position:absolute;
  right:28px;
  top:8px;
  font-size:120px;
  color:rgba(255,255,255,.07);
  font-weight:900;
}

.testimonial h3{
  font-size:26px;
  letter-spacing:-.04em;
  margin-bottom:18px;
  position:relative;
}

.testimonial p{
  color:var(--muted);
  line-height:1.75;
  margin-bottom:26px;
  position:relative;
}

.testimonial strong{
  display:block;
}

.testimonial span{
  color:var(--muted);
  display:block;
  margin-top:5px;
}

.faq-list{
  display:grid;
  gap:12px;
}

details{
  border-radius:22px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.055);
  overflow:hidden;
}

summary{
  cursor:pointer;
  padding:22px 24px;
  font-weight:850;
  list-style:none;
}

summary::-webkit-details-marker{
  display:none;
}

details p{
  color:var(--muted);
  line-height:1.7;
  padding:0 24px 24px;
}

.cta-section{
  padding:90px 0 120px;
}

.cta-box{
  text-align:center;
  border-radius:42px;
  border:1px solid var(--line);
  background:
    radial-gradient(circle at 50% 0,rgba(124,92,255,.35),transparent 42%),
    rgba(255,255,255,.055);
  padding:70px 28px;
  box-shadow:var(--shadow);
}

.cta-box span{
  color:var(--brand-2);
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.14em;
  font-size:13px;
}

.cta-box p{
  max-width:720px;
  margin:0 auto 30px;
}

.contact-actions{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:14px;
}

footer{
  border-top:1px solid var(--line);
  padding:42px 0;
  color:var(--muted);
}

.footer{
  display:flex;
  justify-content:space-between;
  gap:30px;
  align-items:flex-start;
}

.footer-logo{
  color:white;
  margin-bottom:14px;
}

.footer-links{
  display:flex;
  align-items:flex-end;
  flex-direction:column;
  gap:10px;
}

.reveal{
  opacity:0;
  transform:translateY(34px);
  transition:opacity .75s ease, transform .75s ease;
}

.reveal.visible{
  opacity:1;
  transform:none;
}

.mobile-open .desktop-nav{
  display:flex;
  position:absolute;
  left:4%;
  right:4%;
  top:92px;
  padding:22px;
  border-radius:22px;
  border:1px solid var(--line);
  background:rgba(7,10,22,.96);
  flex-direction:column;
  align-items:flex-start;
}

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

  .menu-btn{
    display:block;
  }

  .nav .btn-primary{
    display:none;
  }

  .hero-grid,
  .about-grid,
  .faq-grid{
    grid-template-columns:1fr;
  }

  .hero-visual{
    min-height:500px;
  }

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

  .service-grid,
  .testimonial-grid{
    grid-template-columns:1fr;
  }

  .footer{
    flex-direction:column;
  }

  .footer-links{
    align-items:flex-start;
  }
}

@media(max-width:620px){
  .hero{
    padding-top:120px;
  }

  h1{
    font-size:52px;
  }

  .stats{
    grid-template-columns:1fr;
  }

  .code-window{
    inset:70px 0 auto 0;
  }

  .floating-chip{
    display:none;
  }

  .section{
    padding:80px 0;
  }

  .cta-box{
    padding:48px 20px;
  }
}


/* Logo Integration */
.logo-img{
  height:68px;
  width:auto;
  display:block;
  object-fit:contain;
}

.footer-logo-img{
  height:54px;
  opacity:.96;
}

.logo-mark{
  display:none;
}

/* Legal Pages */
.legal-hero{
  min-height:auto;
  padding:150px 0 55px;
}

.legal-hero h1{
  font-size:clamp(46px,6vw,84px);
  margin-bottom:20px;
}

.legal-wrap{
  padding:30px 0 120px;
}

.legal-grid{
  display:grid;
  grid-template-columns:300px 1fr;
  gap:28px;
  align-items:start;
}

.legal-sidebar{
  position:sticky;
  top:112px;
  border:1px solid var(--line);
  border-radius:28px;
  background:rgba(255,255,255,.055);
  backdrop-filter:blur(18px);
  padding:22px;
}

.legal-sidebar h3{
  font-size:18px;
  margin-bottom:14px;
}

.legal-sidebar a{
  display:block;
  color:var(--muted);
  padding:10px 0;
  border-bottom:1px solid rgba(255,255,255,.06);
  transition:.25s;
}

.legal-sidebar a:last-child{
  border-bottom:none;
}

.legal-sidebar a:hover{
  color:white;
  transform:translateX(4px);
}

.legal-card{
  border:1px solid var(--line);
  border-radius:34px;
  background:
    radial-gradient(circle at 20% 0,rgba(124,92,255,.18),transparent 34%),
    rgba(255,255,255,.052);
  box-shadow:var(--shadow);
  padding:34px;
}

.legal-card section{
  padding:0;
  margin-bottom:34px;
}

.legal-card section:last-child{
  margin-bottom:0;
}

.legal-card h2{
  font-size:clamp(26px,3vw,40px);
  line-height:1.05;
  letter-spacing:-.045em;
  margin-bottom:16px;
}

.legal-card h3{
  font-size:22px;
  margin:22px 0 10px;
}

.legal-card p,
.legal-card li{
  color:var(--muted);
  line-height:1.78;
}

.legal-card ul{
  padding-left:20px;
  margin:12px 0;
}

.legal-card .info-box{
  border:1px solid rgba(255,255,255,.1);
  border-radius:24px;
  background:rgba(255,255,255,.045);
  padding:22px;
  margin:16px 0;
}

.legal-card .info-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
}

.legal-card .info-item{
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  background:rgba(255,255,255,.04);
  padding:16px;
}

.legal-card .info-item small{
  display:block;
  color:var(--brand-2);
  font-weight:850;
  margin-bottom:6px;
}

.legal-note{
  margin-top:24px;
  padding:18px;
  border-radius:22px;
  background:rgba(0,231,255,.07);
  border:1px solid rgba(0,231,255,.18);
  color:#dffaff;
}

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

  .legal-sidebar{
    position:relative;
    top:0;
  }

  .legal-card .info-grid{
    grid-template-columns:1fr;
  }
}
