/* Custom Properties (CSS Variables) */
:root {
  --primary: #0f172a;
  --accent: #0ea5e9;
  --bg: #f8fafc;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --surface: #ffffff;
  --border: #e2e8f0;
  --success: #10b981;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Container */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header / Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}

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

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

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  color: var(--text-dark);
  font-weight: 500;
  padding: 8px 4px;
  position: relative;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--accent);
  border-radius: 3px;
}

.nav-links a:hover {
  color: var(--accent);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
}

/* Hero Band */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #1e293b 100%);
  color: var(--surface);
  padding: 64px 0;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  gap: 16px;
}

/* Section */
.section {
  padding: 48px 0;
}

.section .container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
}

/* Value Props */
.stat-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 8px;
}

.stat-item {
  flex: 1;
  min-width: 220px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 8px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-card .icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

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

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

/* Credentials Strip */
.credentials-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  background: var(--primary);
  color: var(--surface);
  padding: 16px 24px;
  border-radius: 8px;
  font-family: monospace;
  font-size: 0.95rem;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* CTA Section */
.cta {
  background-color: var(--accent);
  color: var(--surface);
  padding: 48px 0;
  text-align: center;
}

.cta h2 {
  color: var(--surface);
  font-size: 2rem;
  margin-bottom: 8px;
}

.cta p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: 600;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

.btn-primary {
  background-color: var(--primary);
  color: var(--surface);
  border: 1px solid var(--primary);
}

.btn-outline {
  background-color: transparent;
  color: var(--surface);
  border: 1px solid var(--surface);
}

/* Footer */
.footer {
  background-color: var(--primary);
  color: var(--surface);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}

.footer-col h3 {
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 12px;
  font-weight: 700;
}

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

.footer-col ul a {
  color: var(--surface);
  opacity: 0.8;
}

.footer-col ul a:hover {
  opacity: 1;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.legal-text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-top: 4px;
}

.footer .policy-cta {
  margin-top: 16px;
}

.footer .policy-cta h3 {
  color: var(--accent);
  margin-bottom: 4px;
}

.footer .policy-cta a {
  color: var(--surface);
  opacity: 0.9;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 16px;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 16px;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    box-shadow: var(--shadow);
    z-index: 99;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }

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

  .stat-grid {
    flex-direction: column;
  }

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

  .cta h2 {
    font-size: 1.5rem;
  }

  /* Policy Content */
  .policy-content h3 {
    font-size: 1.125rem;
    margin-top: 20px;
    margin-bottom: 8px;
  }

  .policy-content h3:first-of-type {
    margin-top: 0;
  }

  .policy-content p {
    color: var(--text-muted);
    margin-bottom: 8px;
  }

  .policy-content a {
    color: var(--accent);
  }

  .policy-content a:hover {
    text-decoration: underline;
  }

  .policy-cta {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
  }

  /* Service Grid for Full Page */
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }

  /* Utility */
  .section-intro {
    text-align: center;
  }

  .section-intro h2 {
    font-size: 1.75rem;
    font-weight: 700;
  }

  .section-intro p {
    color: var(--text-muted);
    margin-top: 8px;
  }

  @media (min-width: 769px) {
    .contact-content {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 48px;
      align-items: start;
    }

    .contact-info h2,
    .contact-cta h2 {
      font-size: 1.5rem;
    }
  }
}
