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

:root {
  --bg: #060608;
  --bg-card: #0D0D12;
  --bg-card-hover: #13131A;
  --bg-elevated: #1A1A24;
  --border: #1E1E2A;
  --border-light: #2A2A3A;
  --text: #F1F1F4;
  --text-secondary: #8B8B9E;
  --text-muted: #5C5C72;
  --emerald: #10B981;
  --emerald-dark: #059669;
  --emerald-glow: rgba(16, 185, 129, 0.15);
  --gold: #F59E0B;
  --gold-light: #FCD34D;
  --gold-glow: rgba(245, 158, 11, 0.15);
  --red: #EF4444;
  --cyan: #06B6D4;
  --purple: #8B5CF6;
  --orange: #F97316;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

a {
  text-decoration: none;
  color: inherit;
}

/* ===== Typography ===== */
h1 { font-size: clamp(2.8rem, 5.5vw, 4.5rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.3; }
h4 { font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-secondary); }

/* ===== Morph Animation ===== */
.morph-word {
  position: relative;
  display: inline-block;
}
.morph-text {
  display: inline-block;
  position: relative;
}
.morph-text .char {
  display: inline-block;
  transition: opacity 0.3s ease, transform 0.3s ease, color 0.4s ease;
}
.morph-text .char.fade-out {
  opacity: 0;
  transform: translateY(-20px) scale(0.7);
}
.morph-text .char.fade-in {
  animation: charFadeIn 0.4s ease forwards;
}
@keyframes charFadeIn {
  0% { opacity: 0; transform: translateY(16px) scale(0.7); }
  60% { opacity: 1; transform: translateY(-3px) scale(1.05); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.morph-text .char.highlight {
  color: var(--emerald);
  text-shadow: 0 0 20px var(--emerald-glow);
  transition: color 0.4s ease, text-shadow 0.4s ease;
}

.text-emerald { color: var(--emerald); }
.text-gold { color: var(--gold); }
.text-red { color: var(--red); }
.text-cyan { color: var(--cyan); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  font-family: var(--font);
}

.btn-primary {
  background: var(--emerald);
  color: white;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}
.btn-primary:hover {
  background: var(--emerald-dark);
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.4);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-light);
}
.btn-ghost:hover {
  background: var(--bg-card);
  border-color: var(--text-muted);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
  border-radius: 14px;
}

.btn-full {
  width: 100%;
  justify-content: center;
  padding: 14px 24px;
}

/* ===== Section Utilities ===== */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-top: 16px;
}
.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* ===== Phone Frame ===== */
.phone-frame {
  position: relative;
  width: 280px;
  border-radius: 36px;
  overflow: hidden;
  background: #000;
  border: 3px solid #2A2A3A;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05),
    0 25px 50px -12px rgba(0,0,0,0.5),
    0 0 80px rgba(16, 185, 129, 0.08);
}
.phone-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: #000;
  border-radius: 0 0 18px 18px;
  z-index: 2;
}
.phone-screen {
  width: 100%;
  display: block;
}
.phone-frame-sm {
  width: 240px;
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all 0.3s ease;
}
.nav.scrolled {
  background: rgba(6, 6, 8, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}
.nav-logo-img {
  width: 48px;
  height: 48px;
  border-radius: 14px;
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color 0.2s;
  font-weight: 500;
}
.nav-links a:hover {
  color: var(--text);
}
.nav-cta {
  padding: 10px 20px;
  background: var(--emerald);
  color: white;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
}
.nav-cta:hover {
  background: var(--emerald-dark);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
}
.hero-bg-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--emerald-glow) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}
.morph-word-nav {
  position: relative;
  display: inline;
}
.morph-text-nav {
  display: inline;
}
.morph-text-nav .char {
  display: inline-block;
  transition: opacity 0.3s ease, transform 0.3s ease, color 0.4s ease;
}
.morph-text-nav .char.fade-out {
  opacity: 0;
  transform: translateY(-14px) scale(0.7);
}
.morph-text-nav .char.fade-in {
  animation: charFadeIn 0.4s ease forwards;
}
.morph-text-nav .char.highlight {
  color: var(--emerald);
  text-shadow: 0 0 20px var(--emerald-glow);
}

.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-weight: 500;
}
.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-top: 20px;
  max-width: 500px;
  line-height: 1.7;
}
.hero-subtitle em {
  color: var(--text);
  font-style: normal;
  font-weight: 500;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 36px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-stat-value {
  font-size: 1.3rem;
  font-weight: 700;
}
.hero-stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}
.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 36px;
}
.hero-phone-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-phone {
  position: relative;
  z-index: 1;
}
.hero-phone .phone-frame {
  width: 300px;
}
.hero-phone-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--emerald-glow) 0%, transparent 70%);
  pointer-events: none;
}

/* ===== Social Proof ===== */
.social-proof {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.proof-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}
.proof-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 500;
}

/* ===== Problem Statement ===== */
.problem {
  padding: 100px 0;
}
.problem-card {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 48px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.problem-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}
.problem-icon {
  margin-bottom: 24px;
}
.problem-card h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  line-height: 1.4;
}
.problem-card p {
  color: var(--text-secondary);
  margin-top: 16px;
  font-size: 1.05rem;
}

/* ===== Features ===== */
.features {
  padding: 100px 0;
}
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  margin-bottom: 120px;
}
.feature-row:last-child {
  margin-bottom: 0;
}
.feature-row-reverse {
  direction: rtl;
}
.feature-row-reverse > * {
  direction: ltr;
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-icon-emerald { background: var(--emerald-glow); }
.feature-icon-gold { background: var(--gold-glow); }
.feature-icon-red { background: rgba(239, 68, 68, 0.15); }
.feature-icon-cyan { background: rgba(6, 182, 212, 0.15); }
.feature-icon-orange { background: rgba(249, 115, 22, 0.15); }
.feature-icon-purple { background: rgba(139, 92, 246, 0.15); }

.feature-content h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
.feature-content > p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}
.feature-list {
  list-style: none;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.feature-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  flex-shrink: 0;
}
.feature-phone {
  display: flex;
  justify-content: center;
}

/* ===== How It Works ===== */
.how-it-works {
  padding: 100px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}
.step-card {
  flex: 1;
  max-width: 320px;
  text-align: center;
  padding: 40px 32px;
  position: relative;
}
.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 2px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--emerald);
  margin: 0 auto 20px;
}
.step-icon {
  margin-bottom: 20px;
}
.step-card h3 {
  margin-bottom: 10px;
}
.step-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.step-connector {
  display: flex;
  align-items: center;
  padding-top: 56px;
}

/* ===== Gallery ===== */
.gallery {
  padding: 100px 0;
}
.gallery-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin: 0 -24px;
  padding: 0 24px;
}
.gallery-scroll::-webkit-scrollbar {
  display: none;
}
.gallery-track {
  display: flex;
  gap: 32px;
  padding: 20px 0;
  width: max-content;
}
.gallery-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.gallery-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ===== Security ===== */
.security {
  padding: 100px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.security-card {
  padding: 36px 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s ease;
}
.security-card:hover {
  border-color: var(--emerald);
  box-shadow: 0 0 30px var(--emerald-glow);
}
.security-icon {
  margin-bottom: 20px;
}
.security-card h3 {
  margin-bottom: 10px;
}
.security-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== Pricing ===== */
.pricing {
  padding: 100px 0;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}
.pricing-card {
  padding: 40px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
}
.pricing-card-pro {
  border-color: var(--gold);
  box-shadow: 0 0 40px var(--gold-glow);
}
.pricing-card-pro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.pricing-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 24px;
}
.pricing-badge-pro {
  background: var(--gold-glow);
  border-color: var(--gold);
  color: var(--gold);
}
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}
.pricing-amount {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.pricing-period {
  color: var(--text-muted);
  font-size: 1rem;
}
.pricing-desc {
  color: var(--text-secondary);
  margin-bottom: 28px;
  font-size: 0.95rem;
}
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.pricing-features li svg {
  flex-shrink: 0;
}

/* ===== Download CTA ===== */
.download {
  padding: 100px 0;
}
.download-card {
  text-align: center;
  padding: 80px 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.download-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(ellipse, var(--emerald-glow) 0%, transparent 70%);
  pointer-events: none;
}
.download-icon {
  width: 100px;
  height: 100px;
  border-radius: 24px;
  margin: 0 auto 24px;
}
.download-card h2 {
  margin-bottom: 12px;
}
.download-card > p {
  color: var(--text-secondary);
  max-width: 400px;
  margin: 0 auto;
}
.download-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
}
.store-button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  transition: all 0.2s;
}
.store-button:hover {
  background: var(--bg-card-hover);
  border-color: var(--text-muted);
  transform: translateY(-2px);
}
.store-label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-align: left;
}
.store-name {
  display: block;
  font-weight: 600;
  font-size: 1rem;
}
.download-note {
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== Footer ===== */
.footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.footer-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 280px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col h4 {
  margin-bottom: 4px;
}
.footer-col a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--text);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
}
.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.85rem;
}
.footer-social {
  display: flex;
  gap: 16px;
}
.footer-social a {
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-social a:hover {
  color: var(--text);
}

/* ===== Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-stats {
    justify-content: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .feature-row,
  .feature-row-reverse {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
    direction: ltr;
  }
  .feature-row-reverse > * {
    direction: ltr;
  }
  .feature-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .feature-list {
    align-items: center;
  }
  .feature-row .feature-phone {
    order: -1;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(6, 6, 8, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-cta {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 120px 0 60px;
  }
  .hero-stats {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
    text-align: center;
  }
  .hero-stat-divider {
    width: 100%;
    height: 1px;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    justify-content: center;
  }

  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .problem-card {
    padding: 40px 24px;
  }

  .steps-grid {
    flex-direction: column;
    align-items: center;
  }
  .step-connector {
    transform: rotate(90deg);
    padding-top: 0;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .download-buttons {
    flex-direction: column;
    align-items: center;
  }
  .store-button {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .phone-frame {
    width: 240px;
  }
  .hero-phone .phone-frame {
    width: 260px;
  }
  .phone-frame-sm {
    width: 200px;
  }
  .gallery-track {
    gap: 20px;
  }
  .proof-grid {
    grid-template-columns: 1fr 1fr;
  }
  .feature-row {
    margin-bottom: 80px;
  }
}
