/* === Reset & Base === */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #f0f0f0;
  line-height: 1.6;
  background: #0a0a0a;
}

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

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

/* === Container === */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === Header === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

/* === Logo === */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo__icon {
  height: 36px;
  width: auto;
}

.logo__icon--sm {
  height: 28px;
}

.logo__svg {
  height: 32px;
  width: auto;
}

.logo__text {
  font-size: 1.35rem;
  font-weight: 800;
  color: #f0f0f0;
  letter-spacing: -0.5px;
}

/* === Nav === */
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: #888;
  transition: color 0.2s;
}

.nav__link:hover {
  color: #fff;
}

.nav__link--cta {
  background: #8dc13c;
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}

.nav__link--cta:hover {
  background: #7aad30;
  transform: translateY(-1px);
}

/* === Header Right === */
.header__right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* === Lang Toggle === */
.lang-toggle {
  background: none;
  border: 1px solid #333;
  color: #888;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  letter-spacing: 0.5px;
}

.lang-toggle:hover {
  color: #8dc13c;
  border-color: #8dc13c;
}

/* === Burger === */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #f0f0f0;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.burger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.burger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* === Hero === */
.hero {
  padding: 140px 0 100px;
  text-align: center;
  background: #141414;
}

.hero__inner {
  max-width: 1000px;
  margin: 0 auto;
}

.hero__logo {
  height: 80px;
  margin: 0 auto 32px;
}

.hero__title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: #888;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero__buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  cursor: pointer;
}

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

.btn__icon {
  width: 20px;
  height: 20px;
}

.btn--primary {
  background: #8dc13c;
  color: #fff;
  box-shadow: 0 4px 14px rgba(141, 193, 60, 0.25);
}

.btn--primary:hover {
  background: #7aad30;
  box-shadow: 0 6px 20px rgba(141, 193, 60, 0.35);
}

.btn--outline {
  background: transparent;
  color: #ccc;
  border: 2px solid #333;
}

.btn--outline:hover {
  border-color: #8dc13c;
  color: #8dc13c;
}

.btn--white {
  background: #fff;
  color: #0a0a0a;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.btn--white:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.btn--white-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.25);
}

.btn--white-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
}

/* === Sections === */
.section {
  padding: 100px 0;
}

.section--alt {
  background: #111;
}

.section--elevated {
  background: #141414;
}

.section--cta {
  background: #8dc13c;
  text-align: center;
}

.section--cta .section__title {
  color: #fff;
}

.section--cta .section__subtitle--light {
  color: rgba(255, 255, 255, 0.75);
}

.section__badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #8dc13c;
  margin-bottom: 16px;
  text-align: center;
  width: 100%;
}

.section__title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 12px;
  color: #fff;
}

.section__subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #777;
  max-width: 560px;
  margin: 0 auto 60px;
}

.section__subtitle--light {
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 40px;
}

/* === Feature Cards === */
.features {
  display: grid;
  gap: 24px;
}

.features--3 {
  grid-template-columns: repeat(3, 1fr);
}

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

.feature {
  background: #161616;
  border-radius: 16px;
  padding: 32px 28px;
  border: 1px solid #222;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  border-color: #333;
}

.feature__icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.feature__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #f0f0f0;
}

.feature__text {
  font-size: 0.95rem;
  color: #777;
  line-height: 1.6;
}

/* === Feature Rows === */
.feature-row {
  display: flex;
  gap: 16px;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #1e1e1e;
  transition: border-color 0.2s, background 0.2s;
}

.feature-row:hover {
  border-color: #333;
  background: rgba(255, 255, 255, 0.02);
}

.feature-row__icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 40px;
  text-align: center;
}

.feature-row__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: #e0e0e0;
}

.feature-row__text {
  font-size: 0.9rem;
  color: #777;
  line-height: 1.5;
}

/* === How Grid === */
.how-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 48px;
}

.how-divider {
  background: #2a2a2a;
}

.how-col__heading {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #8dc13c;
  margin-bottom: 28px;
  text-align: center;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 360px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step__number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #8dc13c;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: #e0e0e0;
}

.step__text {
  font-size: 0.9rem;
  color: #777;
  line-height: 1.5;
}

/* === Footer === */
.footer {
  padding: 40px 0;
  border-top: 1px solid #1e1e1e;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__links {
  display: flex;
  gap: 24px;
}

.footer__links a {
  font-size: 0.85rem;
  color: #555;
  transition: color 0.2s;
}

.footer__links a:hover {
  color: #8dc13c;
}

.footer__copy {
  font-size: 0.85rem;
  color: #444;
}

/* === Scroll to top === */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #8dc13c;
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, transform 0.2s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  z-index: 90;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: translateY(-3px);
  background: #7aad30;
}

/* === Responsive === */
@media (max-width: 1024px) {
  .features--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 100px 0 48px;
  }

  .hero__logo {
    height: 64px;
  }

  .hero__title {
    font-size: 2.25rem;
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .section {
    padding: 48px 0;
  }

  .section__title {
    font-size: 2rem;
  }

  .features--3 {
    grid-template-columns: 1fr;
  }

  .features--2 {
    grid-template-columns: 1fr;
  }

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

  .how-divider {
    height: 1px;
    width: 100%;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }

  /* Mobile nav */
  .nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(12px);
    padding: 16px 24px 24px;
    gap: 12px;
    border-bottom: 1px solid #1e1e1e;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  }

  .nav.open {
    display: flex;
  }

  .nav__link--cta {
    text-align: center;
  }

  .burger {
    display: flex;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 1.85rem;
  }

  .hero__buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }
}
