/* HeavyRally B2B Website — Brand Stylesheet
   Colors: Forest Green (#1A2E1A), Gold (#C8A951), Cream (#FAFAF7)
   Typography: System fonts for fast loading */

:root {
  --forest-green: #1A2E1A;
  --gold: #C8A951;
  --cream: #FAFAF7;
  --dark-text: #2A2A2A;
  --light-text: #666666;
  --white: #FFFFFF;
  --rule: #D4D4D4;
  --green-light: #2A4A2A;
  --gold-light: #D4B96A;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--dark-text);
  background: var(--white);
  line-height: 1.6;
}

/* Typography */
h1, h2, h3 {
  color: var(--forest-green);
  line-height: 1.2;
}

h1 { font-size: 2.75rem; font-weight: 800; }
h2 { font-size: 2rem; font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }

p { margin-bottom: 1rem; }

a {
  color: var(--gold);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

/* Layout */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--forest-green);
  z-index: 100;
  padding: 0.75rem 0;
  border-bottom: 3px solid var(--gold);
}

.nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

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

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

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

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero */
.hero {
  background: var(--forest-green);
  color: var(--white);
  padding: 8rem 0 5rem;
  text-align: center;
  margin-top: 56px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 3rem;
}

.hero h1 span { color: var(--gold); }

.hero-subtitle {
  color: var(--cream);
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: 1.6;
  opacity: 0.9;
}

.hero-supporting {
  color: var(--cream);
  font-size: 0.95rem;
  opacity: 0.7;
  margin-top: 1rem;
}

/* CTA Button */
.cta-button {
  display: inline-block;
  background: var(--gold);
  color: var(--forest-green);
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  text-decoration: none;
}

.cta-button:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  text-decoration: none;
}

.cta-button-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
}

.cta-button-outline:hover {
  background: var(--gold);
  color: var(--forest-green);
}

/* Problem Section */
.problem {
  background: var(--cream);
}

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

.problem-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 8px;
  border-top: 4px solid var(--gold);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.problem-card h3 {
  margin-bottom: 0.75rem;
  color: var(--forest-green);
}

.problem-card .stat {
  color: var(--gold);
  font-weight: 700;
  font-size: 1.1rem;
}

/* How It Works */
.how-it-works {
  background: var(--white);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

.step {
  text-align: center;
  padding: 1.5rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--forest-green);
  color: var(--gold);
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.step h3 {
  margin-bottom: 0.75rem;
}

.step-highlight {
  color: var(--gold);
  font-weight: 600;
}

/* Results Section */
.results {
  background: var(--forest-green);
  color: var(--white);
}

.results h2 { color: var(--white); }

.results-callout {
  background: var(--green-light);
  border-left: 4px solid var(--gold);
  padding: 2rem;
  border-radius: 0 8px 8px 0;
  margin: 2rem 0;
}

.results-callout .big-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold);
  display: block;
  margin-bottom: 0.5rem;
}

.results-callout .disclaimer {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-top: 1rem;
  font-style: italic;
}

.results-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.95rem;
}

.results-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  background: var(--green-light);
  color: var(--gold);
  font-weight: 600;
  border-bottom: 2px solid var(--gold);
}

.results-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: var(--cream);
}

.results-table tr:last-child td {
  font-weight: 700;
  color: var(--gold);
  border-top: 2px solid var(--gold);
}

/* Free Audit CTA */
.audit-cta {
  background: var(--cream);
  text-align: center;
}

.audit-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 700px;
  margin: 2rem auto;
  text-align: left;
}

.audit-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
}

.audit-feature .check {
  color: var(--gold);
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.audit-requirements {
  color: var(--light-text);
  font-size: 0.9rem;
  margin-top: 2rem;
}

/* FAQ */
.faq {
  background: var(--white);
}

.faq-list {
  max-width: 800px;
  margin: 2rem auto 0;
}

.faq-item {
  border-bottom: 1px solid var(--rule);
  padding: 1.5rem 0;
}

.faq-question {
  font-weight: 600;
  color: var(--forest-green);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  padding: 0;
  font-family: inherit;
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--gold);
  transition: transform 0.2s;
}

.faq-question.active::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--light-text);
  line-height: 1.7;
}

.faq-answer.open {
  max-height: 300px;
  padding-top: 1rem;
}

/* Contact Form Placeholder */
.contact-form {
  max-width: 500px;
  margin: 2rem auto 0;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
  color: var(--forest-green);
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--rule);
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,169,81,0.15);
}

/* Footer */
.footer {
  background: var(--forest-green);
  color: var(--cream);
  padding: 3rem 0;
  text-align: center;
}

.footer-brand {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  color: var(--gold);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-links a {
  color: var(--cream);
  font-weight: 500;
}

.footer-copyright {
  font-size: 0.8rem;
  opacity: 0.6;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-header h2 {
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--light-text);
  max-width: 600px;
  margin: 0 auto;
}

/* Positioning Statement */
.positioning {
  text-align: center;
  padding: 2rem 0;
  background: var(--forest-green);
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
}

.positioning p {
  color: var(--cream);
  font-size: 1.15rem;
  font-weight: 500;
  max-width: 700px;
  margin: 0 auto;
}

.positioning strong {
  color: var(--gold);
}

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }

  .hero { padding: 6rem 0 3rem; }
  .hero h1 { font-size: 2.25rem; }

  .problem-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .audit-features {
    grid-template-columns: 1fr;
  }

  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--forest-green);
    padding: 1rem;
    border-top: 1px solid var(--green-light);
  }
  .nav-toggle { display: block; }

  .results-table { font-size: 0.85rem; }
  .results-callout .big-number { font-size: 2rem; }

  section { padding: 3rem 0; }
}
