@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap");

:root {
  --primary: #007bff;
  --success: #28a745;
  --text: #2b2b2b;
  --muted: #6c757d;
  --bg: #ffffff;
  --accent: #6f42c1;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  background: var(--bg);
  color: var(--text);
}

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

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

button {
  cursor: pointer;
}

body.page-fade {
  opacity: 0.96;
  transition: opacity 0.3s ease;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.focus-ring:focus {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid #eaeaea;
  z-index: 1000;
}

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

.navbar-logo {
  object-fit: contain;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--primary);
  font-size: 20px;
}

.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 10px;
  color: #1f2937;
}

.nav-links a.active {
  background: rgba(0, 123, 255, 0.1);
  color: var(--primary);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: #1f2937;
  border-radius: 6px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 12px;
  border-top: 1px solid #eee;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 12px;
  border: 0;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #00a2ff);
  color: #fff;
}

.btn-secondary {
  background: #f1f5f9;
  color: #0f172a;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.hero {
  padding-top: 120px;
  padding-bottom: 48px;
  background: radial-gradient(
      1200px 600px at 90% -20%,
      rgba(0, 123, 255, 0.12),
      transparent
    ),
    radial-gradient(
      1200px 600px at 10% -30%,
      rgba(111, 66, 193, 0.12),
      transparent
    );
}

.hero .content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.hero h1 {
  font-size: 44px;
  line-height: 1.1;
  margin: 0 0 14px;
}

.hero p {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 20px;
}

.hero .badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.section {
  padding: 64px 0;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 26px;
}

.section h2 {
  font-size: 32px;
  margin: 0;
}

.grid {
  display: grid;
  gap: 20px;
}

.grid.cols-5 {
  grid-template-columns: repeat(5, 1fr);
}

.grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

.card .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(0, 123, 255, 0.1);
  color: var(--primary);
  margin-bottom: 12px;
  font-size: 20px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat {
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 16px;
  padding: 16px;
  text-align: center;
}

.stat .num {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
}

.stat .label {
  color: var(--muted);
}

.progress {
  height: 10px;
  background: #eef2f7;
  border-radius: 20px;
  overflow: hidden;
}

.progress .bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--success), #4ade80);
}

.partners {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  align-items: center;
}

.partners img {
  width: 100%;
  height: 72px;
  object-fit: contain;
  filter: saturate(1.1) contrast(1.05);
}

.accordion {
  border: 1px solid #eef2f7;
  border-radius: 14px;
  overflow: hidden;
}

.accordion-item {
  border-bottom: 1px solid #eef2f7;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: #f8fafc;
  font-weight: 600;
}

.accordion-body {
  display: none;
  padding: 14px 16px;
  color: var(--muted);
  background: #fff;
}

.slider {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial {
  min-width: 100%;
  padding: 20px;
  background: #fff;
  border: 1px solid #eef2f7;
}

.slide {
  min-width: 100%;
}

.logo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 16px;
  padding: 12px;
  box-shadow: var(--shadow);
}

.logo-card img {
  width: 100%;
  height: 72px;
  object-fit: contain;
}

.logo-card .caption {
  margin-top: 8px;
  font-weight: 600;
  color: #334155;
}

.dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 12px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #e5e7eb;
}

.dot.active {
  background: var(--primary);
}

.footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 36px 0;
}

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

.footer a {
  color: #e2e8f0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f1f5f9;
  color: #0f172a;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 14px;
}

.badge.success {
  background: rgba(40, 167, 69, 0.12);
  color: var(--success);
}

.badge.accent {
  background: rgba(111, 66, 193, 0.12);
  color: var(--accent);
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2000;
}

.modal .panel {
  background: #fff;
  border-radius: 16px;
  max-width: 520px;
  width: 90%;
  padding: 20px;
  box-shadow: var(--shadow);
}

.close-x {
  position: absolute;
  top: 14px;
  right: 16px;
  background: #f1f5f9;
  border-radius: 10px;
  padding: 8px;
}

.form {
  display: grid;
  gap: 12px;
}

.form label {
  user-select: none;
}

.form input,
.form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  font-size: 16px;
  font-family: inherit;
}

.form input:hover,
.form textarea:hover {
  border-color: #cbd5e1;
}

.form input:focus,
.form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
  outline: 0;
}

.form button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.map {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

.hero-img {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.pill {
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(0, 123, 255, 0.08);
  color: var(--primary);
  font-weight: 600;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table td,
.table th {
  border: 1px solid #e5e7eb;
  padding: 10px;
}

.security-gauge {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: conic-gradient(var(--success) 0 270deg, #e5e7eb 270deg 360deg);
  display: grid;
  place-items: center;
}

.security-gauge .center {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e5e7eb;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--success);
}

@media (max-width: 980px) {
  .hero .content {
    grid-template-columns: 1fr;
  }

  .grid.cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .partners {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  .grid.cols-3 {
    grid-template-columns: 1fr;
  }

  .grid.cols-4 {
    grid-template-columns: 1fr;
  }

  .grid.cols-5 {
    grid-template-columns: 1fr;
  }

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

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

  .hero h1 {
    font-size: 34px;
  }

  #google-contact-form > div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
}
