/* ===== GLOBAL RESET & VARIABLES ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #6c63ff;
  --primary-dark: #4c46cc;
  --secondary: #ff6b6b;
  --accent: #ffd93d;
  --green: #4ecb71;
  --wa-green: #25D366;
  --bg-dark: #0d0d1a;
  --bg-card: #13132a;
  --bg-card2: #1a1a35;
  --text-primary: #f0f0ff;
  --text-secondary: #8888aa;
  --border: rgba(108, 99, 255, 0.2);
  --glow: rgba(108, 99, 255, 0.4);
  --pro-gold: #ffd700;
  --pro-gradient: linear-gradient(135deg, #ffd700, #ff8c00);
  --gradient: linear-gradient(135deg, #6c63ff, #ff6b6b);
  --glass: rgba(255,255,255,0.05);
}

html { scroll-behavior: smooth; }

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

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s ease;
}
.navbar.scrolled {
  background: rgba(13, 13, 26, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 30px rgba(108,99,255,0.1);
  padding: 12px 0;
}
.nav-container {
  max-width: 1200px; margin: 0 auto;
  padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem; font-weight: 700;
  text-decoration: none; color: var(--text-primary);
}
.logo-icon { font-size: 1.6rem; }
.logo-pro { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { color: var(--text-secondary); text-decoration: none; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text-primary); }
.btn-nav {
  background: var(--primary); color: white !important;
  padding: 10px 24px; border-radius: 50px;
  transition: all 0.3s !important;
  font-weight: 600 !important;
}
.btn-nav:hover { background: var(--primary-dark) !important; transform: translateY(-2px); box-shadow: 0 8px 25px var(--glow); }
.hamburger { display: none; background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: space-between;
  padding: 120px 80px 80px;
  position: relative; overflow: hidden;
  max-width: 1400px; margin: 0 auto;
  gap: 60px;
}
.hero-bg-orbs { position: fixed; inset: 0; pointer-events: none; z-index: -1; }
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.15;
  animation: float 8s ease-in-out infinite;
}
.orb1 { width: 600px; height: 600px; background: var(--primary); top: -200px; left: -200px; }
.orb2 { width: 400px; height: 400px; background: var(--secondary); top: 50%; right: -100px; animation-delay: -3s; }
.orb3 { width: 300px; height: 300px; background: var(--accent); bottom: 0; left: 40%; animation-delay: -6s; }
@keyframes float { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-30px) scale(1.05); } }

.hero-content { flex: 1; max-width: 600px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(108,99,255,0.15); border: 1px solid rgba(108,99,255,0.3);
  padding: 8px 20px; border-radius: 50px;
  font-size: 0.85rem; font-weight: 600; color: var(--primary);
  margin-bottom: 24px;
}
.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800; line-height: 1.15;
  margin-bottom: 20px;
}
.gradient-text { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-subtitle { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 36px; line-height: 1.7; }

.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white; padding: 16px 32px; border-radius: 50px;
  font-size: 1rem; font-weight: 700; text-decoration: none;
  transition: all 0.3s; box-shadow: 0 8px 30px var(--glow);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px var(--glow); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--glass); color: white; padding: 16px 32px; border-radius: 50px;
  font-size: 1rem; font-weight: 600; text-decoration: none;
  border: 1px solid var(--border); transition: all 0.3s; backdrop-filter: blur(10px);
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); transform: translateY(-3px); }
.pulse { animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 8px 30px var(--glow); } 50% { box-shadow: 0 8px 50px rgba(108,99,255,0.7); } }

.hero-stats { display: flex; align-items: center; gap: 32px; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-size: 2rem; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { font-size: 0.8rem; color: var(--text-secondary); }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* ===== MOCKUP ===== */
.hero-mockup { flex: 1; max-width: 520px; }
.mockup-window {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 60px rgba(108,99,255,0.1);
  animation: float 6s ease-in-out infinite;
}
.mockup-bar {
  background: var(--bg-card);
  padding: 14px 20px;
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--border);
}
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }
.mockup-title { margin-left: auto; margin-right: auto; font-size: 0.85rem; color: var(--text-secondary); font-weight: 600; }
.mockup-body { display: flex; height: 320px; }
.mockup-sidebar {
  width: 120px; background: var(--bg-card); border-right: 1px solid var(--border);
  padding: 12px 8px; display: flex; flex-direction: column; gap: 6px;
}
.mock-btn {
  padding: 8px 10px; border-radius: 8px; font-size: 0.7rem; font-weight: 500;
  color: var(--text-secondary); cursor: pointer; transition: all 0.2s;
  display: flex; align-items: center; gap: 4px;
}
.mock-btn.active { background: rgba(108,99,255,0.2); color: var(--primary); }
.mock-btn.lock { color: rgba(255,255,255,0.3); }
.pro-badge {
  font-size: 0.6rem; background: var(--pro-gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  font-weight: 800; margin-left: auto;
}
.mockup-reader { flex: 1; padding: 12px; }
.mock-toolbar {
  display: flex; gap: 8px; margin-bottom: 12px;
  padding-bottom: 10px; border-bottom: 1px solid var(--border);
}
.mock-tool {
  padding: 6px 10px; background: rgba(108,99,255,0.1); border-radius: 6px;
  font-size: 0.75rem; cursor: pointer; transition: all 0.2s;
}
.mock-tool:hover { background: rgba(108,99,255,0.2); }
.lock-tool { opacity: 0.4; position: relative; }
.pro-tag { font-size: 0.55rem; color: var(--pro-gold); font-weight: 800; }
.mock-page { padding: 8px; }
.mock-line {
  height: 8px; background: rgba(255,255,255,0.08);
  border-radius: 4px; margin-bottom: 8px;
}
.w80 { width: 80%; } .w100 { width: 100%; } .w90 { width: 90%; }
.w70 { width: 70%; } .w85 { width: 85%; } .w60 { width: 60%; }
.voice-wave {
  display: flex; align-items: center; gap: 3px;
  margin-top: 16px; padding: 8px 12px;
  background: rgba(108,99,255,0.1); border-radius: 20px; width: fit-content;
}
.voice-wave span {
  width: 3px; background: var(--primary); border-radius: 2px;
  animation: wave 1s ease-in-out infinite;
}
.voice-wave span:nth-child(1) { height: 8px; animation-delay: 0s; }
.voice-wave span:nth-child(2) { height: 16px; animation-delay: 0.1s; }
.voice-wave span:nth-child(3) { height: 24px; animation-delay: 0.2s; }
.voice-wave span:nth-child(4) { height: 16px; animation-delay: 0.3s; }
.voice-wave span:nth-child(5) { height: 8px; animation-delay: 0.4s; }
@keyframes wave { 0%,100% { transform: scaleY(1); } 50% { transform: scaleY(0.3); } }

/* ===== SECTIONS ===== */
.features, .formats-section, .pricing { padding: 100px 40px; max-width: 1300px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-badge {
  display: inline-block; padding: 8px 20px; border-radius: 50px;
  background: rgba(108,99,255,0.15); color: var(--primary);
  font-size: 0.85rem; font-weight: 700; margin-bottom: 16px;
}
.section-header h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 12px;
}
.section-header p { color: var(--text-secondary); font-size: 1.1rem; }

/* ===== FEATURES GRID ===== */
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 20px; padding: 28px;
  transition: all 0.3s; position: relative; overflow: hidden;
  opacity: 0; transform: translateY(20px);
}
.feature-card.animate-in { opacity: 1; transform: translateY(0); }
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(108,99,255,0.15); border-color: rgba(108,99,255,0.4); }
.pro-card { border-color: rgba(255,215,0,0.2); }
.pro-card:hover { box-shadow: 0 20px 60px rgba(255,215,0,0.1); border-color: rgba(255,215,0,0.4); }

.feature-tag {
  display: inline-block; padding: 4px 12px; border-radius: 50px;
  font-size: 0.7rem; font-weight: 700; margin-bottom: 16px;
}
.free-tag { background: rgba(78,203,113,0.15); color: var(--green); }
.pro-tag { background: rgba(255,215,0,0.15); color: var(--pro-gold); }
.feature-icon { font-size: 2.5rem; margin-bottom: 12px; }
.feature-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; }

/* Feature extras */
.feature-metric { margin-top: 16px; }
.metric-bar { height: 6px; background: rgba(255,255,255,0.1); border-radius: 3px; margin-bottom: 6px; }
.metric-fill { height: 100%; background: var(--gradient); border-radius: 3px; animation: fillBar 2s ease-in-out infinite alternate; }
@keyframes fillBar { from { width: 60%; } to { width: 100%; } }
.voice-demo { margin-top: 16px; display: flex; align-items: center; gap: 10px; }
.voice-bars { display: flex; align-items: center; gap: 2px; }
.vbar {
  width: 4px; background: var(--primary); border-radius: 2px;
  animation: wave 1s ease-in-out infinite;
}
.vbar:nth-child(1) { height: 10px; } .vbar:nth-child(2) { height: 20px; animation-delay: 0.1s; }
.vbar:nth-child(3) { height: 28px; animation-delay: 0.2s; } .vbar:nth-child(4) { height: 18px; animation-delay: 0.3s; }
.vbar:nth-child(5) { height: 10px; animation-delay: 0.4s; }
.voice-demo span { font-size: 0.8rem; color: var(--primary); font-weight: 600; }
.whatsapp-demo { margin-top: 16px; }
.wa-btn {
  background: var(--wa-green); color: white; border: none;
  padding: 10px 20px; border-radius: 50px; font-size: 0.85rem; font-weight: 600;
  cursor: pointer; transition: all 0.2s;
}
.wa-btn:hover { transform: scale(1.05); }
.theme-toggle-demo { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.theme-dot { width: 20px; height: 20px; border-radius: 50%; }
.theme-dot.light { background: #ffd93d; }
.theme-dot.dark { font-size: 1rem; }
.theme-slider { width: 50px; height: 26px; background: var(--primary); border-radius: 13px; position: relative; cursor: pointer; }
.theme-slider::after { content: ''; position: absolute; top: 3px; right: 3px; width: 20px; height: 20px; background: white; border-radius: 50%; transition: all 0.3s; }
.format-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.format-chips span {
  padding: 4px 10px; background: rgba(108,99,255,0.15);
  border-radius: 20px; font-size: 0.75rem; font-weight: 600; color: var(--primary);
}

/* Lock overlay */
.lock-overlay {
  position: absolute; inset: 0;
  background: rgba(13,13,26,0.7); backdrop-filter: blur(4px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; border-radius: 20px; opacity: 0; transition: opacity 0.3s;
}
.pro-card:hover .lock-overlay { opacity: 1; }
.lock-icon { font-size: 2rem; }
.lock-overlay span { font-size: 0.9rem; font-weight: 700; color: var(--pro-gold); }

/* ===== FORMATS ===== */
.formats-section { border-top: 1px solid var(--border); padding-top: 80px; }
.formats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; }
.format-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 28px 20px; text-align: center;
  transition: all 0.3s; opacity: 0; transform: translateY(20px);
}
.format-card.animate-in { opacity: 1; transform: translateY(0); }
.format-card:hover { transform: translateY(-4px); border-color: var(--primary); }
.format-icon {
  width: 60px; height: 60px; border-radius: 12px; margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 800; letter-spacing: -0.5px;
}
.format-icon.pdf { background: rgba(255,107,107,0.2); color: #ff6b6b; }
.format-icon.img { background: rgba(78,203,113,0.2); color: var(--green); }
.format-icon.txt { background: rgba(108,99,255,0.2); color: var(--primary); }
.format-icon.xls { background: rgba(78,203,113,0.2); color: #22c55e; }
.format-icon.ppt { background: rgba(255,165,0,0.2); color: orange; }
.format-icon.doc { background: rgba(59,130,246,0.2); color: #3b82f6; }
.format-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.format-card p { font-size: 0.8rem; color: var(--text-secondary); margin-bottom: 12px; }
.free-label {
  display: inline-block; padding: 3px 10px; background: rgba(78,203,113,0.15);
  color: var(--green); border-radius: 50px; font-size: 0.7rem; font-weight: 700;
}

/* ===== PRICING ===== */
.pricing { padding: 100px 40px; text-align: center; }
.pricing-toggle { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 48px; font-weight: 600; }
.toggle-switch { position: relative; display: inline-block; width: 50px; height: 26px; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute; inset: 0; background: rgba(255,255,255,0.1);
  border-radius: 13px; cursor: pointer; transition: 0.3s;
}
.toggle-slider::before {
  content: ''; position: absolute;
  width: 20px; height: 20px; left: 3px; top: 3px;
  background: white; border-radius: 50%; transition: 0.3s;
}
.toggle-switch input:checked + .toggle-slider { background: var(--primary); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(24px); }
.save-badge {
  background: rgba(78,203,113,0.2); color: var(--green);
  padding: 2px 8px; border-radius: 50px; font-size: 0.75rem;
}
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px; max-width: 1100px; margin: 0 auto;
}
.pricing-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 24px; padding: 36px 32px;
  transition: all 0.3s; position: relative;
  opacity: 0; transform: translateY(20px);
}
.pricing-card.animate-in { opacity: 1; transform: translateY(0); }
.pricing-card:hover { transform: translateY(-6px); box-shadow: 0 30px 80px rgba(0,0,0,0.3); }
.pricing-card.featured {
  background: linear-gradient(135deg, rgba(108,99,255,0.15), rgba(255,107,107,0.08));
  border: 2px solid var(--primary);
  transform: scale(1.03);
}
.pricing-card.featured:hover { transform: scale(1.03) translateY(-6px); }
.popular-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gradient); color: white; padding: 6px 20px;
  border-radius: 50px; font-size: 0.8rem; font-weight: 700; white-space: nowrap;
}
.plan-header { margin-bottom: 28px; }
.plan-icon { font-size: 2.5rem; margin-bottom: 8px; }
.plan-header h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 8px; }
.plan-price { font-size: 3rem; font-weight: 900; margin-bottom: 8px; display: flex; align-items: baseline; justify-content: center; gap: 4px; }
.currency { font-size: 1.5rem; }
.period { font-size: 1rem; color: var(--text-secondary); font-weight: 500; }
.plan-desc { color: var(--text-secondary); font-size: 0.9rem; }
.plan-features { list-style: none; margin: 0 0 28px; text-align: left; }
.plan-features li { padding: 8px 0; font-size: 0.9rem; border-bottom: 1px solid rgba(255,255,255,0.04); }
.plan-features li.disabled { color: var(--text-secondary); }
.plan-btn {
  display: block; text-align: center; padding: 14px 24px;
  border-radius: 50px; font-weight: 700; font-size: 1rem;
  text-decoration: none; transition: all 0.3s;
}
.free-btn { background: var(--glass); border: 1px solid var(--border); color: white; }
.free-btn:hover { background: rgba(255,255,255,0.1); }
.pro-btn { background: var(--gradient); color: white; box-shadow: 0 8px 30px var(--glow); }
.pro-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px var(--glow); }
.biz-btn { background: rgba(255,215,0,0.15); border: 1px solid rgba(255,215,0,0.3); color: var(--pro-gold); }
.biz-btn:hover { background: rgba(255,215,0,0.25); }

/* ===== CTA ===== */
.cta-section {
  background: linear-gradient(135deg, rgba(108,99,255,0.15), rgba(255,107,107,0.08));
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 100px 40px; text-align: center;
}
.cta-content h2 { font-size: 2.5rem; font-weight: 800; margin-bottom: 16px; font-family: 'Space Grotesk', sans-serif; }
.cta-content p { color: var(--text-secondary); font-size: 1.1rem; margin-bottom: 32px; }
.large-btn { font-size: 1.1rem; padding: 18px 40px; }

/* ===== FOOTER ===== */
.footer { padding: 60px 40px 24px; max-width: 1200px; margin: 0 auto; }
.footer-content { display: flex; justify-content: space-between; gap: 40px; margin-bottom: 40px; flex-wrap: wrap; }
.footer-brand p { color: var(--text-secondary); margin-top: 12px; font-size: 0.9rem; }
.footer-links { display: flex; gap: 60px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 { font-weight: 700; margin-bottom: 4px; }
.footer-col a { color: var(--text-secondary); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; text-align: center; color: var(--text-secondary); font-size: 0.85rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero { padding: 120px 40px 60px; }
  .hero-mockup { max-width: 420px; }
}
@media (max-width: 768px) {
  .hero { flex-direction: column; padding: 100px 20px 60px; text-align: center; }
  .hero-stats { justify-content: center; }
  .hero-cta { justify-content: center; }
  .hero-mockup { width: 100%; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--bg-dark); padding: 20px; gap: 16px; border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .hamburger { display: block; }
  .features, .formats-section, .pricing { padding: 60px 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  .footer-links { gap: 30px; }
}
