:root {
  --bg: #0c0d10;
  --bg-alt: #101217;
  --surface: #161821;
  --surface-alt: #1e222d;
  --primary: #e53737;
  --primary-soft: rgba(229, 55, 55, 0.18);
  --text: #f5f5f7;
  --muted: #9ea3b4;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --radius-lg: 18px;
  --radius-xl: 26px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.55);
  --shadow-subtle: 0 10px 25px rgba(0, 0, 0, 0.32);
  --transition-fast: 0.18s ease-out;
  --transition-med: 0.25s ease-out;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top, #202540 0, #05060a 55%, #020308 100%);
  scroll-behavior: smooth;
}

/* Generic */

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: radial-gradient(circle at top left, #202437 0, #05060a 55%);
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-size: 1.9rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.4rem;
}

.section-header p {
  max-width: 560px;
  margin: 0.25rem auto 0;
  color: var(--muted);
}

/* Top bar */

.top-bar {
  background: #050509;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.78rem;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 0.4rem;
  gap: 1rem;
}

.top-bar a {
  color: var(--muted);
  text-decoration: none;
}

.top-links {
  display: flex;
  gap: 1.25rem;
}

.top-actions {
  display: flex;
  gap: 0.6rem;
}

.pill-link {
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
}

/* Header / Nav */

.main-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: linear-gradient(
      to bottom,
      rgba(5, 5, 10, 0.92),
      rgba(5, 5, 10, 0.86),
      rgba(5, 5, 10, 0.8),
      transparent
    );
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.65rem;
  gap: 1rem;
}

/* Logo */

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: radial-gradient(circle at 30% 30%, #ff9f9f 0, #e53737 50%, #8c1212);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25),
    0 6px 14px rgba(0, 0, 0, 0.6);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-title {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.logo-subtitle {
  font-size: 0.72rem;
  color: var(--muted);
}

/* Nav */

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 1.1rem;
}

.nav a {
  text-decoration: none;
  font-size: 0.86rem;
  color: var(--muted);
  position: relative;
  padding-block: 0.35rem;
}

.nav a.active,
.nav a:hover {
  color: var(--text);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.2rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
  transition: width var(--transition-fast);
}

.nav a:hover::after,
.nav a.active::after {
  width: 18px;
}

/* Dropdown */

.has-dropdown {
  position: relative;
}

.has-dropdown > .dropdown {
  position: absolute;
  top: 110%;
  left: 0;
  background: #05060b;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  min-width: 180px;
  box-shadow: var(--shadow-subtle);
  padding: 0.4rem 0.35rem;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  z-index: 60;
}

.has-dropdown:hover > .dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown li a {
  display: block;
  padding: 0.45rem 0.75rem;
  border-radius: 10px;
  font-size: 0.83rem;
}

.dropdown li a:hover {
  background: rgba(255, 255, 255, 0.04);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.87rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition-fast), transform var(--transition-fast),
    box-shadow var(--transition-fast), border-color var(--transition-fast),
    color var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(135deg, #ff5d5d, #e53737);
  color: #fff;
  box-shadow: 0 14px 30px rgba(229, 55, 55, 0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(229, 55, 55, 0.6);
}

.btn-outline {
  background: transparent;
  border-color: var(--border-subtle);
  color: var(--text);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.04);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.8rem;
}

.btn-block {
  width: 100%;
}

/* Nav Toggle (mobile) */

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  width: 34px;
  height: 26px;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
}

/* Hero */

.hero {
  padding: 3.5rem 0 3.8rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: 3.2rem;
}

.eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #ffaaaa;
  margin-bottom: 0.6rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 3vw, 2.7rem);
  line-height: 1.15;
  margin: 0 0 0.7rem;
}

.hero-subtitle {
  color: var(--muted);
  margin-bottom: 1.4rem;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.6rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  font-size: 0.8rem;
}

.hero-meta-number {
  display: block;
  font-weight: 600;
  font-size: 1.2rem;
}

.hero-meta-label {
  color: var(--muted);
}

/* Hero visual */

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-card.main {
  width: 240px;
  height: 220px;
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at top, #262b40 0, #080912 60%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-camera-head {
  width: 130px;
  height: 40px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f9f9f9, #cbced6);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.4);
  position: absolute;
  top: 60px;
}

.hero-camera-body {
  width: 120px;
  height: 70px;
  border-radius: 26px;
  background: linear-gradient(145deg, #f8f8fa, #d5d7e0);
  position: absolute;
  top: 95px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-lens-glow {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #7affff 0, #1c87ff 40%, #020818 100%);
  box-shadow: 0 0 22px rgba(71, 160, 255, 0.9);
}

.hero-tag {
  position: absolute;
  top: 18px;
  left: 16px;
  font-size: 0.7rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(7, 255, 179, 0.12);
  border: 1px solid rgba(7, 255, 179, 0.4);
  color: #b6ffe7;
}

.hero-stats-card {
  position: absolute;
  right: -18px;
  bottom: 12px;
  width: 160px;
  padding: 0.6rem 0.8rem;
  border-radius: 16px;
  background: rgba(13, 16, 29, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.72rem;
}

.hero-stats-title {
  margin: 0;
  color: var(--muted);
}

.hero-stats-value {
  margin: 0.15rem 0;
  font-weight: 600;
}

.hero-stats-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.2rem;
  margin-top: 0.2rem;
}

.hero-stats-bars span {
  width: 5px;
  border-radius: 999px;
  background: radial-gradient(circle at top, #ffabab 0, #e53737);
}

.hero-stats-bars span:nth-child(1) {
  height: 10px;
}
.hero-stats-bars span:nth-child(2) {
  height: 16px;
}
.hero-stats-bars span:nth-child(3) {
  height: 22px;
}

.hero-badge {
  position: absolute;
  left: -12px;
  bottom: 70px;
  font-size: 0.72rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(229, 55, 55, 0.08);
  border: 1px solid rgba(229, 55, 55, 0.5);
}

/* Category tabs */

.category-tabs {
  display: inline-flex;
  gap: 0.4rem;
  padding: 0.25rem;
  border-radius: 999px;
  background: rgba(15, 17, 24, 0.95);
  border: 1px solid var(--border-subtle);
  margin-bottom: 1.8rem;
}

.tab-btn {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 0.78rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast),
    transform var(--transition-fast);
}

.tab-btn.active {
  background: var(--primary-soft);
  color: #ffdede;
  transform: translateY(-1px);
}

/* Cards */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
}

.card {
  background: linear-gradient(135deg, rgba(17, 19, 28, 0.96), rgba(12, 14, 22, 0.96));
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.25rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-subtle);
  transition: transform var(--transition-med), box-shadow var(--transition-med),
    border-color var(--transition-med), background var(--transition-med);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
  border-color: rgba(229, 55, 55, 0.6);
  background: radial-gradient(circle at top left, rgba(229, 55, 55, 0.12), transparent),
    linear-gradient(135deg, #151722, #090b14);
}

.card h3 {
  margin: 0 0 0.3rem;
  font-size: 1.02rem;
}

.card p {
  margin: 0.15rem 0 0.75rem;
  font-size: 0.86rem;
  color: var(--muted);
}

/* Product cards */

.product-card .chip-list {
  margin-bottom: 0.7rem;
}

.circle-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  margin-bottom: 0.6rem;
  background: radial-gradient(circle at top, #ffffff 0, #bbbfd1 60%);
  color: #222;
}

.chip-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.chip-list li {
  font-size: 0.73rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.82rem;
  color: #ffb3b3;
  text-decoration: none;
}

/* Solutions */

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
}

.solution-card ul {
  padding-left: 1.1rem;
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

/* Trending strip */

.trending-strip {
  display: flex;
  gap: 0.9rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
  scrollbar-width: thin;
}

.trending-strip::-webkit-scrollbar {
  height: 5px;
}
.trending-strip::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.24);
  border-radius: 999px;
}

.tiny-card {
  min-width: 170px;
  padding: 0.8rem 0.85rem;
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  background: linear-gradient(135deg, #141623, #0b0d16);
  font-size: 0.78rem;
}

.tiny-card h4 {
  margin: 0 0 0.1rem;
  font-size: 0.85rem;
}

.tiny-card p {
  margin: 0;
  color: var(--muted);
}

.tiny-badge {
  display: inline-block;
  margin-top: 0.3rem;
  font-size: 0.7rem;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: rgba(229, 55, 55, 0.18);
  color: #ffdede;
}

/* Support */

.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
}

.link-list {
  list-style: none;
  padding: 0;
  margin: 0.35rem 0 0;
}

.link-list li {
  margin-bottom: 0.3rem;
}

.link-list a {
  font-size: 0.82rem;
  color: #ffdcdc;
  text-decoration: none;
}

/* Training */

.training-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr);
  gap: 2rem;
  align-items: center;
}

.training-info p {
  color: var(--muted);
  max-width: 460px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin-top: 0.7rem;
}

.check-list li {
  position: relative;
  padding-left: 1.3rem;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
  color: var(--muted);
}

.check-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.8rem;
  color: #79ffcd;
}

.training-card {
  padding: 1.4rem 1.5rem;
}

/* Footer */

.footer {
  background: #050509;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) repeat(3, minmax(0, 0.8fr));
  gap: 1.7rem;
  padding-block: 2.5rem;
}

.footer-about {
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 320px;
}

.footer-col h4 {
  margin: 0 0 0.5rem;
  font-size: 0.92rem;
}

.footer-col p,
.footer-col a {
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.25rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--text);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.contact-form input,
.contact-form textarea {
  background: rgba(12, 14, 22, 0.95);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.45rem 0.6rem;
  font-size: 0.78rem;
  color: var(--text);
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(158, 163, 180, 0.9);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-block: 0.8rem;
  font-size: 0.75rem;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-bottom-links a {
  color: var(--muted);
  text-decoration: none;
}

/* Responsive */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    order: -1;
  }

  .training-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .top-bar-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-toggle {
    display: flex;
  }

  .nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: #05060b;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.7rem 1.25rem 0.9rem;
    display: none;
    flex-direction: column;
    gap: 0.7rem;
  }

  .nav.open {
    display: flex;
  }

  .nav ul {
    flex-direction: column;
    gap: 0.35rem;
  }

  .has-dropdown > .dropdown {
    position: static;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    border: none;
    box-shadow: none;
    background: transparent;
    padding-left: 0.4rem;
    margin-top: -0.2rem;
  }

  .dropdown li a {
    padding: 0.3rem 0;
    font-size: 0.8rem;
  }

  .nav-cta {
    align-self: flex-start;
  }

  .hero {
    padding-top: 2.6rem;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 3.3rem 0;
  }

  .cards-grid,
  .solutions-grid,
  .support-grid {
    gap: 1rem;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (max-width: 480px) {
  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .category-tabs {
    flex-wrap: wrap;
    justify-content: center;
  }
}


:root {
  --bg: #0c0d10;
  --bg-alt: #101217;
  --surface: #161821;
  --surface-alt: #1e222d;
  --primary: #e53737;
  --primary-soft: rgba(229, 55, 55, 0.18);
  --text: #f5f5f7;
  --muted: #9ea3b4;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --radius-lg: 18px;
  --radius-xl: 26px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.55);
  --shadow-subtle: 0 10px 25px rgba(0, 0, 0, 0.32);
  --transition-fast: 0.18s ease-out;
  --transition-med: 0.25s ease-out;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top, #202540 0, #05060a 55%, #020308 100%);
  scroll-behavior: smooth;
  height: 100%;
}

/* ==== NEW: Desktop Ad Sidebars ==== */
.main-wrapper {
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

.ad-sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 300px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  pointer-events: none;
}

.ad-sidebar-left {
  left: 0;
}

.ad-sidebar-right {
  right: 0;
}

.ad-placeholder {
  width: 300px;
  height: 600px;
  background: rgba(255,255,255,0.05);
  border: 2px dashed rgba(255,255,255,0.15);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  pointer-events: all;
  backdrop-filter: blur(4px);
}

/* Hide sidebars on screens smaller than 1100px */
@media (max-width: 1100px) {
  .ad-sidebar {
    display: none;
  }
}

/* Ensure main content doesn't get blocked */
.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

/* Rest of your original styles unchanged... */
.section { padding: 4.5rem 0; }
.section-alt { background: radial-gradient(circle at top left, #202437 0, #05060a 55%); }
/* ... all your existing styles remain exactly the same ... */

/* (All previous CSS from your original file continues unchanged below this point) */

/* Generic */
.container { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.section { padding: 4.5rem 0; }
.section-alt { background: radial-gradient(circle at top left, #202437 0, #05060a 55%); }
.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-header h2 { font-size: 1.9rem; letter-spacing: 0.02em; margin-bottom: 0.4rem; }
.section-header p { max-width: 560px; margin: 0.25rem auto 0; color: var(--muted); }

/* Top bar */
.top-bar { background: #050509; border-bottom: 1px solid var(--border-subtle); font-size: 0.78rem; }
/* ... (everything else you already had) ... */


.ad-label {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.12);
  color: #ff6b6b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 6px;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,107,107,0.3);
  z-index: 15;
}