:root{
  --bg: #060b1e;
  --bg-soft: #0a1330;
  --card: #0e1a3d;
  --card-hover: #122349;
  --border: rgba(255,255,255,0.08);
  --text: #e8eefc;
  --text-dim: #9fb0d0;
  --text-faint: #6b7ba3;
  --accent: #22d3ee;
  --accent2: #3b82f6;
  --gradient: linear-gradient(135deg, var(--accent), var(--accent2));
  --radius: 14px;
  --container: 1240px;
  --surface: rgba(255,255,255,.04);
  --surface-hover: rgba(255,255,255,.08);
  --header-bg: rgba(6,11,30,.85);
  --hero-glow: .18;
  --shadow: 0 8px 24px rgba(0,0,0,.25);
}

html[data-theme="light"]{
  --bg: #ffffff;
  --bg-soft: #f4f6fb;
  --card: #ffffff;
  --card-hover: #f2f5fa;
  --border: rgba(15,23,42,.1);
  --text: #0b1220;
  --text-dim: #4b5875;
  --text-faint: #8994ac;
  --surface: rgba(15,23,42,.035);
  --surface-hover: rgba(15,23,42,.07);
  --header-bg: rgba(255,255,255,.85);
  --hero-glow: .12;
  --shadow: 0 8px 24px rgba(15,23,42,.08);
}

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

html{scroll-behavior:smooth;}

body{
  background:var(--bg);
  color:var(--text);
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
  line-height:1.6;
  overflow-x:hidden;
  transition:background .25s ease, color .25s ease;
}

a{color:inherit;text-decoration:none;}
ul{list-style:none;}
img{max-width:100%;display:block;}

.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 24px;
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:13px 26px;
  border-radius:999px;
  font-weight:600;
  font-size:15px;
  border:none;
  cursor:pointer;
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space:nowrap;
}
.btn-primary{
  background:var(--gradient);
  color:#04101f;
  box-shadow:0 8px 24px rgba(34,211,238,.25);
}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(34,211,238,.35);}
.btn-outline{
  background:var(--surface);
  color:var(--text);
  border:1px solid var(--border);
}
.btn-outline:hover{background:var(--surface-hover);transform:translateY(-2px);}
.btn-block{width:100%;justify-content:center;}

/* ---------- Header ---------- */
.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:var(--header-bg);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--border);
  transition:background .25s ease, border-color .25s ease;
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 24px;
  gap:24px;
}
.brand{display:flex;align-items:center;gap:10px;}
.brand img{height:44px;width:auto;}

.main-nav ul{display:flex;gap:6px;align-items:center;}
.main-nav a{
  padding:10px 16px;
  border-radius:999px;
  font-size:14.5px;
  font-weight:500;
  color:var(--text-dim);
  transition:color .2s ease, background .2s ease;
}
.main-nav a:hover{color:var(--text);}
.main-nav a.active{
  background:var(--surface-hover);
  color:var(--text);
}

.header-actions{display:flex;align-items:center;gap:12px;}
.nav-toggle, .theme-toggle{
  display:flex;
  width:42px;height:42px;
  border-radius:50%;
  border:1px solid var(--border);
  background:var(--surface);
  color:var(--text);
  align-items:center;
  justify-content:center;
  cursor:pointer;
  font-size:16px;
  transition:background .2s ease, border-color .2s ease;
}
.nav-toggle{display:none;}
.theme-toggle:hover{background:var(--surface-hover);}

/* ---------- Hero ---------- */
.hero{
  position:relative;
  padding:72px 0 56px;
  overflow:hidden;
}
.hero::before{
  content:"";
  position:absolute;
  top:-200px;right:-200px;
  width:600px;height:600px;
  background:radial-gradient(circle, rgba(34,211,238,var(--hero-glow)), transparent 70%);
  pointer-events:none;
}
.hero-inner{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:40px;
  align-items:center;
}
.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 16px;
  border-radius:999px;
  background:var(--surface);
  border:1px solid var(--border);
  font-size:13px;
  color:var(--text-dim);
  margin-bottom:22px;
}
.badge .dot{width:8px;height:8px;border-radius:50%;background:var(--gradient);}

.hero h1{
  font-size:52px;
  line-height:1.12;
  font-weight:800;
  letter-spacing:-.5px;
  margin-bottom:22px;
}
.hero h1 .accent-text{
  background:var(--gradient);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.hero p.lead{
  color:var(--text-dim);
  font-size:17px;
  max-width:520px;
  margin-bottom:32px;
}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap;}

.hero-visual{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
}
.hero-visual img{
  width:100%;
  max-width:480px;
  filter:drop-shadow(0 20px 60px rgba(34,211,238,.25));
}

/* ---------- Stats bar ---------- */
.stats-bar{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:26px 32px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
  margin:12px 0 64px;
}
.stat{display:flex;align-items:center;gap:14px;}
.stat .icon{
  width:44px;height:44px;
  border-radius:10px;
  background:rgba(34,211,238,.12);
  color:var(--accent);
  display:flex;align-items:center;justify-content:center;
  font-size:20px;
  flex-shrink:0;
}
.stat strong{display:block;font-size:20px;font-weight:700;}
.stat span{color:var(--text-dim);font-size:13.5px;}

/* ---------- Sections ---------- */
section{padding:72px 0;}
.section-eyebrow{
  display:inline-block;
  font-size:12.5px;
  font-weight:700;
  letter-spacing:1.5px;
  text-transform:uppercase;
  color:var(--accent);
  background:rgba(34,211,238,.1);
  padding:6px 14px;
  border-radius:999px;
  margin-bottom:16px;
}
.section-head{max-width:640px;margin-bottom:44px;}
.section-head h2{font-size:36px;font-weight:800;letter-spacing:-.5px;margin-bottom:14px;}
.section-head p{color:var(--text-dim);font-size:16px;}
.section-head.center{margin-left:auto;margin-right:auto;text-align:center;}

/* ---------- Cards grid ---------- */
.cards-grid{
  display:grid;
  grid-template-columns:1.2fr repeat(4,1fr) 1.3fr;
  gap:18px;
}
@media (max-width:1100px){
  .cards-grid{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:640px){
  .cards-grid{grid-template-columns:1fr;}
}
.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:26px 22px;
  transition:transform .25s ease, border-color .25s ease, background .25s ease;
}
.card:hover{transform:translateY(-4px);border-color:rgba(34,211,238,.4);background:var(--card-hover);}
.card .icon-box{
  width:46px;height:46px;
  border-radius:12px;
  background:var(--gradient);
  color:#04101f;
  display:flex;align-items:center;justify-content:center;
  font-size:20px;
  margin-bottom:16px;
}
.card h3{font-size:17px;font-weight:700;margin-bottom:8px;}
.card p{color:var(--text-dim);font-size:14px;margin-bottom:14px;}
.card .learn{color:var(--accent);font-size:13.5px;font-weight:600;}
.card.feature{background:linear-gradient(160deg, var(--card), var(--bg-soft));}
.card.video{
  position:relative;
  background-size:cover;
  background-position:center;
  min-height:220px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  color:#fff;
}
.card.video::before{
  content:"";
  position:absolute;inset:0;
  background:linear-gradient(180deg, rgba(6,11,30,.1), rgba(6,11,30,.85));
  border-radius:var(--radius);
}
.card.video *{position:relative;z-index:1;}
.play-btn{
  width:52px;height:52px;
  border-radius:50%;
  background:rgba(255,255,255,.15);
  border:1px solid rgba(255,255,255,.35);
  display:flex;align-items:center;justify-content:center;
  margin:14px 0;
  backdrop-filter:blur(6px);
}

/* ---------- Logos strip ---------- */
.trusted-cta{
  display:grid;
  grid-template-columns:1.6fr 1fr;
  gap:18px;
}
.trusted-strip{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:28px 32px;
}
.trusted-strip .label{
  font-size:12px;
  letter-spacing:1px;
  text-transform:uppercase;
  color:var(--text-faint);
  margin-bottom:18px;
}
.logo-row{
  display:flex;
  flex-wrap:wrap;
  gap:28px;
  align-items:center;
  color:var(--text-dim);
  font-weight:600;
  font-size:15px;
}
.logo-row span{display:flex;align-items:center;gap:8px;}
.cta-box{
  background:var(--gradient);
  border-radius:var(--radius);
  padding:28px 30px;
  color:#04101f;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:14px;
}
.cta-box h3{font-size:21px;font-weight:800;}
.cta-box .btn-primary{background:#04101f;color:#fff;box-shadow:none;width:fit-content;}

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

/* ---------- Generic page hero (inner pages) ---------- */
.page-hero{
  padding:64px 0 48px;
  border-bottom:1px solid var(--border);
  background:radial-gradient(circle at 80% 0%, rgba(34,211,238,.12), transparent 60%);
}
.page-hero .section-eyebrow{margin-bottom:14px;}
.page-hero h1{font-size:42px;font-weight:800;letter-spacing:-.5px;margin-bottom:14px;}
.page-hero p{color:var(--text-dim);font-size:16.5px;max-width:640px;}
.breadcrumb{color:var(--text-faint);font-size:13.5px;margin-bottom:18px;}
.breadcrumb a{color:var(--text-dim);}
.breadcrumb a:hover{color:var(--accent);}

/* ---------- Two column content ---------- */
.split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:48px;
  align-items:center;
}
@media (max-width:900px){.split{grid-template-columns:1fr;}}
.split img{border-radius:var(--radius);border:1px solid var(--border);}

/* ---------- Team / values grid ---------- */
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;}
@media (max-width:900px){.grid-3{grid-template-columns:repeat(2,1fr);}}
@media (max-width:600px){.grid-3{grid-template-columns:1fr;}}

.value-card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:28px 24px;
}
.value-card .icon-box{
  width:46px;height:46px;border-radius:12px;
  background:rgba(34,211,238,.12);color:var(--accent);
  display:flex;align-items:center;justify-content:center;
  font-size:20px;margin-bottom:16px;
}

.team-card{text-align:center;}
.team-card .avatar{
  width:96px;height:96px;border-radius:50%;
  background:var(--gradient);
  margin:0 auto 16px;
  display:flex;align-items:center;justify-content:center;
  font-size:28px;font-weight:800;color:#04101f;
}
.team-card h4{font-size:16px;font-weight:700;margin-bottom:4px;}
.team-card span{color:var(--text-dim);font-size:13.5px;}

/* ---------- Timeline (technology / process) ---------- */
.timeline{position:relative;padding-left:32px;border-left:2px solid var(--border);}
.timeline-item{position:relative;padding-bottom:36px;}
.timeline-item:last-child{padding-bottom:0;}
.timeline-item::before{
  content:"";
  position:absolute;left:-38px;top:2px;
  width:14px;height:14px;border-radius:50%;
  background:var(--gradient);
  box-shadow:0 0 0 4px rgba(34,211,238,.15);
}
.timeline-item h4{font-size:17px;font-weight:700;margin-bottom:6px;}
.timeline-item p{color:var(--text-dim);font-size:14.5px;}

/* ---------- Partners logos grid ---------- */
.partner-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}
@media (max-width:800px){.partner-grid{grid-template-columns:repeat(2,1fr);}}
.partner-tile{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:28px 18px;
  text-align:center;
  font-weight:700;
  color:var(--text-dim);
  transition:.2s;
}
.partner-tile:hover{border-color:rgba(34,211,238,.4);color:var(--text);}

/* ---------- Careers job list ---------- */
.job-list{display:flex;flex-direction:column;gap:14px;}
.job-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:22px 26px;
  flex-wrap:wrap;
  gap:14px;
}
.job-item h4{font-size:16.5px;font-weight:700;margin-bottom:6px;}
.job-item .meta{color:var(--text-dim);font-size:13.5px;display:flex;gap:14px;flex-wrap:wrap;}
.tag{
  background:rgba(34,211,238,.1);
  color:var(--accent);
  padding:4px 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:600;
}

/* ---------- Contact ---------- */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px;}
@media (max-width:900px){.contact-grid{grid-template-columns:1fr;}}
.contact-info-item{
  display:flex;gap:16px;align-items:flex-start;
  padding:18px 0;border-bottom:1px solid var(--border);
}
.contact-info-item .icon-box{
  width:42px;height:42px;border-radius:10px;
  background:rgba(34,211,238,.12);color:var(--accent);
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
.contact-info-item h4{font-size:15px;font-weight:700;margin-bottom:4px;}
.contact-info-item p{color:var(--text-dim);font-size:14px;}

.form-field{margin-bottom:18px;}
.form-field label{display:block;font-size:13.5px;color:var(--text-dim);margin-bottom:8px;}
.form-field input, .form-field textarea{
  width:100%;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:10px;
  padding:13px 16px;
  color:var(--text);
  font-family:inherit;
  font-size:14.5px;
}
.form-field input:focus, .form-field textarea:focus{
  outline:none;border-color:var(--accent);
}
.form-field textarea{resize:vertical;min-height:120px;}

/* ---------- Footer ---------- */
.site-footer{
  border-top:1px solid var(--border);
  padding:56px 0 28px;
  margin-top:40px;
  background:var(--bg-soft);
}
.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1fr;
  gap:32px;
  margin-bottom:40px;
}
@media (max-width:800px){.footer-grid{grid-template-columns:1fr 1fr;}}
.footer-brand img{height:38px;margin-bottom:14px;}
.footer-brand p{color:var(--text-dim);font-size:14px;max-width:280px;}
.footer-col h5{font-size:14px;font-weight:700;margin-bottom:16px;}
.footer-col ul li{margin-bottom:10px;}
.footer-col a{color:var(--text-dim);font-size:14px;}
.footer-col a:hover{color:var(--accent);}
.footer-bottom{
  display:flex;justify-content:space-between;align-items:center;
  padding-top:24px;border-top:1px solid var(--border);
  color:var(--text-faint);font-size:13px;flex-wrap:wrap;gap:12px;
}
.social-row{display:flex;gap:10px;}
.social-row a{
  width:36px;height:36px;border-radius:50%;
  background:var(--surface);
  border:1px solid var(--border);
  display:flex;align-items:center;justify-content:center;
}
.social-row a:hover{border-color:var(--accent);color:var(--accent);}

/* ---------- Mobile nav ---------- */
@media (max-width:960px){
  .main-nav{
    position:fixed;
    top:73px;left:0;right:0;
    background:var(--bg-soft);
    border-bottom:1px solid var(--border);
    padding:12px 24px 20px;
    display:none;
  }
  .main-nav.open{display:block;}
  .main-nav ul{flex-direction:column;align-items:stretch;gap:2px;}
  .main-nav a{display:block;padding:12px 14px;}
  .nav-toggle{display:flex;}
  .header-actions .btn-primary{display:none;}
  .hero-inner{grid-template-columns:1fr;}
  .hero-visual{order:-1;}
  .hero h1{font-size:36px;}
  .stats-bar{grid-template-columns:repeat(2,1fr);}
  .cards-grid{grid-template-columns:repeat(2,1fr);}
}

@media (max-width:520px){
  .stats-bar{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr;}
  .section-head h2{font-size:28px;}
  .hero h1{font-size:30px;}
}
