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

:root {
  --bg: #0B0D14;
  --bg-card: #12141F;
  --bg-card-hover: #181B28;
  --border: rgba(108, 92, 231, 0.15);
  --text: #E8EAF0;
  --text-muted: #8B8FA3;
  --purple: #6C5CE7;
  --green: #00E5A0;
  --yellow: #FDCB6E;
  --pink: #E84393;
  --radius: 16px;
  --radius-sm: 10px;
  --max-w: 1140px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'SN Pro', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }

/* ===================== HEADER ===================== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(11, 13, 20, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.logo__icon { width: 36px; height: 36px; }
.logo__text { font-weight: 700; font-size: 1.15rem; }
.header__nav { display: flex; align-items: center; gap: 2rem; }
.nav-link {
  color: var(--text-muted); text-decoration: none; font-size: 0.9rem;
  transition: color .2s;
}
.nav-link:hover { color: var(--text); }

/* Burger */
.burger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
.burger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }

@media (max-width: 768px) {
  .header__nav { display: none; }
  .burger { display: flex; }
  .header__nav.open {
    display: flex; flex-direction: column; position: absolute;
    top: 64px; left: 0; right: 0;
    background: rgba(11, 13, 20, 0.97); backdrop-filter: blur(16px);
    padding: 1.5rem; gap: 1.25rem;
    border-bottom: 1px solid var(--border);
  }
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0.65rem 1.4rem; border-radius: var(--radius-sm);
  font-family: inherit; font-weight: 600; font-size: 0.9rem;
  text-decoration: none; border: none; cursor: pointer;
  transition: transform .15s, box-shadow .25s, background .2s;
}
.btn:active { transform: scale(0.97); }
.btn--sm { padding: 0.5rem 1.1rem; font-size: 0.82rem; }
.btn--lg { padding: 0.8rem 1.8rem; font-size: 1rem; }
.btn--full { width: 100%; justify-content: center; }

.btn--primary {
  background: linear-gradient(135deg, var(--purple), #8B5CF6);
  color: #fff;
  box-shadow: 0 4px 20px rgba(108, 92, 231, 0.35);
}
.btn--primary:hover { box-shadow: 0 6px 28px rgba(108, 92, 231, 0.55); }

.btn--ghost { background: transparent; color: var(--text-muted); border: 1px solid var(--border); }
.btn--ghost:hover { background: rgba(108, 92, 231, 0.08); color: var(--text); }

.btn--outline { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn--outline:hover { background: rgba(108, 92, 231, 0.08); }

/* ===================== HERO ===================== */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 7rem 1.5rem 4rem; position: relative; overflow: hidden;
}
.hero__inner { position: relative; z-index: 2; }
.hero__badge {
  display: inline-block; padding: 0.4rem 1rem; border-radius: 999px;
  background: rgba(108, 92, 231, 0.12); border: 1px solid rgba(108, 92, 231, 0.25);
  font-size: 0.82rem; color: #b8b0ff; margin-bottom: 1.5rem;
  animation: fadeUp .6s ease;
}
.hero__title {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 800; line-height: 1.15; margin-bottom: 1.25rem;
  animation: fadeUp .6s ease .1s both;
}
.hero__lead {
  max-width: 560px; margin: 0 auto 2rem; font-size: 1.05rem;
  color: var(--text-muted); line-height: 1.7;
  animation: fadeUp .6s ease .2s both;
}
.hero__actions {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  animation: fadeUp .6s ease .3s both;
}
.hero__stats {
  display: flex; gap: 3rem; justify-content: center; margin-top: 3rem;
  animation: fadeUp .6s ease .4s both;
}
.stat { text-align: center; }
.stat__number { font-size: 2rem; font-weight: 800; color: #fff; }
.stat__suffix { font-size: 1.2rem; font-weight: 700; color: var(--green); }
.stat__label { display: block; font-size: 0.82rem; color: var(--text-muted); margin-top: 2px; }

.hero__glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(108, 92, 231, 0.12) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
  animation: pulse 4s ease-in-out infinite;
}

.gradient-text {
  background: linear-gradient(135deg, var(--purple), var(--green));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===================== PRODUCT PREVIEW ===================== */
.preview { padding: 2rem 1.5rem 5rem; }
.preview__card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  max-width: 900px; margin: 0 auto;
}
.preview__card > div:first-child { display: flex; gap: 6px; padding: 12px 16px; }
.preview__dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.preview__dot:nth-child(1) { background: #FF5F57; }
.preview__dot:nth-child(2) { background: #FFBD2E; }
.preview__dot:nth-child(3) { background: #28C840; }
.preview__screen { padding: 1rem 1.5rem 1.5rem; }

/* Mockup */
.mockup { display: flex; gap: 1.25rem; }
.mockup__sidebar {
  width: 50px; display: flex; flex-direction: column; align-items: center;
  gap: 10px; padding-top: 8px;
}
.mockup__avatar {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, var(--purple), var(--green));
}
.mockup__menu-item {
  width: 28px; height: 28px; border-radius: 6px;
  background: rgba(255,255,255,0.04);
}
.mockup__menu-item.active { background: rgba(108, 92, 231, 0.3); }
.mockup__main { flex: 1; min-width: 0; }
.mockup__greeting { font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; }
.mockup__ai-msg {
  display: flex; align-items: flex-start; gap: 8px;
  background: rgba(108, 92, 231, 0.1); border: 1px solid rgba(108, 92, 231, 0.2);
  border-radius: var(--radius-sm); padding: 10px 14px;
  font-size: 0.82rem; color: #b8b0ff; margin-bottom: 16px; line-height: 1.5;
}
.mockup__sparkle { font-size: 1.1rem; flex-shrink: 0; }
.mockup__tasks { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.mockup__task {
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,0.03); border-radius: 8px;
  padding: 8px 12px; font-size: 0.82rem; color: var(--text-muted);
}
.mockup__task.done { color: var(--green); }
.mockup__task.current { color: #fff; background: rgba(108, 92, 231, 0.15); border: 1px solid rgba(108, 92, 231, 0.25); }
.mockup__task.muted { opacity: 0.5; }
.mockup__tag {
  font-size: 0.7rem; padding: 2px 8px; border-radius: 999px;
  background: rgba(255,255,255,0.06);
}
.tag--done { background: rgba(0, 229, 160, 0.15); color: var(--green); }
.tag--now { background: rgba(108, 92, 231, 0.2); color: #b8b0ff; }
.tag--next { background: rgba(253, 203, 110, 0.15); color: var(--yellow); }
.tag--later { background: rgba(255,255,255,0.06); }
.tag--rest { background: rgba(0, 229, 160, 0.1); color: rgba(0,229,160,0.6); }

.mockup__chart {
  display: flex; align-items: flex-end; gap: 6px; height: 60px;
  padding-top: 8px; border-top: 1px solid rgba(255,255,255,0.05);
}
.mockup__bar {
  flex: 1; height: var(--h); border-radius: 4px 4px 0 0;
  background: rgba(108, 92, 231, 0.2);
  transition: height .4s ease;
}
.mockup__bar.active { background: linear-gradient(180deg, var(--green), var(--purple)); }

@media (max-width: 600px) {
  .mockup { flex-direction: column; }
  .mockup__sidebar { flex-direction: row; width: auto; }
}

/* ===================== SECTIONS COMMON ===================== */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-title { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800; margin-bottom: 0.75rem; }
.section-subtitle { font-size: 1rem; color: var(--text-muted); max-width: 500px; margin: 0 auto; }

/* ===================== FEATURES ===================== */
.features { padding: 5rem 1.5rem; }
.features__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem 1.5rem;
  transition: transform .2s, border-color .2s;
}
.feature-card:hover { transform: translateY(-4px); border-color: rgba(108, 92, 231, 0.35); }
.feature-card__icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(108, 92, 231, 0.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem; color: var(--accent, var(--purple));
}
.feature-card__icon svg { width: 24px; height: 24px; }
.feature-card__title { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.feature-card__text { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

/* ===================== AUDIENCE ===================== */
.audience { padding: 5rem 1.5rem; background: rgba(108, 92, 231, 0.03); }
.audience__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.audience-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem 1.5rem; text-align: center;
  transition: transform .2s;
}
.audience-card:hover { transform: translateY(-4px); }
.audience-card__emoji { font-size: 2.5rem; margin-bottom: 1rem; }
.audience-card__title { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.audience-card__text { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

/* ===================== HOW IT WORKS ===================== */
.how-it-works { padding: 5rem 1.5rem; }
.steps { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.step {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem 1.5rem;
  text-align: center; max-width: 260px; flex: 1; min-width: 200px;
}
.step__num {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--green));
  color: #fff; font-weight: 800; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.step__title { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.step__text { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }
.step__arrow { flex-shrink: 0; }
@media (max-width: 768px) { .step__arrow { transform: rotate(90deg); } }

/* ===================== PRICING ===================== */
.pricing { padding: 5rem 1.5rem; background: rgba(108, 92, 231, 0.03); }
.pricing__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem; align-items: start;
}
.price-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem 1.5rem;
  position: relative; transition: transform .2s;
}
.price-card:hover { transform: translateY(-4px); }
.price-card--pro {
  border-color: var(--purple);
  box-shadow: 0 0 40px rgba(108, 92, 231, 0.12);
}
.price-card__badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--purple), #8B5CF6);
  color: #fff; font-size: 0.75rem; font-weight: 700;
  padding: 4px 16px; border-radius: 999px; white-space: nowrap;
}
.price-card__header { text-align: center; margin-bottom: 1.5rem; }
.price-card__name { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.25rem; }
.price-card__price { font-size: 2.5rem; font-weight: 800; color: #fff; }
.price-card__period { font-size: 0.9rem; color: var(--text-muted); font-weight: 400; }
.price-card__features { list-style: none; margin-bottom: 1.5rem; }
.price-card__features li { padding: 0.4rem 0; font-size: 0.9rem; }
.price-card__features li.muted { color: var(--text-muted); }

/* ===================== TESTIMONIALS ===================== */
.testimonials { padding: 5rem 1.5rem; }
.testimonials__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}
.testimonial {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
}
.testimonial__stars { font-size: 0.85rem; margin-bottom: 0.75rem; }
.testimonial__text { font-size: 0.92rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1rem; font-style: italic; }
.testimonial__author { display: flex; align-items: center; gap: 10px; }
.testimonial__avatar { width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; }
.testimonial__name { font-size: 0.88rem; font-weight: 700; }
.testimonial__role { font-size: 0.78rem; color: var(--text-muted); }

/* ===================== CTA ===================== */
.cta { padding: 5rem 1.5rem; }
.cta__card {
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.15), rgba(0, 229, 160, 0.08));
  border: 1px solid rgba(108, 92, 231, 0.25);
  border-radius: 20px; padding: 3.5rem 2rem; text-align: center;
  max-width: 600px; margin: 0 auto;
}
.cta__title { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 800; margin-bottom: 0.75rem; }
.cta__text { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 1rem; }
.cta__form { display: flex; gap: 0.5rem; max-width: 420px; margin: 0 auto 1rem; }
.cta__input {
  flex: 1; padding: 0.8rem 1rem; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--bg-card);
  color: var(--text); font-family: inherit; font-size: 0.9rem;
  outline: none; transition: border-color .2s;
}
.cta__input:focus { border-color: var(--purple); }
.cta__hint { font-size: 0.78rem; color: var(--text-muted); }

@media (max-width: 500px) {
  .cta__form { flex-direction: column; }
}

/* ===================== FOOTER ===================== */
.footer { padding: 2.5rem 1.5rem; border-top: 1px solid var(--border); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer__copy { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.5rem; }
.footer__links { display: flex; gap: 1.5rem; }
.footer__links a { color: var(--text-muted); text-decoration: none; font-size: 0.85rem; transition: color .2s; }
.footer__links a:hover { color: var(--text); }

/* ===================== ANIMATIONS ===================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  50% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

/* Scroll reveal */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1; transform: translateY(0);
}
