/* Fax Send — Dark Professional theme */
:root {
  --bg: #0F1117;
  --surface: #1A1D27;
  --border: rgba(37, 99, 235, 0.15);
  --primary: #2563EB;
  --secondary: #3B82F6;
  --primary-dark: #1D4ED8;
  --text: #FFFFFF;
  --text-2: #9CA3AF;
  --text-muted: #6B7280;
  --glow: 0 0 30px rgba(37, 99, 235, 0.2);
  --card-hover: 0 8px 32px rgba(37, 99, 235, 0.25);
  --alt-bg: rgba(37, 99, 235, 0.04);
  --gradient: linear-gradient(135deg, #2563EB, #1D4ED8);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--secondary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--text); }

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 15px;
  background: var(--gradient);
  color: #fff !important;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
  text-decoration: none;
}
a.btn, a.btn:visited { color: #ffffff !important; text-decoration: none; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(37, 99, 235, 0.5); color: #fff !important; }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-lg { padding: 16px 34px; font-size: 16px; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 17, 23, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 17px;
}
.nav-brand img { width: 32px; height: 32px; border-radius: 7px; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--text-2); font-weight: 500; font-size: 14px; }
.nav-links a:hover { color: var(--text); }
.nav-cta { margin-left: 12px; }

.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 24px; cursor: pointer; }

@media (max-width: 820px) {
  .nav-links { position: absolute; top: 68px; left: 0; right: 0; background: var(--surface); flex-direction: column; padding: 20px; gap: 16px; border-bottom: 1px solid var(--border); display: none; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
}

/* Hero */
.hero {
  padding: 80px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(37, 99, 235, 0.25), transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-size: clamp(38px, 5.5vw, 62px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.hero h1 .accent {
  background: linear-gradient(135deg, #3B82F6, #2563EB);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p.lead {
  font-size: 19px;
  color: var(--text-2);
  margin-bottom: 32px;
  max-width: 520px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.trust-badges { display: flex; gap: 22px; flex-wrap: wrap; }
.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
}
.trust-badge svg { width: 16px; height: 16px; color: var(--secondary); }

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.hero-icon {
  width: 180px;
  height: 180px;
  border-radius: 42px;
  box-shadow: 0 0 80px rgba(37, 99, 235, 0.55), 0 20px 60px rgba(0,0,0,0.5);
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@media (max-width: 820px) {
  .hero { padding: 50px 0 60px; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .trust-badges { justify-content: center; }
  .hero-icon { width: 140px; height: 140px; border-radius: 32px; }
}

/* Sections */
section { padding: 90px 0; }
.section-alt { background: var(--alt-bg); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-head .eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  color: var(--secondary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.section-head h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-head p { color: var(--text-2); font-size: 17px; }

/* Feature grid */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-hover);
  border-color: rgba(37, 99, 235, 0.35);
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: var(--glow);
}
.feature-icon svg { width: 26px; height: 26px; color: #fff; }
.feature-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--text-2); font-size: 15px; }

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  counter-reset: stepcount;
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 28px;
  position: relative;
  text-align: left;
}
.step-num {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gradient);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 20px;
  box-shadow: var(--glow);
}
.step h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.step p { color: var(--text-2); font-size: 15px; }

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 30px;
  position: relative;
  transition: transform .2s, box-shadow .2s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--card-hover); }
.price-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 40px rgba(37, 99, 235, 0.25);
}
.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.price-card h3 { font-size: 18px; font-weight: 600; color: var(--text-2); margin-bottom: 14px; }
.price-amount { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.price-amount .amount { font-size: 44px; font-weight: 800; letter-spacing: -0.02em; }
.price-amount .period { color: var(--text-2); font-size: 15px; }
.price-note { color: var(--text-muted); font-size: 13px; margin-bottom: 24px; }
.price-features { list-style: none; margin-bottom: 28px; }
.price-features li {
  padding: 8px 0;
  color: var(--text-2);
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.price-features li::before {
  content: '';
  width: 18px;
  height: 18px;
  background: rgba(37, 99, 235, 0.15);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  position: relative;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='%233B82F6' d='M7.5 14.5l-3.5-3.5 1.4-1.4L7.5 11.7l7.1-7.1 1.4 1.4z'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: transparent;
}
.price-credits {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 28px;
  text-align: center;
  color: var(--text-2);
  max-width: 720px;
  margin: 0 auto;
}
.price-credits strong { color: var(--text); }
.price-free {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 20px;
}

/* CTA section */
.cta-section {
  background: linear-gradient(135deg, #1D4ED8 0%, #2563EB 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(255,255,255,0.1), transparent 70%);
  pointer-events: none;
}
.cta-section h2 {
  font-size: clamp(30px, 4.5vw, 46px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  color: #fff;
}
.cta-section p { color: rgba(255,255,255,0.85); font-size: 18px; margin-bottom: 32px; }
.cta-section .btn {
  background: #fff;
  color: var(--primary) !important;
  font-weight: 700;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}
.cta-section a.btn, .cta-section a.btn:visited { color: var(--primary) !important; }
.cta-section .btn:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0,0,0,0.35); }

/* Footer */
footer {
  background: #0A0C12;
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { width: 32px; height: 32px; border-radius: 7px; }
.footer-brand span { font-weight: 700; color: var(--text); }
.footer-desc { color: var(--text-2); font-size: 14px; max-width: 320px; }
.footer-links { display: flex; gap: 30px; justify-content: flex-end; flex-wrap: wrap; }
.footer-links a { color: var(--text-2); font-size: 14px; }
.footer-links a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 13px;
}

@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}

/* Blog page */
.blog-header { padding: 80px 0 40px; text-align: center; }
.blog-header h1 { font-size: clamp(36px, 5vw, 54px); font-weight: 800; margin-bottom: 14px; letter-spacing: -0.02em; }
.blog-header p { color: var(--text-2); font-size: 18px; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
  padding-bottom: 100px;
}
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: transform .2s, box-shadow .2s;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--card-hover); }
.blog-card .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--secondary);
  background: rgba(37, 99, 235, 0.12);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.blog-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.blog-card p { color: var(--text-2); font-size: 14px; margin-bottom: 16px; }
.blog-card .meta { color: var(--text-muted); font-size: 13px; }

/* Legal / Support pages */
.page-header { padding: 70px 0 30px; text-align: center; }
.page-header h1 { font-size: clamp(34px, 5vw, 48px); font-weight: 800; margin-bottom: 10px; letter-spacing: -0.02em; }
.page-header p { color: var(--text-2); }

.content { max-width: 820px; margin: 0 auto; padding: 20px 24px 100px; }
.content h2 { font-size: 24px; font-weight: 700; margin: 40px 0 14px; letter-spacing: -0.01em; }
.content h3 { font-size: 19px; font-weight: 600; margin: 26px 0 10px; color: var(--text); }
.content p { color: var(--text-2); margin-bottom: 14px; font-size: 15.5px; }
.content ul { color: var(--text-2); margin: 10px 0 18px 22px; }
.content ul li { margin-bottom: 8px; font-size: 15.5px; }
.content a { color: var(--secondary); }
.content a:hover { color: var(--text); }
.content strong { color: var(--text); font-weight: 600; }

.updated-note {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--text-2);
  font-size: 14px;
  margin-bottom: 30px;
}

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item[open] { border-color: rgba(37, 99, 235, 0.35); }
.faq-item summary {
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 22px;
  color: var(--secondary);
  font-weight: 400;
  transition: transform .2s;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item .faq-body {
  padding: 0 24px 20px;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.65;
}

.support-contact {
  max-width: 820px;
  margin: 50px auto 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
}
.support-contact h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.support-contact p { color: var(--text-2); margin-bottom: 18px; }
.support-contact .contact-links { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Utility */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
