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

:root{
  --bg:#070A0F;
  --surface:#101721;
  --surface-strong:#151E2A;
  --line:rgba(255,255,255,.12);
  --line-strong:rgba(255,255,255,.2);
  --text:#F6F8FB;
  --muted:#A8B5C7;
  --muted-strong:#D2D9E4;
  --accent:#F4243E;
  --accent-dark:#B80F25;
  --cyan:#10D7F4;
  --green:#24E38B;
  --gold:#F7C844;
  --shadow:0 24px 70px rgba(0,0,0,.34);
}

html{
  scroll-behavior:smooth;
}

body{
  min-height:100vh;
  background:
    linear-gradient(180deg, rgba(7,10,15,.76), rgba(7,10,15,.98) 62%),
    url("/assets/homepage/racepass-home-bg.jpg") center top / cover fixed,
    var(--bg);
  color:var(--text);
  font-family:Inter, "Segoe UI", Arial, sans-serif;
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(90deg, rgba(7,10,15,.96), rgba(7,10,15,.56) 46%, rgba(7,10,15,.86)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 120px);
  z-index:-1;
}

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

.site-header{
  position:sticky;
  top:0;
  z-index:20;
  min-height:76px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:16px clamp(22px, 5vw, 76px);
  background:rgba(7,10,15,.86);
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(18px);
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  font-size:12px;
  font-weight:950;
  text-transform:uppercase;
}

.brand img{
  width:152px;
  height:auto;
  display:block;
  filter:drop-shadow(0 10px 24px rgba(0,0,0,.32));
}

.brand span{
  color:var(--muted-strong);
}

nav{
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--muted);
  font-size:13px;
  font-weight:850;
}

nav a{
  min-height:38px;
  display:grid;
  place-items:center;
  padding:0 12px;
  border-radius:7px;
}

nav a:hover,
.nav-cta{
  color:#fff;
  background:rgba(255,255,255,.08);
}

.nav-cta{
  border:1px solid var(--line-strong);
}

main{
  display:grid;
}

.hero{
  min-height:calc(100vh - 76px);
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(360px, 560px);
  align-items:center;
  gap:46px;
  padding:58px clamp(22px, 5vw, 76px) 70px;
}

.hero-copy{
  max-width:900px;
}

.eyebrow{
  color:var(--cyan);
  font-size:12px;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.08em;
}

h1{
  max-width:900px;
  margin-top:16px;
  font-size:clamp(50px, 6.2vw, 92px);
  line-height:.9;
  letter-spacing:0;
}

.lead{
  max-width:760px;
  margin-top:24px;
  color:var(--muted-strong);
  font-size:18px;
  font-weight:650;
  line-height:1.55;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:32px;
}

.primary-link,
.secondary-link{
  min-height:48px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 18px;
  border-radius:7px;
  font-size:14px;
  font-weight:950;
}

.primary-link{
  background:linear-gradient(135deg, var(--accent), var(--accent-dark));
  color:#fff;
  box-shadow:0 20px 45px rgba(244,36,62,.24);
}

.secondary-link{
  border:1px solid var(--line-strong);
  background:rgba(255,255,255,.075);
  color:#fff;
}

.hero-proof{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:10px;
  max-width:780px;
  margin-top:34px;
}

.hero-proof div,
.band-item,
.feature-grid article,
.workflow-grid article,
.price-card,
figure,
.product-preview{
  border:1px solid var(--line);
  background:linear-gradient(180deg, rgba(21,30,42,.90), rgba(10,15,22,.93));
  box-shadow:var(--shadow);
}

.hero-proof div{
  min-height:84px;
  display:grid;
  align-content:center;
  gap:7px;
  padding:14px;
  border-radius:8px;
}

.hero-proof strong{
  font-size:20px;
  font-weight:950;
}

.hero-proof span{
  color:var(--muted);
  font-size:12px;
  font-weight:800;
}

.product-preview{
  overflow:hidden;
  border-radius:10px;
}

.preview-toolbar{
  min-height:54px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:10px;
  padding:0 16px;
  border-bottom:1px solid var(--line);
}

.preview-toolbar strong{
  font-size:14px;
  font-weight:950;
}

.preview-toolbar small{
  color:var(--muted);
  font-size:12px;
  font-weight:850;
}

.live-dot{
  width:10px;
  height:10px;
  border-radius:50%;
  background:var(--green);
  box-shadow:0 0 0 8px rgba(36,227,139,.12);
}

.product-preview img{
  width:100%;
  aspect-ratio:16 / 9;
  display:block;
  object-fit:cover;
  background:#0B1018;
}

.preview-strip{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  border-top:1px solid var(--line);
}

.preview-strip div{
  min-height:70px;
  display:grid;
  align-content:center;
  gap:5px;
  padding:12px 14px;
  border-right:1px solid var(--line);
}

.preview-strip div:last-child{
  border-right:0;
}

.preview-strip span,
.band-item span,
.feature-grid span,
.workflow-grid span,
.price-card span{
  color:var(--muted);
  font-size:11px;
  font-weight:950;
  text-transform:uppercase;
}

.preview-strip strong,
.band-item strong{
  font-size:17px;
  font-weight:950;
}

.section{
  padding:72px clamp(22px, 5vw, 76px);
  background:rgba(7,10,15,.95);
  border-top:1px solid var(--line);
}

.compact-band{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:12px;
  padding-top:22px;
  padding-bottom:22px;
}

.band-item{
  min-height:86px;
  display:grid;
  align-content:center;
  gap:8px;
  padding:16px;
  border-radius:8px;
  box-shadow:none;
}

.section-heading{
  max-width:820px;
  margin-bottom:30px;
}

h2{
  margin-top:10px;
  font-size:clamp(34px, 4vw, 58px);
  line-height:.96;
  letter-spacing:0;
}

.section-copy{
  max-width:650px;
  margin-top:18px;
  color:var(--muted-strong);
  font-size:16px;
  font-weight:700;
  line-height:1.55;
}

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

.feature-grid article{
  min-height:250px;
  padding:24px;
  border-radius:8px;
}

.feature-grid h3,
.workflow-grid strong{
  display:block;
  margin-top:24px;
  font-size:23px;
  line-height:1.05;
}

.feature-grid p,
.workflow-grid p,
.price-card p{
  margin-top:14px;
  color:var(--muted);
  font-weight:700;
  line-height:1.55;
}

.workflow-section{
  background:rgba(10,15,22,.96);
}

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

.workflow-grid article{
  min-height:220px;
  padding:22px;
  border-radius:8px;
  border-top:4px solid var(--accent);
}

.pricing-section{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(320px,520px);
  gap:42px;
  align-items:center;
}

.price-card{
  padding:30px;
  border-radius:8px;
  border-left:5px solid var(--accent);
}

.price-card strong{
  display:block;
  margin-top:12px;
  color:var(--gold);
  font-size:44px;
  line-height:1;
  font-weight:950;
}

.price-card small{
  display:block;
  margin-top:6px;
  color:var(--muted);
  font-size:13px;
  font-weight:900;
}

.price-action{
  margin-top:22px;
}

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

.control-preview-grid{
  grid-template-columns:minmax(0, 860px);
}

.wide-heading{
  max-width:1040px;
}

.overlay-suite{
  background:
    linear-gradient(180deg, rgba(7,10,15,.96), rgba(10,15,22,.98)),
    radial-gradient(circle at 15% 0%, rgba(244,36,62,.16), transparent 36%);
}

.overlay-showcase{
  display:grid;
  grid-template-columns:1.35fr 1fr 1fr;
  gap:16px;
  align-items:stretch;
}

.overlay-showcase .showcase-large{
  grid-row:span 2;
}

.overlay-showcase .showcase-large img{
  aspect-ratio:16 / 9;
}

.overlay-showcase figure img,
.mini-gallery figure img{
  object-position:center;
}

.mini-gallery{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:14px;
  margin-top:16px;
}

.mini-gallery figure img{
  aspect-ratio:16 / 8.5;
}

.mini-gallery figure:nth-child(2) img,
.mini-gallery figure:nth-child(3) img,
.mini-gallery figure:nth-child(4) img{
  object-fit:contain;
  padding:10px;
}

.mini-gallery figure:nth-child(5) img,
.mini-gallery figure:nth-child(6) img,
.mini-gallery figure:nth-child(7) img{
  object-fit:contain;
  padding:12px;
}

.advantage-section{
  background:rgba(7,10,15,.97);
}

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

.advantage-grid article{
  min-height:176px;
  display:grid;
  align-content:start;
  gap:14px;
  padding:22px;
  border:1px solid var(--line);
  border-left:4px solid var(--cyan);
  border-radius:8px;
  background:linear-gradient(180deg, rgba(21,30,42,.84), rgba(10,15,22,.92));
}

.advantage-grid strong{
  font-size:20px;
  line-height:1.05;
  font-weight:950;
}

.advantage-grid span{
  color:var(--muted);
  font-size:14px;
  font-weight:750;
  line-height:1.5;
}

figure{
  overflow:hidden;
  border-radius:9px;
}

figure img{
  width:100%;
  aspect-ratio:16 / 9;
  display:block;
  object-fit:cover;
  background:#0B1018;
}

figcaption{
  display:grid;
  gap:6px;
  padding:16px;
  border-top:1px solid var(--line);
}

figcaption strong{
  font-size:16px;
  font-weight:950;
}

figcaption span{
  color:var(--muted);
  font-size:13px;
  font-weight:750;
  line-height:1.45;
}

.final-cta{
  min-height:420px;
  display:grid;
  align-content:center;
  justify-items:center;
  text-align:center;
  padding:76px clamp(22px, 5vw, 76px);
  background:
    linear-gradient(180deg, rgba(7,10,15,.82), rgba(7,10,15,.98)),
    url("/assets/homepage/racepass-home-bg.jpg") center / cover;
  border-top:1px solid var(--line);
}

.final-cta h2{
  max-width:900px;
}

@media (max-width:1180px){
  .hero,
  .pricing-section{
    grid-template-columns:1fr;
  }

  .product-preview{
    max-width:820px;
  }

  .compact-band,
  .feature-grid,
  .workflow-grid,
  .advantage-grid{
    grid-template-columns:repeat(2, minmax(0,1fr));
  }

  .overlay-showcase{
    grid-template-columns:1fr;
  }

  .overlay-showcase .showcase-large{
    grid-row:auto;
  }

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

@media (max-width:760px){
  .site-header{
    position:relative;
    align-items:flex-start;
    flex-direction:column;
  }

  nav{
    flex-wrap:wrap;
  }

  .hero{
    min-height:auto;
    padding-top:44px;
  }

  .hero-proof,
  .compact-band,
  .feature-grid,
  .workflow-grid,
  .advantage-grid,
  .screenshot-grid,
  .mini-gallery,
  .preview-strip{
    grid-template-columns:1fr;
  }

  .preview-toolbar{
    grid-template-columns:auto 1fr;
  }

  .preview-toolbar small{
    grid-column:2;
  }
}
