:root {
  --bg: #f4f8fb;
  --surface: #ffffff;
  --surface-2: #eef5fa;
  --text: #183046;
  --muted: #5c7082;
  --blue: #3381c3;
  --blue-dark: #23639a;
  --gray: #95a2a6;
  --line: rgba(24, 48, 70, 0.08);
  --shadow: 0 18px 50px rgba(24, 48, 70, 0.08);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(51, 129, 195, 0.10), transparent 26%),
    radial-gradient(circle at 90% 10%, rgba(149, 162, 166, 0.12), transparent 18%),
    var(--bg);
}

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

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: #FFF;
  border-bottom: 1px solid rgba(24, 48, 70, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand img {
  height: 58px;
  width: auto;
}

.menu {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.menu a {
  font-size: 0.96rem;
  color: var(--muted);
  font-weight: 500;
}

.menu a:hover {
  color: var(--blue-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 700;
  transition: 0.25s ease;
}

.btn-sm {
  padding: 10px 18px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  box-shadow: 0 14px 34px rgba(51, 129, 195, 0.22);
}

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

.btn-secondary,
.btn-outline {
  border: 1px solid rgba(51, 129, 195, 0.16);
  background: rgba(255, 255, 255, 0.75);
  color: var(--blue-dark);
}

.btn-secondary:hover,
.btn-outline:hover {
  background: #fff;
}

.hero {
  padding: 72px 0 48px;
}

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

.eyebrow {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(51, 129, 195, 0.10);
  color: var(--blue-dark);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-copy h1,
.section-heading h2,
.solutions-grid h2,
.cta-box h2 {
  margin: 0 0 18px;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  max-width: 13ch;
}

.hero-copy p,
.section-heading p,
.solutions-grid p,
.cta-box p,
.info-card p,
.step p,
.stack-card p,
.floating-card p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 30px 0;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.hero-metrics div {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  padding: 18px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.hero-metrics strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 8px;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.hero-visual {
  position: relative;
  min-height: 560px;
}

.device {
  position: absolute;
  background: linear-gradient(180deg, #fff, #f7fbff);
  border: 1px solid rgba(24, 48, 70, 0.08);
  box-shadow: var(--shadow);
}

.device-browser {
  right: 0;
  top: 90px;
  width: 430px;
  border-radius: 26px;
  overflow: hidden;
}

.browser-top {
  display: flex;
  gap: 8px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(238, 245, 250, 0.7);
}

.browser-top span,
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(51, 129, 195, 0.35);
}

.browser-body {
  display: grid;
  grid-template-columns: 84px 1fr;
  min-height: 270px;
}

.browser-sidebar {
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(51, 129, 195, 0.09), transparent);
}

.browser-content {
  padding: 22px;
}

.browser-row {
  height: 14px;
  border-radius: 999px;
  background: rgba(149, 162, 166, 0.18);
  margin-bottom: 16px;
}

.browser-row.wide {
  width: 80%;
  height: 18px;
  background: rgba(51, 129, 195, 0.26);
}

.browser-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.browser-grid div {
  height: 86px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(51, 129, 195, 0.14), rgba(149, 162, 166, 0.14));
}

.device-phone {
  left: 40px;
  top: 10px;
  width: 210px;
  padding: 14px;
  border-radius: 34px;
}

.screen {
  min-height: 420px;
  border-radius: 24px;
  background: linear-gradient(180deg, #eef6fb, #ffffff);
  padding: 18px;
}

.screen-top {
  width: 40%;
  height: 12px;
  margin: 0 auto 24px;
  border-radius: 999px;
  background: rgba(24, 48, 70, 0.12);
}

.screen-chart {
  display: flex;
  align-items: end;
  gap: 10px;
  height: 120px;
  margin-bottom: 24px;
}

.screen-chart span {
  flex: 1;
  border-radius: 14px 14px 6px 6px;
  background: linear-gradient(180deg, rgba(51, 129, 195, 0.92), rgba(51, 129, 195, 0.45));
}

.screen-chart span:nth-child(1) { height: 52%; }
.screen-chart span:nth-child(2) { height: 78%; }
.screen-chart span:nth-child(3) { height: 62%; }
.screen-chart span:nth-child(4) { height: 90%; }

.screen-card {
  height: 88px;
  border-radius: 20px;
  background: rgba(149, 162, 166, 0.14);
  margin-bottom: 16px;
}

.screen-card.small {
  height: 62px;
  background: rgba(51, 129, 195, 0.16);
}

.floating-card {
  position: absolute;
  width: 240px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.floating-card h3,
.info-card h3,
.step h3,
.stack-card h3 {
  margin: 12px 0 10px;
  font-size: 1.1rem;
}

.card-a {
  top: 40px;
  right: 18px;
}

.card-b {
  left: 0;
  bottom: 40px;
}

.trust-bar {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
}

.trust-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  text-align: center;
}

.trust-items span {
  color: var(--muted);
  font-weight: 700;
}

.section {
  padding: 92px 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(238, 245, 250, 0.8));
}

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

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

.info-card,
.step,
.stack-card,
.cta-box {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.info-card {
  padding: 26px;
}

.icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(51, 129, 195, 0.16), rgba(149, 162, 166, 0.12));
  font-size: 1.55rem;
}

.solutions-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 14px;
}

.feature-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
  font-weight: 500;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
}

.stack-card {
  padding: 30px;
}

.stack-items {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 20px;
}

.stack-items span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(51, 129, 195, 0.10);
  color: var(--blue-dark);
  font-weight: 700;
  font-size: 0.95rem;
}

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

.step {
  padding: 26px;
}

.step-number {
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(51, 129, 195, 0.16), rgba(149, 162, 166, 0.12));
  color: var(--blue-dark);
  font-weight: 800;
}

.cta-section {
  padding-top: 24px;
}

.cta-box {
  padding: 34px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
  background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(238,245,250,0.92));
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.site-footer {
  padding: 32px 0 46px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.footer-logo {
  height: 48px;
  width: auto;
}

.footer-content p {
  margin: 0;
  color: var(--muted);
  text-align: right;
}

@media (max-width: 1100px) {
  .hero-grid,
  .solutions-grid,
  .cta-box,
  .cards-grid,
  .steps,
  .trust-items {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .device-browser {
    width: 370px;
  }
}

@media (max-width: 800px) {
  .menu {
    display: none;
  }

  .hero {
    padding-top: 44px;
  }

  .hero-grid,
  .solutions-grid,
  .cta-box,
  .trust-items,
  .cards-grid,
  .steps,
  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    max-width: none;
  }

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

  .device-phone {
    left: 8px;
    width: 180px;
  }

  .device-browser {
    width: calc(100% - 26px);
    right: 0;
  }

  .card-a {
    right: 0;
    width: 200px;
  }

  .card-b {
    left: 0;
    bottom: 10px;
    width: 210px;
  }

  .footer-content {
    flex-direction: column;
  }

  .footer-content p {
    text-align: center;
  }
}
