:root{
  --radius: 18px;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --shadowSoft: 0 8px 20px rgba(0,0,0,.22);

  /* Original accent vibe (purple → cyan) */
  --accent1:#7c3aed;
  --accent2:#22d3ee;
}

/* DARK (default) */
:root, [data-theme="dark"]{
  --bg:#0b1220;
  --panel:#0f1a33;
  --panel2:#0e1730;
  --text:#eaf0ff;
  --muted:rgba(234,240,255,.75);
  --muted2:rgba(234,240,255,.60);
  --line:rgba(234,240,255,.12);
  --ring: rgba(234,240,255,.18);
}

/* LIGHT */
[data-theme="light"]{
  --bg:#f7f8ff;
  --panel:#ffffff;
  --panel2:#f1f4ff;
  --text:#0b1220;
  --muted:rgba(11,18,32,.72);
  --muted2:rgba(11,18,32,.58);
  --line:rgba(11,18,32,.12);
  --shadow: 0 12px 32px rgba(0,0,0,.12);
  --shadowSoft: 0 8px 20px rgba(0,0,0,.10);
  --ring: rgba(11,18,32,.14);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(124,58,237,.35), transparent 60%),
    radial-gradient(900px 500px at 90% 10%, rgba(34,211,238,.25), transparent 55%),
    radial-gradient(800px 500px at 50% 120%, rgba(124,58,237,.18), transparent 60%),
    var(--bg);
  color:var(--text);
}
[data-theme="light"] body{
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(124,58,237,.18), transparent 60%),
    radial-gradient(900px 500px at 90% 10%, rgba(34,211,238,.14), transparent 55%),
    radial-gradient(800px 500px at 50% 120%, rgba(124,58,237,.10), transparent 60%),
    var(--bg);
}

a{color:inherit;text-decoration:none}
.container{width:min(1160px, 92vw); margin:0 auto}
.muted{color:var(--muted)}
.tiny{font-size:12px; line-height:1.4}
.grad{
  background:linear-gradient(90deg,var(--accent1),var(--accent2));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.pill{
  font-size:12px;
  padding:6px 10px;
  border:1px solid var(--line);
  border-radius:999px;
  background:rgba(255,255,255,.04);
}

/* Topbar */
.topbar{
  position:sticky; top:0; z-index:1000;
  backdrop-filter: blur(10px);
  background: rgba(11,18,32,.65);
  border-bottom: 1px solid var(--line);
}
[data-theme="light"] .topbar{ background: rgba(247,248,255,.75); }
.topbar-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:10px 0;
  gap:12px;
}
.topbar-left{display:flex; align-items:center; gap:10px; flex-wrap:wrap}
.topbar-right{display:flex; align-items:center; gap:10px}
.toplink{font-size:13px; color:var(--muted)}

/* Header */
.header{
  position:sticky; top:48px; z-index:900;
  background: rgba(11,18,32,.35);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}
[data-theme="light"] .header{ background: rgba(247,248,255,.55); }
.nav{
  position:relative;
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
  gap:14px;
}
.brand{display:flex; align-items:center; gap:12px; min-width:240px}
.logoimg{
  width:46px;height:46px;border-radius:16px;
  box-shadow: var(--shadowSoft);
  transition: transform .25s ease, filter .25s ease, box-shadow .25s ease;
}
/* Subtle logo glow/animation on hover */
.brand:hover .logoimg{
  transform: translateY(-1px) scale(1.02);
  filter:
    drop-shadow(0 0 10px rgba(124,58,237,.30))
    drop-shadow(0 0 10px rgba(34,211,238,.22));
  box-shadow: 0 0 0 2px var(--ring), var(--shadow);
}
.brand-text{display:flex; flex-direction:column; line-height:1.1}
.brand-name{font-weight:800; letter-spacing:.2px}
.brand-tag{font-size:12px; color:var(--muted2)}
.navlinks{display:flex; align-items:center; gap:18px}
.navlink{
  font-size:14px; color:var(--muted);
  background:transparent; border:0; cursor:pointer;
  padding:8px 10px; border-radius:12px;
}
.navlink:hover{background:rgba(255,255,255,.05); color:var(--text)}
.navlink.active{background:rgba(255,255,255,.08); color:var(--text); border:1px solid var(--line)}
.chev{opacity:.7; margin-left:4px}

.dropdown{position:relative}
.dd{
  position:absolute; top:44px; left:0;
  min-width:240px;
  background: rgba(15,26,51,.98);
  border:1px solid var(--line);
  border-radius:14px;
  box-shadow: var(--shadow);
  padding:10px;
  display:none;
}
[data-theme="light"] .dd{ background: rgba(255,255,255,.98); }
.dd a{
  display:block;
  padding:10px 10px;
  border-radius:12px;
  color:var(--muted);
  font-size:13px;
}
.dd a:hover{background:rgba(255,255,255,.06); color:var(--text)}
[data-theme="light"] .dd a:hover{background:rgba(11,18,32,.05);}

.hamburger{
  display:none;
  border:1px solid var(--line);
  border-radius:12px;
  background:rgba(255,255,255,.04);
  color:var(--text);
  padding:10px 12px;
  cursor:pointer;
}

/* Theme toggle */
.theme-toggle{
  display:inline-flex; align-items:center; gap:8px;
  border:1px solid var(--line);
  border-radius:999px;
  padding:8px 10px;
  background:rgba(255,255,255,.04);
  cursor:pointer;
  color:var(--muted);
  font-size:13px;
}
.theme-toggle:hover{background:rgba(255,255,255,.07); color:var(--text)}
.theme-dot{
  width:10px;height:10px;border-radius:99px;
  background:linear-gradient(90deg,var(--accent1),var(--accent2));
  box-shadow: 0 0 0 2px rgba(255,255,255,.10);
}

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid var(--line);
  font-weight:600;
  font-size:14px;
  gap:8px;
}
.btn-sm{padding:9px 12px; font-size:13px}
.btn-primary{
  border:0;
  background: linear-gradient(90deg,var(--accent1),var(--accent2));
  color:#07111f;
  box-shadow: 0 10px 25px rgba(124,58,237,.25);
}
.btn-primary:hover{filter:brightness(1.05)}
.btn-ghost{background:rgba(255,255,255,.04)}
.btn-ghost:hover{background:rgba(255,255,255,.07)}

/* Hero */
.hero{padding:56px 0 18px}
.hero-grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:26px;
  align-items:stretch;
}
.eyebrow{
  display:inline-flex;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.05);
  border:1px solid var(--line);
  font-size:13px;
  color:var(--muted);
}
.hero h1{
  margin:14px 0 10px;
  font-size: clamp(32px, 3.6vw, 54px);
  line-height:1.05;
  letter-spacing:-.02em;
}
.lead{font-size:16px; line-height:1.6; color:var(--muted)}
.hero-cta{display:flex; gap:12px; margin:18px 0 18px; flex-wrap:wrap}
.hero-badges{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:10px;
}
.badge{
  border:1px solid var(--line);
  background:rgba(255,255,255,.035);
  border-radius:var(--radius);
  padding:12px;
}
.badge-title{font-weight:700}
.badge-sub{font-size:12px; color:var(--muted); margin-top:4px}

.hero-card{
  border-radius:22px;
  background:
    radial-gradient(700px 350px at 50% 20%, rgba(34,211,238,.18), transparent 65%),
    rgba(255,255,255,.03);
  border:1px solid var(--line);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.hero-image img{display:block; width:100%; height:210px; object-fit:cover}
.glass{padding:18px}
.hero-metric{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:10px;
}
.kpi{
  background:rgba(255,255,255,.04);
  border:1px solid var(--line);
  border-radius:16px;
  padding:14px;
}
.kpi-num{font-weight:800; font-size:20px}
.kpi-label{font-size:12px; color:var(--muted); margin-top:6px}
.mini{margin-top:12px}
.mini-title{font-weight:700; margin-bottom:10px}
.checklist{margin:0; padding-left:18px; color:var(--muted); line-height:1.55}
.hero-note{
  margin-top:14px;
  padding:12px 12px;
  border-radius:16px;
  border:1px dashed rgba(234,240,255,.25);
  color:var(--muted);
  display:flex;
  gap:10px;
  align-items:center;
}
.dot{width:10px;height:10px;border-radius:99px;background:linear-gradient(90deg,var(--accent1),var(--accent2))}

/* Sections */
.section{padding:64px 0}
.section.alt{
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0));
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.section-kicker{
  font-size:13px;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:.12em;
}
.section-head{margin-bottom:22px}
.section h2{
  margin:10px 0 10px;
  font-size: clamp(24px, 2.6vw, 36px);
  letter-spacing:-.02em;
}
.split{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:22px;
  align-items:start;
}
.statgrid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:10px;
}
.stat{
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:rgba(255,255,255,.035);
  padding:14px;
}
.stat-num{font-weight:800}
.stat-label{font-size:13px; color:var(--muted); margin-top:6px}

.cards-4{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:12px;
}
.cards-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
}
.card{
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:rgba(255,255,255,.035);
  padding:16px;
}
.card h3{margin:0 0 6px}
.link{color:rgba(34,211,238,.95); font-weight:600}
.link:hover{filter:brightness(1.08)}

.icongrid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
}
.iconcard{
  display:flex;
  gap:12px;
  align-items:flex-start;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:rgba(255,255,255,.035);
  padding:16px;
}
.icon{font-size:22px}

/* Solutions */
.solutions{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:12px;
}
.solution{
  border:1px solid var(--line);
  border-radius:22px;
  background:rgba(255,255,255,.035);
  overflow:hidden;
}
.solution-img{width:100%; height:180px; object-fit:cover; display:block}
.solution-pad{padding:16px}
.solution-top{display:flex; align-items:center; gap:10px}
.solution-icon{font-size:20px}
.solution h3{margin:0}
.bullets{margin:10px 0 0; padding-left:18px; color:var(--muted); line-height:1.55}

.cta-band{
  margin-top:16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:18px;
  border-radius:22px;
  border:1px solid rgba(234,240,255,.18);
  background:
    radial-gradient(900px 300px at 10% 30%, rgba(124,58,237,.22), transparent 60%),
    radial-gradient(900px 300px at 90% 70%, rgba(34,211,238,.18), transparent 60%),
    rgba(255,255,255,.03);
}

/* Page header */
.page-hero{padding:46px 0 10px}
.breadcrumb{color:var(--muted); font-size:13px}
.page-title{margin:10px 0 8px; font-size: clamp(28px, 3vw, 44px); letter-spacing:-.02em}
.page-sub{color:var(--muted); line-height:1.6; max-width: 72ch}

/* Quotes */
.quotes{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
}
.quote{
  margin:0;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:rgba(255,255,255,.035);
  padding:18px;
}
.quote blockquote{margin:0 0 10px; line-height:1.6}
.quote figcaption{color:var(--muted); font-size:13px}

.logos{margin-top:18px; display:flex; flex-wrap:wrap; gap:10px}
.logo-pill{
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
  border-radius:999px;
  padding:10px 12px;
  font-size:13px;
  color:var(--muted);
}

/* Contact */
.contact{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
  align-items:start;
}
.contact-cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:10px;
  margin-top:16px;
}
.contact-card{
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:rgba(255,255,255,.035);
  padding:14px;
}
.contact-title{font-weight:700; margin-bottom:4px}

.form{
  border:1px solid var(--line);
  border-radius:22px;
  background:rgba(255,255,255,.035);
  padding:18px;
}
label{display:flex; flex-direction:column; gap:8px; font-size:13px; color:var(--muted)}
input, select, textarea{
  width:100%;
  background:rgba(0,0,0,.25);
  color:var(--text);
  border:1px solid rgba(234,240,255,.14);
  border-radius:14px;
  padding:12px 12px;
  outline:none;
  font-family:inherit;
}
[data-theme="light"] input, [data-theme="light"] select, [data-theme="light"] textarea{
  background:rgba(255,255,255,.95);
  border:1px solid rgba(11,18,32,.14);
  color:var(--text);
}
input:focus, select:focus, textarea:focus{
  border-color: rgba(34,211,238,.55);
  box-shadow: 0 0 0 3px rgba(34,211,238,.12);
}
.row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
  margin-bottom:10px;
}

/* Calendly embed area */
.embed{
  margin-top:12px;
  border:1px solid var(--line);
  border-radius:22px;
  background:rgba(255,255,255,.035);
  overflow:hidden;
}
.embed-note{padding:14px; color:var(--muted); font-size:13px}

/* Chat button + modal */
.chat-fab{
  position:fixed;
  right:18px; bottom:18px;
  z-index:2000;
  border-radius:999px;
  padding:12px 14px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.07);
  backdrop-filter: blur(10px);
  color:var(--text);
  cursor:pointer;
  box-shadow: var(--shadowSoft);
}
.chat-fab:hover{background:rgba(255,255,255,.11)}
.chat-modal{
  position:fixed; inset:0;
  background:rgba(0,0,0,.55);
  display:none;
  align-items:flex-end;
  justify-content:flex-end;
  padding:18px;
  z-index:2100;
}
.chat-panel{
  width:min(420px, 92vw);
  height:min(620px, 80vh);
  border-radius:24px;
  border:1px solid var(--line);
  background:rgba(15,26,51,.98);
  box-shadow: var(--shadow);
  overflow:hidden;
  display:flex;
  flex-direction:column;
}
[data-theme="light"] .chat-panel{ background: rgba(255,255,255,.98); }
.chat-top{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 14px;
  border-bottom:1px solid var(--line);
}
.chat-title{font-weight:800}
.chat-close{
  border:1px solid var(--line);
  border-radius:12px;
  background:rgba(255,255,255,.06);
  color:var(--text);
  padding:8px 10px;
  cursor:pointer;
}
.chat-body{
  padding:14px;
  display:flex;
  flex-direction:column;
  gap:10px;
  height:100%;
}
.chat-messages{
  flex:1;
  overflow:auto;
  padding-right:4px;
}
.chat-inputbar{
  display:flex;
  gap:10px;
  align-items:center;
}
.chat-inputbar input{ margin:0; }
.chat-footnote{
  color:var(--muted);
  font-size:12px;
  line-height:1.35;
}
.chat-actions{margin-top:auto; padding:14px; border-top:1px solid var(--line); display:flex; gap:10px; flex-wrap:wrap}

/* Footer */
.footer{
  border-top:1px solid var(--line);
  padding:40px 0 22px;
  background: rgba(0,0,0,.12);
}
[data-theme="light"] .footer{ background: rgba(11,18,32,.04); }
.footer-grid{display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap}
.footer-brand{font-weight:800; font-size:18px}
.footer-cols{display:flex; gap:30px; flex-wrap:wrap}
.footer-title{font-weight:700; margin-bottom:10px}
.footer-cols a{display:block; color:var(--muted); font-size:13px; margin:8px 0}
.footer-cols a:hover{color:var(--text)}
.footer-bottom{
  margin-top:22px;
  padding-top:16px;
  border-top:1px solid var(--line);
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}

/* Responsive */
@media (max-width: 980px){
  .hero-grid{grid-template-columns:1fr}
  .split{grid-template-columns:1fr}
  .cards-4{grid-template-columns:1fr 1fr}
  .cards-3{grid-template-columns:1fr}
  .icongrid{grid-template-columns:1fr 1fr}
  .quotes{grid-template-columns:1fr}
  .contact{grid-template-columns:1fr}
  .navlinks{display:none}
  .hamburger{display:inline-flex}
}
@media (max-width: 520px){
  .hero-badges{grid-template-columns:1fr}
  .hero-metric{grid-template-columns:1fr}
  .cards-4{grid-template-columns:1fr}
  .icongrid{grid-template-columns:1fr}
  .solutions{grid-template-columns:1fr}
  .row{grid-template-columns:1fr}
  .contact-cards{grid-template-columns:1fr}
}


/* Calendly inline embed styling */
.calendly-wrap{
  margin-top:16px;
  border-radius:22px;
  overflow:hidden;
  border:1px solid var(--line);
  background:
    radial-gradient(800px 300px at 10% 20%, rgba(124,58,237,.22), transparent 60%),
    radial-gradient(800px 300px at 90% 80%, rgba(34,211,238,.18), transparent 60%),
    rgba(255,255,255,.03);
  box-shadow: var(--shadowSoft);
}

/* Dark/light iframe harmony */
[data-theme="light"] .calendly-wrap{
  background:
    radial-gradient(800px 300px at 10% 20%, rgba(124,58,237,.12), transparent 60%),
    radial-gradient(800px 300px at 90% 80%, rgba(34,211,238,.10), transparent 60%),
    rgba(255,255,255,.75);
}


/* Contact form status */
.form-status{
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--muted);
  display:none;
}
.form-status.show{display:block}
.form-status.ok{border-color: rgba(34,211,238,.35)}
.form-status.err{border-color: rgba(255,99,99,.35)}

/* Chat bubbles */
.chat-bubble{ display:flex; margin:10px 0; }
.chat-bubble.user{ justify-content:flex-end; }
.chat-bubble.bot{ justify-content:flex-start; }
.chat-bubble-inner{
  max-width:85%;
  padding:10px 12px;
  border-radius:16px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.05);
  color:var(--text);
  line-height:1.45;
  font-size:14px;
  white-space:pre-wrap;
}
.chat-bubble.user .chat-bubble-inner{
  border:0;
  background:linear-gradient(90deg,var(--accent1),var(--accent2));
  color:#07111f;
}
.typing-dots span{
  display:inline-block;
  animation: blink 1.2s infinite;
  opacity:.3;
}
.typing-dots span:nth-child(2){ animation-delay:.2s; }
.typing-dots span:nth-child(3){ animation-delay:.4s; }
@keyframes blink{ 0%,100%{opacity:.25;} 50%{opacity:1;} }
