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

:root {
  --purple: #6f2da8;
  --purple-dark: #54207f;
  --purple-light: #8f4fd0;
  --brand-warm: #d97706;
  --brand-warm-soft: rgba(217, 119, 6, 0.1);
  --purple-pale: #efe8fb;
  --purple-soft: rgba(124, 34, 212, 0.08);
  --purple-ring: rgba(124, 34, 212, 0.14);
  --text-dark: #1a1a2e;
  --text-muted: #6b6b7b;
  --white: #ffffff;
  --bg: #fbfaf7;
  --card-bg: rgba(255, 255, 255, 0.96);
  --border: #d8dde8;
  --border-strong: #aeb6c2;
  --radius: 18px;
  --radius-lg: 24px;
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  --transition-fast: 100ms ease;
  --transition-base: 180ms ease;
  --max-w: 1120px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(111, 45, 168, 0.1), transparent 24rem),
    radial-gradient(circle at top right, rgba(217, 119, 6, 0.12), transparent 22rem),
    linear-gradient(180deg, #fffdfa 0%, var(--bg) 28%, #f4f6fb 100%);
  color: var(--text-dark);
  overflow-x: hidden;
}

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

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 18px 32px;
  background: rgba(255, 255, 255, 0.88);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(231, 233, 241, 0.9);
  backdrop-filter: blur(14px);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  text-decoration: none;
}

.nav-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(111, 45, 168, 0.16);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  padding: 10px 20px;
  border-radius: 999px;
  transition: background var(--transition-base), transform var(--transition-fast), border-color var(--transition-base), box-shadow var(--transition-base);
  text-decoration: none;
}

.btn-ghost:hover {
  background: #fff;
  border-color: var(--border-strong);
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: white;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 11px 24px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, filter 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(111, 45, 168, 0.16);
}

.btn-primary:hover {
  filter: brightness(1.03);
  transform: translateY(-1px);
}

.hero {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 72px 32px 56px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  align-items: center;
  gap: 48px;
}

.hero-left {
  animation: fadeUp 0.6s ease both;
}

.hero-badge {
  display: inline-block;
  background: var(--purple-pale);
  color: var(--purple);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: 0;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.hero-title span { color: var(--purple); }

.hero-desc {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 34rem;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  padding: 11px 20px;
  border-radius: 999px;
  text-decoration: none;
  transition: background var(--transition-base), color var(--transition-base), transform var(--transition-fast), border-color var(--transition-base), box-shadow var(--transition-base);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-outline:hover {
  color: var(--purple);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
}

.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeUp 0.6s 0.15s ease both;
}

.hero-image-wrap::before {
  content: '';
  position: absolute;
  inset: 5% 6% auto auto;
  width: 88%;
  height: 88%;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(124, 34, 212, 0.14), rgba(255,255,255,0));
  z-index: 0;
}

.hero-img-placeholder {
  width: min(100%, 440px);
  height: auto;
  border-radius: 28px;
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 24px rgba(111, 45, 168, 0.16), 0 4px 8px rgba(0, 0, 0, 0.05);
}

.hero-price-badge {
  position: absolute;
  right: -10px;
  bottom: 22px;
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(231, 233, 241, 0.95);
  border-radius: 18px;
  padding: 14px 18px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
}

.hero-price-badge > div:first-child {
  width: 41px;
  height: 41px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.hero-price-badge > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: max-content;
}

.badge-icon {
  width: 41px;
  height: 41px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

.hero-price-badge .badge-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.1;
  white-space: nowrap;
}

.hero-price-badge .badge-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
}

.stats-section,
.products-section,
.cta-section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

.stats-section {
  padding-top: 8px;
  padding-bottom: 64px;
}

.stats-card {
  background: rgba(255,255,255,0.96);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  gap: 20px;
  animation: fadeUp 0.6s 0.3s ease both;
}

.stat-item {
  text-align: center;
  flex: 1;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--purple);
  line-height: 1;
  margin-bottom: 6px;
}

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

.stat-divider {
  width: 1px;
  background: #e8e0f5;
}

.products-section {
  padding-top: 56px;
  padding-bottom: 64px;
  text-align: center;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
  letter-spacing: 0;
}

.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 48px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  text-align: left;
}

.product-card {
  background: rgba(255,255,255,0.96);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(124,34,212,0.14);
  border-color: rgba(124, 34, 212, 0.18);
}

.product-img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #fbf8ff 0%, #f7f9fd 100%);
}

.product-img-placeholder {
  width: 100%;
  max-width: 269px;
  height: auto;
  aspect-ratio: 269 / 270;
}

.product-info { padding: 20px; }

.product-name {
  font-weight: 700;
  font-size: 1.08rem;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.product-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}

.product-price {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--purple);
}

.how-section {
  position: relative;
  background: linear-gradient(180deg, #fbf6ff 0%, #f7f4ee 100%);
  padding: 84px 32px;
  text-align: center;
  overflow: hidden;
}

.how-section::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(124, 34, 212, 0.08);
}

.how-section::after {
  content: '';
  position: absolute;
  bottom: -90px;
  left: -40px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(191, 219, 254, 0.18);
}

.how-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.step-card {
  background: rgba(255,255,255,0.96);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 34, 212, 0.16);
  box-shadow: 0 18px 36px rgba(124,34,212,0.12);
}

.step-icon {
  width: 56px;
  height: 56px;
  display: block;
  margin: 0 auto 16px;
}

.step-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.step-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.cta-section {
  margin: 0 auto;
  padding-bottom: 80px;
}

.cta-banner {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-light) 100%);
  border-radius: 28px;
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(111, 45, 168, 0.16), 0 4px 8px rgba(0, 0, 0, 0.05);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -40px;
  width: 280px;
  height: 280px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: white;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
  letter-spacing: 0;
}

.cta-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.84);
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.btn-white {
  background: white;
  color: var(--purple);
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  nav {
    padding: 16px 20px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 48px 20px 40px;
    gap: 36px;
  }

  .hero-image-wrap {
    order: -1;
  }

  .hero-price-badge {
    right: 0;
    bottom: 10px;
  }

  .stats-section,
  .products-section,
  .cta-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .stats-card {
    flex-wrap: wrap;
  }

  .stat-divider {
    display: none;
  }

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

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

  .cta-banner {
    padding: 48px 28px;
  }
}

@media (max-width: 560px) {
  nav {
    padding: 14px 16px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .nav-logo,
  .nav-actions {
    width: 100%;
  }

  .nav-actions a {
    flex: 1 1 140px;
    text-align: center;
  }

  .hero,
  .products-section,
  .stats-section,
  .how-section,
  .cta-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero {
    padding-top: 32px;
    padding-bottom: 28px;
  }

  .hero-ctas a,
  .btn-white {
    width: 100%;
  }

  .hero-price-badge {
    position: absolute;
    right: 10px;
    bottom: 16px;
    margin-top: 0;
    width: auto;
    max-width: calc(100% - 20px);
    justify-content: flex-start;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 16px;
  }

  .hero-price-badge > div:first-child {
    display: none;
  }

  .badge-icon {
    width: 0;
    height: 0;
  }

  .hero-price-badge .badge-label {
    font-size: 0.64rem;
    line-height: 1.15;
  }

  .hero-price-badge .badge-price {
    font-size: 1rem;
  }

  .stats-card {
    padding: 24px 18px;
  }

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

  .how-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .cta-banner {
    padding: 40px 20px;
  }
}
