/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 100;
  transition: all var(--transition-base);
}

.nav.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 1px 20px var(--card-shadow);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-xl);
  font-weight: 800;
}

.nav-logo svg {
  width: 36px;
  height: 36px;
}

.nav-logo span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-toggle-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.nav-toggle-btn:hover {
  background: var(--surface);
  color: var(--text-primary);
}

/* Mobile menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  padding: 4px 0;
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  padding: var(--space-xl);
  z-index: 99;
  flex-direction: column;
  gap: var(--space-lg);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-size: var(--text-xl);
  font-weight: 600;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border);
}

@media (max-width: 767px) {
  .nav-links, .nav .btn-primary { display: none; }
  .hamburger { display: flex; }
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content .badge {
  margin-bottom: var(--space-lg);
}

.hero-content h1 {
  margin-bottom: var(--space-lg);
}

.hero-content h1 .gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: var(--text-lg);
  margin-bottom: var(--space-xl);
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-phone {
  width: 300px;
  height: auto;
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.15));
}

.phone-frame {
  width: 220px;
  background: #1a1a1a;
  border-radius: 32px;
  padding: 8px;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.1),
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 80px rgba(155, 89, 182, 0.15);
}

.hero-phone-screen {
  width: 100%;
  border-radius: 24px;
  display: block;
}

/* Hero blobs */
.hero-blob-1 {
  width: 400px;
  height: 400px;
  background: var(--primary);
  top: 10%;
  right: -5%;
}

.hero-blob-2 {
  width: 300px;
  height: 300px;
  background: var(--secondary);
  bottom: 10%;
  left: -5%;
  animation-delay: -7s;
}

.hero-blob-3 {
  width: 250px;
  height: 250px;
  background: var(--voice-cyan);
  top: 50%;
  left: 40%;
  animation-delay: -14s;
}

@media (max-width: 767px) {
  .hero { min-height: auto; padding: calc(var(--nav-height) + 40px) 0 60px; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-content .badge { margin: 0 auto var(--space-lg); }
  .hero-subtitle { margin: 0 auto var(--space-xl); }
  .hero-buttons { justify-content: center; }
  .hero-visual { order: -1; margin-bottom: var(--space-xl); }
  .hero-phone { width: 220px; }
  .phone-frame { width: 180px; }
}

/* ===== SOCIAL PROOF ===== */
.social-proof {
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  text-align: center;
}

.proof-item-number {
  font-size: var(--text-2xl);
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.proof-item-label {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-top: 4px;
}

@media (max-width: 767px) {
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== FEATURES ===== */
.feature-card {
  padding: var(--space-xl);
}

.feature-card .icon-circle {
  margin-bottom: var(--space-md);
}

.feature-card h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-sm);
}

.feature-card p {
  font-size: var(--text-sm);
}

.feature-pink .icon-circle { background: rgba(255, 107, 157, 0.12); color: var(--primary); }
.feature-cyan .icon-circle { background: rgba(0, 212, 255, 0.12); color: var(--voice-cyan); }
.feature-purple .icon-circle { background: rgba(155, 89, 182, 0.12); color: var(--secondary); }
.feature-gold .icon-circle { background: rgba(255, 215, 0, 0.12); color: var(--accent-gold-dark); }
.feature-green .icon-circle { background: rgba(40, 167, 69, 0.12); color: var(--success); }

/* ===== SCREENSHOTS ===== */
.screenshots-scroll {
  display: flex;
  gap: var(--space-lg);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: var(--space-md) 0;
  scrollbar-width: none;
}

.screenshots-scroll::-webkit-scrollbar {
  display: none;
}

.screenshot-item {
  flex: 0 0 260px;
  scroll-snap-align: center;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 10px 40px var(--card-shadow);
  background: var(--surface-solid);
}

.screenshot-item img {
  width: 100%;
  height: auto;
}

/* ===== HOW IT WORKS ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.step-card {
  text-align: center;
  padding: var(--space-xl);
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  font-weight: 800;
  margin: 0 auto var(--space-md);
}

.step-card h3 {
  margin-bottom: var(--space-sm);
}

.step-connector {
  display: none;
}

@media (min-width: 768px) {
  .step-connector {
    display: block;
    position: absolute;
    top: 24px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: var(--border);
  }

  .step-card {
    position: relative;
  }

  .step-card:last-child .step-connector {
    display: none;
  }
}

@media (max-width: 767px) {
  .steps-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
}

/* ===== PRICING ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  align-items: start;
}

.pricing-card {
  padding: var(--space-xl);
  text-align: center;
  position: relative;
}

.pricing-card.popular {
  border: 2px solid var(--primary);
  transform: scale(1.05);
}

.pricing-card.popular::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  background: var(--gradient-primary);
  z-index: -1;
  opacity: 0.15;
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: #fff;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-tier {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.pricing-price {
  font-size: var(--text-4xl);
  font-weight: 800;
  margin-bottom: 4px;
}

.pricing-price small {
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--text-secondary);
}

.pricing-trial {
  font-size: var(--text-sm);
  color: var(--primary);
  font-weight: 500;
  margin-bottom: var(--space-lg);
}

.pricing-features {
  text-align: left;
  margin-bottom: var(--space-lg);
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: 6px 0;
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.pricing-features li::before {
  content: '\2713';
  color: var(--success);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-card.premium-card {
  overflow: hidden;
}

@media (max-width: 1023px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .pricing-card.popular { transform: none; }
}

/* ===== TESTIMONIALS ===== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.testimonial-card {
  padding: var(--space-xl);
}

.testimonial-stars {
  color: var(--accent-gold);
  margin-bottom: var(--space-md);
  font-size: var(--text-lg);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: var(--space-lg);
  font-size: var(--text-sm);
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
}

.testimonial-name {
  font-weight: 600;
  font-size: var(--text-sm);
}

.testimonial-meta {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
}

@media (max-width: 767px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}

/* ===== CTA ===== */
.cta-section {
  background: var(--gradient-primary);
  padding: var(--space-4xl) 0;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-section h2 {
  color: #fff;
  margin-bottom: var(--space-md);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 500px;
  margin: 0 auto var(--space-xl);
  font-size: var(--text-lg);
}

.cta-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

.cta-section .store-btn {
  background: #fff;
  color: #000;
}

.cta-section .store-btn:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-secondary);
  padding: var(--space-3xl) 0 var(--space-xl);
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand p {
  font-size: var(--text-sm);
  margin-top: var(--space-md);
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--primary);
  color: #fff;
}

.footer-col h4 {
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-lg);
  color: var(--text-primary);
}

.footer-col a {
  display: block;
  padding: 4px 0;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-bottom p {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-lg);
}

.footer-bottom-links a {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
}

.footer-bottom-links a:hover {
  color: var(--primary);
}

@media (max-width: 767px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
