:root {
  --bg: #07101d;
  --bg-soft: #0b1630;
  --surface: rgba(9, 19, 35, 0.78);
  --surface-strong: rgba(13, 26, 49, 0.92);
  --line: rgba(120, 146, 255, 0.18);
  --line-strong: rgba(120, 235, 255, 0.38);
  --text: #f4f8ff;
  --muted: #9badc8;
  --cyan: #58d8ff;
  --blue: #6f7dff;
  --purple: #ab5cff;
  --pink: #ff52b8;
  --mint: #29f0c8;
  --yellow: #ffd76a;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, rgba(111, 125, 255, 0.18), transparent 28%),
    radial-gradient(circle at 85% 18%, rgba(41, 240, 200, 0.14), transparent 24%),
    radial-gradient(circle at 70% 55%, rgba(171, 92, 255, 0.12), transparent 24%),
    linear-gradient(180deg, #060d18 0%, #08111f 38%, #09131f 100%);
  overflow-x: hidden;
}

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

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.container {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

.v2-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(circle at center, rgba(0,0,0,0.8), rgba(0,0,0,0.15));
}

.section-spacing {
  padding: 38px 0 44px;
}

.v2-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(20px);
  background: rgba(6, 13, 24, 0.72);
  border-bottom: 1px solid rgba(120, 146, 255, 0.14);
}

.v2-header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.v2-brand strong,
.v2-brand small {
  display: block;
}

.v2-brand small {
  color: var(--muted);
  font-size: 0.82rem;
}

.v2-brand-mark {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: white;
  background: linear-gradient(135deg, var(--cyan), var(--blue), var(--purple));
  box-shadow: 0 14px 34px rgba(88, 216, 255, 0.24);
}

.v2-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.v2-nav-dropdown {
  position: relative;
}

.v2-nav-dropdown > a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
}

.v2-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 240px;
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(8, 18, 32, 0.96);
  border: 1px solid rgba(120, 146, 255, 0.18);
  box-shadow: var(--shadow);
}

.v2-dropdown-menu a {
  padding: 10px 12px;
  border-radius: 10px;
  color: #dbe7fa;
}

.v2-dropdown-menu a:hover {
  background: rgba(255,255,255,0.06);
  color: #fff;
}

.v2-nav-dropdown:hover .v2-dropdown-menu,
.v2-nav-dropdown:focus-within .v2-dropdown-menu {
  display: flex;
}

.v2-nav a {
  color: var(--muted);
  font-weight: 600;
  transition: color 180ms ease;
}

.v2-nav a:hover {
  color: var(--text);
}

.v2-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.v2-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.v2-button:hover {
  transform: translateY(-2px);
}

.v2-button-primary {
  color: #04111d;
  background: linear-gradient(135deg, var(--mint), #82f4e0 45%, #b5fff5 100%);
  box-shadow: 0 18px 44px rgba(41, 240, 200, 0.26);
}

.v2-button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(120, 146, 255, 0.2);
}

.v2-button-ghost {
  color: var(--text);
  background: transparent;
  border-color: rgba(120, 146, 255, 0.16);
}

.v2-hero {
  position: relative;
  z-index: 1;
  padding-top: 86px;
}

.v2-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
}

.v2-eyebrow,
.v2-card-tag,
.v2-wall-overlay span,
.v2-proof-copy span,
.v2-market-visual-card span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #8edcff;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
}

.v2-hero-copy h1,
.v2-section-head h2,
.v2-market-copy h2,
.v2-quote-copy h2 {
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.v2-hero-copy h1 {
  margin: 18px 0 18px;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  max-width: 10ch;
}

.v2-lead,
.v2-section-head p,
.v2-card-copy p,
.v2-market-copy p,
.v2-market-card span,
.v2-quote-copy p,
.v2-mini-proof-card li,
.v2-market-visual-card p {
  color: var(--muted);
}

.v2-lead {
  font-size: 1.05rem;
  max-width: 66ch;
}

.v2-hero-actions,
.v2-quote-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.v2-metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.v2-metric-card {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(120, 146, 255, 0.15);
  box-shadow: var(--shadow);
}

.v2-metric-card strong {
  display: block;
  font-size: 1.9rem;
  margin-bottom: 8px;
}

.v2-proof-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.v2-proof-pills span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(120, 146, 255, 0.16);
  color: #d7e5fb;
  font-size: 0.92rem;
}

.v2-hero-visual {
  display: grid;
  gap: 18px;
}

.v2-hero-main-card,
.v2-image-card,
.v2-proof-story,
.v2-wall-card,
.v2-market-visual,
.v2-quote-visual {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(120, 146, 255, 0.14);
}

.v2-hero-main-card {
  min-height: 420px;
}

.v2-main-overlay,
.v2-image-overlay,
.v2-wall-overlay,
.v2-market-visual-card,
.v2-quote-checklist {
  position: absolute;
  backdrop-filter: blur(16px);
  background: rgba(8, 18, 32, 0.72);
  border: 1px solid rgba(120, 146, 255, 0.16);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.28);
}

.v2-main-overlay {
  max-width: 280px;
  padding: 14px 16px;
}

.v2-main-overlay span,
.v2-image-overlay span,
.v2-main-overlay strong,
.v2-image-overlay strong,
.v2-quote-checklist strong {
  display: block;
}

.v2-main-overlay.top-left {
  top: 18px;
  left: 18px;
}

.v2-main-overlay.bottom-right {
  right: 18px;
  bottom: 18px;
}

.v2-main-overlay.accent {
  background: rgba(18, 16, 38, 0.76);
}

.v2-main-overlay span,
.v2-image-overlay span {
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #90dfff;
  margin-bottom: 6px;
}

.v2-main-overlay strong,
.v2-image-overlay strong {
  font-size: 0.98rem;
  line-height: 1.35;
}

.v2-hero-side-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.v2-image-card.small-card {
  min-height: 210px;
}

.v2-image-overlay {
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 14px 16px;
}

.v2-mini-proof-card {
  min-height: 210px;
  padding: 22px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(15, 29, 54, 0.94), rgba(11, 20, 36, 0.9));
  border: 1px solid rgba(120, 146, 255, 0.14);
  box-shadow: var(--shadow);
}

.v2-mini-proof-top {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-cyan { background: var(--cyan); }
.dot-purple { background: var(--purple); }
.dot-pink { background: var(--pink); }

.v2-mini-proof-card h2 {
  margin: 0 0 16px;
  font-size: 1.4rem;
}

.v2-mini-proof-card ul {
  margin: 0;
  padding-left: 18px;
}

.v2-mini-proof-card li + li {
  margin-top: 8px;
}

.v2-marquee {
  margin-top: 18px;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid rgba(120, 146, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.v2-marquee-track {
  display: inline-flex;
  gap: 18px;
  white-space: nowrap;
  padding: 12px 18px;
  animation: scrollTrack 30s linear infinite;
}

.v2-marquee-track span {
  color: #c9d8f4;
  font-weight: 700;
}

@keyframes scrollTrack {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.v2-section {
  position: relative;
  z-index: 1;
}

.v2-section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 24px;
}

.v2-section-head h2,
.v2-market-copy h2,
.v2-quote-copy h2 {
  margin: 14px 0 0;
  font-size: clamp(2rem, 3.8vw, 3.6rem);
}

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

.v2-system-card,
.v2-market-card {
  border-radius: var(--radius);
  background:
    radial-gradient(circle at top left, rgba(88, 216, 255, 0.18), transparent 45%),
    radial-gradient(circle at bottom right, rgba(171, 92, 255, 0.16), transparent 46%),
    linear-gradient(145deg, rgba(9, 19, 35, 0.98), rgba(11, 26, 56, 0.96));
  border: 1px solid rgba(120, 146, 255, 0.28);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.v2-system-card:hover,
.v2-market-card:hover,
.v2-wall-card:hover,
.v2-proof-story:hover,
.v2-hero-main-card:hover,
.v2-image-card:hover,
.v2-market-visual:hover,
.v2-quote-visual:hover {
  transform: translateY(-8px) scale(1.03);
  border-color: var(--line-strong);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.65);
}

.v2-card-link {
  display: block;
  height: 100%;
}

.v2-card-media {
  height: 250px;
}

.v2-card-copy {
  padding: 18px 18px 20px;
}

.v2-card-copy h3 {
  margin: 10px 0 10px;
  font-size: 1.2rem;
  line-height: 1.2;
}

.v2-dark-panel {
  padding: 40px 0 46px;
  background: linear-gradient(180deg, rgba(10, 19, 33, 0.78), rgba(6, 12, 23, 0.78));
  border-top: 1px solid rgba(120, 146, 255, 0.12);
  border-bottom: 1px solid rgba(120, 146, 255, 0.12);
}

.v2-application-wall {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  grid-auto-rows: 220px;
  gap: 18px;
}

.v2-gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  grid-auto-rows: 220px;
  gap: 18px;
}

.v2-gallery-item {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  border-radius: var(--radius);
  border: 1px solid rgba(120, 146, 255, 0.14);
  box-shadow: var(--shadow);
}

.v2-gallery-item.large {
  grid-row: span 2;
}

.v2-gallery-item.wide {
  grid-column: span 2;
}

.v2-gallery-item img {
  transition: transform 220ms ease;
}

.v2-gallery-item:hover img {
  transform: scale(1.05);
}

.v2-wall-card.tall {
  grid-row: span 2;
}

.v2-wall-card.wide {
  grid-column: span 2;
}

.v2-wall-overlay {
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 16px;
}

.v2-wall-overlay h3 {
  margin: 8px 0 8px;
  font-size: 1.1rem;
}

.v2-wall-overlay a {
  display: inline-flex;
  margin-top: 6px;
  color: #9ee7ff;
  font-weight: 700;
}

.v2-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.v2-proof-story {
  min-height: 310px;
}

.v2-proof-copy {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(6, 14, 26, 0.7);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(120, 146, 255, 0.14);
}

.v2-proof-copy h3 {
  margin: 10px 0 0;
  font-size: 1rem;
  line-height: 1.3;
}

.v2-market-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 28px;
  align-items: center;
}

.v2-market-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.v2-market-card {
  padding: 18px;
}

.v2-market-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.06rem;
}

.v2-market-visual {
  min-height: 520px;
}

.v2-market-visual-card {
  right: 18px;
  bottom: 18px;
  width: min(300px, calc(100% - 36px));
  padding: 18px;
}

.v2-market-visual-card strong {
  display: block;
  margin: 10px 0 8px;
  font-size: 1.1rem;
}

.v2-quote-section {
  padding-bottom: 60px;
}

.v2-quote-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  padding: 28px;
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(140deg, rgba(11, 20, 39, 0.9), rgba(8, 15, 27, 0.88));
  border: 1px solid rgba(120, 146, 255, 0.16);
  box-shadow: var(--shadow);
}

.v2-quote-visual {
  min-height: 360px;
}

.v2-quote-checklist {
  left: 18px;
  bottom: 18px;
  padding: 18px;
  width: min(320px, calc(100% - 36px));
}

.v2-quote-checklist ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: #dce8fb;
}

.v2-quote-checklist li + li {
  margin-top: 6px;
}

.v2-footer {
  position: relative;
  z-index: 1;
  padding: 0 0 36px;
}

.v2-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid rgba(120, 146, 255, 0.14);
}

.v2-footer p,
.v2-footer-links a {
  color: var(--muted);
}

.v2-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 560ms ease, transform 560ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .v2-hero-grid,
  .v2-market-layout,
  .v2-quote-shell,
  .v2-section-head {
    grid-template-columns: 1fr;
  }

  .v2-system-grid,
  .v2-proof-grid,
  .v2-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .v2-application-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 220px;
  }

  .v2-wall-card.tall,
  .v2-wall-card.wide,
  .v2-gallery-item.large,
  .v2-gallery-item.wide {
    grid-row: span 1;
    grid-column: span 1;
  }
}

@media (max-width: 920px) {
  .v2-header-inner {
    min-height: auto;
    padding: 16px 0;
    flex-wrap: wrap;
  }

  .v2-nav {
    order: 3;
    width: 100%;
  }

  .v2-header-actions,
  .v2-hero-actions,
  .v2-quote-actions {
    width: 100%;
  }

  .v2-metric-row,
  .v2-market-grid,
  .v2-hero-side-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 24px, 1240px);
  }

  .v2-hero-copy h1 {
    max-width: none;
    font-size: clamp(2.4rem, 12vw, 3.8rem);
  }

  .v2-button {
    width: 100%;
  }

  .v2-system-grid,
  .v2-proof-grid,
  .v2-market-grid,
  .v2-application-wall,
  .v2-hero-side-grid,
  .v2-metric-row,
  .v2-gallery-grid {
    grid-template-columns: 1fr;
  }

  .v2-card-media {
    height: 220px;
  }

  .v2-hero-main-card {
    min-height: 320px;
  }

  .v2-market-visual,
  .v2-quote-visual,
  .v2-gallery-item {
    min-height: 300px;
  }

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

  .v2-detail-grid {
    grid-template-columns: 1fr;
  }
}

/* Product detail pages */
.v2-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 0.88rem;
  color: var(--muted);
}
.v2-breadcrumb a:hover { color: var(--text); }

.v2-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.v2-detail-images {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.v2-detail-thumb-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.v2-thumb {
  aspect-ratio: 4/3;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  cursor: pointer;
}

.v2-thumb img {
  transition: transform 200ms ease;
}
.v2-thumb:hover img {
  transform: scale(1.04);
}

.v2-detail-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.v2-detail-info h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.v2-spec-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.v2-spec-list li {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.5;
}
