/* === Reset & Base === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif;
  color: #1e293b;
  line-height: 1.6;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* === Accessibility === */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: #2563eb;
  color: #fff;
  padding: 8px 16px;
  border-radius: 0 0 8px 8px;
  z-index: 1000;
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* === Utility === */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === Header === */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 1.15rem;
}

.logo strong {
  font-weight: 700;
}

.header nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header nav a:not(.btn) {
  color: #cbd5e1;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

.header nav a:not(.btn):hover {
  color: #fff;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-header {
  background: #2563eb;
  color: #fff;
  padding: 10px 22px;
  font-size: 0.9rem;
}

.btn-header:hover {
  background: #1d4ed8;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.btn-hero {
  background: #2563eb;
  color: #fff;
  padding: 16px 36px;
  font-size: 1.1rem;
  border-radius: 10px;
}

.btn-hero:hover {
  background: #1d4ed8;
  box-shadow: 0 6px 24px rgba(37, 99, 235, 0.5);
}

.btn-hero-secondary {
  background: transparent;
  color: #fff;
  padding: 16px 36px;
  font-size: 1.1rem;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-hero-secondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

.btn-submit {
  background: #2563eb;
  color: #fff;
  padding: 16px 40px;
  font-size: 1.05rem;
  border-radius: 10px;
  width: 100%;
  max-width: 400px;
}

.btn-submit:hover {
  background: #1d4ed8;
  box-shadow: 0 6px 24px rgba(37, 99, 235, 0.5);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* === Hero === */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  color: #fff;
  padding: 100px 0 90px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(37, 99, 235, 0.15);
  color: #60a5fa;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid rgba(37, 99, 235, 0.3);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero-tagline {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  max-width: 680px;
  margin: 0 auto 40px;
  color: #cbd5e1;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #94a3b8;
  font-size: 0.9rem;
}

.hero-stars {
  display: flex;
  align-items: center;
  gap: 2px;
}

.hero-stars span {
  margin-left: 6px;
  color: #f59e0b;
  font-weight: 600;
}

/* === Problem === */
.problem {
  padding: 80px 0;
  background: #f8fafc;
}

.problem-card {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.problem-card h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 24px;
}

.problem-text {
  font-size: 1.1rem;
  color: #475569;
  margin-bottom: 16px;
  line-height: 1.7;
}

.problem-text em {
  color: #2563eb;
  font-style: normal;
  font-weight: 600;
}

.problem-text strong {
  color: #0f172a;
}

/* === Section Titles === */
.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  text-align: center;
  color: #0f172a;
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  color: #64748b;
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 48px;
}

/* === Services === */
.services {
  padding: 80px 0;
  background: #fff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.service-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 32px 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.1);
  border-color: #2563eb;
}

.service-icon {
  width: 56px;
  height: 56px;
  background: #eff6ff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}

.service-card p {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.65;
}

/* === How It Works === */
.how-it-works {
  padding: 80px 0;
  background: #f8fafc;
}

.steps-grid {
  display: flex;
  align-items: flex-start;
  gap: 0;
  justify-content: center;
  flex-wrap: wrap;
}

.step-card {
  flex: 1;
  min-width: 200px;
  max-width: 260px;
  text-align: center;
  padding: 0 16px;
}

.step-number {
  width: 52px;
  height: 52px;
  background: #2563eb;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 auto 20px;
}

.step-connector {
  width: 60px;
  height: 2px;
  background: #cbd5e1;
  margin-top: 26px;
  flex-shrink: 0;
}

.step-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}

.step-card p {
  color: #64748b;
  font-size: 0.93rem;
  line-height: 1.65;
}

/* === Stats === */
.stats {
  padding: 80px 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  color: #fff;
}

.stats .section-title {
  color: #fff;
}

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

.stat-card {
  text-align: center;
  padding: 28px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
}

.stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #60a5fa;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.stat-label {
  color: #94a3b8;
  font-size: 0.93rem;
  line-height: 1.5;
}

/* === Testimonials === */
.testimonials {
  padding: 80px 0;
  background: #fff;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.testimonial-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 32px 28px;
}

.stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
}

.testimonial-card blockquote {
  font-size: 1rem;
  color: #334155;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 16px;
}

.testimonial-card cite {
  display: block;
  color: #64748b;
  font-size: 0.88rem;
  font-style: normal;
  font-weight: 500;
}

/* === Areas We Serve === */
.areas {
  padding: 80px 0;
  background: #f8fafc;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.areas-column h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #2563eb;
}

.areas-column ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.areas-column li {
  font-size: 0.93rem;
  color: #475569;
}

.areas-column a {
  color: #2563eb;
  font-weight: 500;
  transition: color 0.15s;
}

.areas-column a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.areas-note {
  text-align: center;
  margin-top: 32px;
  color: #64748b;
  font-size: 0.95rem;
}

.areas-note a {
  color: #2563eb;
  font-weight: 600;
}

/* === FAQ === */
.faq {
  padding: 80px 0;
  background: #fff;
}

.faq-list {
  max-width: 760px;
  margin: 48px auto 0;
}

.faq-item {
  border-bottom: 1px solid #e2e8f0;
}

.faq-item:first-child {
  border-top: 1px solid #e2e8f0;
}

.faq-item summary {
  padding: 20px 4px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #0f172a;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  transition: color 0.15s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: #94a3b8;
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item[open] summary {
  color: #2563eb;
}

.faq-item p {
  padding: 0 4px 20px;
  color: #64748b;
  font-size: 0.98rem;
  line-height: 1.7;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === Audit Section === */
.audit-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  color: #fff;
  padding: 80px 0 90px;
  text-align: center;
}

.audit-title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.audit-subtitle {
  color: #cbd5e1;
  max-width: 560px;
  margin: 0 auto 48px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.audit-form {
  max-width: 680px;
  margin: 0 auto;
  text-align: left;
}

/* Honeypot */
.hp {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.form-group-full {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 6px;
}

.required {
  color: #f87171;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid #334155;
  background: #1e293b;
  color: #fff;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #64748b;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-message {
  text-align: center;
  font-size: 0.95rem;
  margin-bottom: 16px;
  min-height: 24px;
}

.form-message.success {
  color: #4ade80;
}

.form-message.error {
  color: #f87171;
}

.audit-form .btn-submit {
  display: block;
  margin: 8px auto 0;
}

.form-privacy {
  text-align: center;
  color: #64748b;
  font-size: 0.8rem;
  margin-top: 16px;
}

.form-privacy a {
  color: #94a3b8;
  text-decoration: underline;
}

/* === Footer === */
.footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 56px 0 32px;
  border-top: 1px solid #1e293b;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-logo {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  display: block;
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: 0.88rem;
  color: #94a3b8;
  transition: color 0.15s;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #60a5fa;
}

.footer-contact p {
  font-size: 0.88rem;
}

.footer-contact a {
  color: #cbd5e1;
  font-weight: 500;
}

.footer-copy {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 0.82rem;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #1e293b;
  color: #475569;
}

/* === Responsive === */
@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .header-inner {
    height: 56px;
  }

  .header nav a:not(.btn) {
    display: none;
  }

  .logo {
    font-size: 1rem;
  }

  .btn-header {
    padding: 8px 16px;
    font-size: 0.82rem;
  }

  .hero {
    padding: 72px 0 64px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-tagline {
    font-size: 1rem;
  }

  .hero-trust {
    flex-direction: column;
    gap: 8px;
  }

  .problem {
    padding: 56px 0;
  }

  .services,
  .how-it-works,
  .stats,
  .testimonials,
  .areas,
  .faq,
  .audit-section {
    padding: 56px 0 64px;
  }

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

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

  .steps-grid {
    flex-direction: column;
    align-items: center;
  }

  .step-connector {
    width: 2px;
    height: 30px;
    margin: 0;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .areas-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 400px) {
  .hero-title {
    font-size: 1.7rem;
  }

  .btn-hero {
    padding: 14px 28px;
    font-size: 1rem;
  }

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