/* ===================================================================
   OverCloud.ai — Design tokens & base (dark theme)
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root{
  /* Brand */
  --blue:        #33ADE0;
  --blue-bright: #6BCBF0;
  --blue-deep:   #1C7FAE;
  --blue-soft:   #16303E;
  --signal:      #3ECB90;
  --danger:      #E5716B;
  --warn:        #E0A62E;

  /* Surfaces */
  --bg:          #0C141C;
  --bg-2:        #101B24;
  --surface:     #16232D;
  --surface-2:   #1C2C38;
  --border:      #263748;
  --border-soft: #1D2C39;

  /* Text */
  --ink:         #EAF1F5;
  --heading:     #F5F9FB;
  --slate:       #93A9B7;
  --slate-dim:   #6D8492;
  --white:       #FFFFFF;

  /* Type */
  --f-display: 'Space Grotesk', sans-serif;
  --f-body: 'IBM Plex Sans', sans-serif;
  --f-mono: 'IBM Plex Mono', monospace;

  --radius: 12px;
  --radius-sm: 8px;
  --container: 1180px;
}

*, *::before, *::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--f-body);
  color:var(--ink);
  background:var(--bg);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family:var(--f-display); margin:0; color:var(--heading); line-height:1.18; letter-spacing:-0.01em; }
p{ margin:0; }
button{ font-family:inherit; }
strong, b{ color:var(--heading); font-weight:600; }

:focus-visible{
  outline:2px solid var(--blue);
  outline-offset:3px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}

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

.eyebrow{
  font-family:var(--f-mono);
  font-size:12.5px;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--blue-bright);
  display:flex;
  align-items:center;
  gap:10px;
}
.eyebrow::before{
  content:"";
  width:16px; height:1px;
  background:var(--blue-bright);
  display:inline-block;
  flex:none;
}

/* ===================================================================
   Icons
   =================================================================== */
.icon-svg{ width:22px; height:22px; stroke:currentColor; fill:none; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; display:block; }
.icon-lg{ width:30px; height:30px; }

/* ===================================================================
   Header
   =================================================================== */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(12,20,28,0.88);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border-soft);
}
.site-header .wrap{
  display:flex; align-items:center; justify-content:space-between;
  height:78px;
}
.brand{ display:flex; align-items:center; gap:12px; }
.brand img{ height:34px; width:auto; }
.brand-word{ font-family:var(--f-display); font-weight:600; font-size:19px; color:var(--heading); white-space:nowrap; }
.brand-word span{ color:var(--blue-bright); }

.main-nav{ display:flex; align-items:center; gap:34px; }
.main-nav a{
  font-size:14.5px; font-weight:500; color:var(--slate);
  position:relative; padding:4px 0;
  transition:color .15s ease;
  white-space:nowrap;
}
.main-nav a:hover{ color:var(--heading); }
.main-nav a.active{ color:var(--heading); }
.main-nav a.active::after{
  content:""; position:absolute; left:0; right:0; bottom:-6px; height:2px; background:var(--blue);
}

.nav-actions{ display:flex; align-items:center; gap:22px; flex:none; }
.header-right{ display:flex; align-items:center; gap:14px; flex:none; }

.btn{
  font-family:var(--f-body);
  font-weight:600;
  font-size:14.5px;
  padding:11px 22px;
  border-radius:var(--radius-sm);
  border:1px solid transparent;
  cursor:pointer;
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  transition:transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
  white-space:nowrap;
}
.btn:hover{ transform:translateY(-1px); }
.btn-primary{ background:var(--blue); color:#0A1620; }
.btn-primary:hover{ background:var(--blue-bright); box-shadow:0 8px 24px -8px rgba(51,173,224,0.55); }
.btn-outline{ border-color:var(--border); color:var(--ink); background:transparent; }
.btn-outline:hover{ border-color:var(--blue); color:var(--heading); }
.btn-block{ width:100%; }

.menu-toggle{ display:none; background:none; border:none; padding:8px; cursor:pointer; }
.menu-toggle span{ display:block; width:22px; height:2px; background:var(--ink); margin:5px 0; }

/* ===================================================================
   Hero
   =================================================================== */
.hero{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(680px 480px at 82% 18%, rgba(51,173,224,0.16), transparent 60%),
    radial-gradient(520px 420px at 8% 92%, rgba(62,203,144,0.07), transparent 60%),
    var(--bg);
  border-bottom:1px solid var(--border-soft);
}
.hero .wrap{
  display:grid;
  grid-template-columns:0.92fr 1.08fr;
  align-items:center;
  gap:36px;
  padding-top:84px;
  padding-bottom:56px;
  min-height:600px;
}
.hero h1{
  color:var(--heading);
  font-size:clamp(34px, 4.2vw, 52px);
  margin:18px 0 20px;
}
.hero h1 em{ font-style:normal; color:var(--blue-bright); }
.hero-sub{
  font-size:17px; color:var(--slate); max-width:480px; margin-bottom:34px;
}
.hero-sub strong{ color:var(--ink); }
.hero-ctas{ display:flex; gap:14px; flex-wrap:wrap; }

.hero-art{ position:relative; width:100%; max-width:600px; margin:0 auto; }
.wheel-svg{ width:100%; height:auto; display:block; }

.page-hero{
  background:
    radial-gradient(600px 360px at 88% 0%, rgba(51,173,224,0.14), transparent 60%),
    var(--bg);
  border-bottom:1px solid var(--border-soft);
}
.page-hero .wrap{ padding-top:60px; padding-bottom:60px; }
.page-hero h1{ color:var(--heading); font-size:clamp(30px,3.6vw,44px); margin-top:14px; max-width:780px; }
.page-hero p{ color:var(--slate); max-width:640px; margin-top:14px; font-size:16.5px; }

/* ===================================================================
   Protection Wheel (signature element)
   =================================================================== */
.wheel-svg text{ font-family:var(--f-mono); }
.wheel-node-label{ fill:#C4D8E2; font-size:16.5px; font-weight:500; }
.wheel-node-circle{ fill:var(--surface); stroke:var(--blue); stroke-width:2; }
.wheel-spoke{
  stroke:rgba(51,173,224,0.32);
  stroke-width:1.3;
  stroke-dasharray:3 5;
}
.wheel-ring{ fill:none; stroke:rgba(255,255,255,0.07); stroke-width:1; }
.wheel-hub-glow{ fill:rgba(51,173,224,0.14); }
.wheel-hub-circle{ fill:var(--blue); }
.wheel-hub-label{ fill:#0A1620; font-family:var(--f-mono); font-weight:700; font-size:15px; }

/* ===================================================================
   Sections / general
   =================================================================== */
section{ padding:88px 0; }
.section-tight{ padding:64px 0; }
.section-head{ max-width:640px; margin-bottom:48px; }
.section-head h2{ font-size:clamp(26px,3vw,36px); margin-top:14px; }
.section-head p{ color:var(--slate); margin-top:14px; font-size:16px; }
.on-bg2{ background:var(--bg-2); border-top:1px solid var(--border-soft); border-bottom:1px solid var(--border-soft); }

.grid{ display:grid; gap:24px; }
.grid-2{ grid-template-columns:repeat(2,1fr); }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-4{ grid-template-columns:repeat(4,1fr); }
.grid-align-stretch{ align-items:stretch; }

.stat-bar{
  border-top:1px solid var(--border-soft);
  border-bottom:1px solid var(--border-soft);
  padding:34px 0;
}
.stat-grid{ display:flex; flex-wrap:wrap; gap:26px 0; text-align:left; }
.stat{
  display:flex; flex-direction:column; gap:8px;
  flex:1 1 220px; min-width:180px;
  padding:0 28px;
  border-left:1px solid var(--border-soft);
}
.stat:first-child{ border-left:none; padding-left:0; }
.stat .num{ font-family:var(--f-mono); font-size:22px; color:var(--blue-bright); font-weight:600; line-height:1.25; white-space:normal; }
.stat .lbl{ font-size:13.5px; color:var(--slate); }

.card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:30px;
  transition:border-color .15s ease, transform .15s ease, box-shadow .15s ease;
  display:flex;
  flex-direction:column;
  height:100%;
}
.card:hover{ border-color:rgba(51,173,224,0.5); box-shadow:0 20px 40px -24px rgba(0,0,0,0.6), 0 0 0 1px rgba(51,173,224,0.08); transform:translateY(-2px); }
.card .icon-tag{
  width:46px; height:46px; border-radius:10px;
  background:var(--blue-soft); color:var(--blue-bright);
  display:flex; align-items:center; justify-content:center;
  margin-bottom:18px; flex:none;
}
.card h3{ font-size:18px; margin-bottom:10px; }
.card p{ color:var(--slate); font-size:14.5px; flex:1; }
.card a.card-link{ display:inline-flex; align-items:center; gap:6px; margin-top:18px; padding-top:0; font-size:13.5px; font-weight:600; color:var(--blue-bright); }

.pillar-card{ scroll-margin-top:100px; }

.split{ display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; }
.split-top{ align-items:start; }

.problem-list li{
  display:flex; gap:14px; padding:16px 0; border-bottom:1px solid var(--border-soft);
}
.problem-list li:first-child{ padding-top:0; }
.problem-list .mark{
  font-family:var(--f-mono); color:var(--blue-bright); font-weight:600; font-size:13px;
  flex:none; width:28px; height:28px; border-radius:50%; background:var(--blue-soft);
  display:flex; align-items:center; justify-content:center; margin-top:2px;
}
.problem-list h4{ font-size:15.5px; margin-bottom:4px; color:var(--heading); }
.problem-list p{ color:var(--slate); font-size:14px; }

.cta-band{
  background:linear-gradient(135deg, var(--surface) 0%, var(--bg-2) 100%);
  border:1px solid var(--border);
  color:var(--ink);
  border-radius:16px;
  padding:56px;
  display:flex; align-items:center; justify-content:space-between; gap:40px;
  flex-wrap:wrap;
}
.cta-band h2{ color:var(--heading); font-size:clamp(24px,2.6vw,32px); max-width:480px; }
.cta-band p{ color:var(--slate); margin-top:10px; }
.cta-band .btn-primary{ flex:none; }

/* ===================================================================
   Microsoft 365 feature panel
   =================================================================== */
.m365-panel{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:26px;
}
.m365-panel .panel-head{
  display:flex; align-items:center; justify-content:space-between;
  padding-bottom:18px; margin-bottom:18px; border-bottom:1px solid var(--border-soft);
}
.m365-panel .panel-title{ font-family:var(--f-mono); font-size:12px; letter-spacing:.1em; text-transform:uppercase; color:var(--slate); }
.status-row{
  display:flex; align-items:center; justify-content:space-between;
  padding:13px 0; border-bottom:1px solid var(--border-soft);
  gap:16px;
}
.status-row:last-child{ border-bottom:none; }
.status-row .svc{ font-size:14.5px; color:var(--ink); }
.status-pill{
  display:inline-flex; align-items:center; gap:7px;
  font-family:var(--f-mono); font-size:11.5px; letter-spacing:.04em; text-transform:uppercase;
  color:var(--signal); flex:none;
}
.status-pill .dot{ width:7px; height:7px; border-radius:50%; background:var(--signal); box-shadow:0 0 8px rgba(62,203,144,0.7); flex:none; }
.check-list li{ display:flex; gap:12px; padding:12px 0; align-items:flex-start; }
.check-list .ic{ flex:none; width:24px; height:24px; border-radius:50%; background:var(--blue-soft); color:var(--blue-bright); display:flex; align-items:center; justify-content:center; margin-top:1px; }
.check-list .ic svg{ width:14px; height:14px; }
.check-list h4{ font-size:15px; color:var(--heading); margin-bottom:3px; }
.check-list p{ font-size:13.5px; color:var(--slate); }

/* ===================================================================
   Footer
   =================================================================== */
.site-footer{
  background:var(--bg-2);
  border-top:1px solid var(--border-soft);
  color:var(--slate);
  padding:64px 0 28px;
}
.footer-top{
  display:grid; grid-template-columns:1.5fr 1fr 1fr 1fr; gap:40px;
  padding-bottom:44px; border-bottom:1px solid var(--border-soft);
}
.footer-brand p{ margin-top:14px; font-size:14px; max-width:280px; color:var(--slate-dim); }
.footer-col h5{
  font-family:var(--f-mono); font-size:12px; letter-spacing:0.1em; text-transform:uppercase;
  color:var(--slate-dim); margin-bottom:16px;
}
.footer-col a, .footer-col p{ display:block; font-size:14px; color:var(--slate); margin-bottom:10px; }
.footer-col a:hover{ color:var(--heading); }
.footer-bottom{
  padding-top:24px; display:flex; justify-content:space-between; align-items:center;
  font-size:13px; color:var(--slate-dim); flex-wrap:wrap; gap:12px;
}

/* ===================================================================
   Forms
   =================================================================== */
.form-card{
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius);
  padding:40px;
}
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.field{ margin-bottom:20px; }
.field label{
  display:block; font-size:13.5px; font-weight:600; color:var(--ink); margin-bottom:8px;
}
.field .req{ color:var(--blue-bright); }
.field input, .field select, .field textarea{
  width:100%; font-family:var(--f-body); font-size:14.5px; color:var(--ink);
  padding:12px 14px; border:1px solid var(--border); border-radius:var(--radius-sm);
  background:var(--bg); transition:border-color .15s ease, background .15s ease;
}
.field select{ color-scheme:dark; }
.field input::placeholder, .field textarea::placeholder{ color:var(--slate-dim); }
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none; border-color:var(--blue);
}
.field textarea{ resize:vertical; min-height:120px; }
.field-hint{ font-size:12.5px; color:var(--slate); margin-top:6px; }
.form-note{
  font-size:12.5px; color:var(--slate); margin-top:16px; display:flex; gap:8px; align-items:flex-start;
}
.form-status{
  display:none; padding:14px 16px; border-radius:var(--radius-sm); font-size:14px; margin-bottom:20px;
}
.form-status.show{ display:block; }
.form-status.success{ background:rgba(62,203,144,0.12); color:var(--signal); border:1px solid rgba(62,203,144,0.35); }
.form-status.error{ background:rgba(229,113,107,0.12); color:var(--danger); border:1px solid rgba(229,113,107,0.35); }
.hp-field{ position:absolute; left:-5000px; width:1px; height:1px; overflow:hidden; }

/* ===================================================================
   Misc components
   =================================================================== */
.badge-row{ display:flex; gap:10px; flex-wrap:wrap; }
.badge{
  font-family:var(--f-mono); font-size:12px; padding:7px 13px; border-radius:99px;
  border:1px solid var(--border); color:var(--slate); display:inline-flex; align-items:center; gap:6px;
}
.badge strong{ color:var(--ink); font-weight:600; }

.timeline{ border-left:2px solid var(--border); padding-left:28px; display:flex; flex-direction:column; gap:36px; }
.timeline .t-item{ position:relative; }
.timeline .t-item::before{
  content:""; position:absolute; left:-34px; top:4px; width:10px; height:10px; border-radius:50%;
  background:var(--blue); border:3px solid var(--blue-soft);
}
.timeline h4{ font-size:15px; color:var(--heading); margin-bottom:6px; }
.timeline .t-label{ font-family:var(--f-mono); font-size:11.5px; color:var(--blue-bright); letter-spacing:.06em; text-transform:uppercase; margin-bottom:6px; display:block; }
.timeline p{ color:var(--slate); font-size:14.5px; }

.case-card{
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius);
  overflow:hidden;
  display:flex; flex-direction:column; height:100%;
}
.case-card .case-top{
  padding:30px 30px 0;
  display:flex; flex-direction:column; gap:8px;
}
.case-card .case-icon{
  width:42px; height:42px; border-radius:10px; background:var(--blue-soft); color:var(--blue-bright);
  display:flex; align-items:center; justify-content:center; margin-bottom:6px;
}
.case-card .case-industry{
  font-family:var(--f-mono); font-size:11.5px; text-transform:uppercase; letter-spacing:.08em; color:var(--blue-bright);
}
.case-card h3{ font-size:19px; margin:6px 0 16px; }
.case-block{ padding:20px 30px; border-top:1px solid var(--border-soft); }
.case-block h5{ font-family:var(--f-mono); font-size:11.5px; text-transform:uppercase; letter-spacing:.07em; color:var(--slate-dim); margin-bottom:10px; }
.case-block p{ color:var(--slate); font-size:14.5px; }
.case-block ul li{ font-size:14.5px; color:var(--ink); padding:4px 0 4px 18px; position:relative; }
.case-block ul li::before{ content:"—"; position:absolute; left:0; color:var(--blue-bright); }
.case-result{ background:var(--bg-2); margin-top:auto; }
.case-result .num{ font-family:var(--f-mono); font-weight:600; color:var(--blue-bright); margin-right:6px; }

.value-card{ text-align:left; }

.team-quote{
  background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:48px;
  display:grid; grid-template-columns:auto 1fr; gap:28px; align-items:start;
}
.team-quote .mark{ font-family:var(--f-display); font-size:56px; color:var(--blue); line-height:0.7; margin-top:14px; }
.team-quote p{ font-size:18px; color:var(--heading); font-family:var(--f-display); font-weight:500; line-height:1.4; }
.team-quote .who{ margin-top:14px; font-family:var(--f-body); font-size:13.5px; color:var(--slate); }

.support-channel{
  display:flex; gap:18px; padding:24px 0; border-bottom:1px solid var(--border-soft);
  align-items:flex-start;
}
.support-channel:last-child{ border-bottom:none; }
.support-channel .ic{
  flex:none; width:46px; height:46px; border-radius:10px; background:var(--blue-soft);
  display:flex; align-items:center; justify-content:center; color:var(--blue-bright);
}
.support-channel h4{ font-size:15.5px; margin-bottom:4px; color:var(--heading); }
.support-channel p{ font-size:14px; color:var(--slate); }
.support-channel a{ color:var(--blue-bright); font-weight:600; }

.sev-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; align-items:stretch; }
.sev-card{ border:1px solid var(--border); border-radius:var(--radius-sm); padding:18px; background:var(--surface); }
.sev-card .dot{ width:9px; height:9px; border-radius:50%; display:inline-block; margin-right:8px; flex:none; }
.sev-card h5{ font-size:14px; color:var(--heading); display:flex; align-items:center; margin-bottom:8px; }
.sev-card p{ font-size:13px; color:var(--slate); }

/* ===================================================================
   Responsive
   =================================================================== */
@media (max-width:980px){
  .grid-4{ grid-template-columns:repeat(2,1fr); }
  .grid-3{ grid-template-columns:repeat(2,1fr); }
  .footer-top{ grid-template-columns:1fr 1fr; }
  .hero .wrap{ grid-template-columns:1fr; padding-top:52px; padding-bottom:40px; min-height:auto; }
  .hero-art{ order:-1; max-width:460px; margin:0 auto 8px; }
  .split{ grid-template-columns:1fr; gap:36px; }
  .team-quote{ grid-template-columns:1fr; text-align:left; padding:34px; }
  .team-quote .mark{ margin-top:0; }
}
@media (max-width:760px){
  .main-nav{ display:none; }
  .menu-toggle{ display:block; }
  .grid-2, .grid-3, .grid-4{ grid-template-columns:1fr; }
  .footer-top{ grid-template-columns:1fr; }
  .form-row{ grid-template-columns:1fr; }
  .cta-band{ flex-direction:column; align-items:flex-start; padding:36px; }
  .sev-grid{ grid-template-columns:1fr; }
  section{ padding:56px 0; }
  .wrap{ padding:0 20px; }
  .form-card{ padding:26px; }
  .main-nav.mobile-open{
    display:flex;
    flex-direction:column;
    position:absolute;
    top:78px; left:0; right:0;
    background:var(--bg-2);
    padding:20px 20px 28px;
    border-bottom:1px solid var(--border-soft);
    gap:4px;
    box-shadow:0 16px 32px -16px rgba(0,0,0,0.5);
  }
  .main-nav.mobile-open a{ padding:10px 4px; }
}
@media (max-width:480px){
  .site-header .wrap{ height:68px; }
  .brand img{ height:26px; }
  .brand{ gap:8px; }
  .brand-word{ font-size:15.5px; }
  .header-right{ gap:8px; }
  .btn{ padding:9px 13px; font-size:12.5px; }
  .menu-toggle{ padding:6px; }
  .wrap{ padding:0 16px; }
  .main-nav.mobile-open{ top:68px; }
}
@media (max-width:360px){
  .brand-word{ font-size:14px; }
  .btn-primary{ padding:9px 11px; }
}
