*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0a0e17;
  --bg-card: #12182a;
  --bg-card-hover: #1a2240;
  --border: rgba(92, 219, 92, 0.15);
  --green: #5cdb5c;
  --green-dark: #3d9e3d;
  --gold: #f4c430;
  --text: #e8edf5;
  --text-muted: #8b95a8;
  --gradient: linear-gradient(135deg, #5cdb5c 0%, #3d9e3d 50%, #f4c430 100%);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --radius: 16px;
  --font: 'Inter', system-ui, sans-serif;
  --font-display: 'Russo One', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(92, 219, 92, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92, 219, 92, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

a {
  color: var(--green);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--gold);
}

img {
  max-width: 100%;
  display: block;
}

.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.02em;
}

.logo--sm {
  font-size: 1.1rem;
}

.logo__icon {
  font-size: 1.5em;
  filter: drop-shadow(0 0 8px rgba(92, 219, 92, 0.5));
}

.logo__accent {
  color: var(--green);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a:hover {
  color: var(--green);
}

.nav__cta {
  padding: 8px 20px;
  background: rgba(92, 219, 92, 0.12);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--green) !important;
}

.nav__cta:hover {
  background: rgba(92, 219, 92, 0.22);
  color: var(--gold) !important;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: 0.3s;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--gradient);
  color: #0a0e17;
  box-shadow: 0 4px 20px rgba(92, 219, 92, 0.35);
}

.btn--primary:hover {
  color: #0a0e17;
  box-shadow: 0 6px 28px rgba(92, 219, 92, 0.5);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  border-color: var(--green);
  color: var(--green);
}

.btn--lg {
  padding: 18px 40px;
  font-size: 1.1rem;
}

.btn--block {
  width: 100%;
  margin-top: 20px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  z-index: 1;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(10, 14, 23, 0.7) 0%, rgba(10, 14, 23, 0.5) 40%, rgba(10, 14, 23, 0.95) 100%),
    linear-gradient(to right, rgba(10, 14, 23, 0.8) 0%, transparent 60%);
}

.hero__content {
  padding: 80px 0 100px;
  max-width: 720px;
}

.hero__badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(92, 219, 92, 0.15);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 24px;
  animation: fadeUp 0.6s ease;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.15;
  margin-bottom: 20px;
  animation: fadeUp 0.6s ease 0.1s both;
}

.hero__lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  animation: fadeUp 0.6s ease 0.2s both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
  animation: fadeUp 0.6s ease 0.3s both;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  list-style: none;
  animation: fadeUp 0.6s ease 0.4s both;
}

.hero__stats li {
  display: flex;
  flex-direction: column;
}

.hero__stats strong {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--green);
}

.hero__stats span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Section head */
.section-head {
  text-align: center;
  margin-bottom: 56px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 12px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Categories */
.categories {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(92, 219, 92, 0.4);
  box-shadow: var(--shadow), 0 0 40px rgba(92, 219, 92, 0.08);
}

.card--featured {
  border-color: rgba(244, 196, 48, 0.3);
}

.card--featured:hover {
  border-color: rgba(244, 196, 48, 0.6);
  box-shadow: var(--shadow), 0 0 40px rgba(244, 196, 48, 0.1);
}

.card__link {
  display: block;
  color: inherit;
  height: 100%;
}

.card__link:hover {
  color: inherit;
}

.card__img-wrap {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
}

.card__img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg-card) 0%, transparent 50%);
}

.card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.card:hover .card__img-wrap img {
  transform: scale(1.08);
}

.card__body {
  padding: 24px;
}

.card__body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--text);
}

.card__body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.card__arrow {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green);
  transition: color 0.2s;
}

.card:hover .card__arrow {
  color: var(--gold);
}

/* SEO section */
.seo {
  padding: 100px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(18, 24, 42, 0.5) 50%, transparent 100%);
  position: relative;
  z-index: 1;
}

.seo__grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}

.seo__text h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 24px;
}

.seo__text p {
  color: var(--text-muted);
  margin-bottom: 18px;
  font-size: 1rem;
  line-height: 1.75;
}

.seo__text a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.seo__box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
}

.seo__box h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: var(--green);
}

.seo__box ul {
  list-style: none;
}

.seo__box li {
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.seo__links {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.seo__links h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 16px;
}

.seo__links nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.seo__links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 4px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.seo__links a:hover {
  color: var(--green);
  padding-left: 6px;
}

/* CTA */
.cta {
  padding: 80px 0 100px;
  position: relative;
  z-index: 1;
}

.cta__inner {
  text-align: center;
  padding: 64px 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

.cta__inner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(92, 219, 92, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta__inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 12px;
  position: relative;
}

.cta__inner p {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 1.05rem;
  position: relative;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  padding: 56px 0 40px;
}

.footer__brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 16px;
  max-width: 360px;
}

.footer__cols {
  display: flex;
  gap: 48px;
}

.footer__cols h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green);
  margin-bottom: 16px;
}

.footer__cols a {
  display: block;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 4px 0;
}

.footer__cols a:hover {
  color: var(--green);
}

.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}

.footer__bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

/* Mobile nav */
.nav--open {
  display: flex !important;
  flex-direction: column;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(10, 14, 23, 0.97);
  padding: 24px;
  gap: 16px;
  border-bottom: 1px solid var(--border);
}

/* Responsive */
@media (max-width: 900px) {
  .seo__grid {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .burger {
    display: flex;
  }

  .hero__content {
    padding: 60px 0 80px;
  }

  .hero__stats {
    gap: 20px;
  }

  .categories,
  .seo {
    padding: 64px 0;
  }

  .footer__cols {
    flex-direction: column;
    gap: 32px;
  }
}
