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

:root {
  --yellow-50: #fefce8;
  --yellow-100: #fef9c3;
  --yellow-200: #fef08a;
  --yellow-300: #fde047;
  --yellow-400: #facc15;
  --yellow-500: #eab308;
  --yellow-600: #ca8a04;

  --black-50: #f8f8f8;
  --black-100: #e8e8e8;
  --black-200: #d0d0d0;
  --black-300: #a0a0a0;
  --black-400: #707070;
  --black-500: #505050;
  --black-600: #383838;
  --black-700: #282828;
  --black-800: #1a1a1a;
  --black-900: #111111;
  --black-950: #0a0a0a;

  --bg-dark: var(--black-950);
  --bg-section: var(--black-900);
  --text-primary: #ffffff;
  --text-secondary: var(--black-300);
  --text-muted: var(--black-400);
  --accent: var(--yellow-400);
  --accent-hover: var(--yellow-300);
  --accent-dark: var(--yellow-600);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font);
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===================== HEADER ===================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background var(--transition);
}

.header--scrolled {
  background: rgba(10, 10, 10, 0.95);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo__icon {
  color: var(--accent);
  display: flex;
}

.logo__text {
  display: flex;
  flex-direction: column;
}

.logo__title {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 2px;
  line-height: 1.2;
  color: var(--text-primary);
}

.logo__subtitle {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  line-height: 1.2;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav__link:hover {
  color: var(--text-primary);
}

.nav__link:hover::after {
  width: 100%;
}

.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-primary);
  transition: var(--transition);
  border-radius: 2px;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===================== HERO ===================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(250, 204, 21, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(250, 204, 21, 0.04) 0%, transparent 60%);
}

.hero__bg::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -10%;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(250, 204, 21, 0.06);
  border-radius: 50%;
  transform: translateY(-50%);
}

.hero__bg::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -5%;
  width: 400px;
  height: 400px;
  border: 1px solid rgba(250, 204, 21, 0.04);
  border-radius: 50%;
  transform: translateY(-50%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero__title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.highlight {
  color: var(--accent);
  position: relative;
}

.hero__text {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 40px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font);
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: var(--black-900);
  border-color: var(--accent);
}

.btn--primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(250, 204, 21, 0.3);
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--black-600);
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn--large {
  padding: 18px 48px;
  font-size: 16px;
}

.btn--full {
  width: 100%;
}

/* Stats */

.hero__stats {
  display: flex;
  gap: 48px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat__number {
  font-size: 42px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -1px;
}

.stat__plus {
  font-size: 42px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}

.stat__label {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Scroll indicator */

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: float 2s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}

/* ===================== SECTIONS ===================== */

.section {
  padding: 96px 0;
}

.section--dark {
  background: var(--bg-section);
}

.section__header {
  text-align: center;
  margin-bottom: 64px;
}

.section__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 16px;
  padding: 6px 16px;
  border: 1px solid rgba(250, 204, 21, 0.2);
  border-radius: 100px;
}

.section__title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.section__desc {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===================== ABOUT ===================== */

.about__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.about__card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: all var(--transition);
}

.about__card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(250, 204, 21, 0.15);
  transform: translateY(-4px);
}

.about__icon {
  color: var(--accent);
  margin-bottom: 24px;
}

.about__card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.about__card-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===================== SERVICES ===================== */

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  background: var(--bg-section);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: all var(--transition);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
  border-color: rgba(250, 204, 21, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__number {
  font-size: 48px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.04);
  position: absolute;
  top: 16px;
  right: 24px;
  line-height: 1;
}

.service-card__icon {
  color: var(--accent);
  margin-bottom: 24px;
}

.service-card__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card__text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===================== ADVANTAGES ===================== */

.advantages__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.advantage {
  text-align: center;
  padding: 32px 24px;
}

.advantage__line {
  width: 48px;
  height: 3px;
  background: var(--accent);
  margin: 0 auto 24px;
  border-radius: 2px;
}

.advantage__title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 12px;
}

.advantage__text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===================== CTA ===================== */

.cta {
  padding: 96px 0;
  background:
    linear-gradient(135deg, rgba(250, 204, 21, 0.08) 0%, transparent 50%),
    linear-gradient(225deg, rgba(250, 204, 21, 0.05) 0%, transparent 50%),
    var(--bg-dark);
  border-top: 1px solid rgba(250, 204, 21, 0.1);
  border-bottom: 1px solid rgba(250, 204, 21, 0.1);
}

.cta__inner {
  text-align: center;
  max-width: 640px;
}

.cta__title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.cta__text {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

/* ===================== CONTACT ===================== */

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact__item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: rgba(250, 204, 21, 0.08);
  border: 1px solid rgba(250, 204, 21, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.contact__label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact__value {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  transition: color var(--transition);
}

a.contact__value:hover {
  color: var(--accent);
}

/* Form */

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form__input {
  width: 100%;
  padding: 16px 20px;
  background: var(--bg-section);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 15px;
  font-family: var(--font);
  transition: all var(--transition);
  outline: none;
}

.form__input::placeholder {
  color: var(--text-muted);
}

.form__input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.1);
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

/* ===================== FOOTER ===================== */

.footer {
  background: var(--bg-section);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 64px 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}

.logo--footer .logo__title {
  font-size: 14px;
}

.footer__desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 16px;
  line-height: 1.7;
  max-width: 320px;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__nav-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.footer__nav a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.footer__nav a:hover {
  color: var(--accent);
}

.footer__bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  margin-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13px;
  color: var(--text-muted);
}

/* ===================== ANIMATIONS ===================== */

[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================== RESPONSIVE ===================== */

@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
  }

  .nav.open {
    opacity: 1;
    pointer-events: all;
  }

  .nav__link {
    font-size: 24px;
    font-weight: 600;
  }

  .burger {
    display: flex;
  }

  .hero__title {
    letter-spacing: -1px;
  }

  .hero__stats {
    gap: 32px;
  }

  .stat__number,
  .stat__plus {
    font-size: 32px;
  }

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

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

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

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .hero__scroll {
    display: none;
  }

  .cta__inner {
    padding: 0 16px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .hero__stats {
    flex-direction: column;
    gap: 20px;
  }

  .hero__actions {
    flex-direction: column;
    margin-bottom: 48px;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}
