/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0a0a0f;
  --bg-card: #12121a;
  --bg-elevated: #1a1a26;
  --text: #f0f0f5;
  --text-muted: #a0a0b0;
  --accent: #ff2d78;
  --accent-hover: #ff4d8d;
  --accent-soft: rgba(255, 45, 120, 0.15);
  --border: rgba(255, 255, 255, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --max-w: 1100px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #e91e63);
  color: #fff;
  box-shadow: 0 8px 24px rgba(255, 45, 120, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-hover), #f06292);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 45, 120, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--accent);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a:not(.btn) {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav a:not(.btn):hover {
  color: var(--text);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.2s;
}

/* ===== Hero ===== */
.hero {
  padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 45, 120, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.hero-sub {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 28px;
  max-width: 480px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.hero-stats li {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.hero-stats strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

/* Video */
.video-wrapper {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  aspect-ratio: 16 / 10;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: opacity 0.3s;
}

.video-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.play-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(255, 45, 120, 0.5);
  transition: transform 0.2s, background 0.2s;
}

.play-btn:hover {
  transform: scale(1.08);
  background: var(--accent-hover);
}

.play-btn svg {
  width: 28px;
  height: 28px;
  margin-left: 3px;
}

.video-overlay p {
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.video-note {
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

/* ===== Features ===== */
.features {
  padding: 80px 0;
  background: var(--bg-card);
}

.features h2,
.how-it-works h2,
.cta h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 800;
  text-align: center;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 48px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.2s, border-color 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 45, 120, 0.3);
}

.feature-icon {
  font-size: 1.75rem;
  margin-bottom: 14px;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.925rem;
  color: var(--text-muted);
}

/* ===== How It Works ===== */
.how-it-works {
  padding: 80px 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: step;
}

.step {
  text-align: center;
  padding: 0 12px;
}

.step-num {
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  border: 2px solid rgba(255, 45, 120, 0.3);
}

.step h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ===== cam Text ===== */
.cam-text {
  padding: 60px 0 20px;
}

.cam-text h2 {
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--text);
}

.cam-content {
  max-width: 720px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.cam-content p {
  margin-bottom: 16px;
}

.cam-content p:last-child {
  margin-bottom: 0;
}

.cam-content strong {
  color: var(--text);
  font-weight: 600;
}

.cam-full[hidden] {
  display: none;
}

.cam-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  background: none;
  border: none;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 0;
  transition: color 0.2s;
  font-family: inherit;
}

.cam-toggle:hover {
  color: var(--accent-hover);
}

.cam-toggle .toggle-icon {
  transition: transform 0.25s ease;
}

.cam-toggle[aria-expanded="true"] .toggle-icon {
  transform: rotate(180deg);
}

/* ===== CTA ===== */
.cta {
  padding: 40px 0 90px;
}

.cta-box {
  background: linear-gradient(145deg, var(--bg-elevated), var(--bg-card));
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 48px 40px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 45, 120, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-box h2 {
  margin-bottom: 12px;
}

.cta-box > p {
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 20px;
}

.cta-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.8;
}

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 32px;
  background: var(--bg-card);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 32px;
  align-items: start;
}

.footer-brand p {
  margin-top: 10px;
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 260px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-legal {
  text-align: right;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-legal p + p {
  margin-top: 4px;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand p {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-links {
    flex-direction: row;
    justify-content: center;
    gap: 24px;
  }

  .footer-legal {
    text-align: center;
  }
}

@media (max-width: 600px) {
  .nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg-card);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
  }

  .nav.open {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .cta-box {
    padding: 36px 24px;
  }

  .hero {
    padding: 40px 0 60px;
  }
}