:root {
  --bg: #02060b;
  --bg2: #06111d;
  --panel: rgba(5, 13, 22, 0.72);
  --panel-strong: rgba(8, 18, 30, 0.88);
  --line: rgba(80, 184, 255, 0.28);
  --line-strong: rgba(93, 196, 255, 0.58);
  --text: #edf7ff;
  --muted: #a9b8c8;
  --soft: #718496;
  --blue: #45baff;
  --blue2: #147bd2;
  --glow: rgba(60, 180, 255, 0.38);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.58);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 18%, rgba(54, 158, 255, 0.24), transparent 26%),
    radial-gradient(circle at 20% 18%, rgba(35, 125, 255, 0.14), transparent 30%),
    linear-gradient(180deg, #02060b 0%, #06111d 46%, #02060b 100%);
  min-height: 100vh;
  line-height: 1.62;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.18) 45%, rgba(0, 0, 0, 0.78)),
    radial-gradient(ellipse at 72% 47%, rgba(72, 166, 255, 0.22), transparent 28%),
    linear-gradient(165deg, transparent 0 47%, rgba(55, 145, 230, 0.16) 48%, transparent 58%),
    linear-gradient(168deg, transparent 0 58%, rgba(109, 205, 255, 0.34) 59%, transparent 61%),
    linear-gradient(170deg, transparent 0 66%, rgba(34, 144, 255, 0.22) 67%, transparent 72%);
  opacity: 0.95;
}

body::after {
  content: "";
  position: fixed;
  inset: auto 0 0 0;
  height: 46vh;
  pointer-events: none;
  z-index: -2;
  background:
    linear-gradient(172deg, transparent 0 38%, rgba(30, 92, 150, 0.10) 39%, rgba(4, 9, 15, 0.84) 62%),
    radial-gradient(ellipse at 70% 100%, rgba(67, 190, 255, 0.22), transparent 42%);
  filter: blur(0.2px);
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

.site-shell {
  min-height: 100vh;
  border: 1px solid rgba(92, 190, 255, 0.16);
  border-radius: 0 0 22px 22px;
  overflow: hidden;
  box-shadow: inset 0 0 90px rgba(43, 155, 255, 0.05);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(2, 6, 11, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(85, 190, 255, 0.18);
}

.nav {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 250px;
}

.brand img {
  width: 238px;
  max-width: 42vw;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 14px rgba(77, 190, 255, 0.55));
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 32px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
}

.nav-links a {
  color: rgba(237, 247, 255, 0.86);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue);
}

.nav-links a.active::after,
.nav-links a:hover::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -16px;
  height: 2px;
  background: var(--blue);
  box-shadow: 0 0 18px var(--glow);
}

.hero,
.section {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

.hero {
  min-height: 76vh;
  padding-top: 78px;
  padding-bottom: 58px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 48px;
  align-items: center;
}

.hero-logo {
  display: block;
  width: min(820px, 86vw);
  height: auto;
  margin: 0 0 1.75rem -34px;
  filter:
    drop-shadow(0 0 18px rgba(74, 173, 255, 0.28))
    drop-shadow(0 0 42px rgba(36, 126, 255, 0.16));
}


.kicker {
  margin: 0 0 18px;
  color: var(--text);
  font-size: 0.96rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  font-weight: 900;
}

.kicker.blue {
  color: var(--blue);
}

h1,
h2,
h3 {
  margin: 0 0 18px;
  line-height: 1.05;
}

h1 {
  font-size: clamp(2.45rem, 5.4vw, 5.2rem);
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2rem, 3.6vw, 3.3rem);
  letter-spacing: -0.045em;
}

h3 {
  font-size: 1.45rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.lede {
  color: rgba(237, 247, 255, 0.82);
  max-width: 710px;
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: rgba(5, 22, 38, 0.66);
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 900;
  font-size: 0.85rem;
  box-shadow:
    inset 0 0 22px rgba(48, 171, 255, 0.08),
    0 0 28px rgba(43, 155, 255, 0.10);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  border-color: rgba(114, 215, 255, 0.95);
  box-shadow:
    inset 0 0 28px rgba(48, 171, 255, 0.12),
    0 0 34px rgba(43, 155, 255, 0.26);
}

.button.primary {
  background: linear-gradient(180deg, rgba(32, 130, 210, 0.42), rgba(5, 22, 38, 0.74));
}

.button.secondary {
  background: rgba(2, 8, 14, 0.5);
}

.section {
  padding-top: 54px;
  padding-bottom: 54px;
}

.section-title {
  text-align: center;
  margin-bottom: 24px;
}

.section-title .kicker {
  color: var(--blue);
  font-size: 0.78rem;
}

.section-title h2 {
  letter-spacing: 0.24em;
  font-size: clamp(1.25rem, 2vw, 1.9rem);
  text-transform: uppercase;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.two-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.card {
  background:
    linear-gradient(180deg, rgba(12, 24, 38, 0.78), rgba(3, 9, 16, 0.72));
  border: 1px solid rgba(111, 203, 255, 0.22);
  border-radius: 14px;
  padding: 30px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(77, 190, 255, 0.10), transparent 28%),
    radial-gradient(circle at 10% 0%, rgba(77, 190, 255, 0.13), transparent 28%);
  opacity: 0.9;
}

.card > * {
  position: relative;
  z-index: 1;
}

.card p,
.section p {
  color: var(--muted);
}

.feature-card {
  min-height: 230px;
}

.card-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--blue);
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.product-panel {
  align-self: end;
}

.stat {
  border-top: 1px solid rgba(111, 203, 255, 0.20);
  margin-top: 18px;
  padding-top: 18px;
}

.stat strong {
  display: block;
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1.12;
}

.stat span {
  color: var(--muted);
}

.notice {
  border: 1px solid rgba(111, 203, 255, 0.28);
  border-left: 3px solid var(--blue);
  background: rgba(4, 18, 30, 0.72);
  color: var(--muted);
  padding: 18px 20px;
  border-radius: 10px;
}

.footer {
  border-top: 1px solid rgba(111, 203, 255, 0.16);
  margin-top: 40px;
  padding: 28px 32px;
  color: var(--soft);
  background: rgba(0, 3, 7, 0.58);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  flex-wrap: wrap;
}

code {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  padding: 0.16em 0.36em;
  border-radius: 5px;
  word-break: break-all;
}

@media (max-width: 920px) {
  .hero,
  .two-grid {
    grid-template-columns: 1fr;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    gap: 16px;
    justify-content: flex-start;
  }

  .brand img {
    width: 210px;
  }

  .hero {
    padding-top: 48px;
  }

  .product-panel {
    align-self: auto;
  }
}

/* === Page-specific cinematic backgrounds === */

body.home-page::before,
body.drivesweep-page::before,
body.titan-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -3;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.72;
}

body.home-page::before {
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.22) 48%, rgba(0, 0, 0, 0.82)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.30), rgba(0, 0, 0, 0.88)),
    url("/assets/images/home-hero.png");
}

body.drivesweep-page::before {
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.28) 48%, rgba(0, 0, 0, 0.82)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.88)),
    url("/assets/images/drivesweep-hero.png");
}

body.titan-page::before {
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.80), rgba(0, 0, 0, 0.28) 50%, rgba(0, 0, 0, 0.80)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.86)),
    url("/assets/images/titan-hero.png");
}

body.home-page::after,
body.drivesweep-page::after,
body.titan-page::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background:
    radial-gradient(circle at 20% 18%, rgba(58, 177, 255, 0.18), transparent 28%),
    radial-gradient(circle at 78% 20%, rgba(58, 177, 255, 0.16), transparent 30%),
    linear-gradient(180deg, transparent 0%, rgba(2, 6, 11, 0.44) 46%, rgba(2, 6, 11, 0.94) 100%);
}

.brand img,
.site-shell {
  background: rgba(0, 0, 0, 0.10);
}

.hero {
  min-height: 78vh;
}

.card {
  backdrop-filter: blur(14px);
}


/* === Fix old overlay residue / split-line artifact === */

body.home-page::before,
body.drivesweep-page::before,
body.titan-page::before,
body.home-page::after,
body.drivesweep-page::after,
body.titan-page::after {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  height: auto;
  width: auto;
  filter: none;
}


/* === Homepage cinematic hero layout === */

body.home-page .hero {
  grid-template-columns: 1fr;
  align-items: center;
  max-width: 1280px;
  min-height: 74vh;
  padding-top: 64px;
  padding-bottom: 72px;
}

body.home-page .hero > div {
  max-width: 880px;
}

body.home-page .hero-logo {
  width: min(900px, 86vw);
  margin: 0 0 1.75rem -18px;
}

body.home-page .product-panel {
  display: none;
}


/* === Sharper cinematic background pass === */

body.home-page::before,
body.drivesweep-page::before,
body.titan-page::before {
  opacity: 1;
  background-size: cover;
  background-repeat: no-repeat;
}

body.home-page::before {
  background-position: center center;
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.10) 48%, rgba(0, 0, 0, 0.54)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.66)),
    url("/assets/images/home-hero.png");
}

body.drivesweep-page::before {
  background-position: center center;
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.12) 48%, rgba(0, 0, 0, 0.58)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.68)),
    url("/assets/images/drivesweep-hero.png");
}

body.titan-page::before {
  background-position: center center;
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.10) 50%, rgba(0, 0, 0, 0.58)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.66)),
    url("/assets/images/titan-hero.png");
}

body.home-page::after,
body.drivesweep-page::after,
body.titan-page::after {
  background:
    radial-gradient(circle at 20% 18%, rgba(58, 177, 255, 0.08), transparent 28%),
    radial-gradient(circle at 78% 20%, rgba(58, 177, 255, 0.07), transparent 30%),
    linear-gradient(180deg, transparent 0%, rgba(2, 6, 11, 0.20) 52%, rgba(2, 6, 11, 0.82) 100%);
}


/* === Concept-style product feature cards === */

.product-feature-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  min-height: 260px;
  padding: 28px;
}

.feature-icon-tile {
  width: 132px;
  height: 132px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(12, 28, 46, 0.82), rgba(3, 10, 18, 0.86));
  border: 1px solid rgba(108, 205, 255, 0.28);
  box-shadow:
    0 0 34px rgba(48, 159, 255, 0.18),
    inset 0 0 24px rgba(92, 205, 255, 0.08);
  overflow: hidden;
}

.feature-icon-tile img {
  width: 112px;
  height: 112px;
  object-fit: contain;
  display: block;
  filter:
    drop-shadow(0 0 12px rgba(74, 173, 255, 0.22))
    drop-shadow(0 0 26px rgba(36, 126, 255, 0.14));
}

.feature-copy h3 {
  margin-bottom: 8px;
}

.feature-subtitle {
  margin: 0 0 14px;
  color: var(--blue) !important;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

@media (max-width: 720px) {
  .product-feature-card {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .feature-icon-tile {
    width: 110px;
    height: 110px;
  }

  .feature-icon-tile img {
    width: 92px;
    height: 92px;
  }
}


/* === Flatten DriveSweep icon tile: remove box-in-box feel === */

.feature-icon-tile {
  background: #02060b;
  border: 1px solid rgba(108, 205, 255, 0.18);
  box-shadow:
    0 0 28px rgba(48, 159, 255, 0.12),
    inset 0 0 18px rgba(0, 0, 0, 0.72);
  padding: 0;
}

.feature-icon-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 21px;
  filter:
    drop-shadow(0 0 10px rgba(74, 173, 255, 0.20));
}


/* === Wider cinematic layout pass === */

.nav,
.hero,
.section,
.footer-inner {
  max-width: 1540px;
}

.hero,
.section {
  padding-left: 48px;
  padding-right: 48px;
}

body.home-page .hero > div {
  max-width: 1080px;
}

body.home-page .hero-logo {
  width: min(1080px, 88vw);
  margin-left: -22px;
}

.two-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
}

.product-feature-card {
  grid-template-columns: 178px minmax(0, 1fr);
  gap: 34px;
  min-height: 320px;
  padding: 34px;
}

.feature-icon-tile {
  width: 178px;
  height: 178px;
  border-radius: 26px;
}

.feature-icon-tile img {
  border-radius: 25px;
}

@media (max-width: 920px) {
  .hero,
  .section {
    padding-left: 24px;
    padding-right: 24px;
  }

  body.home-page .hero-logo {
    width: min(860px, 92vw);
    margin-left: -10px;
  }

  .product-feature-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .feature-icon-tile {
    width: 132px;
    height: 132px;
  }
}


/* === Tightened wide-screen composition pass === */

.nav,
.hero,
.section,
.footer-inner {
  max-width: 1680px;
}

.hero,
.section {
  padding-left: 34px;
  padding-right: 34px;
}

body.home-page .hero > div {
  max-width: 1220px;
}

body.home-page .hero-logo {
  width: min(1180px, 91vw);
  margin-left: -42px;
  margin-bottom: 1.35rem;
}

body.home-page .hero {
  padding-top: 48px;
  padding-bottom: 58px;
  min-height: 72vh;
}

/* Concept-card proportional tightening */
.product-feature-card {
  grid-template-columns: 188px minmax(0, 1fr);
  gap: 30px;
  min-height: 0;
  padding: 30px;
  align-items: center;
}

.feature-icon-tile {
  width: 188px;
  height: 188px;
  border-radius: 26px;
}

.feature-icon-tile img {
  border-radius: 25px;
}

.feature-copy h3 {
  margin-top: 0;
  margin-bottom: 7px;
}

.feature-subtitle {
  margin-bottom: 10px;
}

.feature-copy p:not(.feature-subtitle) {
  margin-top: 0;
  margin-bottom: 14px;
}

.feature-copy .card-link {
  margin-top: 6px;
}

/* Make ordinary feature card height feel closer to the product card */
.feature-card {
  min-height: 0;
}

@media (max-width: 920px) {
  .hero,
  .section {
    padding-left: 22px;
    padding-right: 22px;
  }

  body.home-page .hero-logo {
    width: min(900px, 94vw);
    margin-left: -12px;
  }

  .product-feature-card {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .feature-icon-tile {
    width: 136px;
    height: 136px;
  }
}


/* === Homepage hero left-anchored cinematic composition === */

body.home-page .hero {
  max-width: none;
  width: 100%;
  padding-left: 82px;
  padding-right: 64px;
}

body.home-page .hero > div {
  max-width: 1180px;
}

body.home-page .hero-logo {
  width: min(1220px, 74vw);
  margin-left: -42px;
}

@media (max-width: 920px) {
  body.home-page .hero {
    padding-left: 24px;
    padding-right: 24px;
  }

  body.home-page .hero-logo {
    width: min(900px, 94vw);
    margin-left: -12px;
  }
}


/* === Product page hero lockup === */

.product-hero-copy {
  max-width: 860px;
}

.product-page-lockup {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 26px;
}

.product-page-icon {
  width: 148px;
  height: 148px;
  flex: 0 0 148px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 26px;
  background: #02060b;
  border: 1px solid rgba(108, 205, 255, 0.18);
  box-shadow:
    0 0 34px rgba(48, 159, 255, 0.16),
    inset 0 0 20px rgba(0, 0, 0, 0.76);
  overflow: hidden;
}

.product-page-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 25px;
  display: block;
  filter: drop-shadow(0 0 12px rgba(74, 173, 255, 0.22));
}

.product-page-wordmark {
  width: min(620px, 58vw);
  height: auto;
  display: block;
  filter:
    drop-shadow(0 0 16px rgba(74, 173, 255, 0.30))
    drop-shadow(0 0 38px rgba(36, 126, 255, 0.18));
}

@media (max-width: 820px) {
  .product-page-lockup {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .product-page-icon {
    width: 124px;
    height: 124px;
    flex-basis: 124px;
  }

  .product-page-wordmark {
    width: min(560px, 88vw);
  }
}


/* === DriveSweep page branding correction === */

body.drivesweep-page .product-hero-copy {
  max-width: 820px;
}

body.drivesweep-page .product-page-lockup-wordmark-only {
  display: block;
  margin: 0 0 22px;
}

body.drivesweep-page .product-page-lockup-wordmark-only .product-page-wordmark {
  width: min(560px, 42vw);
  max-width: 100%;
  height: auto;
  display: block;
  filter:
    drop-shadow(0 0 14px rgba(74, 173, 255, 0.24))
    drop-shadow(0 0 32px rgba(36, 126, 255, 0.14));
}

/* License card mini brand */
.license-card-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(111, 203, 255, 0.18);
}

.license-card-icon {
  width: 74px;
  height: 74px;
  flex: 0 0 74px;
  border-radius: 16px;
  overflow: hidden;
  background: #02060b;
  border: 1px solid rgba(108, 205, 255, 0.18);
  box-shadow:
    0 0 22px rgba(48, 159, 255, 0.14),
    inset 0 0 14px rgba(0, 0, 0, 0.72);
}

.license-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.license-card-wordmark {
  width: min(260px, 58%);
  max-width: 260px;
  height: auto;
  display: block;
  filter:
    drop-shadow(0 0 10px rgba(74, 173, 255, 0.22))
    drop-shadow(0 0 24px rgba(36, 126, 255, 0.12));
}

/* Safety: never allow product-panel images to render at raw asset size */
.product-panel img {
  max-width: 100%;
}

@media (max-width: 920px) {
  body.drivesweep-page .product-page-lockup-wordmark-only .product-page-wordmark {
    width: min(520px, 86vw);
  }

  .license-card-brand {
    align-items: flex-start;
  }

  .license-card-wordmark {
    width: min(230px, 62vw);
  }
}


/* === Titan Papers page icon correction === */

.titan-hero-copy {
  max-width: 860px;
}

.titan-page-lockup {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-bottom: 24px;
}

.titan-page-icon {
  width: 148px;
  height: 148px;
  flex: 0 0 148px;
  border-radius: 26px;
  overflow: hidden;
  background: #02060b;
  border: 1px solid rgba(108, 205, 255, 0.18);
  box-shadow:
    0 0 34px rgba(48, 159, 255, 0.16),
    inset 0 0 20px rgba(0, 0, 0, 0.76);
}

.titan-page-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.titan-card-brand {
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(111, 203, 255, 0.18);
}

.titan-card-icon {
  width: 92px;
  height: 92px;
  border-radius: 20px;
  overflow: hidden;
  background: #02060b;
  border: 1px solid rgba(108, 205, 255, 0.18);
  box-shadow:
    0 0 26px rgba(48, 159, 255, 0.14),
    inset 0 0 16px rgba(0, 0, 0, 0.72);
}

.titan-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Safety: never allow Titan page card images to render at raw asset size */
body.titan-page .product-panel img {
  max-width: 100%;
}

@media (max-width: 820px) {
  .titan-page-lockup {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .titan-page-icon {
    width: 124px;
    height: 124px;
    flex-basis: 124px;
  }

  .titan-card-icon {
    width: 82px;
    height: 82px;
  }
}


/* === About page background === */

body.about-page::before {
  opacity: 1;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.16) 48%, rgba(0, 0, 0, 0.54)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.68)),
    url("/assets/images/about-hero.png");
}

body.about-page::after {
  background:
    radial-gradient(circle at 18% 24%, rgba(58, 177, 255, 0.10), transparent 30%),
    radial-gradient(circle at 78% 18%, rgba(58, 177, 255, 0.07), transparent 34%),
    linear-gradient(180deg, transparent 0%, rgba(2, 6, 11, 0.22) 52%, rgba(2, 6, 11, 0.84) 100%);
}

body.about-page .hero {
  max-width: 1680px;
}

body.about-page .hero,
body.about-page .section {
  padding-left: 34px;
  padding-right: 34px;
}

@media (max-width: 920px) {
  body.about-page .hero,
  body.about-page .section {
    padding-left: 22px;
    padding-right: 22px;
  }
}


.feature-card {
  overflow: hidden;
}

.feature-card-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 18px;
  border: 1px solid rgba(120, 180, 255, 0.18);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

/* DriveSweep feature screenshot layout override - start */
.feature-card {
  min-height: 0;
  overflow: visible;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.feature-card-image {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  margin-top: 6px;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.theme-feature-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.theme-preview-image {
  width: 100%;
  max-width: 360px;
  align-self: flex-start;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}
/* DriveSweep feature screenshot layout override - end */

/* Theme card horizontal layout override */
.theme-feature-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

.theme-feature-card h2,
.theme-feature-card p {
  grid-column: 1;
  margin-right: 0;
}

.theme-feature-card .theme-preview-image,
.theme-feature-card .feature-card-image {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 100%;
  max-width: 320px;
  justify-self: end;
  align-self: start;
  margin: 0;
}

@media (max-width: 900px) {
  .theme-feature-card {
    grid-template-columns: 1fr;
  }

  .theme-feature-card .theme-preview-image,
  .theme-feature-card .feature-card-image {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
    max-width: 100%;
    margin-top: 12px;
  }
}
