:root {
  --bg: #f4fbff;
  --panel: rgba(255, 255, 255, 0.82);
  --panel-strong: #ffffff;
  --text: #103044;
  --muted: #5f7788;
  --line: rgba(28, 103, 150, 0.12);
  --blue: #237bff;
  --blue-deep: #0f5fd6;
  --teal: #34d3c9;
  --green: #6dd48f;
  --shadow: 0 20px 60px rgba(24, 83, 128, 0.12);
  --shadow-soft: 0 12px 30px rgba(20, 87, 127, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Segoe UI", "Aptos", "Helvetica Neue", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(52, 211, 201, 0.16), transparent 30%),
    radial-gradient(circle at top right, rgba(35, 123, 255, 0.14), transparent 34%),
    linear-gradient(180deg, #f8fcff 0%, #f2fbff 46%, #eef8f6 100%);
}

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

.site-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 14px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 14px 0 22px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 220px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.brand-mark svg {
  width: 48px;
  height: 48px;
  display: block;
}

.brand strong,
.footer strong {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.brand small {
  color: var(--muted);
  display: block;
  margin-top: 2px;
  font-size: 0.82rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  font-size: 0.95rem;
  color: var(--muted);
}

.nav a,
.footer a {
  transition: color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.nav a:hover,
.footer a:hover {
  color: var(--blue-deep);
}

.top-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.top-cta {
  padding: 12px 18px;
  color: white;
  background: linear-gradient(135deg, var(--blue) 0%, var(--teal) 100%);
  box-shadow: 0 12px 24px rgba(35, 123, 255, 0.24);
}

.section {
  padding: 34px 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 32px;
  min-height: calc(100vh - 130px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-deep);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--blue));
}

.hero h1,
.section-heading h2,
.cta-card h2 {
  margin: 14px 0 0;
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-family: "Segoe UI", "Aptos", sans-serif;
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 5.6rem);
  max-width: 10ch;
}

.lead {
  margin: 18px 0 0;
  max-width: 42rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  padding: 14px 22px;
}

.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue) 55%, var(--teal) 100%);
  box-shadow: 0 16px 28px rgba(35, 123, 255, 0.24);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(35, 123, 255, 0.16);
}

.btn:hover,
.top-cta:hover,
.social-row a:hover {
  transform: translateY(-2px);
}

.trust-row,
.tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row {
  margin-top: 26px;
}

.trust-pill,
.tag-grid span {
  border: 1px solid rgba(35, 123, 255, 0.12);
  background: rgba(255, 255, 255, 0.8);
  color: var(--muted);
  border-radius: 999px;
  padding: 10px 14px;
  box-shadow: 0 10px 24px rgba(33, 92, 132, 0.06);
}

.hero-visual {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.7;
  animation: float 8s ease-in-out infinite;
}

.orb-a {
  width: 160px;
  height: 160px;
  top: 18px;
  left: 24px;
  background: rgba(52, 211, 201, 0.2);
}

.orb-b {
  width: 220px;
  height: 220px;
  right: 16px;
  bottom: 40px;
  background: rgba(35, 123, 255, 0.16);
  animation-delay: -2s;
}

.hero-panel {
  position: relative;
  width: 100%;
  padding: 20px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.hero-illustration svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 26px;
}

.floating-card {
  position: absolute;
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 18px 30px rgba(27, 84, 122, 0.14);
  font-weight: 700;
  color: var(--text);
  animation: bob 6s ease-in-out infinite;
}

.floating-card span {
  color: var(--blue);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}

.floating-a {
  top: 20px;
  right: -8px;
}

.floating-b {
  bottom: 34px;
  left: -8px;
  animation-delay: -1.5s;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 22px;
}

.section-heading h2,
.cta-card h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.about-grid,
.service-grid,
.feature-grid,
.why-grid,
.testimonial-grid {
  display: grid;
  gap: 18px;
}

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

.about-card,
.service-card,
.why-card,
.testimonial-card,
.cta-card,
.feature-list,
.dashboard-preview,
.preview-shell {
  border-radius: var(--radius-xl);
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-soft);
}

.about-card,
.service-card,
.why-card,
.testimonial-card {
  padding: 22px;
  backdrop-filter: blur(18px);
}

.about-card p,
.service-card p,
.why-card p,
.cta-card p,
.testimonial-card p {
  color: var(--muted);
  line-height: 1.7;
  margin: 12px 0 0;
}

.about-card.accent {
  background: linear-gradient(145deg, rgba(237, 251, 255, 0.94), rgba(235, 250, 244, 0.94));
}

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

.icon-badge {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(35, 123, 255, 0.12), rgba(52, 211, 201, 0.14));
  color: var(--blue-deep);
}

.icon-badge svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3,
.why-card h3 {
  margin: 16px 0 0;
  font-size: 1.1rem;
}

.features {
  position: relative;
}

.feature-grid {
  grid-template-columns: 0.78fr 1.22fr;
  align-items: stretch;
}

.feature-list {
  padding: 20px;
  display: grid;
  gap: 14px;
  align-content: start;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(35, 123, 255, 0.08);
  color: var(--text);
  font-weight: 600;
}

.feature-item span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--teal));
  box-shadow: 0 0 0 6px rgba(109, 212, 143, 0.12);
}

.dashboard-preview {
  padding: 18px;
}

.preview-shell {
  padding: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 252, 255, 0.82));
}

.preview-topbar {
  display: flex;
  gap: 8px;
  padding: 4px 4px 14px;
}

.preview-topbar span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(32, 91, 136, 0.14);
}

.preview-content {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
}

.preview-sidebar {
  padding: 14px 10px;
  border-radius: 22px;
  background: linear-gradient(180deg, #0f5fd6 0%, #1c7cf6 55%, #34d3c9 100%);
  display: grid;
  justify-items: center;
  gap: 12px;
}

.mini-logo,
.nav-dot {
  background: rgba(255, 255, 255, 0.26);
}

.mini-logo {
  width: 24px;
  height: 24px;
  border-radius: 8px;
}

.nav-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
}

.nav-dot.active {
  background: white;
}

.preview-main {
  display: grid;
  gap: 14px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.stat-tile {
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(35, 123, 255, 0.08);
}

.stat-tile strong {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.stat-tile span {
  color: var(--muted);
  font-size: 0.86rem;
}

.chart-card,
.table-card {
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(35, 123, 255, 0.08);
}

.chart-card {
  min-height: 230px;
  padding: 24px;
}

.chart-bars {
  height: 100%;
  display: flex;
  align-items: end;
  gap: 12px;
}

.chart-bars span {
  flex: 1;
  border-radius: 18px 18px 8px 8px;
  background: linear-gradient(180deg, var(--teal), var(--blue));
  box-shadow: 0 12px 22px rgba(35, 123, 255, 0.14);
}

.table-card {
  padding: 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.table-card div {
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(35, 123, 255, 0.12), rgba(52, 211, 201, 0.18));
}

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

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

.testimonial-card {
  padding: 24px;
}

.testimonial-card footer {
  margin-top: 18px;
  color: var(--blue-deep);
  font-weight: 700;
  font-size: 0.94rem;
}

.cta-section {
  padding-bottom: 58px;
}

.cta-card {
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(135deg, rgba(9, 79, 157, 0.96), rgba(32, 144, 176, 0.9), rgba(52, 211, 201, 0.88));
  color: white;
}

.cta-card .eyebrow,
.cta-card p {
  color: rgba(255, 255, 255, 0.9);
}

.cta-card .eyebrow::before {
  background: rgba(255, 255, 255, 0.9);
}

.cta-card .hero-actions {
  margin-top: 0;
}

.cta-card .btn-secondary {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.18);
  color: white;
}

.footer {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 20px;
  padding: 28px 0 46px;
  border-top: 1px solid rgba(35, 123, 255, 0.1);
}

.footer p,
.footer a {
  color: var(--muted);
  display: block;
  margin-top: 10px;
  line-height: 1.6;
}

.footer h3 {
  margin: 0;
  font-size: 0.98rem;
}

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.social-row a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(35, 123, 255, 0.1);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--blue-deep);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

.service-card,
.why-card,
.testimonial-card,
.about-card,
.feature-item,
.social-row a,
.btn,
.top-cta {
  position: relative;
  overflow: hidden;
}

.service-card::after,
.why-card::after,
.testimonial-card::after,
.about-card::after {
  content: "";
  position: absolute;
  inset: auto -30% -40% auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 211, 201, 0.15), transparent 65%);
  pointer-events: none;
}

.service-card:hover,
.why-card:hover,
.testimonial-card:hover,
.about-card:hover,
.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

@keyframes float {
  0%, 100% { transform: translateY(0px) translateX(0); }
  50% { transform: translateY(-10px) translateX(6px); }
}

@keyframes bob {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

@media (max-width: 1100px) {
  .hero,
  .feature-grid,
  .cta-card {
    grid-template-columns: 1fr;
    display: grid;
  }

  .hero {
    min-height: auto;
    padding-top: 12px;
  }

  .hero-visual {
    min-height: 520px;
  }

  .about-grid,
  .service-grid,
  .why-grid,
  .testimonial-grid,
  .footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-shell {
    width: min(100% - 20px, 1200px);
  }

  .topbar {
    top: 10px;
    border-radius: 24px;
    padding: 14px;
    flex-wrap: wrap;
  }

  .brand {
    min-width: 0;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    gap: 12px;
    font-size: 0.9rem;
  }

  .hero {
    gap: 22px;
  }

  .hero h1 {
    max-width: 100%;
  }

  .hero-visual {
    min-height: 440px;
  }

  .floating-a {
    top: 4px;
    right: 0;
  }

  .floating-b {
    left: 0;
    bottom: 12px;
  }

  .about-grid,
  .service-grid,
  .why-grid,
  .testimonial-grid,
  .footer,
  .stats-row {
    grid-template-columns: 1fr;
  }

  .feature-list,
  .dashboard-preview,
  .cta-card {
    padding: 18px;
  }

  .preview-content {
    grid-template-columns: 1fr;
  }

  .preview-sidebar {
    grid-template-columns: repeat(5, 1fr);
    justify-items: center;
    align-items: center;
  }

  .mini-logo {
    grid-column: 1 / -1;
  }
}
