/* VoxQuote Landing — style.css */
@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@300;400;500;600;700;800&display=swap');

:root {
  --brand: #815175;
  --brand-dark: #6d4463;
  --brand-light: #f3edf1;
  --text: #1a1a2e;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --bg: #ffffff;
  --bg-alt: #faf9fb;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(129,81,117,.10);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color .25s, color .25s;
}

/* ── Utilities ── */
.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 8px;
  font-family: inherit; font-size: 15px; font-weight: 600;
  cursor: pointer; border: none; text-decoration: none;
  transition: background .2s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-outline { background: transparent; color: var(--brand); border: 2px solid var(--brand); }
.btn-outline:hover { background: var(--brand-light); }
.section-label {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 10px;
}
.section-title {
  font-size: clamp(24px, 4vw, 36px); font-weight: 700; line-height: 1.2;
  margin-bottom: 14px; color: var(--text);
}
.section-sub { font-size: 17px; color: var(--text-muted); max-width: 560px; }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.95); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo { font-size: 22px; font-weight: 800; color: var(--brand); text-decoration: none; }
.logo span { color: var(--text); }

.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--text-muted); text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--brand); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-btn {
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: 6px; padding: 5px 12px; font-family: inherit;
  font-size: 13px; font-weight: 600; color: var(--text-muted);
  cursor: pointer; transition: border-color .2s, color .2s;
}
.lang-btn:hover { border-color: var(--brand); color: var(--brand); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform .25s, opacity .25s;
}

/* mobile nav */
.mobile-nav {
  display: none; flex-direction: column; gap: 0;
  border-top: 1px solid var(--border); background: var(--bg);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 14px 20px; font-size: 16px; font-weight: 500;
  color: var(--text); text-decoration: none; border-bottom: 1px solid var(--border);
}
.mobile-nav a:hover { background: var(--bg-alt); color: var(--brand); }
.mobile-nav .lang-btn { margin: 14px 20px; width: fit-content; }

/* ── Hero ── */
.hero {
  padding: 80px 0 72px;
  background: linear-gradient(160deg, var(--bg-alt) 0%, #fff 60%);
}
.hero-inner { display: flex; flex-direction: column; align-items: flex-start; max-width: 640px; }
.hero-tagline {
  font-size: clamp(32px, 6vw, 56px); font-weight: 800; line-height: 1.1;
  margin-bottom: 18px; color: var(--text);
}
.hero-tagline em { font-style: normal; color: var(--brand); }
.hero-subtitle { font-size: 18px; color: var(--text-muted); margin-bottom: 32px; max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 28px; }
.platform-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 13px; font-weight: 500; color: var(--text-muted);
  padding: 4px 10px; background: var(--bg-alt);
  border: 1px solid var(--border); border-radius: 20px;
}
.badge.available { border-color: #22c55e; color: #16a34a; }

/* ── Features ── */
.features { padding: 80px 0; background: var(--bg); }
.features-header { text-align: center; margin-bottom: 52px; }
.features-header .section-sub { margin: 0 auto; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  padding: 32px 28px; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--bg);
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card-icon { font-size: 36px; margin-bottom: 16px; }
.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--text-muted); }

/* ── How it works ── */
.how { padding: 80px 0; background: var(--bg-alt); }
.how-header { text-align: center; margin-bottom: 52px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; }
.steps::before {
  content: '';
  position: absolute; top: 36px; left: calc(16.66% + 20px); right: calc(16.66% + 20px);
  height: 2px; background: var(--brand-light); z-index: 0;
}
.step { text-align: center; position: relative; z-index: 1; }
.step-num {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--brand); color: #fff;
  font-size: 24px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.step-icon { font-size: 28px; margin-bottom: 10px; }
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-muted); }

/* ── Screenshots ── */
.screenshots { padding: 80px 0; background: var(--bg); }
.screenshots-header { text-align: center; margin-bottom: 52px; }
.phone-gallery { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
.phone-frame {
  width: 180px; height: 360px; border-radius: 28px;
  border: 3px solid var(--text); background: #f0f0f0;
  position: relative; overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,.15);
}
.phone-frame::before {
  content: ''; position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 48px; height: 6px; background: var(--text); border-radius: 3px;
}
.phone-screen {
  position: absolute; top: 34px; bottom: 8px; left: 6px; right: 6px;
  background: var(--brand-light); border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
}
.phone-screen span { font-size: 13px; color: var(--text-muted); text-align: center; padding: 10px; }

/* ── Pricing ── */
.pricing { padding: 80px 0; background: var(--bg-alt); }
.pricing-header { text-align: center; margin-bottom: 48px; }
.pricing-table-wrap { overflow-x: auto; }
.pricing-table {
  width: 100%; border-collapse: collapse; font-size: 15px;
  background: var(--bg); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
}
.pricing-table th {
  padding: 16px 20px; background: var(--brand); color: #fff;
  font-weight: 700; text-align: left;
}
.pricing-table th:not(:first-child) { text-align: center; }
.pricing-table td { padding: 13px 20px; border-bottom: 1px solid var(--border); }
.pricing-table td:not(:first-child) { text-align: center; }
.pricing-table tr:last-child td { border-bottom: none; }
.pricing-table tr:nth-child(even) td { background: var(--bg-alt); }
.check { color: #16a34a; font-weight: 700; font-size: 17px; }
.cross { color: #9ca3af; font-size: 17px; }
.pricing-cta { text-align: center; margin-top: 32px; }
.price-row { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; margin-bottom: 32px; }
.price-card {
  text-align: center; padding: 20px 32px; border-radius: var(--radius);
  border: 2px solid var(--border); min-width: 160px;
}
.price-card.premium { border-color: var(--brand); }
.price-amount { font-size: 28px; font-weight: 800; color: var(--brand); }
.price-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* ── Limits ── */
.limits { padding: 60px 0; background: var(--bg); }
.limits-header { text-align: center; margin-bottom: 40px; }
.limits-sub { font-size: 14px; color: var(--text-muted); margin-top: 8px; }
.limits-table {
  width: 100%; max-width: 700px; margin: 0 auto;
  border-collapse: collapse; font-size: 15px;
}
.limits-table th {
  padding: 12px 16px; border-bottom: 2px solid var(--brand);
  text-align: left; font-weight: 700; color: var(--brand);
}
.limits-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); }
.limits-table td:not(:first-child) { text-align: center; color: var(--text-muted); }

/* ── Contact ── */
.contact { padding: 80px 0; background: var(--bg-alt); }
.contact-header { text-align: center; margin-bottom: 48px; }
.contact-form-wrap { max-width: 580px; margin: 0 auto; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 14px; font-weight: 600; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px; border: 1.5px solid var(--border);
  border-radius: 8px; font-family: inherit; font-size: 15px; color: var(--text);
  background: var(--bg); transition: border-color .2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--brand); }
.form-group textarea { resize: vertical; min-height: 120px; }
.hp-field { display: none !important; }
.cf-turnstile { margin: 8px 0; }
.form-submit { margin-top: 8px; width: 100%; justify-content: center; font-size: 16px; padding: 14px; }
.form-message {
  display: none; padding: 14px 18px; border-radius: 8px;
  font-size: 15px; font-weight: 500; margin-top: 16px;
}
.form-message.success { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; display: block; }
.form-message.error { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; display: block; }
.success-view { display: none; text-align: center; padding: 48px 24px; }
.success-view.visible { display: block; }
.success-icon { font-size: 48px; margin-bottom: 16px; }
.success-view h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.success-view p { color: var(--text-muted); }
.spinner {
  width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff; border-radius: 50%;
  animation: spin .6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Footer ── */
.site-footer {
  padding: 32px 0; border-top: 1px solid var(--border);
  background: var(--bg); color: var(--text-muted);
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; font-size: 14px;
}
.footer-links { display: flex; gap: 20px; list-style: none; }
.footer-links a { color: var(--text-muted); text-decoration: none; }
.footer-links a:hover { color: var(--brand); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links, .header-actions .btn { display: none; }
  .hamburger { display: flex; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .steps::before { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .price-row { gap: 16px; }
}
@media (max-width: 480px) {
  .phone-gallery { gap: 14px; }
  .phone-frame { width: 140px; height: 280px; }
}

/* ── Dark mode ── */
[data-theme="dark"] {
  --text: #f0eef5;
  --text-muted: #9ca3af;
  --border: #2a2a3e;
  --bg: #0f0f18;
  --bg-alt: #17172a;
  --brand-light: #2d1f2a;
  --shadow: 0 4px 24px rgba(0,0,0,.55);
}
[data-theme="dark"] .site-header {
  background: rgba(15,15,24,.95);
}
[data-theme="dark"] .hero {
  background: linear-gradient(160deg, var(--bg-alt) 0%, var(--bg) 60%);
}
[data-theme="dark"] .lang-btn,
[data-theme="dark"] .theme-btn {
  background: #1e1e2e;
  border-color: var(--border);
  color: var(--text-muted);
}
[data-theme="dark"] .mobile-nav { background: var(--bg); }
[data-theme="dark"] .mobile-nav a { border-color: var(--border); }
[data-theme="dark"] .form-message.success {
  background: #052e16; color: #4ade80; border-color: #166534;
}
[data-theme="dark"] .form-message.error {
  background: #2d0a0a; color: #f87171; border-color: #7f1d1d;
}
[data-theme="dark"] .pricing-table { background: var(--bg-alt); }
[data-theme="dark"] .price-card { border-color: var(--border); }

.theme-btn {
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: 6px; padding: 5px 10px; font-size: 15px;
  cursor: pointer; transition: border-color .2s;
  line-height: 1;
}
