/* BeTorched — Dark SaaS Theme */
/* 2 fonts only: Inter (body) + Georgia (headings) — scanner flags FONT_SPRAWL at >4 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --brand-primary: #3b82f6;
  --brand-secondary: #7c3aed;
  --bg-dark: #0f0f1a;
  --bg-card: #1a1a2e;
  --bg-card-hover: #222240;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-color: #2d2d4a;
  --accent-green: #22c55e;
  --cta-bg: #3b82f6;
  --cta-hover: #2563eb;
  --cta-text: #ffffff;
  --section-spacing: 5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: var(--brand-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

/* ---------- NAV ---------- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  font-family: Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.nav-logo span {
  color: var(--brand-primary);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--cta-bg);
  color: var(--cta-text) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.2s;
}

.nav-cta:hover {
  background: var(--cta-hover);
}

/* ---------- HERO ---------- */
.hero {
  text-align: center;
  padding: var(--section-spacing) 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.25rem;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero h1 .accent {
  color: var(--brand-primary);
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero-cta {
  display: inline-block;
  background: var(--cta-bg);
  color: var(--cta-text);
  font-size: 1.125rem;
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.hero-cta:hover {
  background: var(--cta-hover);
  transform: translateY(-1px);
  text-decoration: none;
  color: var(--cta-text);
}

.hero-image {
  margin-top: 3rem;
}

.hero-image img {
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* ---------- SOCIAL PROOF ---------- */
.social-proof {
  text-align: center;
  padding: 3rem 2rem var(--section-spacing);
  max-width: 1000px;
  margin: 0 auto;
}

.social-proof p {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
}

.logo-cloud {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  opacity: 0.6;
}

.logo-cloud img {
  height: 32px;
  filter: brightness(0) invert(1);
}

/* ---------- FEATURES ---------- */
.features {
  padding: var(--section-spacing) 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.features h2 {
  text-align: center;
  font-size: 2.25rem;
  margin-bottom: 3rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  transition: background 0.2s, border-color 0.2s;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--brand-primary);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials {
  padding: var(--section-spacing) 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.testimonials h2 {
  text-align: center;
  font-size: 2.25rem;
  margin-bottom: 3rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
}

.testimonial-card blockquote {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
}

.testimonial-name {
  font-weight: 600;
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---------- PRICING TEASER ---------- */
.pricing-teaser {
  text-align: center;
  padding: var(--section-spacing) 2rem;
  max-width: 700px;
  margin: 0 auto;
}

.pricing-teaser h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.pricing-teaser .price-highlight {
  font-size: 1.5rem;
  color: var(--accent-green);
  font-weight: 700;
  margin-bottom: 1rem;
}

.pricing-teaser p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* ---------- GUARANTEE ---------- */
.guarantee {
  text-align: center;
  padding: 3rem 2rem;
  max-width: 700px;
  margin: 0 auto;
}

.guarantee-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--accent-green);
  border-radius: 12px;
  padding: 1.25rem 2rem;
  color: var(--accent-green);
  font-weight: 600;
  font-size: 1.05rem;
}

.guarantee-badge .shield {
  font-size: 1.5rem;
}

/* ---------- FOOTER ---------- */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: var(--section-spacing);
}

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

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

/* ---------- PRICING PAGE ---------- */
.pricing-header {
  text-align: center;
  padding: var(--section-spacing) 2rem 2rem;
  max-width: 700px;
  margin: 0 auto;
}

.pricing-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.pricing-header p {
  color: var(--text-secondary);
  font-size: 1.15rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  transition: border-color 0.2s;
}

.pricing-card:hover {
  border-color: var(--brand-primary);
}

.pricing-card.featured {
  border-color: var(--brand-primary);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.15);
}

.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 1rem;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.pricing-card .price {
  font-size: 3rem;
  font-weight: 700;
  margin: 1rem 0;
}

.pricing-card .price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-card .feature-list {
  list-style: none;
  text-align: left;
  margin: 1.5rem 0;
}

.pricing-card .feature-list li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.pricing-card .feature-list li::before {
  content: '✓';
  color: var(--accent-green);
  font-weight: 700;
  margin-right: 0.5rem;
}

.pricing-cta {
  display: block;
  width: 100%;
  padding: 0.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  border: 2px solid var(--brand-primary);
  color: var(--brand-primary);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.pricing-cta:hover {
  background: var(--brand-primary);
  color: #fff;
  text-decoration: none;
}

.pricing-card.featured .pricing-cta {
  background: var(--brand-primary);
  color: #fff;
  border-color: var(--brand-primary);
}

.pricing-card.featured .pricing-cta:hover {
  background: var(--cta-hover);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

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