/* ═══ Custom Properties ═══ */
:root {
  --bg: #0A0A14;
  --surface: #16162A;
  --surface-hover: #1E1E3A;
  --accent: #E94560;
  --accent-hover: #D63B54;
  --text: #E0E0E0;
  --text-muted: #8888A0;
  --border: #2A2A44;
  --radius: 12px;
  --radius-sm: 8px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --max-width: 1120px;
  --nav-height: 64px;
}

/* ═══ Reset ═══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ═══ Utility ═══ */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ═══ Buttons ═══ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 8px 20px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ═══ Navbar ═══ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  transition: background 0.3s, box-shadow 0.3s;
}
.navbar.scrolled {
  background: rgba(10, 10, 20, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}
.navbar-inner {
  display: flex;
  align-items: center;
  height: var(--nav-height);
  gap: 32px;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.navbar-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.navbar-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.navbar-links a:hover { color: var(--text); }
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 24px;
}
.lang-toggle {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.lang-toggle:hover { border-color: var(--accent); color: var(--accent); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ═══ Hero ═══ */
.hero {
  padding: calc(var(--nav-height) + 60px) 0 80px;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(233, 69, 96, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(233, 69, 96, 0.05) 0%, transparent 60%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero visual */
.hero-visual { display: flex; justify-content: center; }
.hero-device {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 32px 24px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.hero-bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  height: 160px;
  margin-bottom: 24px;
}
.hero-bars span {
  width: 20px;
  height: var(--h);
  background: linear-gradient(to top, var(--accent), #FF6B6B);
  border-radius: 4px;
  animation: barPulse 1.5s ease-in-out infinite alternate;
}
.hero-bars span:nth-child(2) { animation-delay: 0.15s; }
.hero-bars span:nth-child(3) { animation-delay: 0.3s; }
.hero-bars span:nth-child(4) { animation-delay: 0.45s; }
.hero-bars span:nth-child(5) { animation-delay: 0.6s; }
.hero-bars span:nth-child(6) { animation-delay: 0.75s; }
.hero-bars span:nth-child(7) { animation-delay: 0.9s; }
.hero-bars span:nth-child(8) { animation-delay: 1.05s; }
.hero-bars span:nth-child(9) { animation-delay: 1.2s; }

@keyframes barPulse {
  0% { opacity: 0.6; transform: scaleY(0.8); }
  100% { opacity: 1; transform: scaleY(1); }
}

.hero-status {
  background: rgba(233, 69, 96, 0.1);
  border: 1px solid rgba(233, 69, 96, 0.2);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.85rem;
  text-align: center;
  color: var(--accent);
}

/* ═══ Sections ═══ */
.section { padding: 80px 0; }
.section-alt { background: var(--surface); }
.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
}
.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 48px;
}

/* ═══ Problem Section ═══ */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.problem-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.problem-icon { font-size: 2rem; margin-bottom: 16px; }
.problem-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.problem-card p { color: var(--text-muted); font-size: 0.95rem; }

/* ═══ Steps (How It Works) ═══ */
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
  margin-top: 48px;
}
.step {
  background: rgba(10, 10, 20, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  flex: 1;
  max-width: 300px;
  position: relative;
}
.step-number {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}
.step-icon { font-size: 2.5rem; margin: 16px 0; }
.step h3 { margin-bottom: 12px; }
.step p { color: var(--text-muted); font-size: 0.9rem; }
.step-arrow {
  color: var(--accent);
  font-size: 1.5rem;
  margin-top: 80px;
  flex-shrink: 0;
}

/* ═══ Features ═══ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: rgba(233, 69, 96, 0.3);
  transform: translateY(-2px);
}
.feature-icon { font-size: 2rem; margin-bottom: 16px; }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.feature-card p { color: var(--text-muted); font-size: 0.9rem; }

/* ═══ Pricing ═══ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  align-items: start;
}
.pricing-card {
  background: rgba(10, 10, 20, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  position: relative;
}
.pricing-featured {
  border-color: var(--accent);
  box-shadow: 0 0 40px rgba(233, 69, 96, 0.15);
  transform: scale(1.03);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 4px 20px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}
.pricing-tier {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.pricing-price { margin-bottom: 12px; }
.pricing-currency {
  font-size: 1rem;
  vertical-align: super;
  color: var(--text-muted);
}
.pricing-amount {
  font-size: 2.5rem;
  font-weight: 800;
}
.pricing-custom { font-size: 1.8rem; }
.pricing-period {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.pricing-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}
.pricing-features {
  text-align: left;
  margin-bottom: 28px;
}
.pricing-features li {
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  position: relative;
  padding-left: 24px;
}
.pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ═══ FAQ ═══ */
.faq-list {
  max-width: 720px;
  margin: 40px auto 0;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  padding: 18px 48px 18px 20px;
  background: var(--surface);
  border: none;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  position: relative;
  font-family: var(--font);
  transition: background 0.2s;
}
.faq-question:hover { background: var(--surface-hover); }
.faq-question::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: var(--accent);
  transition: transform 0.3s;
}
.faq-item.active .faq-question::after {
  content: "−";
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer p {
  padding: 0 20px 18px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ═══ CTA Banner ═══ */
.cta-banner {
  padding: 80px 0;
  background:
    linear-gradient(135deg, rgba(233, 69, 96, 0.1) 0%, transparent 50%),
    var(--surface);
}
.cta-inner { text-align: center; }
.cta-inner h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.cta-inner p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 32px;
}
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ═══ Footer ═══ */
.footer { padding: 60px 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 48px;
  padding-bottom: 40px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 12px;
}
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; }
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 4px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}
.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

/* ═══ Scroll Animations ═══ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══ Responsive: Tablet ═══ */
@media (max-width: 1024px) {
  .hero h1 { font-size: 2.6rem; }
  .hero-inner { gap: 40px; }
  .problem-grid, .features-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-featured { transform: scale(1); }
  .steps { flex-wrap: wrap; }
  .step-arrow { display: none; }
}

/* ═══ Responsive: Mobile ═══ */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .navbar-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(10, 10, 20, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
  }
  .navbar-links.open { display: flex; }
  .navbar-links a { font-size: 1.1rem; color: var(--text); }
  .navbar-actions .btn { display: none; }

  .hero { min-height: auto; padding: calc(var(--nav-height) + 40px) 0 60px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 2.2rem; }
  .hero-sub { font-size: 1rem; }
  .hero-visual { order: -1; }
  .hero-device { max-width: 320px; }
  .hero-bars { height: 120px; }
  .hero-bars span { width: 16px; }

  .section { padding: 60px 0; }
  .section-title { font-size: 1.8rem; }

  .problem-grid, .features-grid, .pricing-grid { grid-template-columns: 1fr; }

  .steps { flex-direction: column; align-items: center; }
  .step { max-width: 100%; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-links { grid-template-columns: repeat(3, 1fr); }

  .cta-inner h2 { font-size: 1.8rem; }
}

@media (max-width: 480px) {
  .footer-links { grid-template-columns: 1fr; gap: 24px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}

/* ═══ Lead Capture Modal ═══ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay .modal-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  max-width: 520px;
  width: 100%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.6rem;
  cursor: pointer;
  transition: color 0.2s;
}
.modal-close:hover { color: var(--accent); }
.modal-overlay h2 { margin-bottom: 8px; }
.modal-subtitle { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 24px; }
.modal-overlay .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.modal-overlay label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.modal-overlay input,
.modal-overlay select,
.modal-overlay textarea {
  padding: 10px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.9rem;
  font-family: var(--font);
}
.modal-overlay input:focus,
.modal-overlay select:focus,
.modal-overlay textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.modal-overlay textarea { resize: vertical; margin-bottom: 16px; }
.lead-success {
  text-align: center;
  padding: 24px 0;
}
.success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0, 200, 100, 0.15);
  color: #00c864;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
@media (max-width: 480px) {
  .modal-overlay .form-grid { grid-template-columns: 1fr; }
  .modal-overlay .modal-box { padding: 24px 16px; }
}
