:root {
  color-scheme: dark;
  --purple-primary: #ad46ff;
  --purple-solid-hover: #c06cff;
  --purple-accent: rgba(173, 70, 255, 0.2);
  --purple-accent-strong: rgba(173, 70, 255, 0.34);
  --automotive-accent: #008c99;
  --accent: var(--automotive-accent);
  --accent-foreground: #000000;
  --accent-action-foreground: var(--text-primary);
  --accent-glow-opacity: 0.25;
  --accent-glow: rgba(0, 140, 153, var(--accent-glow-opacity));
  --launcher-play: #48c774;

  --bg-gradient: linear-gradient(135deg, rgb(25, 25, 25) 5.61%, rgb(42, 36, 50) 94.39%);
  --text-primary: rgba(255, 255, 255, 1);
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.5);
  --text-subtle: rgba(255, 255, 255, 0.3);

  --glass-bg: rgba(255, 255, 255, 0.02);
  --glass-bg-elevated: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-stroke-gradient: linear-gradient(
    166deg,
    rgba(255, 255, 255, 0.4) 0%,
    rgba(255, 255, 255, 0) 41%,
    rgba(255, 255, 255, 0) 57%,
    rgba(255, 255, 255, 0.1) 100%
  );

  --focus-ring: rgba(173, 70, 255, 0.25);
  --danger-surface: rgba(244, 63, 94, 0.14);
  --danger-border: rgba(251, 113, 133, 0.28);
  --danger-text: rgba(254, 205, 211, 0.95);
  --warning-surface: rgba(245, 158, 11, 0.18);
  --warning-border: rgba(251, 191, 36, 0.3);
  --warning-text: rgba(253, 230, 138, 0.95);
  --success-surface: rgba(34, 197, 94, 0.14);
  --success-border: rgba(34, 197, 94, 0.28);
  --success-text: rgba(187, 247, 208, 0.95);

  --radius-pill: 9999px;
  --radius-card: 20px;
  --radius-inner: 16px;
  --radius-control: 14px;
  --transition-quiet: 180ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  min-height: 100%;
  background: var(--bg-gradient);
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100%;
  background: transparent;
  color: var(--text-primary);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

.glass-surface,
.glass-surface-elevated {
  position: relative;
  isolation: isolate;
  border: 1px solid transparent;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.glass-surface {
  background: var(--glass-bg);
}

.glass-surface-elevated {
  background: var(--glass-bg-elevated);
}

.glass-surface::before,
.glass-surface-elevated::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: var(--glass-stroke-gradient);
  pointer-events: none;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
}

.accent-surface {
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent-action-foreground);
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--accent) 18%, transparent),
    0 0 20px -16px var(--accent-glow);
}

/* Layout and Components */
body {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px;
}

main {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

main > * {
  min-width: 0;
  width: 100%;
  margin: 0 auto;
}

.section-title {
  width: 100%;
  margin-bottom: 24px;
  color: var(--text-primary);
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-align: center;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.125rem;
  margin-top: -12px;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}


.section-title-full {
  grid-column: 1 / -1;
}

/* Branding Pill */
.branding-pill {
  position: sticky;
  top: 24px;
  display: flex;
  align-items: center;
  border-radius: var(--radius-pill);
  z-index: 100;
  margin-bottom: 64px;
  overflow: hidden;
  background: rgba(20, 20, 24, 0.55);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.brand-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  transition: opacity 180ms ease;
}

.brand-link:hover,
.brand-link:focus,
.brand-link:focus-visible,
.brand-link:active {
  text-decoration: none;
}

.brand-link:hover {
  opacity: 0.8;
}

.brand-name {
  display: flex;
  align-items: center;
  font-style: italic;
  text-transform: uppercase;
  font-weight: 900;
  font-size: 17.5px; /* Scaled 1.25x from 14px */
  line-height: 1;
  user-select: none;
  padding: 7.5px 10px 7.5px 15px; /* Scaled 1.25x */
}

.brand-sim {
  letter-spacing: -0.025em;
  color: var(--text-primary);
  text-decoration: none;
}

.brand-launcher {
  letter-spacing: 0.01em;
  color: var(--accent);
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-launcher svg {
  height: 1em;
  width: 1em;
  fill: var(--launcher-play);
  margin-left: 0;
  flex-shrink: 0;
}

.launcher-play-mark {
  transform: skewX(-10deg);
}

.divider {
  position: relative;
  z-index: 10;
  width: 1px;
  height: 20px; /* Scaled 1.25x from 16px */
  background: var(--glass-border);
  opacity: 0.35;
}

.github-stars {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px 6px 12px;
  margin: 4px 4px 4px 0;
  text-decoration: none;
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  transition: background-color 180ms ease, color 180ms ease;
}

.github-stars:hover {
  background-color: var(--glass-bg-elevated);
  color: var(--text-primary);
}

.github-stars .icon-star {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.github-stars .icon-github {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.github-stars-text {
  font-size: 14px;
  font-weight: 600;
}

.github-stars-label {
  margin-left: 6px;
}

/* Hero Section */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  margin-bottom: 96px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 8px;
}

.hero-overline {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: -8px;
}




.version-tag {
  opacity: 0.7;
  font-size: 0.85em;
  margin-left: 8px;
  font-weight: 400;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-weight: 400;
  text-decoration: none;
  transition: all 180ms ease;
  cursor: pointer;
  border: none;
  will-change: transform;
}

.btn:hover {
  transform: scale(1.04);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent-action-foreground);
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--accent) 18%, transparent),
    0 0 20px -16px var(--accent-glow);
}

.btn-primary:hover {
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent),
    0 0 18px -8px var(--accent-glow),
    0 0 42px -18px var(--accent-glow);
}

.btn-secondary {
  background: var(--glass-bg-elevated);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: var(--glass-border);
  color: var(--text-primary);
}

.hero-screenshot-placeholder {
  width: 100%;
  max-width: 960px;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  margin-bottom: 64px;
}

/* Logo Ticker */
.logo-ticker {
  margin-bottom: 128px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  overflow: hidden;
}

.ticker-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-subtle);
  margin-bottom: 32px;
}

.ticker-track {
  width: 100%;
  position: relative;
  display: flex;
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 20%,
    black 80%,
    transparent
  );
}

.ticker-content {
  display: flex;
  gap: 80px;
  animation: scroll 40s linear infinite;
  white-space: nowrap;
  padding: 10px 0;
}

.brand-logo {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  opacity: 0.5;
  transition: opacity 0.3s ease, color 0.3s ease;
  cursor: default;
}

.brand-logo:hover {
  opacity: 1;
  color: var(--text-primary);
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 40px)); }
}

/* Features Section */
.features {
  width: 100%;
  max-width: 960px;
  margin-bottom: 96px;
  min-width: 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 24px;
  width: 100%;
  min-width: 0;
}

.feature-card {
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, background 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  background: var(--glass-bg-elevated);
}

.feature-visual {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: rgba(0, 0, 0, 0.2);
  overflow: hidden;
  position: relative;
}

.feature-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.feature-card:hover .feature-visual img {
  transform: scale(1.05);
}

.feature-card h3 {
  padding: 24px 24px 8px 24px;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.feature-card p {
  padding: 0 24px 24px 24px;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

/* Supported Grid Section */
.supported-grid {
  width: 100%;
  max-width: 960px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 24px;
  margin-bottom: 96px;
  min-width: 0;
}

.grid-group {
  padding: 32px;
  border-radius: var(--radius-card);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.group-title {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill {
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  color: var(--text-primary);
  font-weight: 400;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  --brand-color: rgba(255, 255, 255, 0.2);
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand-color) 8%, transparent), transparent);
  transition: all 0.3s ease;
}

.pill::before {
  background: linear-gradient(
    166deg,
    color-mix(in srgb, var(--brand-color) 40%, rgba(255, 255, 255, 0.1)) 0%,
    transparent 41%,
    transparent 57%,
    color-mix(in srgb, var(--brand-color) 15%, transparent) 100%
  ) !important;
}

.pill:hover {
  transform: translateY(-2px);
  --brand-color-opacity: 25%;
  background: color-mix(in srgb, var(--brand-color) var(--brand-color-opacity), transparent);
  box-shadow: 0 4px 15px -5px color-mix(in srgb, var(--brand-color) 30%, transparent);
}

/* Brand Colors */
.pill-iracing { --brand-color: #2488ff; }
.pill-ac, .pill-acc, .pill-acevo, .pill-acr, .pill-ams, .pill-ams2, .pill-f1, .pill-rr, .pill-lmu { --brand-color: #e10600; }
.pill-dirt, .pill-dirt2, .pill-beam, .pill-wrc { --brand-color: #ff6600; }
.pill-simhub { --brand-color: #0078d7; }
.pill-discord { --brand-color: #5865f2; }
.pill-crewchief { --brand-color: #d4a017; } /* Sepia Gold */
.pill-g61 { --brand-color: #888888; } /* Garage 61 Gray */
.pill-rf, .pill-rf2 { --brand-color: #ffde00; }
.pill-dcs { --brand-color: #555555; }

/* Special Gradient for Trading Paints */
.pill-tp {
  --brand-color: #ff003c; /* Base for hover glow */
}
.pill-tp::before {
  background: linear-gradient(135deg, #ff003c, #0066ff) !important;
}
.pill-tp:hover {
  background: linear-gradient(135deg, rgba(255, 0, 60, 0.2), rgba(0, 102, 255, 0.2));
}




/* Multi-color Brand Gradients */
.pill-ac::before { background: linear-gradient(135deg, #ffffff, #e10600) !important; }
.pill-ac:hover { background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(225, 6, 0, 0.2)); }

.pill-ams2::before { background: linear-gradient(135deg, #e10600, #ffffff) !important; }
.pill-ams2:hover { background: linear-gradient(135deg, rgba(225, 6, 0, 0.2), rgba(255, 255, 255, 0.1)); }

.pill-beam::before { background: linear-gradient(135deg, #ff6600, #ffffff) !important; }
.pill-beam:hover { background: linear-gradient(135deg, rgba(255, 102, 0, 0.2), rgba(255, 255, 255, 0.1)); }

.pill-iracing::before { background: linear-gradient(135deg, #e10600, #2488ff, #ffffff) !important; }
.pill-iracing:hover { background: linear-gradient(135deg, rgba(225, 6, 0, 0.2), rgba(36, 136, 255, 0.2)); }

.pill-rf2::before { background: linear-gradient(135deg, #00d2ff, #e10600, #555555) !important; }
.pill-rf2:hover { background: linear-gradient(135deg, rgba(0, 210, 255, 0.1), rgba(225, 6, 0, 0.1), rgba(85, 85, 85, 0.2)); }

.pill-dcs::before { background: linear-gradient(135deg, #2488ff, #555555) !important; }
.pill-wrc::before { background: linear-gradient(135deg, #000000, #ffffff) !important; }
.pill-lmu::before { background: linear-gradient(135deg, #e10600, #2488ff, #ffffff) !important; }
.pill-pmr::before { background: linear-gradient(135deg, #00d2ff, #ffffff) !important; }
.pill-rr::before { background: linear-gradient(135deg, #e10600, #555555) !important; }
.pill-renn::before { background: linear-gradient(135deg, #e10600, #000000) !important; }
.pill-rbr::before { background: linear-gradient(135deg, #ffde00, #e10600) !important; }

/* Who Is This For Section */
.who-is-this-for {
  width: 100%;
  max-width: 960px;
  margin-bottom: 64px;
  min-width: 0;
}

.comparison-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 24px;
  min-width: 0;
}

.pros, .cons {
  padding: 32px;
  border-radius: var(--radius-card);
}

.pros h3, .cons h3 {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

.pros ul, .cons ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pros li, .cons li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.check-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--launcher-play);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  margin-top: 2px;
}

.x-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: rgba(248, 113, 113, 0.85);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  margin-top: 2px;
}

.hero-screenshot-frame {
  width: 100%;
  max-width: 960px;
  border-radius: var(--radius-card);
  overflow: hidden;
  padding: 0;
  margin-bottom: 96px;
  /* Optional elegant fade effect at the bottom if the image is too tall */
  /* mask-image: linear-gradient(to bottom, black 85%, transparent 100%); */
}

/* Footer */
.site-footer {
  width: fit-content;
  max-width: 90%;
  margin: 32px auto 32px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 16px 48px;
  border-radius: var(--radius-pill);
  background: rgba(20, 20, 24, 0.55);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.footer-links a {
  display: flex;
  align-items: center;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--text-primary);
}

.support-heart {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-right: 6px;
  transition: transform 0.2s ease;
}

.support-link:hover .support-heart {
  transform: scale(1.2);
  filter: drop-shadow(0 0 5px var(--accent));
}

.footer-icon-windows {
  width: 14px;
  height: 14px;
  margin-right: 6px;
  fill: var(--accent);
  opacity: 1;
}

.download-link-footer {
  color: var(--text-muted) !important;
  font-weight: 500;
}


.copyright {
  color: var(--text-muted);
  font-size: 0.75rem;
  margin: 0;
}

.hero-screenshot {
  width: 100%;
  border-radius: var(--radius-inner);
  display: block;
}
/* Reveal on Scroll */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Button Pulse Animation */
@keyframes btn-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 140, 153, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(0, 140, 153, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 140, 153, 0);
  }
}

.btn-primary {
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent-action-foreground);
  box-shadow: 0 0 20px -16px var(--accent-glow);
  position: relative;
  isolation: isolate;
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(
    166deg,
    color-mix(in srgb, var(--accent) 40%, transparent) 0%,
    transparent 41%,
    transparent 57%,
    color-mix(in srgb, var(--accent) 10%, transparent) 100%
  );
  pointer-events: none;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
}


.status-dot {
  display: block;
  margin-left: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  flex-shrink: 0;
}






.icon-windows {
  width: 16px;
  height: 16px;
  margin-right: 12px;
  opacity: 0.9;
  flex-shrink: 0;
}

.faq {
  padding: 80px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.faq-item {
  padding: 30px;
  border-radius: 20px;
}

.faq-item h3 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: var(--text-primary);
  line-height: 1.4;
}

.faq-item p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

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

@media (max-width: 600px) {
  .site-footer {
    border-radius: var(--radius-card);
    padding: 24px;
    max-width: calc(100% - 48px);
  }
  .footer-links {
    gap: 16px;
  }
}



