:root {
  --bg: #080810;
  --surface: #0F0F1E;
  --surface-2: #161628;
  --border: #1E1E3A;
  --accent: #4DFFB4;
  --accent-dim: rgba(77, 255, 180, 0.1);
  --accent-glow: rgba(77, 255, 180, 0.25);
  --text: #EEEAF5;
  --muted: #6B6880;
  --muted-2: #3A3850;
}

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

html { scroll-behavior: smooth; }

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

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
  opacity: 0.4;
}

/* ---- HEADER ---- */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(20px);
  background: rgba(8, 8, 16, 0.8);
  border-bottom: 1px solid var(--border);
  transition: border-color 0.3s;
}

.logo {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}
.logo span { color: var(--accent); }

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
  margin-left: 2rem;
}
nav a:hover { color: var(--text); }

.nav-cta {
  background: var(--accent) !important;
  color: var(--bg) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-weight: 700 !important;
}
.nav-cta:hover { opacity: 0.85; }

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: 8rem 4rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-dim);
  border: 1px solid rgba(77, 255, 180, 0.25);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 0.875rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s ease 0.1s both;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s ease 0.2s both;
}

.hero-title .accent {
  color: var(--accent);
  position: relative;
}

.hero-title .accent::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  opacity: 0.35;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 460px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
  animation: fadeUp 0.8s ease 0.3s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: fadeUp 0.8s ease 0.4s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: var(--bg);
  font-family: 'Oxanium', sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 30px var(--accent-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 40px var(--accent-glow);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.875rem 1rem;
  transition: color 0.2s;
}
.btn-secondary:hover { color: var(--text); }

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  animation: fadeUp 0.8s ease 0.5s both;
}

.stat { display: flex; flex-direction: column; }
.stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 0.8125rem;
  color: var(--muted);
  font-weight: 500;
}

/* ---- PHONE MOCKUP ---- */
.hero-mockup {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeUp 0.8s ease 0.3s both;
  position: relative;
}

.phone-glow {
  position: absolute;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(77, 255, 180, 0.14) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.phone {
  width: 260px;
  height: 520px;
  background: var(--surface-2);
  border-radius: 40px;
  border: 2px solid var(--border);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 40px 80px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,255,255,0.05),
    inset 0 1px 0 rgba(255,255,255,0.08);
}

.phone::before {
  content: '';
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 6px;
  background: var(--border);
  border-radius: 10px;
  z-index: 10;
}

.phone-screen {
  position: absolute;
  inset: 28px 8px 8px;
  background: var(--bg);
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-statusbar {
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  font-size: 0.5625rem;
  font-weight: 700;
  color: var(--muted);
}

.phone-topbar {
  padding: 8px 14px 12px;
  border-bottom: 1px solid var(--border);
}
.phone-topbar h3 {
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.phone-topbar p {
  font-size: 0.625rem;
  color: var(--muted);
  margin-top: 1px;
}

.clip-list {
  flex: 1;
  overflow: hidden;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.clip-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 10px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
  opacity: 0;
  transform: translateX(20px);
  animation: slideIn 0.4s ease forwards;
}

.clip-item:nth-child(1) { animation-delay: 1.0s; }
.clip-item:nth-child(2) { animation-delay: 1.3s; }
.clip-item:nth-child(3) { animation-delay: 1.6s; }
.clip-item:nth-child(4) { animation-delay: 1.9s; }
.clip-item:nth-child(5) { animation-delay: 2.2s; }

.clip-item.active {
  border-color: rgba(77, 255, 180, 0.3);
  background: rgba(77, 255, 180, 0.05);
}

.clip-text {
  font-family: 'Geist Mono', monospace;
  font-size: 0.5625rem;
  color: var(--text);
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  flex: 1;
}

.clip-actions {
  display: flex;
  gap: 3px;
  flex-shrink: 0;
}

.clip-btn {
  width: 18px; height: 18px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5rem;
}
.clip-btn.copy { background: var(--accent-dim); color: var(--accent); }
.clip-btn.del { background: rgba(255, 100, 100, 0.1); color: rgba(255, 100, 100, 0.7); }

/* ---- SHARED SECTION STYLES ---- */
section { padding: 6rem 2rem; }

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

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--muted);
  font-size: 1rem;
  max-width: 520px;
  line-height: 1.7;
}

/* ---- FEATURES ---- */
.features-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.features-header { margin-bottom: 4rem; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.feature-card {
  background: var(--surface);
  padding: 2rem;
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 44px 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.875rem;
  align-items: center;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover { background: var(--surface-2); }
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 44px; height: 44px;
  background: var(--accent-dim);
  border: 1px solid rgba(77, 255, 180, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  grid-column: 1;
  grid-row: 1;
}

.feature-title {
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  grid-column: 2;
  grid-row: 1;
}

.feature-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
  grid-column: 1 / -1;
  grid-row: 2;
  margin-top: 0.875rem;
}

/* ---- IMPROVEMENTS ---- */
.improvements-section { background: var(--bg); }

.improvements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.improvement-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.875rem;
  align-items: center;
}

.improvement-card:hover {
  border-color: rgba(77, 255, 180, 0.3);
  transform: translateY(-4px);
}

.improvement-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.improvement-card:hover::after { opacity: 1; }

.improvement-icon {
  font-size: 2rem;
  grid-column: 1;
  grid-row: 1;
}
.improvement-title {
  font-size: 1rem;
  font-weight: 700;
  grid-column: 2;
  grid-row: 1;
}
.improvement-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
  grid-column: 1 / -1;
  grid-row: 2;
  margin-top: 0.875rem;
}

/* ---- PRIVACY STRIP ---- */
.privacy-strip {
  background: var(--accent-dim);
  border-top: 1px solid rgba(77, 255, 180, 0.2);
  border-bottom: 1px solid rgba(77, 255, 180, 0.2);
  padding: 1.5rem 2rem;
}

.privacy-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.privacy-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
}

/* ---- CTA SECTION ---- */
.cta-section {
  background: var(--bg);
  text-align: center;
  padding: 8rem 2rem;
  position: relative;
  overflow: hidden;
}

.cta-bg-glow {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(77, 255, 180, 0.06) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  position: relative;
}

.cta-subtitle {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.btn-play {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--accent);
  color: var(--bg);
  font-family: 'Oxanium', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 1rem 2.25rem;
  border-radius: 10px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 40px var(--accent-glow);
}
.btn-play:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 50px rgba(77, 255, 180, 0.35);
}

.btn-play-icon {
  width: 28px; height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-play-icon svg { width: 24px; height: 24px; }

.cta-note {
  margin-top: 1.25rem;
  font-size: 0.8125rem;
  color: var(--muted);
}

/* ---- FOOTER ---- */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

footer .logo { font-size: 1rem; }

.footer-copy {
  font-size: 0.8125rem;
  color: var(--muted);
}

.footer-link {
  font-size: 0.8125rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-link:hover { color: var(--accent); }

/* ---- HAMBURGER ---- */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}

/* ---- ANIMATIONS ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
  to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 7rem 2rem 4rem;
    gap: 3rem;
    text-align: center;
  }

  .hero-subtitle { margin: 0 auto 2.5rem; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }

  .hero-mockup { order: -1; }

  .phone { width: 220px; height: 440px; }

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

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

@media (max-width: 640px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
  .privacy-inner { gap: 1.25rem; }

  .footer-inner { justify-content: center; text-align: center; }

  .hero-actions { flex-wrap: nowrap; }
  .btn-primary { font-size: 0.8125rem; padding: 0.75rem 1.1rem; }
  .btn-secondary { font-size: 0.8125rem; padding: 0.75rem 0.5rem; }

  .nav-toggle { display: block; }

  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(8, 8, 16, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 2rem 1rem;
    flex-direction: column;
  }
  nav.open { display: flex; }
  nav a {
    margin-left: 0;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
  }
  nav a:last-child { border-bottom: none; }

  .btn-play {
    font-size: 0.875rem;
    padding: 0.875rem 1.5rem;
  }
  .btn-play-icon { width: 22px; height: 22px; }
  .btn-play-icon svg { width: 18px; height: 18px; }
}
