/* Calling-Now marketing site
   Palette: Neon Stealth
   Font: Manrope (matches the in-app design system, Section 7 of the App Bible) */

:root {
  --bg: #08090F;
  --surface: #12141F;
  --surface-raised: #171A28;
  --border: #1D2030;
  --primary: #4FA8A0;
  --secondary: #FF2E9A;
  --accept: #39FF88;
  --decline: #FF3860;
  --text: #FFFFFF;
  --text-muted: #9A9DB0;
  --text-faint: #6A6D80;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
}

p {
  margin: 0;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

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

/* Focus states, visible for keyboard users */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  border: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn-primary {
  background: var(--primary);
  color: var(--bg);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

/* Header and nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 9, 15, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 22px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 14px;
  color: var(--text-muted);
}

.nav-links a:hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Hero */
.hero {
  padding: 64px 0 72px;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.hero-copy {
  flex: 1 1 420px;
}

.hero-copy h1 {
  font-size: 40px;
  line-height: 1.25;
  margin-bottom: 18px;
}

.hero-copy p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 26px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Hero phone mockup */
.phone-mock {
  flex-shrink: 0;
  width: 220px;
  background: #000000;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 20px 16px;
  margin: 0 auto;
}

.phone-mock .status {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 22px;
}

.phone-mock .avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #2A2D3D;
  margin: 0 auto 12px;
}

.phone-mock .name {
  font-size: 15px;
  text-align: center;
  margin-bottom: 32px;
}

.phone-mock .call-actions {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.call-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.call-btn.accept { background: var(--accept); }
.call-btn.decline { background: var(--decline); }

/* Section shared */
.section {
  padding: 56px 0;
}

.eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-faint);
  margin-bottom: 8px;
}

.section-title {
  font-size: 26px;
  margin-bottom: 28px;
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.feature-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 22px;
}

.icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.icon-circle.tint-primary { background: rgba(79, 168, 160, 0.16); }
.icon-circle.tint-secondary { background: rgba(255, 46, 154, 0.14); }

.feature-card h3 {
  font-size: 15px;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}

.price-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 22px;
}

.price-card.featured {
  border: 1px solid var(--primary);
}

.price-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.price-card h3 {
  font-size: 14px;
}

.badge-popular {
  font-size: 10px;
  font-weight: 600;
  background: var(--secondary);
  color: var(--text);
  padding: 3px 10px;
  border-radius: 20px;
}

.price {
  font-size: 24px;
  font-weight: 700;
  margin: 10px 0 14px;
}

.price-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 2;
}

/* Download CTA */
.download-cta {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  text-align: center;
}

.download-cta h2 {
  font-size: 22px;
  margin-bottom: 22px;
}

.store-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.coming-soon {
  font-size: 12px;
  color: var(--text-faint);
  margin-top: 16px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 36px 0;
  margin-top: 24px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--text);
}

.copyright {
  font-size: 11px;
  color: var(--text-faint);
  text-align: center;
}

/* Legal pages (privacy, terms) */
.legal-page {
  padding: 48px 0 80px;
  max-width: 760px;
  margin: 0 auto;
}

.legal-page h1 {
  font-size: 30px;
  margin-bottom: 8px;
}

.legal-updated {
  font-size: 13px;
  color: var(--text-faint);
  margin-bottom: 28px;
}

.draft-banner {
  background: rgba(255, 46, 154, 0.1);
  border: 1px solid var(--secondary);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.draft-banner strong {
  color: var(--text);
}

.legal-page section {
  margin-bottom: 28px;
}

.legal-page h2 {
  font-size: 17px;
  margin-bottom: 10px;
}

.legal-page p, .legal-page li {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.legal-page ul {
  padding-left: 20px;
}

.back-link {
  display: inline-block;
  margin-bottom: 28px;
  font-size: 13px;
  color: var(--primary);
}

/* Contact page and form */
.contact-page {
  padding: 48px 0 80px;
  max-width: 520px;
  margin: 0 auto;
}

.contact-page h1 {
  font-size: 28px;
  margin-bottom: 10px;
}

.contact-page > p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.form-field {
  margin-bottom: 18px;
}

.form-field label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 14px;
  color: var(--text);
  font-family: inherit;
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-status {
  font-size: 13px;
  margin-top: 14px;
}

.form-status.success { color: var(--accept); }
.form-status.error { color: var(--decline); }

.direct-email {
  font-size: 13px;
  color: var(--text-faint);
  margin-top: 28px;
}

.direct-email a {
  color: var(--primary);
}

/* Mobile */
@media (max-width: 720px) {
  .container {
    padding: 0 18px;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 18px 20px;
    gap: 4px;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 4px;
    font-size: 15px;
    border-bottom: 1px solid var(--border);
  }

  .nav-links a.btn {
    border-bottom: none;
    margin-top: 8px;
    justify-content: center;
  }

  .nav-toggle {
    display: block;
    padding: 10px;
  }

  .hero {
    padding: 32px 0 40px;
  }

  .hero-inner {
    flex-direction: column-reverse;
    gap: 28px;
    text-align: center;
    justify-content: center;
  }

  .hero-copy h1 {
    font-size: 26px;
    line-height: 1.3;
  }

  .hero-copy p {
    font-size: 15px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
    width: 100%;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
    min-height: 46px;
  }

  .phone-mock {
    width: 180px;
  }

  .section {
    padding: 40px 0;
  }

  .section-title {
    font-size: 22px;
  }

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

  .download-cta {
    padding: 32px 20px;
  }

  .store-buttons {
    flex-direction: column;
  }

  .store-buttons .btn {
    width: 100%;
    min-height: 46px;
  }

  .btn {
    min-height: 44px;
  }

  .footer-links {
    gap: 16px;
  }
}

@media (max-width: 420px) {
  .hero-copy h1 {
    font-size: 23px;
  }

  .logo-img {
    height: 19px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn, .nav-toggle span {
    transition: none;
  }
}
