/* ===================================
   Niagara EV Charge — Styles
   =================================== */

:root {
  --primary: #0a7eff;
  --primary-dark: #0060cc;
  --accent: #00c97a;
  --dark: #0d1117;
  --text: #1e2025;
  --muted: #5c6370;
  --border: #e2e6ea;
  --bg-light: #f5f7fa;
  --bg-dark: #0d1117;
  --white: #ffffff;
  --radius: 8px;
  --shadow: 0 2px 16px rgba(0,0,0,0.07);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-size: 16px;
  transition: background 0.2s, transform 0.1s;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-header {
  background: var(--primary);
  color: var(--white);
  font-size: 14px;
  padding: 10px 20px;
}

.btn-large {
  font-size: 18px;
  padding: 16px 32px;
}

.btn-submit {
  width: 100%;
  font-size: 18px;
  padding: 16px;
  margin-top: 8px;
}

.btn-rebate {
  background: var(--white);
  color: var(--primary);
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Header */
.site-header {
  background: var(--dark);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 18px;
  color: var(--white);
}

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

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, #0d2340 100%);
  color: var(--white);
  padding: 88px 0 80px;
}

.hero-eyebrow {
  color: var(--accent);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(30px, 5vw, 50px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin-bottom: 30px;
  line-height: 1.7;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.badge {
  background: rgba(10,126,255,0.18);
  border: 1px solid rgba(10,126,255,0.4);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

/* Rebate Banner */
.rebate-banner {
  background: var(--accent);
  padding: 28px 0;
}

.rebate-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.rebate-icon {
  font-size: 36px;
  flex-shrink: 0;
}

.rebate-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.rebate-content p {
  font-size: 14px;
  color: rgba(0,0,0,0.7);
}

/* Sections */
section {
  padding: 72px 0;
}

section h2 {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--dark);
}

.section-sub {
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 40px;
}

/* Why Level 2 */
.why {
  background: var(--bg-light);
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}

.compare-card {
  border-radius: var(--radius);
  padding: 28px 24px;
}

.compare-card.bad {
  background: #fff5f5;
  border: 2px solid #fed7d7;
}

.compare-card.good {
  background: #f0fff4;
  border: 2px solid #9ae6b4;
}

.compare-label {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 16px;
  color: var(--dark);
}

.compare-card ul {
  list-style: none;
  padding: 0;
}

.compare-card.bad ul li::before {
  content: "✗ ";
  color: #e53e3e;
}

.compare-card.good ul li::before {
  content: "✓ ";
  color: #38a169;
}

.compare-card ul li {
  padding: 5px 0;
  font-size: 15px;
  color: var(--text);
}

/* Services */
.services {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.service-card {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--border);
}

.service-icon {
  font-size: 32px;
  margin-bottom: 14px;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark);
}

.service-card p {
  color: var(--muted);
  font-size: 15px;
}

/* Brands */
.brands {
  background: var(--bg-light);
}

.brand-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  margin-bottom: 20px;
}

.brand-item {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 10px 18px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.brand-note {
  color: var(--muted);
  font-size: 14px;
  margin-top: 12px;
}

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

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.step {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--border);
}

.step-number {
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark);
}

.step p {
  color: var(--muted);
  font-size: 14px;
}

/* Reviews */
.reviews {
  background: var(--bg-light);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.stars {
  color: #f5a623;
  font-size: 18px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.review-card p {
  color: var(--text);
  font-style: italic;
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.7;
}

.reviewer {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

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

.pricing-factors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 32px;
  margin-bottom: 40px;
}

.factor {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
}

.factor-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.factor h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark);
}

.factor p {
  color: var(--muted);
  font-size: 14px;
}

.pricing-cta {
  text-align: center;
  padding: 32px;
  background: var(--bg-light);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.pricing-cta p {
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 20px;
}

/* Service Area */
.service-area {
  background: var(--bg-light);
}

.service-area p {
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 24px;
  font-size: 16px;
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.area-tags span {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

/* Quote Form */
.quote-form {
  background: var(--dark);
  color: var(--white);
}

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

.form-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.form-copy p {
  color: rgba(255,255,255,0.75);
  font-size: 17px;
  margin-bottom: 28px;
}

.form-assurances {
  list-style: none;
  padding: 0;
}

.form-assurances li {
  color: rgba(255,255,255,0.85);
  padding: 7px 0;
  font-size: 15px;
}

.lead-form {
  background: var(--white);
  border-radius: 12px;
  padding: 36px 32px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  color: var(--text);
  transition: border-color 0.2s;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-privacy {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
}

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

.footer-content {
  margin-bottom: 24px;
}

.footer-content .logo-text {
  color: var(--white);
  font-weight: 700;
  font-size: 18px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.footer-content p {
  font-size: 14px;
  color: #777;
  margin-bottom: 6px;
  max-width: 440px;
}

.footer-hours {
  font-size: 14px;
  color: #666;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

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

.footer-links a:hover {
  color: var(--white);
}

.footer-legal {
  font-size: 13px;
  color: #444;
  border-top: 1px solid #1e2025;
  padding-top: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .form-wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .rebate-content {
    flex-direction: column;
    text-align: center;
  }

  .site-header .btn-header {
    display: none;
  }

  section {
    padding: 48px 0;
  }
}

@media (max-width: 480px) {
  .hero-badges {
    flex-direction: column;
    align-items: flex-start;
  }

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