:root {
  --blue: #1769ff;
  --blue-dark: #0c3f9e;
  --text: #172033;
  --muted: #607089;
  --line: #e5ebf3;
  --bg: #f6f8fb;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(23, 105, 255, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Inter, Roboto, Arial, sans-serif;
  line-height: 1.6;
  background: var(--white);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  width: min(820px, calc(100% - 40px));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  color: #111111;
  font-family: "Brush Script MT", "Segoe Script", "Lucida Handwriting", cursive;
  font-size: 1.72rem;
  font-style: italic;
  font-weight: 400;
  line-height: 0.78;
  letter-spacing: -0.05em;
  transform: rotate(-2deg);
}

.brand span:first-child {
  margin-left: 42px;
}

.brand span:last-child {
  font-size: 1.9rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--blue);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  padding: 8px 14px;
}

.hero {
  padding: 96px 0 80px;
  background: linear-gradient(135deg, #f8fbff 0%, #eef4ff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 64px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 1.04;
  letter-spacing: -0.06em;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.hero-text {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  font-weight: 800;
  padding: 0 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 12px 30px rgba(23, 105, 255, 0.24);
}

.button.secondary {
  color: var(--blue-dark);
  border: 1px solid var(--line);
  background: var(--white);
}

.static-button {
  width: 100%;
  border: 0;
  cursor: default;
  font: inherit;
}

.static-button:hover {
  transform: none;
}

.hero-visual {
  position: relative;
}

.hero-visual .dashboard-card {
  position: relative;
  z-index: 2;
}

.motion-orbit {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.55;
  animation: pulseGlow 4.8s ease-in-out infinite;
}

.orbit-one {
  right: -24px;
  top: -24px;
  width: 130px;
  height: 130px;
  background: rgba(23, 105, 255, 0.16);
}

.orbit-two {
  left: -34px;
  bottom: 12px;
  width: 92px;
  height: 92px;
  background: rgba(56, 193, 114, 0.18);
  animation-delay: 1.2s;
}

.floating-chip {
  position: absolute;
  z-index: 3;
  border: 1px solid rgba(23, 105, 255, 0.16);
  border-radius: 999px;
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 40px rgba(23, 105, 255, 0.16);
  font-size: 0.86rem;
  font-weight: 900;
  padding: 9px 14px;
  animation: floatSoft 5.5s ease-in-out infinite;
}

.chip-one {
  top: 56px;
  right: -30px;
}

.chip-two {
  left: -28px;
  top: 44%;
  animation-delay: 1s;
}

.chip-three {
  right: 46px;
  bottom: -18px;
  animation-delay: 2s;
}

.dashboard-card {
  border: 1px solid rgba(23, 105, 255, 0.12);
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.dashboard-topbar {
  display: flex;
  gap: 8px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.dashboard-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cdd8e8;
}

.dashboard-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 24px;
}

.metric-card,
.task-list,
.chart {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fbfdff;
  padding: 20px;
}

.metric-card strong {
  display: block;
  color: var(--blue);
  font-size: 2rem;
  line-height: 1;
}

.metric-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.chart {
  display: flex;
  align-items: end;
  grid-column: span 2;
  gap: 12px;
  height: 180px;
}

.chart div {
  flex: 1;
  border-radius: 999px 999px 10px 10px;
  background: linear-gradient(180deg, var(--blue), #8fb5ff);
  animation: barLift 3.6s ease-in-out infinite;
  transform-origin: bottom;
}

.chart div:nth-child(2) {
  animation-delay: 0.4s;
}

.chart div:nth-child(3) {
  animation-delay: 0.8s;
}

.chart div:nth-child(4) {
  animation-delay: 1.2s;
}

.chart div:nth-child(5) {
  animation-delay: 1.6s;
}

.task-list {
  grid-column: span 2;
}

.task-list p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.task-list p:last-child {
  margin-bottom: 0;
}

.task-list span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #38c172;
}

.section {
  padding: 86px 0;
}

.muted {
  background: var(--bg);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 38px;
}

.section-heading p {
  color: var(--muted);
}

.feature-grid,
.pricing-grid,
.team-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card,
.price-card,
.team-card,
.contact-card,
.home-contact-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  padding: 28px;
}

.feature-card p,
.price-card p,
.team-card p,
.contact-card p {
  color: var(--muted);
}

.icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  color: var(--white);
  border-radius: 14px;
  background: var(--blue);
  font-weight: 900;
}

.price-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.price-card.featured {
  border-color: rgba(23, 105, 255, 0.4);
  box-shadow: var(--shadow);
}

.price {
  color: var(--text);
  font-size: 2.25rem;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.price span {
  display: block;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
}

.price-card .button {
  margin-top: auto;
}

.team-card {
  min-height: 250px;
}

.team-avatar {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  border-radius: 50%;
  color: var(--blue-dark);
  background: #eef4ff;
  font-weight: 900;
}

.home-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 42px;
  align-items: center;
}

.home-contact p {
  color: var(--muted);
}

.home-contact-card {
  box-shadow: var(--shadow);
}

.home-contact-card p {
  color: var(--muted);
}

.home-contact-card a:not(.button) {
  color: var(--blue);
  font-weight: 800;
}

.home-contact-card .button {
  margin-top: 12px;
}

.trust {
  text-align: center;
}

.trust-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 22px;
}

.trust-logos span {
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--muted);
  background: var(--white);
  font-weight: 800;
  padding: 20px;
}

.page-hero {
  padding: 86px 0 56px;
  background: linear-gradient(135deg, #f8fbff 0%, #eef4ff 100%);
}

.page-hero p:last-child {
  color: var(--muted);
}

.product-hero {
  overflow: hidden;
}

.product-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 56px;
  align-items: center;
}

.product-hero-grid p {
  color: var(--muted);
}

.product-motion-card {
  position: relative;
  min-height: 390px;
  border: 1px solid rgba(23, 105, 255, 0.14);
  border-radius: 32px;
  background:
    radial-gradient(circle at 20% 20%, rgba(23, 105, 255, 0.14), transparent 30%),
    radial-gradient(circle at 80% 78%, rgba(56, 193, 114, 0.14), transparent 28%),
    var(--white);
  box-shadow: var(--shadow);
}

.product-hub,
.product-node {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 22px;
  text-align: center;
  font-weight: 900;
}

.product-hub {
  inset: 50% auto auto 50%;
  width: 150px;
  height: 150px;
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 22px 50px rgba(23, 105, 255, 0.28);
  transform: translate(-50%, -50%);
}

.product-node {
  min-width: 128px;
  min-height: 58px;
  border: 1px solid var(--line);
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 40px rgba(23, 105, 255, 0.12);
  animation: floatSoft 5.2s ease-in-out infinite;
}

.node-one {
  top: 34px;
  left: 36px;
}

.node-two {
  top: 64px;
  right: 30px;
  animation-delay: 0.8s;
}

.node-three {
  left: 28px;
  bottom: 64px;
  animation-delay: 1.6s;
}

.node-four {
  right: 44px;
  bottom: 38px;
  animation-delay: 2.4s;
}

.product-suite {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.product-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  padding: 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.product-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  color: var(--blue);
  background: #eef4ff;
  font-weight: 900;
}

.product-card small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.92rem;
}

.product-card p,
.solution-list p,
.process-steps p {
  color: var(--muted);
}

.solution-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 52px;
  align-items: start;
}

.solution-list {
  display: grid;
  gap: 18px;
}

.solution-list article {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  padding: 24px;
}

.product-process {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 46px;
  align-items: start;
}

.process-steps {
  display: grid;
  gap: 16px;
}

.process-steps div {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
}

.process-steps span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
  font-weight: 900;
}

.process-steps p {
  margin: 0;
}

.policy h2 {
  margin-top: 34px;
  font-size: 1.55rem;
}

.policy p,
.policy a {
  color: var(--muted);
}

.policy a,
.contact-card a {
  color: var(--blue);
  font-weight: 700;
}

.contact-grid {
  grid-template-columns: 0.85fr 1.15fr;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form label {
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  font: inherit;
  padding: 13px 14px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  border: 0;
  cursor: pointer;
  justify-self: start;
}

.success-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.48);
  padding: 20px;
}

.success-modal.open {
  display: flex;
}

.success-dialog {
  position: relative;
  width: min(460px, 100%);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.2);
  padding: 34px;
  text-align: center;
}

.success-dialog p {
  color: var(--muted);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
}

.modal-ok {
  border: 0;
  cursor: pointer;
  margin-top: 8px;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #0d1424;
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr 1.1fr;
  gap: 34px;
}

.footer-grid p {
  margin: 0;
  color: #aeb9ca;
}

.footer-grid div {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-grid h3 {
  margin: 0;
  color: var(--white);
  font-size: 0.95rem;
}

.footer-grid a {
  color: #dce6f5;
  font-weight: 700;
}

.footer-brand {
  color: var(--white);
  font-size: 1.12rem;
  font-weight: 900;
}

.footer-bottom {
  margin-top: 38px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 22px;
}

.footer-bottom p {
  margin: 0;
  color: #aeb9ca;
  font-size: 0.92rem;
}

@keyframes floatSoft {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.12);
    opacity: 0.78;
  }
}

@keyframes barLift {
  0%,
  100% {
    transform: scaleY(0.82);
  }

  50% {
    transform: scaleY(1);
  }
}

@media (max-width: 860px) {
  .nav {
    flex-wrap: wrap;
    gap: 14px;
    padding: 16px 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-bottom: 8px;
  }

  .nav-links.open {
    display: flex;
  }

  .hero {
    padding-top: 64px;
  }

  .hero-grid,
  .feature-grid,
  .pricing-grid,
  .team-grid,
  .contact-grid,
  .home-contact,
  .product-hero-grid,
  .product-suite,
  .solution-grid,
  .product-process,
  .trust-logos {
    grid-template-columns: 1fr;
  }

  .product-motion-card {
    min-height: 340px;
  }

  .product-node {
    min-width: 112px;
    font-size: 0.86rem;
  }

  .product-card {
    grid-template-columns: 1fr;
  }

  .chip-one {
    right: 8px;
  }

  .chip-two {
    left: 8px;
  }

  .dashboard-content {
    grid-template-columns: 1fr;
  }

  .chart,
  .task-list {
    grid-column: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
