/* OSIBytes.com home refresh — layered on style.css */
:root {
  --v2-bg: #070b14;
  --v2-surface: #0f172a;
  --v2-card: #121c2f;
  --v2-line: rgba(148, 163, 184, 0.18);
  --v2-text: #e8eef7;
  --v2-muted: #94a3b8;
  --v2-cyan: #22d3ee;
  --v2-mint: #34d399;
  --v2-orange: #fb923c;
  --v2-radius: 18px;
}

body.home-v2 {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background:
    radial-gradient(1000px 500px at 10% -10%, rgba(34, 211, 238, 0.12), transparent 60%),
    radial-gradient(800px 400px at 90% 0%, rgba(251, 146, 60, 0.1), transparent 55%),
    var(--v2-bg);
  color: var(--v2-text);
  min-height: 100vh;
}

.home-v2 a { color: var(--v2-cyan); }
.home-v2 .container { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }

/* Header */
.site-header-v2 {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(7, 11, 20, 0.82);
  border-bottom: 1px solid var(--v2-line);
}
.site-header-v2 .header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1rem;
}
.site-header-v2 .header-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
}
.site-header-v2 .logo {
  height: 42px !important;
  width: 42px !important;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--v2-line);
}
.site-header-v2 .brand-name {
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 1.15rem;
  color: #fff;
}
.site-header-v2 .brand-name span { color: var(--v2-orange); }
.site-header-v2 .main-nav {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  flex-wrap: wrap;
}
.site-header-v2 .main-nav a {
  color: var(--v2-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
}
.site-header-v2 .main-nav a:hover,
.site-header-v2 .main-nav a.active {
  color: #fff;
  background: rgba(34, 211, 238, 0.1);
}
.site-header-v2 .nav-cta {
  background: linear-gradient(135deg, var(--v2-cyan), var(--v2-mint)) !important;
  color: #041018 !important;
  font-weight: 800 !important;
}
.site-header-v2 .burger-menu {
  display: none;
  background: transparent;
  border: 1px solid var(--v2-line);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.site-header-v2 .burger-menu .bar {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
}

/* Hero */
.hero-v2 { padding: clamp(2.5rem, 6vw, 4.5rem) 0 2rem; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 2rem;
  align-items: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--v2-muted);
  margin: 0 0 0.85rem;
}
.hero-copy h1 {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  color: #fff;
}
.hero-copy .lead {
  color: var(--v2-muted);
  font-size: 1.08rem;
  max-width: 52ch;
  margin: 0 0 1.5rem;
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.25rem;
}
.btn-primary, .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none !important;
  min-height: 48px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--v2-cyan), var(--v2-mint));
  color: #041018 !important;
  box-shadow: 0 10px 30px rgba(34, 211, 238, 0.25);
}
.btn-ghost {
  border: 1px solid var(--v2-line);
  color: #fff !important;
  background: rgba(255,255,255,0.03);
}
.btn-ghost:hover { border-color: var(--v2-cyan); }
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--v2-muted);
  font-size: 0.88rem;
  font-weight: 600;
}
.trust-row li::before {
  content: "✓ ";
  color: var(--v2-mint);
}

.hero-panel .glass-card {
  background: linear-gradient(160deg, rgba(18, 28, 47, 0.95), rgba(15, 23, 42, 0.9));
  border: 1px solid var(--v2-line);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
.hero-mark {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 1px solid var(--v2-line);
}
.glass-card h2 {
  margin: 0 0 0.4rem;
  font-size: 1.25rem;
  color: #fff;
}
.glass-card p {
  margin: 0 0 1rem;
  color: var(--v2-muted);
  font-size: 0.95rem;
}
.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
.mini-grid span {
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.18);
  color: #cffafe;
  border-radius: 10px;
  padding: 0.55rem 0.4rem;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
}

/* Sections */
.section-v2 { padding: clamp(2.5rem, 6vw, 4rem) 0; }
.section-muted {
  background: rgba(15, 23, 42, 0.55);
  border-block: 1px solid var(--v2-line);
}
.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 2rem;
}
.section-head h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #fff;
  letter-spacing: -0.02em;
}
.section-head p {
  margin: 0;
  color: var(--v2-muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.feature-card {
  background: var(--v2-card);
  border: 1px solid var(--v2-line);
  border-radius: var(--v2-radius);
  padding: 1.25rem;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: rgba(34, 211, 238, 0.4);
  transform: translateY(-2px);
}
.feature-card .icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(34, 211, 238, 0.12);
  color: var(--v2-cyan);
  margin-bottom: 0.85rem;
  font-size: 1.1rem;
}
.feature-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  color: #fff;
}
.feature-card p {
  margin: 0;
  color: var(--v2-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
}
.brand-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  background: var(--v2-card);
  border: 1px solid var(--v2-line);
  border-radius: 16px;
  padding: 1rem 0.6rem;
  text-decoration: none !important;
  color: #fff !important;
  font-weight: 700;
  font-size: 0.82rem;
  transition: border-color 0.2s, transform 0.2s;
}
.brand-tile img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid var(--v2-line);
}
.brand-tile:hover {
  border-color: var(--v2-orange);
  transform: translateY(-2px);
}
.center-link {
  text-align: center;
  margin: 1.5rem 0 0;
}
.center-link a {
  color: var(--v2-cyan);
  font-weight: 700;
  text-decoration: none;
}

.cta-band-v2 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.75rem;
  border-radius: 22px;
  background: linear-gradient(120deg, rgba(34, 211, 238, 0.14), rgba(251, 146, 60, 0.12));
  border: 1px solid var(--v2-line);
}
.cta-band-v2 h2 {
  margin: 0 0 0.35rem;
  color: #fff;
  font-size: 1.45rem;
}
.cta-band-v2 p {
  margin: 0;
  color: var(--v2-muted);
}

.footer-v2 {
  border-top: 1px solid var(--v2-line);
  padding: 2rem 0 1.25rem;
  margin-top: 1rem;
  color: var(--v2-muted);
  font-size: 0.9rem;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.footer-grid strong { color: #fff; display: block; margin-bottom: 0.35rem; }
.footer-grid a {
  color: var(--v2-muted);
  margin-right: 0.9rem;
  text-decoration: none;
  font-weight: 600;
}
.footer-grid a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid var(--v2-line);
  padding-top: 1rem;
  font-size: 0.82rem;
}

@media (max-width: 960px) {
  .hero-grid,
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .brand-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .site-header-v2 .burger-menu { display: flex; }
  .site-header-v2 nav > .main-nav { display: none; }
  .site-header-v2 .mobile-nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: rgba(7, 11, 20, 0.98);
    border-bottom: 1px solid var(--v2-line);
    padding: 0.75rem;
  }
  .site-header-v2 .mobile-nav.open,
  .site-header-v2.nav-open .mobile-nav { display: block; }
  .site-header-v2 .mobile-nav .main-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .hero-grid,
  .feature-grid,
  .brand-grid { grid-template-columns: 1fr; }
  .cta-band-v2 { text-align: center; justify-content: center; }
  .cta-band-v2 .hero-actions { justify-content: center; }
}
