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

:root {
  --color-primary: #25d366;
  --color-primary-dark: #128c7e;
  --color-primary-light: #dcf8c6;
  --color-bg: #0d0f14;
  --color-bg-card: #161b24;
  --color-bg-card-hover: #1e2534;
  --color-text: #e8ecf1;
  --color-text-muted: #8892a4;
  --color-border: #242c3d;
  --color-white: #ffffff;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --transition: 0.2s ease;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

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

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

/* ===========================
   BUTTONS
=========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-family);
  font-weight: 600;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: var(--color-white);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
}

.btn--ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn--outline {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
}

.btn--outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn--sm {
  font-size: 14px;
  padding: 8px 20px;
}

.btn--lg {
  font-size: 16px;
  padding: 14px 32px;
}

.btn--full {
  width: 100%;
  font-size: 15px;
  padding: 12px 24px;
}

/* ===========================
   HEADER / NAV
=========================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 15, 20, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 500;
}

.nav__logo-icon {
  font-size: 22px;
}

.nav__logo-text strong {
  font-weight: 800;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
}

.nav__links a:hover {
  color: var(--color-text);
}

/* ===========================
   SECTION SHARED
=========================== */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--color-text-muted);
  max-width: 520px;
  margin: 0 auto;
}

/* ===========================
   HERO
=========================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 120px;
  text-align: center;
}

.hero__bg-shape {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(37, 211, 102, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-block;
  background: rgba(37, 211, 102, 0.12);
  color: var(--color-primary);
  border: 1px solid rgba(37, 211, 102, 0.3);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.hero__title {
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 20px;
}

.hero__title--highlight {
  background: linear-gradient(135deg, var(--color-primary), #4ade80);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--color-text-muted);
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero__social-proof {
  font-size: 14px;
  color: var(--color-text-muted);
}

.hero__social-proof strong {
  color: var(--color-text);
}

/* ===========================
   FEATURES
=========================== */
.features {
  padding: 96px 0;
  border-top: 1px solid var(--color-border);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
}

.feature-card:hover {
  background: var(--color-bg-card-hover);
  border-color: rgba(37, 211, 102, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.feature-card__icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.feature-card__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card__desc {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ===========================
   HOW IT WORKS
=========================== */
.how-it-works {
  padding: 96px 0;
  background: rgba(255, 255, 255, 0.015);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 220px;
  max-width: 300px;
  text-align: center;
  padding: 32px 24px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.step__number {
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-primary), #4ade80);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  line-height: 1;
}

.step__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

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

.step__divider {
  font-size: 28px;
  color: var(--color-text-muted);
  align-self: center;
  margin-top: -16px;
}

/* ===========================
   PRICING
=========================== */
.pricing {
  padding: 96px 0;
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
}

.pricing-card {
  position: relative;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
}

.pricing-card--featured {
  border-color: var(--color-primary);
  background: linear-gradient(180deg, rgba(37, 211, 102, 0.07) 0%, var(--color-bg-card) 100%);
  transform: scale(1.03);
  box-shadow: 0 0 48px rgba(37, 211, 102, 0.15);
}

.pricing-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: var(--color-white);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.pricing-card__header {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
}

.pricing-card__name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}

.pricing-card__currency {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text-muted);
}

.pricing-card__amount {
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
}

.pricing-card__period {
  font-size: 14px;
  color: var(--color-text-muted);
}

.pricing-card__desc {
  font-size: 13px;
  color: var(--color-text-muted);
}

.pricing-card__features {
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-card__features li {
  font-size: 14px;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-card__features li::before {
  content: '✓';
  color: var(--color-primary);
  font-weight: 700;
  flex-shrink: 0;
}

/* ===========================
   CTA SECTION
=========================== */
.cta-section {
  padding: 96px 0;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(37, 211, 102, 0.1) 0%, transparent 70%);
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.cta-section__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.cta-section__subtitle {
  font-size: 17px;
  color: var(--color-text-muted);
  margin-bottom: 36px;
}

.cta-section__form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 500px;
  margin: 0 auto 16px;
}

.cta-section__input {
  flex: 1;
  min-width: 240px;
  background: var(--color-bg-card);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-full);
  color: var(--color-text);
  font-family: var(--font-family);
  font-size: 15px;
  padding: 14px 20px;
  outline: none;
  transition: border-color var(--transition);
}

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

.cta-section__input:focus {
  border-color: var(--color-primary);
}

.cta-section__note {
  font-size: 14px;
  color: var(--color-text-muted);
  min-height: 20px;
  transition: color var(--transition);
}

.cta-section__note--success {
  color: var(--color-primary);
}

.cta-section__note--error {
  color: #f87171;
}

/* ===========================
   FOOTER
=========================== */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--color-border);
}

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

.footer__copy {
  font-size: 13px;
  color: var(--color-text-muted);
}

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

.footer__links a {
  font-size: 13px;
  color: var(--color-text-muted);
}

.footer__links a:hover {
  color: var(--color-text);
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 768px) {
  .nav__links {
    display: none;
  }

  .hero {
    padding: 72px 0 80px;
  }

  .step__divider {
    transform: rotate(90deg);
    margin: 0;
  }

  .pricing-card--featured {
    transform: none;
  }

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

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-section__form {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-section__input {
    min-width: unset;
    width: 100%;
  }
}