/* ==========================================================================
   FreeDVI.com — Shop Management & Digital Vehicle Inspection Showcase
   Industrial Dark Shop Aesthetic (Tire-Track Backdrop + High-Vis Shop Orange)
   ========================================================================== */

:root {
  --bg-deep: #0b0d10;
  --bg-dark: #111419;
  --bg-surface: rgba(22, 26, 33, 0.92);
  --bg-card: rgba(26, 31, 40, 0.94);
  --bg-card-hover: rgba(33, 39, 50, 0.98);
  --bg-input: #171b23;
  --border-subtle: #262c38;
  --border-strong: #363f50;

  --accent: #ff8c00;
  --accent-hover: #ffa028;
  --accent-soft: rgba(255, 140, 0, 0.14);
  --accent-glow: rgba(255, 140, 0, 0.28);

  --green: #10b981;
  --green-soft: rgba(16, 185, 129, 0.14);
  --amber: #f59e0b;
  --amber-soft: rgba(245, 158, 11, 0.14);
  --red: #ef4444;
  --red-soft: rgba(239, 68, 68, 0.14);
  --blue: #38bdf8;
  --blue-soft: rgba(56, 189, 248, 0.14);

  --text-main: #f3f4f6;
  --text-secondary: #d1d5db;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-lg: 0 20px 45px -12px rgba(0, 0, 0, 0.65);
  --shadow-glow: 0 0 35px -5px rgba(255, 140, 0, 0.25);
  --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-deep);
  background-image:
    linear-gradient(180deg, rgba(11, 13, 16, 0.88) 0%, rgba(17, 20, 25, 0.93) 50%, rgba(11, 13, 16, 0.96) 100%),
    url('assets/backgrounds/shop-dark.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-heading {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
}

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

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 96px 0;
  position: relative;
  border-bottom: 1px solid var(--border-subtle);
}

@media (max-width: 768px) {
  section {
    padding: 64px 0;
  }
}

/* --- SECTION HEADERS --- */
.section-header {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 56px auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(255, 140, 0, 0.35);
  padding: 6px 16px;
  border-radius: 999px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.18;
  margin-bottom: 16px;
}

.section-title span {
  color: var(--accent);
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* --- STICKY NAVIGATION --- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(11, 13, 16, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 20px;
}

.site-nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 20px;
}

.site-nav__brand img {
  height: 42px;
  width: auto;
}

.site-nav__badge {
  font-size: 11px;
  background: var(--green-soft);
  color: var(--green);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 2px 8px;
  border-radius: 99px;
  font-weight: 700;
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.site-nav__links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition);
}

.site-nav__links a:hover {
  color: var(--accent);
}

.site-nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

@media (max-width: 1024px) {
  .site-nav__links {
    display: none;
  }
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: #0b0d10;
  box-shadow: 0 6px 20px rgba(255, 140, 0, 0.3);
}

.btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.btn--secondary {
  background: var(--bg-card);
  color: #ffffff;
  border-color: var(--border-strong);
}

.btn--secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--sm {
  padding: 9px 16px;
  font-size: 13px;
}

/* --- HERO SECTION --- */
.hero {
  padding: 72px 0 88px 0;
  text-align: center;
}

.hero__pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  color: var(--text-secondary);
}

.hero__pill--highlight {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}

.hero__headline {
  font-size: clamp(34px, 5.2vw, 62px);
  line-height: 1.1;
  max-width: 1040px;
  margin: 0 auto 22px auto;
}

.hero__headline span {
  color: var(--accent);
}

.hero__subheadline {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-secondary);
  max-width: 860px;
  margin: 0 auto 36px auto;
  line-height: 1.6;
}

.hero__cta-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

/* --- HERO STATS BAR --- */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto 52px auto;
}

@media (max-width: 900px) {
  .hero__stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  text-align: center;
}

.stat-card__value {
  font-family: 'Montserrat', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.2;
}

.stat-card__label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 600;
}

/* --- HERO INTERACTIVE STAGE --- */
/* --- 3D HERO MULTI-DEVICE PERSPECTIVE CLUSTER --- */
.hero-cluster-wrapper {
  position: relative;
  max-width: 1240px;
  margin: 0 auto 48px auto;
}

.hero-cluster-glow {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 380px;
  background: radial-gradient(ellipse at center, rgba(255, 140, 0, 0.22) 0%, rgba(56, 189, 248, 0.12) 45%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.hero-cluster {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  perspective: 1400px;
  min-height: 520px;
  padding: 40px 10px 20px 10px;
  z-index: 1;
}

/* Central 3D Laptop */
.hero-cluster__laptop {
  position: relative;
  width: 680px;
  max-width: 90%;
  transform: translateZ(40px) rotateX(4deg);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 2;
}

.hero-cluster__laptop:hover {
  transform: translateZ(60px) rotateX(1deg);
}

/* Left Tilted Tablet (Tech Inspection) */
.hero-cluster__tablet {
  position: absolute;
  left: 20px;
  bottom: 0px;
  width: 340px;
  max-width: 38%;
  transform: rotateY(18deg) rotateX(6deg) rotateZ(-3deg) translateZ(80px);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 4;
}

.hero-cluster__tablet:hover {
  transform: rotateY(8deg) rotateX(2deg) rotateZ(0deg) translateZ(120px) translateY(-10px);
}

/* Right Floating Smartphone (Customer Phone Approval) */
.hero-cluster__phone {
  position: absolute;
  right: 40px;
  bottom: -15px;
  width: 230px;
  max-width: 30%;
  transform: rotateY(-18deg) rotateX(8deg) rotateZ(4deg) translateZ(110px);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 5;
}

.hero-cluster__phone:hover {
  transform: rotateY(-6deg) rotateX(2deg) rotateZ(0deg) translateZ(140px) translateY(-12px);
}

@media (max-width: 1024px) {
  .hero-cluster {
    flex-direction: column;
    align-items: center;
    perspective: none;
    min-height: auto;
    padding: 10px;
    gap: 24px;
  }
  .hero-cluster__laptop {
    width: 100%;
    transform: none !important;
  }
  .hero-cluster__tablet {
    position: relative;
    left: auto;
    bottom: auto;
    width: 80%;
    max-width: 440px;
    transform: none !important;
  }
  .hero-cluster__phone {
    position: relative;
    right: auto;
    bottom: auto;
    width: 60%;
    max-width: 260px;
    transform: none !important;
  }
}

/* --- HARDWARE DEVICE FRAMES --- */

/* 1. LAPTOP MOCKUP */
.device-laptop {
  background: #181c22;
  border-radius: 14px 14px 0 0;
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.9), 0 0 40px rgba(0, 0, 0, 0.6);
  position: relative;
  border: 10px solid #14171c;
  border-bottom: none;
}

.device-laptop__screen {
  background: #000;
  border-radius: 4px 4px 0 0;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 10;
  cursor: zoom-in;
}

.device-laptop__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.device-laptop__camera {
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  background: #2b313a;
  border-radius: 50%;
  box-shadow: 0 0 2px rgba(0, 255, 200, 0.6);
  z-index: 10;
}

.device-laptop__base {
  height: 14px;
  background: linear-gradient(180deg, #2c323b 0%, #15181d 100%);
  border-radius: 0 0 14px 14px;
  position: relative;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.8);
  margin: 0 -16px;
}

.device-laptop__notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 4px;
  background: #0d0f12;
  border-radius: 0 0 4px 4px;
}

/* 2. TABLET MOCKUP */
.device-tablet {
  background: #14171c;
  border: 11px solid #14171c;
  border-radius: 26px;
  box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.95), 0 0 35px rgba(56, 189, 248, 0.2);
  position: relative;
  overflow: hidden;
}

.device-tablet__screen {
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
  aspect-ratio: 3 / 4;
}

.device-tablet__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.device-tablet__camera {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  background: #252b33;
  border-radius: 50%;
  z-index: 10;
}

/* 3. SMARTPHONE MOCKUP */
.device-phone {
  background: #16191f;
  border: 10px solid #16191f;
  border-radius: 36px;
  box-shadow: 0 25px 50px -8px rgba(0, 0, 0, 0.95), 0 0 35px rgba(16, 185, 129, 0.2);
  position: relative;
  overflow: hidden;
}

.device-phone__island {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 68px;
  height: 16px;
  background: #000000;
  border-radius: 12px;
  z-index: 20;
}

.device-phone__screen {
  background: #000;
  border-radius: 26px;
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
  aspect-ratio: 9 / 19.5;
}

.device-phone__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* 4. PAPER DOCUMENT LETTERHEAD MOCKUP (High-contrast white letterhead) */
.device-paper {
  background: #ffffff;
  border-radius: 8px;
  padding: 12px;
  box-shadow: 0 20px 45px -8px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.1);
  position: relative;
  color: #111827;
}

.device-paper__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 11px;
  color: #6b7280;
  font-weight: 700;
}

.device-paper__screen {
  border-radius: 4px;
  overflow: hidden;
  cursor: zoom-in;
}

.device-paper__screen img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- PULSING ANNOTATION CALLOUT BADGES --- */
.callout-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 99px;
  padding: 8px 14px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  z-index: 15;
  white-space: nowrap;
  pointer-events: none;
}

.callout-badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  position: relative;
}

.callout-badge__dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: inherit;
  opacity: 0.6;
  animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(2.4); opacity: 0; }
}

.callout-badge--orange {
  border-color: rgba(255, 140, 0, 0.5);
  box-shadow: 0 8px 24px rgba(255, 140, 0, 0.25);
}
.callout-badge--orange .callout-badge__dot { background: #ff8c00; }

.callout-badge--cyan {
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 8px 24px rgba(56, 189, 248, 0.25);
}
.callout-badge--cyan .callout-badge__dot { background: #38bdf8; }

.callout-badge--green {
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.25);
}
.callout-badge--green .callout-badge__dot { background: #10b981; }

.callout-badge--red {
  border-color: rgba(239, 68, 68, 0.5);
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.25);
}
.callout-badge--red .callout-badge__dot { background: #ef4444; }

/* Positioning in Hero Cluster */
.badge-hero-laptop {
  top: -18px;
  right: 40px;
}

.badge-hero-tablet {
  top: -16px;
  left: 20px;
}

.badge-hero-phone {
  bottom: 25px;
  left: -20px;
}

/* --- HERO INTERACTIVE STAGE --- */
.hero-stage {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  max-width: 1200px;
  margin: 0 auto;
}

.hero-stage__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-stage__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-stage__toggles {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.theme-pill-btn:hover {
  border-color: var(--accent);
  color: #fff;
}

.theme-pill-btn.active {
  background: #ffffff;
  color: #0b0d10;
  border-color: #ffffff;
}

.stage-tab {
  background: var(--bg-input);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.stage-tab:hover {
  border-color: var(--accent);
  color: #ffffff;
}

.stage-tab.active {
  background: var(--accent);
  color: #0b0d10;
  border-color: var(--accent);
}

.hero-stage__viewer {
  display: grid;
  grid-template-columns: 1.85fr 1fr;
  gap: 32px;
  align-items: center;
  text-align: left;
}

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

.hero-stage__screen-frame {
  position: relative;
}

.hero-stage__info h3 {
  font-size: 26px;
  margin-bottom: 12px;
}

.hero-stage__info p {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.hero-stage__bullets {
  list-style: none;
  display: grid;
  gap: 12px;
}

.hero-stage__bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.hero-stage__bullets li strong {
  color: #ffffff;
}

/* --- TWO MODES SWITCHER BANNER --- */
.mode-switcher-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

@media (max-width: 860px) {
  .mode-switcher-grid {
    grid-template-columns: 1fr;
  }
}

.mode-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: var(--transition);
}

.mode-card--featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
}

.mode-card__tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 14px;
}

.mode-card h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.mode-card p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 20px;
}

.mode-card__list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.mode-card__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}

/* --- FULL-BLEED CINEMATIC PHOTOGRAPHIC BANDS --- */
.photo-band {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding: 110px 0;
  margin-top: 70px;
  margin-bottom: 70px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-top: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
  overflow: hidden;
}

.photo-band--advisor {
  background-image: linear-gradient(90deg, rgba(11, 13, 16, 0.96) 0%, rgba(11, 13, 16, 0.90) 45%, rgba(11, 13, 16, 0.65) 100%), url('assets/advisor-intake-photo.png');
}

.photo-band--lift {
  background-image: linear-gradient(90deg, rgba(11, 13, 16, 0.96) 0%, rgba(11, 13, 16, 0.90) 45%, rgba(11, 13, 16, 0.65) 100%), url('assets/tech-inspection-lift.png');
}

.photo-band__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 900px) {
  .photo-band__inner {
    grid-template-columns: 1fr;
  }
}

.photo-band__content {
  max-width: 680px;
}

.photo-band__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(255, 140, 0, 0.45);
  padding: 6px 14px;
  border-radius: 99px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}

.photo-band__badge--cyan {
  background: var(--blue-soft);
  color: var(--blue);
  border-color: rgba(56, 189, 248, 0.45);
}

.photo-band h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 18px;
  line-height: 1.25;
}

.photo-band h2 span {
  color: var(--accent);
}

.photo-band--lift h2 span {
  color: var(--blue);
}

.photo-band p {
  font-size: 16px;
  color: #e2e8f0;
  line-height: 1.65;
  margin-bottom: 24px;
}

.photo-band__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.photo-band__pill {
  background: rgba(18, 22, 28, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-strong);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  color: #f1f5f9;
  display: flex;
  align-items: center;
  gap: 8px;
}

.photo-band__stats {
  background: rgba(18, 22, 28, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: grid;
  gap: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.photo-stat-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.photo-stat-row__icon {
  font-size: 24px;
  line-height: 1;
}

.photo-stat-row__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.photo-stat-row__desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- REAL SHOP ACTION SHOWCASE --- */
.action-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

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

.action-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.action-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.action-card__img {
  height: 320px;
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
}

.action-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.action-card:hover .action-card__img img {
  transform: scale(1.04);
}

.action-card__body {
  padding: 26px;
}

.action-card__body h3 {
  font-size: 21px;
  margin-bottom: 10px;
}

.action-card__body p {
  color: var(--text-muted);
  font-size: 15px;
}

/* --- INTERACTIVE 6-STEP RO WORKFLOW TIMELINE --- */
.workflow-stepper {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-bottom: 32px;
}

@media (max-width: 1024px) {
  .workflow-stepper {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .workflow-stepper {
    grid-template-columns: repeat(2, 1fr);
  }
}

.workflow-step-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 14px;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-secondary);
}

.workflow-step-btn:hover {
  border-color: var(--accent);
}

.workflow-step-btn.active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: #ffffff;
}

.workflow-step-btn__num {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.workflow-step-btn__title {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.workflow-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
  align-items: center;
}

@media (max-width: 900px) {
  .workflow-panel {
    grid-template-columns: 1fr;
    padding: 20px;
  }
}

.workflow-panel__img {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: #090b0e;
  cursor: zoom-in;
  max-height: 460px;
  display: flex;
  justify-content: center;
}

.workflow-panel__img img {
  width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: contain;
}

/* --- 7-TAB DEEP-DIVE SCREENSHOT GALLERY --- */
.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.gallery-tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 12px 20px;
  border-radius: 999px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-tab-btn:hover {
  border-color: var(--accent);
  color: #ffffff;
}

.gallery-tab-btn.active {
  background: var(--accent);
  color: #0b0d10;
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(255, 140, 0, 0.35);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

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

/* --- MASTER/DETAIL PRODUCT TOUR THEATER (Option 1: Feature Tabs + Text Menu Showcase) --- */
.tour-theater {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 0;
  background: #0d1117;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.05);
  overflow: hidden;
  margin-top: 18px;
}

@media (max-width: 1080px) {
  .tour-theater {
    grid-template-columns: 320px 1fr;
  }
}

@media (max-width: 860px) {
  .tour-theater {
    grid-template-columns: 1fr;
  }
}

/* LEFT COLUMN: SCREEN DIRECTORY / TEXT MENU */
.tour-menu {
  background: #090c10;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  height: 680px;
}

@media (max-width: 860px) {
  .tour-menu {
    border-right: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    height: 320px;
    order: 2; /* Put directory beneath the stage on mobile */
  }
}

.tour-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: #111620;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.tour-menu__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

.tour-menu__count {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 2px 10px;
  border-radius: 99px;
  border: 1px solid rgba(255, 140, 0, 0.3);
}

.tour-menu__list {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

.tour-menu__list::-webkit-scrollbar {
  width: 6px;
}

.tour-menu__list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}

/* Individual screen menu card */
.tour-menu-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  color: inherit;
  font-family: inherit;
  position: relative;
}

.tour-menu-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateX(2px);
}

.tour-menu-item.active {
  background: rgba(255, 140, 0, 0.12);
  border-color: var(--accent);
  box-shadow: 0 4px 14px rgba(255, 140, 0, 0.22);
}

.tour-menu-item__num {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.4);
  padding: 4px 7px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
  min-width: 28px;
  text-align: center;
}

.tour-menu-item.active .tour-menu-item__num {
  color: var(--accent);
  background: rgba(255, 140, 0, 0.2);
  border-color: rgba(255, 140, 0, 0.4);
}

.tour-menu-item__body {
  flex: 1;
  min-width: 0;
}

.tour-menu-item__title {
  font-size: 13px;
  font-weight: 600;
  color: #e2e8f0;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 3px;
}

.tour-menu-item.active .tour-menu-item__title {
  color: #ffffff;
  font-weight: 700;
}

.tour-menu-item__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
}

.tour-menu-item__badge {
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.tour-menu-item.active .tour-menu-item__badge {
  color: var(--accent);
}

.tour-menu-item__pill {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tour-menu-item__arrow {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1;
  opacity: 0.3;
  transition: opacity 0.18s, transform 0.18s;
  flex-shrink: 0;
}

.tour-menu-item:hover .tour-menu-item__arrow,
.tour-menu-item.active .tour-menu-item__arrow {
  opacity: 1;
  color: var(--accent);
  transform: translateX(2px);
}

/* RIGHT COLUMN: STAGE DISPLAY */
.tour-stage-wrap {
  display: flex;
  flex-direction: column;
  background: #0a0d13;
  min-width: 0;
  height: 680px;
}

@media (max-width: 860px) {
  .tour-stage-wrap {
    height: auto;
    order: 1;
  }
}

.tour-stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* Browser Window Header Chrome */
.tour-window-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #161b22;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 18px;
  font-size: 12px;
  flex-shrink: 0;
}

.tour-window-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.tour-window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.tour-window-title {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.35);
  padding: 4px 14px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.tour-window-badge {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  padding: 3px 10px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Screen Viewport */
.tour-viewport {
  position: relative;
  flex: 1;
  min-height: 380px;
  background: #05070a;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: zoom-in;
}

@media (max-width: 860px) {
  .tour-viewport {
    height: 340px;
    flex: none;
  }
}

@media (max-width: 540px) {
  .tour-viewport {
    height: 250px;
  }
}

.tour-viewport img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  user-select: none;
  transition: transform 0.22s ease;
}

.tour-viewport:hover img {
  transform: scale(1.012);
}

.tour-viewport.theme-paper {
  background: #f1f5f9;
}

.tour-viewport__zoom-hint {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(13, 17, 23, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 99px;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Info Bar Below Screen */
.tour-info-bar {
  background: #11151c;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 20px;
  flex-shrink: 0;
}

.tour-info-title {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tour-info-pill {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  padding: 2px 8px;
  border-radius: 99px;
}

.tour-info-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* DEDICATED TACTILE CONTROL BAR (No mis-clicks possible) */
.tour-controls-bar {
  background: #080a0e;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
}

@media (max-width: 680px) {
  .tour-controls-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
}

.tour-controls-bar__info {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.tour-controls-counter {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 5px 12px;
  border-radius: 8px;
  white-space: nowrap;
}

.tour-controls-hint {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 680px) {
  .tour-controls-hint {
    display: none;
  }
}

.tour-controls-bar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

@media (max-width: 680px) {
  .tour-controls-bar__actions {
    justify-content: space-between;
  }
}

.tour-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #161b22;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.18s ease;
  user-select: none;
}

.tour-nav-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  transform: translateY(-1px);
}

.tour-nav-btn:active {
  transform: translateY(0);
}

.tour-nav-btn--zoom {
  background: var(--accent);
  color: #0b0d10;
  border-color: var(--accent);
  font-weight: 700;
}

.tour-nav-btn--zoom:hover {
  background: #ff981a;
  border-color: #ff981a;
  color: #0b0d10;
  box-shadow: 0 4px 14px rgba(255, 140, 0, 0.35);
}

.tour-nav-arrow {
  font-size: 11px;
}

/* Category Specific Glow and Accents */
.screenshot-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.screenshot-card:hover {
  transform: translateY(-4px);
}

.screenshot-card.theme-dvi {
  border-color: rgba(56, 189, 248, 0.28);
}
.screenshot-card.theme-dvi:hover {
  border-color: #38bdf8;
  box-shadow: 0 16px 36px rgba(56, 189, 248, 0.22);
}

.screenshot-card.theme-books {
  border-color: rgba(16, 185, 129, 0.28);
}
.screenshot-card.theme-books:hover {
  border-color: #10b981;
  box-shadow: 0 16px 36px rgba(16, 185, 129, 0.22);
}

.screenshot-card.theme-wo {
  border-color: rgba(255, 140, 0, 0.28);
}
.screenshot-card.theme-wo:hover {
  border-color: #ff8c00;
  box-shadow: 0 16px 36px rgba(255, 140, 0, 0.22);
}

.screenshot-card.theme-portal {
  border-color: rgba(168, 85, 247, 0.28);
}
.screenshot-card.theme-portal:hover {
  border-color: #a855f7;
  box-shadow: 0 16px 36px rgba(168, 85, 247, 0.22);
}

.screenshot-card.theme-parts {
  border-color: rgba(251, 146, 60, 0.28);
}
.screenshot-card.theme-parts:hover {
  border-color: #fb923c;
  box-shadow: 0 16px 36px rgba(251, 146, 60, 0.22);
}

.screenshot-card.theme-counter {
  border-color: rgba(255, 140, 0, 0.25);
}
.screenshot-card.theme-counter:hover {
  border-color: var(--accent);
  box-shadow: 0 16px 36px rgba(255, 140, 0, 0.2);
}

.screenshot-card.theme-admin {
  border-color: rgba(148, 163, 184, 0.25);
}
.screenshot-card.theme-admin:hover {
  border-color: #94a3b8;
  box-shadow: 0 16px 36px rgba(148, 163, 184, 0.2);
}

/* Crisp White Paper Document Style (Printable Estimate & Invoice) */
.screenshot-card.theme-paper {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}
.screenshot-card.theme-paper:hover {
  border-color: #94a3b8;
  box-shadow: 0 22px 50px rgba(255, 255, 255, 0.15);
}
.screenshot-card.theme-paper .screenshot-card__title {
  color: #0f172a;
}
.screenshot-card.theme-paper .screenshot-card__desc {
  color: #475569;
}

/* Browser Header Chrome */
.card-browser-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #11141a;
  padding: 8px 14px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 11px;
}

.screenshot-card.theme-paper .card-browser-bar {
  background: #f1f5f9;
  border-color: #e2e8f0;
}

.card-browser-dots {
  display: flex;
  align-items: center;
  gap: 5px;
}

.card-browser-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.card-browser-url {
  font-family: monospace;
  font-size: 11px;
  color: var(--text-muted);
}

.screenshot-card.theme-paper .card-browser-url {
  color: #64748b;
}

.card-feature-pill {
  position: absolute;
  top: 40px;
  left: 12px;
  z-index: 5;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

.screenshot-card__thumb {
  width: 100%;
  height: 290px;
  background: #0a0c10;
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.screenshot-card.theme-paper .screenshot-card__thumb {
  background: #f8fafc;
}

.screenshot-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.35s ease;
}

.screenshot-card__thumb--mobile {
  background: #090b0e;
  padding: 16px 0;
}

.screenshot-card__thumb--mobile img {
  object-fit: contain;
  object-position: center;
  max-height: 260px;
}

.screenshot-card:hover .screenshot-card__thumb img {
  transform: scale(1.03);
}

.screenshot-card__zoom-hint {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(11, 13, 16, 0.88);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 6px;
  border: 1px solid var(--border-strong);
  pointer-events: none;
}

.screenshot-card__body {
  padding: 24px;
  flex: 1;
}

.screenshot-card__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 6px;
}

.screenshot-card__title {
  font-size: 19px;
  margin-bottom: 8px;
}

.screenshot-card__desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- COMPARISON TABLE --- */
.comparison-table-wrap {
  overflow-x: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 720px;
}

.comparison-table th,
.comparison-table td {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 14px;
}

.comparison-table th {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  background: rgba(15, 18, 24, 0.9);
  color: #ffffff;
}

.comparison-table th.col-freedvi,
.comparison-table td.col-freedvi {
  background: rgba(255, 140, 0, 0.08);
  border-left: 1px solid rgba(255, 140, 0, 0.3);
  border-right: 1px solid rgba(255, 140, 0, 0.3);
}

.comparison-table th.col-freedvi {
  color: var(--accent);
  font-size: 17px;
}

/* --- ARCHITECTURE / ENGINEERING PILLARS --- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 992px) {
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: var(--transition);
}

.pillar-card:hover {
  border-color: var(--accent);
}

.pillar-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}

.pillar-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.pillar-card p {
  font-size: 14px;
  color: var(--text-muted);
}

/* --- LIVE MYSQL VIN DECODER & RECALL WIDGET --- */
.vin-widget-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  max-width: 1060px;
  margin: 0 auto;
}

.vin-mode-switch {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}

.vin-input-row {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

@media (max-width: 640px) {
  .vin-input-row {
    flex-direction: column;
  }
}

.vin-input {
  flex: 1;
  padding: 15px 18px;
  background: var(--bg-input);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 17px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.vin-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.ymm-picker-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1.6fr auto;
  gap: 12px;
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .ymm-picker-row {
    grid-template-columns: 1fr;
  }
}

.vin-samples {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.vin-chip {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  color: var(--accent);
  padding: 5px 12px;
  border-radius: 6px;
  font-family: monospace;
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
}

.vin-chip:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.vin-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .vin-specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .vin-specs-grid {
    grid-template-columns: 1fr;
  }
}

.vin-spec-box__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 700;
}

.vin-spec-box__val {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-top: 3px;
}

.recalls-drawer {
  background: #101319;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
}

.recalls-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.recall-country-tabs {
  display: flex;
  gap: 8px;
}

.recall-country-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.recall-country-btn.active {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: #ffffff;
}

.recall-list {
  display: grid;
  gap: 12px;
  max-height: 420px;
  overflow-y: auto;
  padding-right: 4px;
}

.recall-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--red);
  border-radius: 8px;
  padding: 16px;
}

.recall-item__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.recall-item__campaign {
  font-family: monospace;
  font-weight: 700;
  color: var(--accent);
  font-size: 13px;
}

.recall-item__component {
  font-weight: 700;
  color: #ffffff;
  font-size: 14px;
}

.recall-item__summary {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* --- SAAS SAVINGS CALCULATOR --- */
.calc-box {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 36px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  align-items: center;
  max-width: 1020px;
  margin: 0 auto;
}

@media (max-width: 820px) {
  .calc-box {
    grid-template-columns: 1fr;
    padding: 24px;
  }
}

.calc-slider-group {
  margin-bottom: 24px;
}

.calc-slider-group label {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 15px;
}

.calc-slider-group input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
  cursor: pointer;
}

.calc-results {
  background: var(--bg-input);
  border: 1px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
}

.calc-results__big {
  font-family: 'Montserrat', sans-serif;
  font-size: 46px;
  font-weight: 800;
  color: var(--green);
  line-height: 1.1;
  margin: 10px 0;
}

/* --- SELF-HOST + WAITLIST SECTION --- */
.deploy-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 36px;
  align-items: start;
}

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

.terminal-card {
  background: #090b0f;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.terminal-card__bar {
  background: #161a22;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
}

.terminal-dots {
  display: flex;
  gap: 7px;
}

.terminal-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.terminal-card__body {
  padding: 24px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  line-height: 1.75;
  color: #e5e7eb;
  overflow-x: auto;
}

.terminal-card__body .cmd-comment {
  color: #6b7280;
}

.terminal-card__body .cmd-line {
  color: #34d399;
}

/* --- WAITLIST FORM CARD --- */
.signup-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 600px) {
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-input,
.form-select,
.form-textarea {
  padding: 13px 15px;
  background: var(--bg-input);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  transition: var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-error {
  background: var(--red-soft);
  border: 1px solid var(--red);
  color: #fca5a5;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

.form-success {
  text-align: center;
  padding: 28px 16px;
}

/* --- LIGHTBOX MODAL --- */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  inset: 0;
  background: rgba(6, 8, 11, 0.92);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 94vw;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
  object-fit: contain;
}

.lightbox-caption {
  margin-top: 14px;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
}

.lightbox-subcaption {
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 13px;
  text-align: center;
  max-width: 740px;
}

.lightbox-close {
  position: absolute;
  top: -44px;
  right: 0;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 34px;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  background: rgba(22, 26, 33, 0.85);
  border: 1px solid var(--border-strong);
  color: #ffffff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-nav:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.lightbox-nav--prev {
  left: -60px;
}

.lightbox-nav--next {
  right: -60px;
}

@media (max-width: 900px) {
  .lightbox-nav--prev { left: 10px; }
  .lightbox-nav--next { right: 10px; }
}

/* --- FOOTER --- */
.site-footer {
  background: #080a0d;
  padding: 56px 0 40px 0;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 14px;
}

.site-footer__grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-subtle);
}

.developer-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 8px 16px;
  border-radius: 99px;
  font-size: 13px;
  color: var(--text-secondary);
}

.developer-badge img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* --- LEGAL & EULA PAGE STYLES --- */
.legal-wrapper {
  padding: 48px 0 80px;
}

.legal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px 48px;
  box-shadow: var(--shadow-lg);
  max-width: 920px;
  margin: 0 auto;
}

.legal-card h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 30px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.legal-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-notice-box {
  background: rgba(255, 140, 0, 0.08);
  border: 1px solid rgba(255, 140, 0, 0.35);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 32px;
}

.legal-notice-box strong {
  color: var(--accent);
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.legal-notice-box p {
  color: var(--text-main);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.legal-section {
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.legal-section h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.legal-section h2 .section-num {
  color: var(--accent);
}

.legal-section p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.legal-section ul, .legal-section ol {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
  padding-left: 24px;
  margin-bottom: 14px;
}

.legal-section li {
  margin-bottom: 8px;
}

.legal-section li strong {
  color: #ffffff;
}

.legal-disclaimer {
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-top: 12px;
  font-size: 13px !important;
  line-height: 1.6 !important;
  color: #fca5a5 !important;
}

.agreement-checkbox-wrapper {
  background: rgba(255, 140, 0, 0.06);
  border: 1px solid rgba(255, 140, 0, 0.25);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin: 16px 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.agreement-checkbox-wrapper input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
}

.agreement-checkbox-wrapper label {
  font-size: 13px;
  color: var(--text-main);
  line-height: 1.5;
  cursor: pointer;
}

.agreement-checkbox-wrapper label a {
  color: var(--accent);
  text-decoration: underline;
  font-weight: 600;
}

.agreement-checkbox-wrapper label a:hover {
  color: var(--accent-hover);
}

@media (max-width: 768px) {
  .legal-card {
    padding: 24px 20px;
  }
  .legal-card h1 {
    font-size: 24px;
  }
}

