:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --text: #111827;
  --muted: #4b5563;
  --line: #e5e7eb;
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 20% 0%, #eef4ff 0%, var(--bg) 35%);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: min(1080px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}

.logo {
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
  width: 40px;
  height: 40px;
  cursor: pointer;
}

.hero {
  position: relative;
  padding: 4.5rem 0 3rem;
  isolation: isolate;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(22px);
  opacity: 0.5;
  z-index: 0;
  animation: float 8s ease-in-out infinite;
}

.hero-glow-1 {
  width: 280px;
  height: 280px;
  background: #86b3ff;
  right: 6%;
  top: 10px;
}

.hero-glow-2 {
  width: 220px;
  height: 220px;
  background: #a7f3d0;
  left: 8%;
  bottom: 0;
  animation-delay: -3s;
}

.eyebrow {
  color: var(--brand);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  margin: 0 0 1rem;
}

h2 {
  margin-top: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.hero-copy,
.section-lead {
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.2rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(29, 78, 216, 0.2);
}

.btn-ghost {
  background: transparent;
  color: var(--brand);
}

.btn-small {
  padding: 0.45rem 0.8rem;
}

.stats-card,
.card,
.quote-card,
.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.05);
}

.stats-card {
  padding: 1.2rem;
}

.stats-card ul {
  margin: 0;
  padding-left: 1.1rem;
}

.section {
  padding: 3.5rem 0;
}

.section-muted {
  background: #f1f5f9;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  padding: 1.2rem;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: #c6d4f7;
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.12);
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.pills span {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-size: 0.95rem;
  transition: transform 180ms ease, border-color 180ms ease;
}

.pills span:hover {
  transform: translateY(-2px);
  border-color: #bfdbfe;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
}

.quote-card {
  padding: 1.2rem;
  color: var(--muted);
  font-style: italic;
}

.contact-form {
  margin-top: 1rem;
  padding: 1rem;
  display: grid;
  gap: 0.8rem;
  max-width: 680px;
}

.contact-form label {
  display: grid;
  gap: 0.3rem;
  font-weight: 600;
}

input,
textarea {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.6rem 0.7rem;
  font: inherit;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-wrap {
  min-height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-18px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-glow,
  .reveal,
  .btn,
  .card,
  .pills span {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

@media (max-width: 860px) {
  .hero-grid,
  .cards,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    position: absolute;
    top: 68px;
    right: 4%;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.8rem;
    min-width: 200px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav.open {
    display: flex;
  }
}
