:root{
  --bg:#f8fafc;
  --surface:#ffffff;
  --surface-2:#eef2ff;
  --text:#0f172a;
  --muted:#475569;
  --line:#e2e8f0;
  --accent:#38bdf8;
  --accent-2:#a78bfa;
  --dark:#0b1020;
  --radius:22px;
  --shadow:0 12px 40px rgba(15,23,42,.08);
  --max:1100px;
}
*{box-sizing:border-box}
body{margin:0;font-family:Inter,Arial,sans-serif;background:var(--bg);color:var(--text)}
a{text-decoration:none;color:var(--text);font-weight:700}
.topbar{
  background:linear-gradient(135deg,#0f172a,#1e293b);
  color:#fff;
  padding:10px 18px;
  text-align:center;
  font-size:14px
}
.nav-wrap{
  position:sticky;top:0;z-index:30;
  backdrop-filter:blur(12px);
  background:rgba(255,255,255,.82);
  border-bottom:1px solid rgba(15,23,42,.08)
}
.nav{
  max-width:var(--max);margin:0 auto;padding:18px 24px;
  display:flex;align-items:center;justify-content:space-between;gap:18px
}
.nav-links{display:flex;gap:16px;flex-wrap:wrap;align-items:center}
.nav .cta{background:linear-gradient(135deg,var(--accent),var(--accent-2));padding:10px 14px;border-radius:999px}
.wrap{max-width:var(--max);margin:0 auto;padding:48px 24px}
.hero{
  background:linear-gradient(135deg,#0f172a,#1e293b);
  color:#fff;border-radius:30px;padding:34px;box-shadow:0 20px 50px rgba(2,6,23,.20)
}
.hero h1{margin:0 0 12px;font-size:clamp(34px,5vw,54px);line-height:1.02;letter-spacing:-1px}
.hero p{margin:0;color:#cbd5e1;font-size:18px;line-height:1.7;max-width:760px}
.section{margin-top:28px}
.card{
  background:var(--surface);border-radius:var(--radius);padding:26px;box-shadow:var(--shadow)
}
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
h2{margin:0 0 10px;font-size:28px;letter-spacing:-.5px}
p,li{font-size:17px;line-height:1.65;color:var(--muted)}
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:13px 18px;border-radius:999px;font-weight:800
}
.btn-primary{background:linear-gradient(135deg,var(--accent),var(--accent-2));color:#0b1020}
.btn-dark{background:#0f172a;color:#fff}
.quote{
  font-size:24px;line-height:1.5;color:var(--text)
}
.table-wrap{overflow:auto}
table{width:100%;border-collapse:collapse;background:#fff}
th,td{padding:12px 10px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
th{background:#f8fafc}
@media (max-width: 900px){
  .grid-2,.grid-3,.grid-4{grid-template-columns:1fr}
  .nav-links{display:none}
}




/* nav hard-fix */
.nav-wrap{
  position: sticky;
  top: 0;
  z-index: 200;
}

.topbar{
  position: relative;
  z-index: 50;
}

body{
  padding-top: 0 !important;
}

/* page transitions */
body{
  opacity:0;
  animation: fadeIn .5s ease forwards;
}

@keyframes fadeIn{
  to{opacity:1}
}

a{
  transition: opacity .18s ease, transform .18s ease;
}

a:hover{
  opacity:.85;
}

.section{
  border-top:1px solid rgba(15,23,42,.06);
  padding-top:70px;
}

/* DESIGN PASS 5 */


.shell{
  max-width:1180px;
  margin:0 auto;
  padding:0 28px;
}

.section{
  padding:90px 0;
}

.hero{
  padding:120px 0 120px;
}

.card{
  padding:28px;
}


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

@media (max-width:700px){
  .grid-4,
  .grid-3,
  .grid-2{
    grid-template-columns:1fr;
  }

  h1{
    font-size:42px;
  }
}


/* HERO CENTRAL ALIGN */
.hero{
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 56px;
}

.hero > *{
  width: 100%;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.hero h1,
.hero p{
  margin-left: auto;
  margin-right: auto;
}


/* HERO CENTRAL ALIGN MOBILE */
@media (max-width: 900px){
  .hero{
    min-height: 260px;
    padding: 40px 28px;
  }
}

@media (max-width: 640px){
  .hero{
    min-height: 220px;
    padding: 32px 22px;
  }

  .hero h1{
    font-size: clamp(30px, 8vw, 44px);
  }

  .hero p{
    font-size: 16px;
  }
}

/* HERO CONTENT BALANCE */
.hero{
  display:flex;
  align-items:center;
  justify-content:center;
}

.hero > div,
.hero > .shell{
  width:100%;
}

.hero h1{
  margin-top:0;
  margin-bottom:16px;
}

.hero p{
  margin-top:0;
  margin-bottom:0;
}

.hero-card{
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.hero-card ul{
  margin-top:14px;
}


/* BRAND COLOUR SYSTEM */

:root{
  --brand-blue:#38bdf8;
  --brand-indigo:#6366f1;
  --brand-purple:#8b5cf6;
  --brand-dark:#0b1020;
}

.btn-primary{
  background:linear-gradient(135deg,var(--brand-blue),var(--brand-purple));
}

.nav .cta{
  background:linear-gradient(135deg,var(--brand-blue),var(--brand-indigo));
}

.hero h1 span{
  background:linear-gradient(135deg,var(--brand-blue),var(--brand-purple));
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

/* CARD DEPTH ENHANCEMENT */


.card{
  border:1px solid rgba(15,23,42,.06);
  background:linear-gradient(180deg,#ffffff,#fbfdff);
}

.card:hover{
  transform:translateY(-6px);
  box-shadow:0 24px 60px rgba(2,6,23,.18);
}


/* GLASSMORPHISM LAYER */

.hero-card,
.quote,
.panel{
  backdrop-filter: blur(18px);
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.25),
    rgba(255,255,255,.08)
  );
  border:1px solid rgba(255,255,255,.25);
}

.stat{
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,.12);
}


/* HERO GRID BALANCE */

.hero-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:40px;
  align-items:center;
}

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

.hero-card{
  max-width:480px;
  margin-left:auto;
}

.hero p{
  max-width:620px;
}

/* NAV HOVER UNDERLINE EFFECT */


.nav-links a{
  position:relative;
}

.nav-links a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-6px;
  width:0%;
  height:2px;
  background:linear-gradient(90deg,#38bdf8,#8b5cf6);
  transition:width .2s ease;
}

.nav-links a:hover::after{
  width:100%;
}


/* BACKGROUND GLOW */

body::before{
content:"";
position:fixed;
top:-200px;
left:-200px;
width:500px;
height:500px;
background:radial-gradient(circle,rgba(56,189,248,.18),transparent 60%);
filter:blur(60px);
pointer-events:none;
z-index:-1;
}

body::after{
content:"";
position:fixed;
bottom:-200px;
right:-200px;
width:500px;
height:500px;
background:radial-gradient(circle,rgba(139,92,246,.18),transparent 60%);
filter:blur(60px);
pointer-events:none;
z-index:-1;
}

/* BUTTON MICROINTERACTIONS */


.btn{
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    filter .18s ease;
}

.btn:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 40px rgba(2,6,23,.25);
}

.btn:active{
  transform:translateY(0px);
}


/* CREDIBILITY PASS 2 */
.trust-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 16px;
  border-radius:999px;
  background:linear-gradient(180deg,#ffffff,#f8fbff);
  border:1px solid rgba(15,23,42,.08);
  box-shadow:0 8px 24px rgba(15,23,42,.06);
}

.stack-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 16px;
  border-radius:999px;
  background:#ffffff;
  border:1px solid rgba(15,23,42,.08);
  box-shadow:0 8px 24px rgba(15,23,42,.05);
}

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

.card ul li{
  margin:10px 0;
}


/* FINAL SECTION SPACING */

.section{
  padding:110px 0;
}

.section h2{
  margin-bottom:18px;
}

.section p{
  margin-bottom:18px;
}


/* SECTION SEPARATORS */


.section{
  border-top:1px solid rgba(15,23,42,.04);
}
