:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --primary: #3aa7c9;
  --primary-strong: #2e8fb0;
  --accent: #64d5ac;
  --text: #0f172a;
  --muted: #5b6475;
  --border: #e3e8ef;
  --shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
  --radius: 16px;
  --space: 64px;
  --section-padding: clamp(52px, 8vw, 96px);
}

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

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  color: var(--primary-strong);
}

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

.container {
  width: min(1200px, 94vw);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 249, 252, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.1rem;
}

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

.nav a {
  font-weight: 500;
}

.menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  position: relative;
}

.menu-toggle::before,
.menu-toggle::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s ease;
}

.menu-toggle::before {
  top: 14px;
}
.menu-toggle::after {
  top: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.btn--primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: 0 14px 30px rgba(58, 167, 201, 0.35);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(58, 167, 201, 0.4);
}

.btn--ghost {
  border-color: var(--border);
  background: #fff;
  color: var(--text);
}

.btn--ghost:hover {
  border-color: var(--primary);
  color: var(--primary-strong);
}

.hero {
  padding: 120px 0 80px;
  background: radial-gradient(
      circle at 10% 20%,
      rgba(58, 167, 201, 0.14),
      transparent 30%
    ),
    radial-gradient(
      circle at 80% 10%,
      rgba(100, 213, 172, 0.14),
      transparent 30%
    );
}

.hero__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.hero__content h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero__content .lead {
  color: var(--muted);
  margin-bottom: 22px;
}

.eyebrow {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-strong);
  font-weight: 700;
  font-size: 0.78rem;
  margin-bottom: 10px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.proof {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
}

.proof strong {
  font-size: 1.5rem;
  display: block;
}

.hero__visual {
  position: relative;
}

.glass {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.78),
    rgba(255, 255, 255, 0.95)
  );
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.glass__content ul {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.5;
  display: grid;
  gap: 6px;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  filter: blur(0px);
  opacity: 0.4;
}

.bubble--one {
  width: 120px;
  height: 120px;
  background: rgba(58, 167, 201, 0.25);
  top: -30px;
  right: -20px;
}

.bubble--two {
  width: 90px;
  height: 90px;
  background: rgba(100, 213, 172, 0.25);
  bottom: -20px;
  left: -10px;
}

.bubble--three {
  width: 60px;
  height: 60px;
  background: rgba(58, 167, 201, 0.18);
  bottom: 40px;
  right: 30px;
}

.section {
  padding: var(--section-padding) 0;
}

.section--muted {
  background: #fff;
}

.section__header {
  max-width: 720px;
}

.section__header h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin-bottom: 8px;
}

.section__header .subhead {
  color: var(--muted);
}

.lp-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.lp-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
  display: grid;
  gap: 12px;
}

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

.lp-card ul {
  list-style: none;
  display: grid;
  gap: 8px;
  color: var(--muted);
  padding: 0;
}

.lp-card li {
  position: relative;
  padding-left: 18px;
}

.lp-card li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: 0;
  top: 9px;
}

.section__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  align-items: start;
}

.copy {
  color: var(--muted);
  display: grid;
  gap: 14px;
}

.copy .highlight {
  color: var(--text);
  font-weight: 600;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  display: grid;
  gap: 10px;
}

.card .icon {
  font-size: 1.4rem;
}

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

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.work-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
}

.work-card__media {
  height: 180px;
  background: linear-gradient(
      135deg,
      rgba(58, 167, 201, 0.3),
      rgba(100, 213, 172, 0.28)
    ),
    url("https://images.unsplash.com/photo-1521737604893-d14cc237f11d?auto=format&fit=crop&w=800&q=80")
      center/cover;
}

.work-card:nth-child(2) .work-card__media {
  background: linear-gradient(
      135deg,
      rgba(58, 167, 201, 0.35),
      rgba(100, 213, 172, 0.2)
    ),
    url("https://images.unsplash.com/photo-1523475472560-d2df97ec485c?auto=format&fit=crop&w=800&q=80")
      center/cover;
}

.work-card:nth-child(3) .work-card__media {
  background: linear-gradient(
      135deg,
      rgba(58, 167, 201, 0.28),
      rgba(100, 213, 172, 0.3)
    ),
    url("https://images.unsplash.com/photo-1518611012118-696072aa579a?auto=format&fit=crop&w=800&q=80")
      center/cover;
}

.work-card:nth-child(4) .work-card__media {
  background: linear-gradient(
      135deg,
      rgba(58, 167, 201, 0.32),
      rgba(100, 213, 172, 0.24)
    ),
    url("https://images.unsplash.com/photo-1489515217757-5fd1be406fef?auto=format&fit=crop&w=800&q=80")
      center/cover;
}

.work-card__body {
  padding: 18px;
  display: grid;
  gap: 10px;
}

.pill {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(58, 167, 201, 0.1);
  color: var(--primary-strong);
  font-weight: 600;
  font-size: 0.85rem;
}

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

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.benefit {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.benefit p {
  color: var(--muted);
}

.testimonial-slider {
  display: grid;
  gap: 16px;
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease, opacity 0.35s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.15);
  border-color: rgba(58, 167, 201, 0.3);
}

.testimonial-card--active {
  opacity: 1;
}

.testimonial-card.is-transitioning {
  opacity: 0;
}

.testimonial-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(58, 167, 201, 0.25);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.1);
}

.testimonial-name {
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.testimonial-role {
  color: var(--muted);
  font-size: 0.92rem;
}

.testimonial-stars {
  color: #f2b705;
  font-weight: 700;
  white-space: nowrap;
  font-size: 0.95rem;
  letter-spacing: 1px;
}

.testimonial-quote {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.7;
  position: relative;
  padding-left: 12px;
}

.testimonial-quote::before {
  content: "“";
  position: absolute;
  left: 0;
  top: -4px;
  font-size: 2rem;
  color: rgba(58, 167, 201, 0.35);
  line-height: 1;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.testimonial-controls button {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 12px;
  padding: 10px 14px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.testimonial-controls button:hover {
  background: var(--bg);
  transform: translateY(-1px);
  border-color: rgba(58, 167, 201, 0.4);
}

.cta {
  background: linear-gradient(
    135deg,
    rgba(58, 167, 201, 0.12),
    rgba(100, 213, 172, 0.12)
  );
}

.cta__header {
  display: grid;
  gap: 10px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto 26px;
}

.cta__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.cta-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 10px;
  height: 100%;
}

.cta-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(58, 167, 201, 0.12);
  font-size: 1.2rem;
}

.cta-card h3 {
  margin: 0;
}

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

.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-strong);
  font-weight: 700;
}

.cta-link:hover {
  color: var(--primary);
}

.footer {
  background: #0f172a;
  color: #e2e8f0;
  padding: 40px 0 30px;
  margin-top: 40px;
}

.footer a {
  color: #e2e8f0;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 18px;
}

.footer__brand-block {
  display: grid;
  gap: 10px;
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer__logo {
  width: 100px;
  height: 100px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(226, 232, 240, 0.28);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.footer__grid h4 {
  margin-bottom: 10px;
}

.footer__grid ul {
  display: grid;
  gap: 8px;
  list-style: none;
}

.footer__bottom {
  border-top: 1px solid rgba(226, 232, 240, 0.18);
  padding-top: 12px;
  color: #cbd5e1;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (max-width: 960px) {
  .topbar__inner {
    padding: 12px 0;
  }
  .nav {
    display: none;
  }
  .nav.is-open {
    display: grid;
    position: absolute;
    top: 60px;
    right: 4vw;
    background: #fff;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow);
    gap: 12px;
    width: 260px;
  }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .hero {
    padding-top: 90px;
  }
  .cta__box {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  :root {
    --space: 52px;
  }
  .hero__content h1 {
    font-size: clamp(2rem, 7vw, 2.8rem);
  }
  .cta__box {
    flex-direction: column;
    align-items: flex-start;
  }
  .proof {
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  }
}

@media (max-width: 820px) {
  .hero {
    padding: 96px 0 64px;
  }
  .hero__grid {
    gap: 28px;
  }
  .nav.is-open {
    width: calc(100vw - 24px);
    right: 12px;
  }
  .cta__box {
    gap: 18px;
  }
}

@media (max-width: 540px) {
  .topbar__inner {
    padding: 10px 0;
  }
  .actions .btn {
    width: 100%;
  }
  .work-card__media {
    height: 150px;
  }
  .testimonial-card {
    padding: 20px;
  }
  .quote {
    font-size: 1.05rem;
  }
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.is-active {
  display: flex;
  opacity: 1;
}

.modal-container {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  max-width: 600px;
  width: 90vw;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  animation: modal-slide-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modal-slide-in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
  z-index: 10;
}

.modal-close:hover {
  background: rgba(58, 167, 201, 0.1);
  color: var(--primary-strong);
}

.modal-content {
  padding: 40px;
}

.modal-header {
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
}

.modal-header h2 {
  font-size: 2rem;
  margin-bottom: 8px;
  color: var(--text);
}

.modal-category {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(58, 167, 201, 0.1);
  color: var(--primary-strong);
  font-weight: 600;
  font-size: 0.85rem;
  margin: 0;
}

.modal-body {
  margin-bottom: 30px;
}

.case-study-section {
  margin-bottom: 28px;
}

.case-study-section h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--text);
}

.case-study-section p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.case-study-metrics {
  margin: 28px 0;
  padding: 20px;
  background: rgba(58, 167, 201, 0.05);
  border-radius: 12px;
}

.case-study-metrics h3 {
  margin-top: 0;
  margin-bottom: 16px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.metric-item {
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  text-align: center;
}

.metric-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.metric-label {
  font-size: 0.85rem;
  color: var(--muted);
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.features-list li {
  padding: 10px 0;
  padding-left: 24px;
  color: var(--muted);
  position: relative;
}

.features-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.modal-footer {
  padding-top: 20px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.modal-cta {
  color: var(--muted);
  margin-bottom: 16px;
}

.modal-footer .btn {
  margin: 0 auto;
}

/* Scrollbar styling for modal */
.modal-container::-webkit-scrollbar {
  width: 8px;
}

.modal-container::-webkit-scrollbar-track {
  background: transparent;
}

.modal-container::-webkit-scrollbar-thumb {
  background: rgba(58, 167, 201, 0.3);
  border-radius: 4px;
}

.modal-container::-webkit-scrollbar-thumb:hover {
  background: rgba(58, 167, 201, 0.5);
}

@media (max-width: 640px) {
  .modal-container {
    max-height: 90vh;
    width: 95vw;
  }

  .modal-content {
    padding: 24px;
  }

  .modal-header h2 {
    font-size: 1.5rem;
  }

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

  .modal-close {
    top: 16px;
    right: 16px;
  }
}
