/* MEDUSA — FiveM Landing · Grün / Dunkel */
:root {
  --bg-deep: #050807;
  --bg-elevated: #0c1210;
  --bg-card: rgba(16, 28, 24, 0.65);
  --green-400: #4ade80;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --green-glow: rgba(34, 197, 94, 0.45);
  --green-muted: #14532d;
  --text: #e8f7ec;
  --text-dim: #8fb89a;
  --border: rgba(74, 222, 128, 0.18);
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, sans-serif;
  --radius: 14px;
  --radius-lg: 22px;
  --discord-blurple: #5865f2;
  --discord-blurple-hover: #4752c4;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-deep);
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(22, 163, 74, 0.22), transparent 55%),
    radial-gradient(ellipse 80% 50% at 100% 50%, rgba(20, 83, 45, 0.35), transparent 50%),
    linear-gradient(180deg, #06100c 0%, var(--bg-deep) 40%);
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 1000;
}

a {
  color: inherit;
  text-decoration: none;
}

code {
  font-size: 0.88em;
  padding: 0.15em 0.45em;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 6px;
  border: 1px solid var(--border);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 4vw;
  background: rgba(5, 8, 7, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.logo {
  display: flex;
  align-items: center;
  line-height: 0;
}

.logo__img {
  height: 42px;
  width: auto;
  max-width: min(200px, 45vw);
  display: block;
  object-fit: contain;
}

.logo__img--footer {
  height: 28px;
  max-width: 140px;
}

.nav {
  display: flex;
  gap: 1.75rem;
}

.nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-dim);
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--green-400);
}

@media (max-width: 720px) {
  .nav {
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn--small {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.btn--primary {
  background: linear-gradient(135deg, var(--green-500), var(--green-600));
  color: #041208;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 8px 28px var(--green-glow);
}

.btn--primary:hover {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset, 0 12px 36px var(--green-glow);
}

.btn--outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn--outline:hover {
  border-color: var(--green-400);
  color: var(--green-400);
}

.btn--ghost {
  background: rgba(34, 197, 94, 0.12);
  border-color: var(--border);
  color: var(--green-400);
}

.btn--ghost:hover {
  background: rgba(34, 197, 94, 0.2);
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: 3rem 4vw 5rem;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero__glow--1 {
  width: min(480px, 60vw);
  height: min(480px, 60vw);
  top: -10%;
  left: -5%;
  background: rgba(22, 163, 74, 0.25);
}

.hero__glow--2 {
  width: min(320px, 40vw);
  height: min(320px, 40vw);
  bottom: 10%;
  right: 10%;
  background: rgba(74, 222, 128, 0.12);
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.hero__badge {
  display: inline-block;
  margin: 0 0 1.25rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-400);
  background: rgba(22, 101, 52, 0.35);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.hero__title {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.05;
}

.hero__title-line {
  display: block;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.02em;
  margin-bottom: 0.35rem;
}

.hero__title-brand {
  display: block;
  font-size: clamp(2.75rem, 8vw, 4.25rem);
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, #ecfdf5 0%, var(--green-400) 45%, var(--green-600) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 60px var(--green-glow);
}

.hero__lead {
  margin: 0 0 2rem;
  color: var(--text-dim);
  font-size: 1.1rem;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--border);
}

.stat {
  margin: 0;
}

.stat__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin: 0 0 0.25rem;
}

.stat__value {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--green-400);
}

.hero__visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card {
  width: min(100%, 380px);
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(74, 222, 128, 0.06) inset;
  overflow: hidden;
}

.hero-card__header {
  display: flex;
  gap: 0.4rem;
  padding: 0.85rem 1rem;
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid var(--border);
}

.hero-card__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 12px var(--green-glow);
}

.hero-card__dot--dim {
  background: #334155;
  box-shadow: none;
}

.hero-card__body {
  padding: 1.5rem 1.25rem 1.75rem;
}

.hero-card__tag {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-dim);
}

.hero-card__status {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--green-400);
}

.hero-card__bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.hero-card__fill {
  display: block;
  height: 100%;
  width: 78%;
  background: linear-gradient(90deg, var(--green-600), var(--green-400));
  border-radius: 999px;
  animation: pulse-bar 3s ease-in-out infinite;
}

@keyframes pulse-bar {
  0%,
  100% {
    width: 72%;
    opacity: 1;
  }
  50% {
    width: 92%;
    opacity: 0.9;
  }
}

.hero-card__hint {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.5;
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 2rem;
  }

  .hero__visual {
    order: -1;
  }

  .hero__stats {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* Sections */
.section {
  padding: 5rem 4vw;
}

.section__header {
  max-width: 640px;
  margin-bottom: 2.75rem;
}

.section__header h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  letter-spacing: -0.02em;
}

.section__header p {
  margin: 0;
  color: var(--text-dim);
  font-size: 1.05rem;
}

/* Features */

.section--features {
  padding-bottom: 5.5rem;
}

.features-intro {
  text-align: center;
  max-width: 38rem;
  margin: 0 auto 3rem;
}

.features-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-400);
  background: rgba(22, 101, 52, 0.35);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.features-kicker__mark {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-400);
  box-shadow: 0 0 10px var(--green-glow);
}

.features-intro h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  letter-spacing: -0.02em;
}

.features-intro__lead {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text-dim);
  line-height: 1.55;
}

.features-bento {
  display: grid;
  gap: 1.25rem;
  max-width: 1080px;
  margin: 0 auto;
}

@media (min-width: 880px) {
  .features-bento {
    grid-template-columns: 1.15fr 1fr;
    grid-template-rows: auto auto auto;
    align-items: stretch;
  }

  .feat--eco {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .feat--faction {
    grid-column: 2;
    grid-row: 1;
  }

  .feat--team {
    grid-column: 2;
    grid-row: 2;
  }

  .feat--perf {
    grid-column: 1 / -1;
    grid-row: 3;
  }
}

.feat {
  position: relative;
  overflow: hidden;
  padding: 1.65rem 1.5rem;
  background: rgba(10, 16, 14, 0.75);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.feat:hover {
  border-color: rgba(74, 222, 128, 0.28);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 60px rgba(34, 197, 94, 0.06);
}

.feat--eco {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  padding: 2rem 1.75rem;
  background:
    radial-gradient(ellipse 90% 70% at 20% 0%, rgba(74, 222, 128, 0.14), transparent 55%),
    linear-gradient(165deg, rgba(22, 101, 52, 0.35) 0%, rgba(5, 8, 7, 0.92) 55%);
  border-color: rgba(74, 222, 128, 0.22);
}

.feat--eco::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-600), var(--green-400), #5eead4);
  opacity: 0.95;
}

.feat__icon-wrap {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-400);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(74, 222, 128, 0.2);
  border-radius: 14px;
}

.feat__icon-wrap--sm {
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
}

.feat__icon-wrap--sm .feat__svg {
  width: 1.45rem;
  height: 1.45rem;
}

.feat__svg {
  width: 1.75rem;
  height: 1.75rem;
}

.feat__body {
  position: relative;
  z-index: 1;
}

.feat__index {
  display: inline-block;
  margin-bottom: 0.6rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.25rem;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(232, 247, 236, 0.08);
  user-select: none;
}

.feat--eco .feat__index {
  color: rgba(74, 222, 128, 0.15);
}

.feat__title {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.feat__text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.55;
}

.feat--faction .feat__title,
.feat--team .feat__title {
  font-size: 1.08rem;
}

.feat--faction,
.feat--team {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-bottom: 1.5rem;
}

.feat--faction .feat__index,
.feat--team .feat__index {
  font-size: 1.75rem;
}

.feat--perf {
  padding: 0;
  border-style: dashed;
  border-color: rgba(74, 222, 128, 0.25);
  background: rgba(8, 12, 11, 0.65);
}

.feat__perf-inner {
  padding: 1.5rem 1.5rem 1.65rem;
}

@media (min-width: 720px) {
  .feat__perf-inner {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .feat__body--row {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }

  .feat__body--row > div:first-child {
    flex: 1;
    min-width: 0;
  }
}

.feat__body--row .feat__title {
  margin-bottom: 0.4rem;
}

.feat__meter {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.45rem;
  min-width: 140px;
}

.feat__meter-bar {
  display: block;
  width: 140px;
  max-width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  overflow: hidden;
}

.feat__meter-fill {
  display: block;
  height: 100%;
  width: 88%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green-600), var(--green-400));
  animation: feat-meter-pulse 4s ease-in-out infinite;
}

@keyframes feat-meter-pulse {
  0%,
  100% {
    width: 82%;
    opacity: 1;
  }
  50% {
    width: 94%;
    opacity: 0.92;
  }
}

.feat__meter-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
}

@media (max-width: 719px) {
  .feat__meter {
    align-items: flex-start;
    margin-top: 1rem;
    width: 100%;
  }

  .feat__meter-bar {
    width: 100%;
  }
}

/* Discord */

.section--discord {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.discord-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
  padding: 2.5rem;
  background:
    linear-gradient(145deg, rgba(88, 101, 242, 0.08) 0%, transparent 45%),
    linear-gradient(205deg, rgba(34, 197, 94, 0.06) 0%, transparent 50%),
    var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

@media (max-width: 900px) {
  .discord-panel {
    grid-template-columns: 1fr;
  }
}

.discord-panel__intro {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.discord-panel__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--discord-blurple);
}

.discord-panel__icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.discord-panel__intro h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  letter-spacing: -0.02em;
}

.discord-panel__lead {
  margin: 0;
  color: var(--text-dim);
  font-size: 1.02rem;
  max-width: 36ch;
}

.discord-panel__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
  margin-top: 0.5rem;
}

.btn--discord {
  background: linear-gradient(135deg, var(--discord-blurple), var(--discord-blurple-hover));
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 28px rgba(88, 101, 242, 0.35);
}

.btn--discord:hover {
  box-shadow: 0 12px 36px rgba(88, 101, 242, 0.45);
}

.discord-panel__guild {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: var(--text-dim);
}

.discord-panel__guild-meta::after {
  content: "·";
  margin-left: 0.35rem;
  opacity: 0.7;
}

.discord-panel__guild #discord-guild-name {
  color: var(--green-400);
  font-weight: 600;
}

.discord-panel__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 520px) {
  .discord-panel__stats {
    grid-template-columns: 1fr;
  }
}

.discord-stat {
  position: relative;
  display: flex;
  gap: 1rem;
  padding: 1.35rem 1.25rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-height: 6.5rem;
  align-items: center;
}

.discord-stat--live {
  border-color: rgba(88, 101, 242, 0.35);
  box-shadow: 0 0 40px rgba(88, 101, 242, 0.08) inset;
}

.discord-stat__ring {
  position: relative;
  width: 3.25rem;
  height: 3.25rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.discord-stat__pulse {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green-400);
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55);
  animation: discord-pulse 2.4s ease-out infinite;
}

.discord-stat__ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(74, 222, 128, 0.35);
  animation: discord-ring 2.4s ease-out infinite;
}

@keyframes discord-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.45);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(74, 222, 128, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
  }
}

@keyframes discord-ring {
  0% {
    transform: scale(0.85);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

.discord-stat__body {
  flex: 1;
  min-width: 0;
}

.discord-stat__label {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}

.discord-stat__value {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 2.75rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.discord-stat__skeleton {
  color: var(--text-dim);
  letter-spacing: 0.15em;
  animation: discord-dots 1s ease-in-out infinite;
}

@keyframes discord-dots {
  50% {
    opacity: 0.35;
  }
}

.discord-panel__footnote {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.5;
}

@media (min-width: 901px) {
  .discord-panel__footnote {
    margin-top: -0.5rem;
  }
}

/* Steps / Einstieg */
.section--steps {
  padding-top: 3rem;
  padding-bottom: 5rem;
}

.steps-header {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 3rem;
}

.steps-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1rem;
  padding: 0.35rem 0.95rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: rgba(15, 23, 20, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 999px;
}

.steps-badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-400);
  box-shadow: 0 0 12px var(--green-glow);
}

.steps-header h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.steps-lead {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text-dim);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 1100px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

.step-card {
  --step-accent: var(--green-400);
  --step-glow: rgba(74, 222, 128, 0.22);
  position: relative;
  overflow: hidden;
  padding: 1.5rem 1.35rem 1.65rem;
  background: rgba(12, 18, 16, 0.55);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 20px 50px rgba(0, 0, 0, 0.35),
    0 0 48px var(--step-glow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.step-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--step-accent) 45%, transparent);
}

.step-card--1 {
  --step-accent: #5eead4;
  --step-glow: rgba(94, 234, 212, 0.2);
}

.step-card--2 {
  --step-accent: #4ade80;
  --step-glow: rgba(74, 222, 128, 0.28);
}

.step-card--3 {
  --step-accent: #22c55e;
  --step-glow: rgba(34, 197, 94, 0.32);
}

.step-card--4 {
  --step-accent: #a3e635;
  --step-glow: rgba(163, 230, 53, 0.22);
}

.step-card__watermark {
  position: absolute;
  top: 0.35rem;
  right: 0.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.5rem, 8vw, 4.25rem);
  line-height: 1;
  color: var(--step-accent);
  opacity: 0.12;
  pointer-events: none;
  user-select: none;
}

.step-card__icon {
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--step-accent);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.step-card__icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.step-card__icon--logo {
  padding: 0.2rem;
}

.step-card__icon--logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.step-card__meta {
  display: inline-block;
  margin: 0 0 0.65rem;
  padding: 0.2rem 0.55rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bg-deep);
  background: linear-gradient(135deg, var(--step-accent), color-mix(in srgb, var(--step-accent) 70%, #166534));
  border-radius: 6px;
}

.step-card__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.step-card__text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.55;
}

.step-card__text strong {
  color: var(--text);
  font-weight: 600;
}

.step-card__code {
  display: inline-block;
  margin-top: 0.35rem;
  padding: 0.15rem 0.45rem;
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 0.78rem;
  color: var(--green-400);
  background: rgba(0, 0, 0, 0.45);
  border-radius: 6px;
  border: 1px solid rgba(74, 222, 128, 0.2);
}

.steps-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 3rem;
}

.btn--steps-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.95rem 1.75rem;
  font-size: 1rem;
  font-weight: 700;
  color: #041208;
  background: linear-gradient(135deg, #4ade80, #22c55e);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(34, 197, 94, 0.35);
  transition: transform 0.15s, box-shadow 0.2s;
}

.btn--steps-cta:hover {
  box-shadow: 0 16px 48px rgba(34, 197, 94, 0.45);
}

.btn--steps-cta:active {
  transform: scale(0.99);
}

.btn__icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.btn__icon--end {
  width: 1.1rem;
  height: 1.1rem;
  opacity: 0.85;
}

/* Footer */
.footer {
  padding: 2rem 4vw 2.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}

.footer__meta {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-dim);
}

@media (max-width: 520px) {
  .header .btn--small {
    display: none;
  }

  .hero__stats {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
