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

:root {
  --bg: #07090E;
  --surface: #0D1117;
  --card: #161B22;
  --border: rgba(0, 244, 255, 0.12);
  --magenta: #E8365D;
  --cyan: #00D4E6;
  --amber: #FBBF24;
  --green: #34D399;
  --purple: #8B5CF6;
  --text: #FFFFFF;
  --text-secondary: #9CA3AF;
  --text-muted: #6B7280;
  --glow: 0 0 40px rgba(232, 54, 93, 0.3);
}

html { scroll-behavior: smooth; }

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

/* ── Scrollbar ─────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--magenta); border-radius: 3px; }

/* ── Animated Background ───────────────────────────────── */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 244, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 244, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
  pointer-events: none;
}

.bg-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0.15;
  z-index: 0;
  pointer-events: none;
  animation: floatGlow 20s ease-in-out infinite;
}

.bg-glow--magenta {
  background: var(--magenta);
  top: -200px;
  right: -200px;
}

.bg-glow--cyan {
  background: var(--cyan);
  bottom: -200px;
  left: -200px;
  animation-delay: -10s;
}

@keyframes floatGlow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.1); }
  66% { transform: translate(-20px, 30px) scale(0.9); }
}

/* ── Navbar ────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(20px);
  background: rgba(7, 9, 14, 0.8);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 0.7rem 2rem;
  background: rgba(7, 9, 14, 0.95);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--magenta);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.nav-logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--magenta);
  transition: width 0.3s;
}

.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  padding: 0.5rem 1.25rem;
  background: var(--magenta);
  color: white !important;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 0 20px rgba(232, 54, 93, 0.3);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(232, 54, 93, 0.5);
}

.nav-cta::after { display: none !important; }

/* ── Hero ──────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
  position: relative;
  z-index: 1;
}

.hero-content { max-width: 700px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.4rem 1rem;
  background: rgba(232, 54, 93, 0.1);
  border: 1px solid rgba(232, 54, 93, 0.3);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--magenta);
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.2s forwards;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s 0.4s forwards;
}

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

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 2.5rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s 0.6s forwards;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s 0.8s forwards;
}

.btn {
  padding: 0.85rem 2rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: var(--magenta);
  color: white;
  box-shadow: var(--glow);
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 50px rgba(232, 54, 93, 0.5);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
}

.btn--outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-3px);
}

.hero-mockup {
  margin-top: 4rem;
  position: relative;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 0.8s 1s forwards;
}

.phone-frame {
  width: 280px;
  height: 560px;
  background: var(--card);
  border-radius: 36px;
  border: 3px solid var(--border);
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  box-shadow: 0 0 60px rgba(232, 54, 93, 0.15), 0 20px 60px rgba(0, 0, 0, 0.5);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #0D1117 0%, #1a0a12 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
}

.phone-fingerprint {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--magenta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 40px rgba(232, 54, 93, 0.4);
}

.phone-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(232, 54, 93, 0.2);
  animation: ringExpand 3s ease-out infinite;
}

.phone-ring:nth-child(1) { width: 160px; height: 160px; animation-delay: 0s; }
.phone-ring:nth-child(2) { width: 220px; height: 220px; animation-delay: 1s; }
.phone-ring:nth-child(3) { width: 280px; height: 280px; animation-delay: 2s; }

@keyframes ringExpand {
  0% { transform: scale(0.8); opacity: 0.6; }
  100% { transform: scale(1.3); opacity: 0; }
}

/* ── Features ──────────────────────────────────────────── */
.section {
  padding: 6rem 2rem;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: rgba(0, 212, 230, 0.1);
  border: 1px solid rgba(0, 212, 230, 0.3);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 550px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

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

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(232, 54, 93, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 1.25rem;
}

.feature-icon--magenta { background: rgba(232, 54, 93, 0.15); }
.feature-icon--cyan { background: rgba(0, 212, 230, 0.15); }
.feature-icon--amber { background: rgba(251, 191, 36, 0.15); }
.feature-icon--green { background: rgba(52, 211, 153, 0.15); }
.feature-icon--purple { background: rgba(139, 92, 246, 0.15); }

.feature-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ── Modes Showcase ────────────────────────────────────── */
.modes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.mode-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: all 0.4s;
}

.mode-card:hover {
  transform: translateY(-6px);
  border-color: rgba(232, 54, 93, 0.3);
}

.mode-emoji { font-size: 3rem; margin-bottom: 1rem; }

.mode-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.mode-desc {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* ── Stats ─────────────────────────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--magenta), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

/* ── CTA ───────────────────────────────────────────────── */
.cta-section {
  text-align: center;
  padding: 6rem 2rem;
  position: relative;
  z-index: 1;
}

.cta-box {
  max-width: 700px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(232, 54, 93, 0.1), rgba(0, 212, 230, 0.1));
  border: 1px solid rgba(232, 54, 93, 0.2);
  border-radius: 24px;
  padding: 4rem 2rem;
}

.cta-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  margin-bottom: 1rem;
}

.cta-subtitle {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

/* ── Footer ────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 3rem 2rem;
  position: relative;
  z-index: 1;
}

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

.footer-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-icon {
  width: 32px;
  height: 32px;
  background: var(--magenta);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.footer-name {
  font-weight: 700;
  font-size: 1rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color 0.3s;
}

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

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

/* ── Animations ────────────────────────────────────────── */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

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

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Mobile Menu ───────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 110;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s;
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(7, 9, 14, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.3s;
  }

  .nav-links.open { transform: translateX(0); }

  .nav-links a { font-size: 1.2rem; }

  .hero { padding: 6rem 1.5rem 3rem; }
  .section { padding: 4rem 1.5rem; }
  .cta-box { padding: 3rem 1.5rem; }

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