/* FaxBackRx Landing Page - Light Professional Theme */

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #eff6ff;
  --accent: #059669;
  --accent-light: #ecfdf5;
  --danger: #dc2626;
  --warning: #d97706;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-dark: #1e293b;
  --text: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border: #e2e8f0;
  --shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,.1), 0 4px 6px rgba(0,0,0,.05);
  --radius: 8px;
  --radius-lg: 16px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.logo-icon { font-size: 22px; }
.logo-accent { color: var(--primary); }

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

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.15s;
  line-height: 1;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

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

.btn-outline:hover {
  background: var(--primary-light);
}

.btn-white {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}

.btn-white:hover {
  background: #f0f4ff;
}

.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-block { width: 100%; }

/* Hero */
.hero {
  background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
  padding: 80px 0 100px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
  border: 1px solid #bfdbfe;
}

.hero-title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.highlight {
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary), #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-cta-note {
  color: var(--text-muted);
  font-size: 14px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat strong {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
}

.stat span {
  font-size: 13px;
  color: var(--text-muted);
}

/* Section commons */
section { padding: 80px 0; }
h2 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 18px;
  margin-bottom: 48px;
}

/* Pain Points */
.pain-points { background: var(--bg-alt); }

.pain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 860px;
  margin: 0 auto;
}

.pain-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.pain-card.pain-bad { border-top: 4px solid var(--danger); }
.pain-card.pain-good { border-top: 4px solid var(--accent); }

.pain-icon { font-size: 36px; margin-bottom: 12px; }

.pain-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.pain-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pain-card.pain-bad li::before {
  content: '✗ ';
  color: var(--danger);
  font-weight: 700;
}

.pain-card.pain-good li::before {
  content: '✓ ';
  color: var(--accent);
  font-weight: 700;
}

.pain-card li { color: var(--text-muted); font-size: 15px; }

/* How It Works */
.steps {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.step {
  flex: 1;
  text-align: center;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 15px; }

.step-arrow {
  font-size: 28px;
  color: var(--border);
  padding-top: 14px;
  flex-shrink: 0;
}

/* Issue Types */
.issues { background: var(--bg-alt); }

.issue-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.issue-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.15s, box-shadow 0.15s;
}

.issue-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.issue-icon { font-size: 28px; margin-bottom: 10px; }
.issue-card h3 { font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.issue-card p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
}

.feature { text-align: center; }
.feature-icon { font-size: 36px; margin-bottom: 12px; }
.feature h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.feature p { color: var(--text-muted); font-size: 14px; }

/* Pricing */
.pricing { background: var(--bg-alt); }

.pricing-card {
  max-width: 420px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--primary);
  text-align: center;
  position: relative;
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 100px;
}

.pricing-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.pricing-price { margin-bottom: 8px; }
.price-amount { font-size: 56px; font-weight: 800; color: var(--text); }
.price-period { font-size: 18px; color: var(--text-muted); }

.pricing-trial {
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 28px;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-features li {
  font-size: 15px;
  color: var(--text);
}

.pricing-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 12px;
}

/* FAQ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: #fff;
  border: none;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s;
}

.faq-question:hover { background: var(--bg-alt); }

.faq-icon {
  font-size: 20px;
  font-weight: 400;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  background: #fff;
}

.faq-answer p { color: var(--text-muted); font-size: 15px; line-height: 1.7; }

.faq-item.active .faq-answer { display: block; }
.faq-item.active .faq-icon { transform: rotate(45deg); }

/* CTA Footer */
.cta-footer {
  background: linear-gradient(135deg, var(--primary) 0%, #1e40af 100%);
  color: #fff;
  text-align: center;
  padding: 80px 0;
}

.cta-footer h2 { color: #fff; }

.cta-footer p {
  font-size: 18px;
  opacity: 0.9;
  max-width: 500px;
  margin: 0 auto 32px;
}

/* Footer */
.footer {
  background: var(--bg-dark);
  color: #fff;
  padding: 48px 0 32px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer .logo { color: #fff; }
.footer .logo-accent { color: #60a5fa; }

.footer-brand p {
  font-size: 14px;
  color: #94a3b8;
  margin-top: 8px;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s;
}

.footer-links a:hover { color: #fff; }

.footer-copy p {
  font-size: 13px;
  color: #64748b;
}

/* Responsive */
@media (max-width: 900px) {
  .issue-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px;
    box-shadow: var(--shadow-lg);
    z-index: 99;
  }

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

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

  .nav-links a:last-child { border-bottom: none; }
  .nav-links .btn { margin-top: 8px; width: 100%; }

  .pain-grid { grid-template-columns: 1fr; }

  .steps {
    flex-direction: column;
    align-items: center;
  }

  .step-arrow { transform: rotate(90deg); padding-top: 0; }

  .features-grid { grid-template-columns: 1fr; max-width: 400px; }
  .issue-grid { grid-template-columns: 1fr 1fr; }

  .hero-stats { gap: 24px; }
}

@media (max-width: 480px) {
  .issue-grid { grid-template-columns: 1fr; }
}
