:root {
  --bg: #050505;
  --bg-2: #0b0b0c;
  --card: #111113;
  --card-2: #171719;
  --red: #d30b18;
  --red-2: #ff1b2d;
  --red-dark: #6d060d;
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --muted-2: #71717a;
  --line: rgba(255,255,255,.1);
  --shadow-red: 0 0 42px rgba(211, 11, 24, .22);
  --radius: 28px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

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

img {
  display: block;
  max-width: 100%;
}

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

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(14px);
}

.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(211,11,24,.35));
}

.brand-title {
  display: block;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1;
}

.brand-subtitle {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted-2);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.nav a:hover {
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--red), #a90510);
  color: white;
  box-shadow: var(--shadow-red);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--red-2), var(--red));
}

.btn-ghost {
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.04);
  color: #fff;
}

.btn-ghost:hover {
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.08);
}

.hero {
  position: relative;
  --hero-shift-x: 0px;
  --hero-shift-y: 0px;
  --hero-card-shift-x: 0px;
  --hero-card-shift-y: 0px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 118px 0 72px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.97) 0%, rgba(0,0,0,.82) 42%, rgba(0,0,0,.34) 100%),
    linear-gradient(180deg, rgba(0,0,0,.08) 0%, #050505 96%),
    url("../public/images/hero-generation-rock.webp") center / cover no-repeat;
  opacity: .98;
  transform: translate3d(var(--hero-shift-x), var(--hero-shift-y), 0) scale(1.04);
  transition: transform .2s ease-out;
  will-change: transform;
}

.hero::after {
  content: "";
  position: absolute;
  inset: -25%;
  background:
    radial-gradient(circle at 35% 50%, rgba(211,11,24,.24), transparent 30%),
    radial-gradient(circle at 70% 62%, rgba(255,160,60,.12), transparent 34%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border: 1px solid rgba(211,11,24,.55);
  border-radius: 999px;
  background: rgba(80, 0, 8, .28);
  color: #ffd7da;
  font-size: 14px;
  box-shadow: 0 0 28px rgba(211,11,24,.14);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red-2);
  box-shadow: 0 0 16px rgba(255,27,45,.9);
}

.hero-logo {
  width: 250px;
  margin-top: 34px;
  border-radius: 28px;
  filter: drop-shadow(0 0 28px rgba(211,11,24,.34));
}

h1,
h2,
h3,
p {
  margin: 0;
}

.hero-title {
  margin-top: 32px;
  max-width: 780px;
  font-size: clamp(48px, 7vw, 92px);
  line-height: .92;
  letter-spacing: -.055em;
  text-transform: uppercase;
  font-weight: 950;
}

.red-text {
  color: var(--red-2);
  text-shadow: 0 0 28px rgba(211,11,24,.28);
}

.hero-text {
  margin-top: 28px;
  max-width: 660px;
  color: #d4d4d8;
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-card {
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 34px;
  background: rgba(10,10,11,.72);
  padding: 22px;
  box-shadow: 0 32px 100px rgba(0,0,0,.55), var(--shadow-red);
  backdrop-filter: blur(10px);
  transform: translate3d(var(--hero-card-shift-x), var(--hero-card-shift-y), 0);
  transition: transform .2s ease-out;
  will-change: transform;
}

.hero-card-image {
  aspect-ratio: 5 / 3;
  border-radius: 24px;
  background: #090909 url("../public/images/hero-generation-rock.webp") center / contain no-repeat;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: inset 0 0 60px rgba(0,0,0,.5);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.stat {
  padding: 16px 10px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 18px;
  background: rgba(0,0,0,.46);
  text-align: center;
}

.stat strong {
  display: block;
  color: var(--red-2);
  font-size: 25px;
  line-height: 1;
  text-transform: uppercase;
}

.stat span {
  display: block;
  margin-top: 6px;
  color: var(--muted-2);
  font-size: 12px;
}

.section {
  padding: 94px 0;
  position: relative;
}

.section-dark {
  background: linear-gradient(180deg, #050505, #0a0a0b);
}

.section-panel {
  background: #09090a;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.section-kicker {
  color: var(--red-2);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .26em;
  text-transform: uppercase;
}

.section-title {
  margin-top: 14px;
  max-width: 850px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: -.04em;
  text-transform: uppercase;
  font-weight: 950;
}

.section-text {
  margin-top: 20px;
  max-width: 780px;
  color: var(--muted);
  font-size: 18px;
}

.services-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card {
  min-height: 240px;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.09);
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.022));
  box-shadow: 0 20px 55px rgba(0,0,0,.28);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(211,11,24,.42);
  background: linear-gradient(180deg, rgba(211,11,24,.11), rgba(255,255,255,.025));
}

.service-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(211,11,24,.14);
  border: 1px solid rgba(211,11,24,.32);
  color: var(--red-2);
  font-size: 27px;
  font-weight: 900;
}

.service-card h3 {
  margin-top: 22px;
  font-size: 21px;
  text-transform: uppercase;
  line-height: 1.12;
  letter-spacing: -.02em;
}

.service-card p {
  margin-top: 12px;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 54px;
  align-items: start;
}

.steps {
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 18px;
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.09);
  background: rgba(255,255,255,.035);
}

.step-number {
  color: var(--red-2);
  font-size: 34px;
  line-height: 1;
  font-weight: 950;
}

.step h3 {
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: -.02em;
}

.step p {
  margin-top: 8px;
  color: var(--muted);
}

.cta {
  overflow: hidden;
}

.cta-box {
  position: relative;
  padding: 60px 34px;
  border-radius: 36px;
  border: 1px solid rgba(211,11,24,.34);
  background:
    radial-gradient(circle at 50% 0%, rgba(211,11,24,.22), transparent 38%),
    linear-gradient(135deg, #111113, #050505);
  text-align: center;
  box-shadow: var(--shadow-red);
}

.cta-box::before {
  content: "GR";
  position: absolute;
  inset: auto -28px -84px auto;
  font-size: 210px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -.08em;
  color: rgba(255,255,255,.035);
  pointer-events: none;
}

.cta-title {
  max-width: 820px;
  margin: 0 auto;
  font-size: clamp(34px, 5vw, 62px);
  line-height: .98;
  text-transform: uppercase;
  letter-spacing: -.045em;
  font-weight: 950;
}

.cta-text {
  margin: 20px auto 0;
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
}

.cta .btn {
  margin-top: 32px;
}

.site-footer {
  border-top: 1px solid rgba(255,255,255,.08);
  background: #020202;
  padding: 34px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 26px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 24px;
  color: var(--muted);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--red-2);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .55s ease, transform .55s ease;
}

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

@media (max-width: 980px) {
  .nav a:not(.btn) {
    display: none;
  }

  .hero {
    --hero-shift-x: 0px;
    --hero-shift-y: 0px;
    --hero-card-shift-x: 0px;
    --hero-card-shift-y: 0px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    display: none;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split {
    grid-template-columns: 1fr;
  }
}

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

  .header-inner {
    height: 66px;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .brand-subtitle {
    display: none;
  }

  .nav .btn {
    min-height: 42px;
    padding: 0 14px;
    font-size: 13px;
  }

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

  .hero-logo {
    width: 190px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .step {
    grid-template-columns: 1fr;
  }

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

  .footer-links {
    justify-content: flex-start;
    flex-direction: column;
  }

  .cta-box {
    padding: 44px 20px;
  }

  .cta-box::before {
    font-size: 140px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .hero-card {
    transform: none;
    transition: none;
  }
}
