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

:root {
  --bg-primary: #0F172A;
  --bg-secondary: #1E293B;
  --bg-card: #1E293B;
  --border: #334155;
  --text-primary: #F1F5F9;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --blue: #3B82F6;
  --blue-light: #60A5FA;
  --blue-dark: #1D4ED8;
  --green: #4ADE80;
  --yellow: #FBBF24;
  --purple: #A855F7;
  --pink: #F472B6;
  --cyan: #22D3EE;
}

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

body {
  font-family: 'Heebo', 'Segoe UI', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ── Navigation ───────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}

.nav.scrolled {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(51, 65, 85, 0.5);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

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

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-cta {
  background: var(--blue);
  color: white !important;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: opacity 0.2s !important;
}

.nav-cta:hover {
  opacity: 0.9;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.mobile-menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 0 24px 16px;
  gap: 12px;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

/* ── Hero ─────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 120px 0 60px;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(59,130,246,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 70% 20%, rgba(168,85,247,0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--blue-light);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

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

.hero-sub {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: none;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-num {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* ── Buttons ──────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s, transform 0.1s, background 0.2s;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: white;
  box-shadow: 0 4px 14px rgba(59,130,246,0.25);
}

.btn-primary:hover { opacity: 0.9; }

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

.btn-ghost:hover {
  background: rgba(255,255,255,0.04);
  color: var(--text-primary);
}

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

/* ── Sections ─────────────────────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 36px;
}

.section-header h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-header p {
  font-size: 16px;
  color: var(--text-secondary);
}

/* ── Features ─────────────────────────────────────────────────────── */
.features {
  padding: 56px 0;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  transition: border-color 0.3s, transform 0.3s;
}

.feature-card:hover {
  border-color: rgba(59,130,246,0.3);
  transform: translateY(-2px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── Screenshots / Carousel ───────────────────────────────────────── */
.screenshots-layout {
  display: flex;
  align-items: stretch;
  gap: 60px;
}

.screenshots-layout .carousel {
  flex: 72%;
  min-width: 0;
}

.steps-sidebar {
  flex: 28%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
}

.steps-sidebar .step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.steps-sidebar .step-num {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: white;
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(59,130,246,0.3);
}

.steps-sidebar .step-content h3 {
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 6px;
}

.steps-sidebar .step-content p {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.screenshots {
  padding: 44px 0;
}

.carousel {
  position: relative;
  max-width: 525px;
  margin: 0 auto;
}

.carousel-track-container {
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-slide {
  min-width: 100%;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
}

.carousel-caption {
  padding: 16px 24px;
  background: var(--bg-secondary);
  text-align: center;
}

.carousel-caption h3 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.carousel-caption p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(30, 41, 59, 0.85);
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  backdrop-filter: blur(4px);
}

.carousel-arrow:hover {
  background: rgba(59, 130, 246, 0.3);
  border-color: var(--blue);
}

.carousel-prev { right: calc(100% + 12px); }
.carousel-next { left: calc(100% + 12px); }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  padding: 0;
}

.carousel-dot:hover {
  background: var(--text-secondary);
}

.carousel-dot.active {
  background: var(--blue);
  transform: scale(1.2);
}

/* ── Pricing ──────────────────────────────────────────────────────── */
.pricing {
  padding: 56px 0;
  background: var(--bg-secondary);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.price-card {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: border-color 0.3s, transform 0.3s;
}

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

.price-card.featured {
  border-color: var(--blue);
  box-shadow: 0 0 30px rgba(59,130,246,0.12);
}

.price-popular {
  position: absolute;
  top: -12px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 12px;
}

.price-badge {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 12px;
  margin-top: 8px;
}

.price-amount {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.price-period {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.price-features {
  list-style: none;
  width: 100%;
  margin-bottom: 24px;
  flex: 1;
}

.price-features li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(51,65,85,0.3);
}

.price-features li::before {
  content: '\2713';
  color: var(--green);
  margin-left: 8px;
  font-weight: 700;
}

.price-card .btn {
  width: 100%;
  justify-content: center;
}

/* ── Contact ──────────────────────────────────────────────────────── */
.contact {
  padding: 56px 0;
}

.contact-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.contact-card h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}

.contact-card p {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 28px;
  line-height: 1.7;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-light);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  direction: ltr;
  padding: 10px 20px;
  border-radius: 10px;
  background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.15);
  transition: background 0.2s;
}

.contact-item:hover {
  background: rgba(59,130,246,0.15);
}

/* ── Footer ───────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-secondary);
}

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
}

/* ── Animations ───────────────────────────────────────────────────── */
.animate-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger feature cards */
.feature-card:nth-child(2) { transition-delay: 0.1s; }
.feature-card:nth-child(3) { transition-delay: 0.2s; }
.feature-card:nth-child(4) { transition-delay: 0.15s; }
.feature-card:nth-child(5) { transition-delay: 0.25s; }
.feature-card:nth-child(6) { transition-delay: 0.35s; }

.steps-sidebar .step:nth-child(2) { transition-delay: 0.1s; }
.steps-sidebar .step:nth-child(3) { transition-delay: 0.2s; }

.price-card:nth-child(2) { transition-delay: 0.1s; }
.price-card:nth-child(3) { transition-delay: 0.2s; }

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: flex; }

  .hero { padding: 100px 0 48px; }
  .hero-sub { font-size: 16px; }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .screenshots-layout {
    flex-direction: column;
    gap: 28px;
  }

  .steps-sidebar {
    flex: none;
    width: 100%;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    gap: 16px;
  }

  .carousel-prev { right: auto; left: 8px; }
  .carousel-next { left: auto; right: 8px; }
  .carousel-arrow { top: auto; bottom: -48px; transform: none; }

  .contact-card {
    padding: 32px 20px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .hero-stats {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 28px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-lg { width: 100%; justify-content: center; }
}
