/*
Theme Name: RevRoofAI Landing
Theme URI: https://revroofai.com
Author: RevRoofAI
Description: Landing page theme for RevRoofAI.
Version: 1.0.0
Text Domain: revroofai
*/

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

:root {
  color-scheme: light;
  --bg: #f6f7fb;
  --surface: #ffffff;
  --ink: #0b1220;
  --muted: #4b5565;
  --brand: #1f6feb;
  --brand-dark: #174ea6;
  --accent: #f5b700;
  --border: #e2e8f0;
  --radius: 16px;
  --shadow: 0 24px 40px rgba(15, 23, 42, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  font-weight: 700;
  font-size: 1.2rem;
}

.nav-links {
  display: flex;
  gap: 20px;
  font-weight: 500;
  color: var(--muted);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 20px rgba(31, 111, 235, 0.2);
}

.button-outline {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}

.button-ghost {
  background: transparent;
  color: var(--ink);
  border-color: transparent;
}

.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 24px 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--brand);
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(2.2rem, 3vw, 3.2rem);
  line-height: 1.1;
  margin: 12px 0;
}

.lead {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.hero-metrics {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-metrics div {
  background: var(--surface);
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.hero-metrics strong {
  display: block;
  font-size: 1.2rem;
}

.hero-card .card {
  background: var(--surface);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.card-title {
  font-weight: 700;
  margin-bottom: 8px;
}

.card-copy {
  color: var(--muted);
  margin-bottom: 16px;
}

.card ul {
  padding-left: 20px;
  margin: 0;
  color: var(--muted);
}

.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 24px;
}

.section.alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-title h2 {
  font-size: clamp(1.8rem, 2.4vw, 2.4rem);
  margin-bottom: 12px;
}

.section-title p {
  color: var(--muted);
  max-width: 680px;
}

.grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  border-radius: 14px;
  padding: 20px;
  border: 1px solid var(--border);
}

.feature-card h3 {
  margin-top: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.step {
  background: var(--bg);
  border-radius: 14px;
  padding: 20px;
  border: 1px solid var(--border);
}

.step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
}

.testimonial-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 32px;
}

.testimonial {
  background: var(--surface);
  padding: 20px;
  border-radius: 14px;
  border: 1px solid var(--border);
}

.testimonial span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-weight: 600;
}

.pricing-grid {
  margin-top: 32px;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.pricing-card {
  background: var(--surface);
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--border);
  display: grid;
  gap: 12px;
}

.pricing-card.featured {
  border-color: var(--brand);
  box-shadow: var(--shadow);
}

.price {
  font-size: 1.8rem;
  margin: 0;
}

.price span {
  font-size: 1rem;
  color: var(--muted);
}

.demo-form {
  margin-top: 32px;
  display: grid;
  gap: 16px;
  max-width: 520px;
}

.demo-form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
}

.demo-form input,
.demo-form select {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 1rem;
}

.form-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.faq-grid {
  margin-top: 24px;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.site-footer {
  background: var(--ink);
  color: #fff;
  padding: 40px 24px;
  display: grid;
  gap: 20px;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
}

.copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

@media (max-width: 760px) {
  .nav-links {
    display: none;
  }

  .nav {
    justify-content: space-between;
  }
}
