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

:root{
  --bg:#f5f8fc;
  --bg-2:#edf3fb;
  --surface:rgba(255,255,255,.82);
  --surface-strong:#ffffff;
  --surface-soft:rgba(255,255,255,.54);
  --text:#102032;
  --muted:#617287;
  --line:rgba(20,44,67,.08);
  --shadow:0 20px 50px rgba(27,48,87,.08);
  --shadow-strong:0 24px 70px rgba(27,48,87,.14);
  --blue:#245f7c;
  --blue-dark:#143d55;
  --accent:#5b72ff;
  --red:#cc1a1f;
  --green:#0e944c;
  --chip-bg:rgba(255,255,255,.88);
  --orb-a:rgba(92,114,255,.20);
  --orb-b:rgba(66,211,220,.20);
  --grid:rgba(36,95,124,.06);
}

.theme-toggle-input{
  position:absolute;
  width:1px;
  height:1px;
  opacity:0;
  pointer-events:none;
}

.theme-toggle-input:checked ~ .site-shell{
  --bg:#0b1220;
  --bg-2:#0f1829;
  --surface:rgba(15,24,41,.75);
  --surface-strong:#121d30;
  --surface-soft:rgba(255,255,255,.03);
  --text:#f3f7fb;
  --muted:#99a8bd;
  --line:rgba(255,255,255,.08);
  --shadow:0 20px 50px rgba(0,0,0,.28);
  --shadow-strong:0 24px 70px rgba(0,0,0,.35);
  --blue:#6ba8ff;
  --blue-dark:#82b8ff;
  --accent:#8a9dff;
  --chip-bg:rgba(255,255,255,.08);
  --orb-a:rgba(91,114,255,.18);
  --orb-b:rgba(56,180,185,.16);
  --grid:rgba(255,255,255,.05);
}

html,body{
  min-height:100%;
}

body{
  min-height:100vh;
  font-family:"Inter", sans-serif;
  background:linear-gradient(180deg,var(--bg),var(--bg-2));
  color:var(--text);
  -webkit-font-smoothing:antialiased;
  transition:background .25s ease,color .25s ease;
}

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

img{
  display:block;
  max-width:100%;
}

.site-shell{
  min-height:100vh;
  position:relative;
  overflow:hidden;
  transition:all .25s ease;
}

.topbar{
  width:min(100% - 40px, 1240px);
  margin:0 auto;
  padding:24px 0 10px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  position:relative;
  z-index:4;
}

.brand-wrap{
  display:flex;
  align-items:center;
  gap:14px;
}

.topbar-logo{
  width:92px;
  max-width:200px;
  height:auto;
  object-fit:contain;
}

.brand-meta{
  display:flex;
  flex-direction:column;
  gap:3px;
}

.brand-kicker{
  color:var(--blue);
  font-size:11px;
  font-weight:700;
  letter-spacing:2px;
}

.brand-status{
  color:var(--muted);
  font-size:13px;
}

.theme-toggle{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 12px;
  border:1px solid var(--line);
  border-radius:999px;
  background:var(--surface);
  backdrop-filter:blur(12px);
  box-shadow:var(--shadow);
  cursor:pointer;
  user-select:none;
}

.toggle-track{
  width:42px;
  height:24px;
  padding:3px;
  display:flex;
  align-items:center;
  border-radius:999px;
  background:rgba(103,123,155,.24);
}

.toggle-dot{
  width:18px;
  height:18px;
  border-radius:50%;
  background:var(--surface-strong);
  box-shadow:0 6px 16px rgba(0,0,0,.14);
  transition:transform .25s ease;
}

.theme-toggle-input:checked ~ .site-shell .toggle-dot{
  transform:translateX(18px);
}

.toggle-label{
  font-size:12px;
  color:var(--muted);
  font-weight:600;
}

.hero{
  width:min(100% - 40px, 1240px);
  margin:0 auto;
  padding:26px 0 56px;
  display:grid;
  grid-template-columns:1.02fr .98fr;
  gap:34px;
  align-items:center;
  position:relative;
}

.bg-orb{
  position:absolute;
  border-radius:50%;
  pointer-events:none;
  filter:blur(8px);
}

.orb-1{
  width:380px;
  height:380px;
  top:-40px;
  left:-90px;
  background:var(--orb-a);
}

.orb-2{
  width:300px;
  height:300px;
  right:-80px;
  bottom:50px;
  background:var(--orb-b);
}

.bg-grid{
  position:absolute;
  inset:0;
  opacity:.6;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size:34px 34px;
  mask-image:radial-gradient(circle at center, black 50%, transparent 100%);
  pointer-events:none;
}

.card-3d{
  position:relative;
  border:1px solid var(--line);
  background:var(--surface);
  backdrop-filter:blur(18px);
  box-shadow:var(--shadow);
  border-radius:28px;
}

.hero-copy{
  padding:44px;
  transform:perspective(1000px) rotateX(1deg) rotateY(-4deg);
}

.eyebrow,
.section-kicker{
  display:inline-block;
  color:var(--blue);
  font-family:"Roboto", sans-serif;
  font-size:11px;
  font-weight:700;
  letter-spacing:2.2px;
}

.hero-copy h1{
  margin-top:16px;
  font-family:"Roboto", sans-serif;
  font-size:clamp(42px, 5vw, 72px);
  line-height:.98;
  letter-spacing:-2.5px;
}

.lead{
  margin-top:22px;
  color:var(--muted);
  font-size:18px;
  line-height:1.7;
  max-width:560px;
}

.subtext{
  margin-top:14px;
  color:var(--muted);
  font-size:14px;
  line-height:1.75;
  max-width:520px;
}

.hero-actions{
  margin-top:30px;
  display:flex;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
}

.btn{
  min-height:48px;
  padding:0 22px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:10px;
  font-size:14px;
  font-weight:700;
  transition:transform .18s ease, opacity .18s ease, background .18s ease;
}

.btn-primary{
  background:var(--blue-dark);
  color:#fff;
  box-shadow:var(--shadow-strong);
}

.btn-primary:hover{
  opacity:.95;
  transform:translateY(-2px);
}

.micro-status{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--muted);
  font-size:12px;
  font-weight:600;
}

.status-dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#2fc773;
  box-shadow:0 0 0 6px rgba(47,199,115,.12);
}

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

.visual-stack{
  position:relative;
  width:100%;
  height:100%;
}

.floating-panel{
  position:absolute;
  border:1px solid var(--line);
  background:var(--surface);
  backdrop-filter:blur(18px);
  box-shadow:var(--shadow-strong);
  border-radius:30px;
  padding:22px;
}

.panel-main{
  top:18px;
  left:0;
  width:min(420px, 92%);
  min-height:248px;
  transform:perspective(1200px) rotateY(-10deg) rotateX(5deg);
}

.panel-diagnostic{
  right:16px;
  top:215px;
  width:270px;
  min-height:170px;
  transform:perspective(1200px) rotateY(-15deg) rotateX(6deg);
}

.panel-industry{
  left:90px;
  bottom:10px;
  width:280px;
  min-height:176px;
  transform:perspective(1200px) rotateY(14deg) rotateX(4deg);
}

.panel-logo,
.grid-logo{
  width:auto;
  max-width:200px;
  max-height:110px;
  object-fit:contain;
}

.main-logo{
  max-width:200px;
  max-height:120px;
}

.panel-content{
  margin-top:20px;
}

.panel-kicker{
  color:var(--muted);
  font-size:11px;
  letter-spacing:1.4px;
  text-transform:uppercase;
}

.panel-content strong{
  display:block;
  margin-top:8px;
  font-size:28px;
  font-family:"Roboto", sans-serif;
}

.panel-content p{
  margin-top:10px;
  color:var(--muted);
  font-size:14px;
  line-height:1.65;
}

.mini-chip{
  margin-top:18px;
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:0 12px;
  border-radius:999px;
  background:var(--chip-bg);
  font-size:12px;
  font-weight:700;
}

.chip-red{ color:var(--red); }
.chip-green{ color:var(--green); }

.logo-showcase{
  width:min(100% - 40px, 1240px);
  margin:0 auto;
  padding:10px 0 52px;
}

.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:24px;
}

.section-head h2{
  margin-top:10px;
  font-family:"Roboto", sans-serif;
  font-size:36px;
  letter-spacing:-1px;
}

.section-head p{
  max-width:360px;
  color:var(--muted);
  font-size:14px;
  line-height:1.7;
}

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

.logo-card{
  min-height:252px;
  padding:24px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  transform:perspective(1000px) rotateX(2deg);
}

.card-index{
  color:var(--muted);
  font-size:11px;
  font-weight:700;
  letter-spacing:1.5px;
}

.card-footer{
  padding-top:18px;
  border-top:1px solid var(--line);
}

.card-footer strong{
  display:block;
  font-size:16px;
  font-family:"Roboto", sans-serif;
}

.card-footer span{
  display:block;
  margin-top:8px;
  color:var(--muted);
  font-size:13px;
}

.name-blue{ color:var(--blue); }
.name-red{ color:var(--red); }
.name-green{ color:var(--green); }

.footer{
  width:min(100% - 40px, 1240px);
  margin:0 auto;
  padding:18px 0 30px;
  border-top:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  color:var(--muted);
  font-size:12px;
}

.footer-links{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}

.footer-sep{
  width:4px;
  height:4px;
  border-radius:50%;
  background:var(--muted);
  opacity:.5;
}

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

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

  .section-head{
    flex-direction:column;
    align-items:flex-start;
  }

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

@media (max-width: 700px){
  .topbar,
  .hero,
  .logo-showcase,
  .footer{
    width:min(100% - 24px, 1240px);
  }

  .topbar{
    padding-top:18px;
    flex-direction:column;
    align-items:flex-start;
  }

  .hero{
    padding-top:12px;
    gap:22px;
  }

  .hero-copy{
    padding:28px 22px;
    transform:none;
    border-radius:22px;
  }

  .hero-copy h1{
    font-size:42px;
    letter-spacing:-1.6px;
  }

  .lead{
    font-size:16px;
  }

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

  .panel-main{
    width:100%;
    left:0;
    top:0;
    transform:none;
  }

  .panel-diagnostic{
    top:250px;
    right:0;
    width:76%;
    transform:none;
  }

  .panel-industry{
    left:0;
    bottom:10px;
    width:76%;
    transform:none;
  }

  .logo-card{
    min-height:220px;
  }

  .footer{
    flex-direction:column;
    align-items:flex-start;
  }
}
