:root {
  --blue: #0b63f6;
  --blue-dark: #061b4f;
  --sky: #edf5ff;
  --ink: #07142f;
  --muted: #59657a;
  --paper: #f8fbff;
  --surface: #ffffff;
  --line: #dce8fb;
  --shadow: 0 22px 60px rgba(24, 74, 150, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body.modal-open {
  overflow: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 26px;
  align-items: center;
  padding: 14px clamp(18px, 6vw, 92px);
  background: rgba(255, 255, 255, 0.93);
  border-bottom: 1px solid rgba(220, 232, 251, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: block;
  width: 210px;
  height: 70px;
  padding: 7px 12px;
  background: #03070d;
  border-radius: 8px;
}

.brand img,
.site-footer img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-nav {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: clamp(14px, 2.4vw, 28px);
  color: #142244;
  font-size: 0.93rem;
  font-weight: 800;
  white-space: nowrap;
}

.site-nav a:hover {
  color: var(--blue);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
}

.nav-cta,
.button.primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 12px 26px rgba(11, 99, 246, 0.28);
}

.button.secondary {
  background: #fff;
  color: var(--blue);
  border: 1px solid rgba(11, 99, 246, 0.32);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: clamp(28px, 5vw, 72px);
  min-height: 710px;
  padding: 76px clamp(20px, 7vw, 108px) 56px;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 22%, rgba(11, 99, 246, 0.14), transparent 34%),
    linear-gradient(135deg, #fff 0%, #f9fcff 54%, #e8f3ff 100%);
}

.hero::before {
  content: "";
  position: absolute;
  right: -9%;
  bottom: -28%;
  width: 56vw;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle, rgba(11, 99, 246, 0.14) 0 1px, transparent 1px 74px);
}

.hero::after {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -19%;
  width: 46%;
  height: 34%;
  background: linear-gradient(135deg, #70a9ff, var(--blue));
  border-radius: 90% 0 0 0;
}

.hero-content,
.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-content {
  align-self: center;
  max-width: 720px;
}

.pill,
.section-kicker {
  display: inline-flex;
  margin: 0 0 20px;
  padding: 8px 16px;
  background: #e8f1ff;
  color: var(--blue);
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 900;
  text-transform: uppercase;
}

.section-kicker {
  display: flex;
  width: max-content;
  margin-inline: auto;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 12.4ch;
  margin: 0;
  color: var(--blue-dark);
  font-size: clamp(3.1rem, 6vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  max-width: 1020px;
  margin: 0 auto;
  color: var(--blue-dark);
  font-size: clamp(2.1rem, 4.7vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
}

.hero-content > p:not(.pill) {
  max-width: 590px;
  margin: 24px 0 0;
  color: #354564;
  font-size: 1.12rem;
}

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

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 660px;
  margin-top: 44px;
}

.hero-points span {
  position: relative;
  padding: 14px 14px 14px 42px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #162442;
  font-size: 0.9rem;
  font-weight: 850;
  box-shadow: 0 12px 30px rgba(30, 90, 170, 0.08);
}

.hero-points span::before {
  content: "↗";
  position: absolute;
  left: 16px;
  top: 14px;
  color: var(--blue);
}

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

.growth-scene {
  position: relative;
  width: min(560px, 100%);
  aspect-ratio: 1.08;
}

.growth-scene::before {
  content: "";
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background:
    radial-gradient(circle, #fff 0 46%, rgba(255, 255, 255, 0.78) 47% 100%),
    repeating-radial-gradient(circle, rgba(11, 99, 246, 0.12) 0 1px, transparent 1px 58px);
  box-shadow: var(--shadow);
}

.dashboard-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(178, 209, 255, 0.9);
  border-radius: 8px;
  box-shadow: 0 24px 56px rgba(7, 20, 47, 0.14);
  backdrop-filter: blur(14px);
}

.main-card {
  left: 12%;
  top: 18%;
  width: 72%;
  min-height: 250px;
  padding: 26px;
  animation: floatCard 5s ease-in-out infinite;
}

.card-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-weight: 800;
}

.card-topline strong {
  color: #10a86b;
}

.chart-bars {
  display: flex;
  align-items: end;
  gap: 14px;
  height: 132px;
  margin-top: 28px;
}

.chart-bars i {
  flex: 1;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, #1eb5ff, var(--blue));
  animation: growBar 2.8s ease-in-out infinite alternate;
}

.chart-bars i:nth-child(1) { height: 42%; }
.chart-bars i:nth-child(2) { height: 58%; animation-delay: 0.2s; }
.chart-bars i:nth-child(3) { height: 74%; animation-delay: 0.4s; }
.chart-bars i:nth-child(4) { height: 64%; animation-delay: 0.6s; }
.chart-bars i:nth-child(5) { height: 92%; animation-delay: 0.8s; }

.trend-line {
  position: absolute;
  left: 42px;
  right: 36px;
  bottom: 38px;
  height: 3px;
  background: linear-gradient(90deg, #15c7ff, #0b63f6);
  transform: rotate(-9deg);
  transform-origin: left center;
}

.mini-card {
  display: grid;
  gap: 4px;
  min-width: 126px;
  padding: 17px;
  animation: floatCard 4.6s ease-in-out infinite;
}

.mini-card span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.mini-card strong {
  color: var(--blue-dark);
  font-size: 1.45rem;
}

.acos-card { left: 2%; top: 58%; }
.roas-card { right: 2%; top: 12%; animation-delay: 0.45s; }
.orders-card { right: 7%; bottom: 9%; animation-delay: 0.8s; }

.package-cube {
  position: absolute;
  width: 76px;
  aspect-ratio: 1;
  border-radius: 8px;
  background: linear-gradient(135deg, #f6c170, #d89134);
  box-shadow: 0 18px 38px rgba(216, 145, 52, 0.22);
  animation: floatCard 5.4s ease-in-out infinite;
}

.package-cube::before {
  content: "";
  position: absolute;
  inset: 0 33%;
  background: rgba(255, 255, 255, 0.34);
}

.cube-one { left: 11%; bottom: 6%; }
.cube-two { right: 17%; top: 2%; transform: scale(0.72); animation-delay: 1s; }

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

@keyframes growBar {
  from { transform: scaleY(0.82); }
  to { transform: scaleY(1.04); }
}

.section,
.brand-strip,
.contact-section,
.blue-band {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 58px 0;
}

.section-copy {
  max-width: 720px;
  margin: 20px auto 34px;
  color: var(--muted);
  font-size: 1.14rem;
  text-align: center;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
  color: var(--blue);
  text-align: center;
  text-transform: uppercase;
  font-size: 0.86rem;
  font-weight: 950;
}

.section-title p {
  margin: 0;
}

.section-title span {
  width: 46px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue));
}

.section-title span:last-child {
  background: linear-gradient(90deg, var(--blue), transparent);
}

.brand-strip {
  margin-top: -28px;
  padding: 18px 0 22px;
  position: relative;
  z-index: 2;
}

.marquee {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}

.marquee-track img {
  width: 190px;
  height: 92px;
  padding: 18px 22px;
  object-fit: contain;
  filter: saturate(0.95);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.process-grid,
.feature-grid,
.metric-grid,
.testimonial-grid,
.category-grid {
  display: grid;
  gap: 18px;
}

.process-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.process-grid article {
  position: relative;
  min-height: 300px;
  padding: 30px 28px;
  background: transparent;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.process-grid b {
  position: absolute;
  left: 22px;
  top: 22px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--blue);
  color: #fff;
  border-radius: 999px;
  font-size: 0.92rem;
}

.process-icon,
.category-grid span {
  display: grid;
  place-items: center;
  width: 120px;
  height: 120px;
  margin: 10px auto 22px;
  background: #edf5ff;
  color: var(--blue);
  border-radius: 50%;
  font-size: 3.4rem;
  font-weight: 300;
}

.process-grid h3,
.feature-grid h3,
.category-grid h3 {
  margin: 0 0 10px;
  color: var(--blue-dark);
  font-size: 1.24rem;
  line-height: 1.25;
  text-transform: uppercase;
}

.process-grid p,
.feature-grid p,
.metric-grid p,
.testimonial-grid p,
.category-grid p,
.contact-section p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

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

.feature-grid article,
.service-link,
.subservice-grid article,
.case-grid article,
.metric-grid article,
.testimonial-grid article,
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(30, 90, 170, 0.08);
}

.feature-grid article,
.service-link {
  min-height: 250px;
  padding: 30px;
}

.icon {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  background: #edf5ff;
  color: var(--blue);
  border-radius: 50%;
  font-size: 2.1rem;
}

.metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

.metric-grid article {
  min-height: 232px;
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 14px;
  padding: 28px 24px;
  text-align: center;
}

.metric-grid strong {
  display: grid;
  place-items: center;
  width: 116px;
  height: 116px;
  background: #edf5ff;
  color: var(--blue);
  border-radius: 50%;
  font-size: 1.55rem;
}

.metric-grid p b {
  display: block;
  margin-bottom: 4px;
  color: #33415f;
}

.metric-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  max-width: 900px;
  margin: 22px auto 0;
  padding: 24px 32px;
  background: #eaf3ff;
  border-radius: 8px;
}

.metric-note strong {
  color: var(--blue);
  font-size: 1.14rem;
}

.metric-note p {
  margin: 0;
  color: var(--muted);
}

.category-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.category-grid article {
  min-height: 260px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.category-grid span {
  font-size: 2.9rem;
}

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

.services article,
.service-link {
  text-align: center;
}

.service-link {
  display: block;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 46px rgba(30, 90, 170, 0.14);
}

.service-hero {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0 70px;
}

.service-hero h1 {
  max-width: 980px;
  font-size: clamp(3rem, 6vw, 6.2rem);
}

.service-hero p:not(.pill) {
  max-width: 760px;
  margin: 24px 0 30px;
  color: var(--muted);
  font-size: 1.18rem;
}

.subservice-grid {
  display: grid;
  gap: 18px;
}

.subservice-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.subservice-grid article {
  min-height: 310px;
  padding: 34px 30px;
  text-align: center;
}

.subservice-grid h3,
.case-grid h3 {
  margin: 0 0 12px;
  color: var(--blue-dark);
  font-size: 1.35rem;
  line-height: 1.18;
  text-transform: uppercase;
}

.subservice-grid p,
.case-grid p {
  margin: 0;
  color: var(--muted);
}

.page-band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.7fr);
  gap: 34px;
  align-items: center;
  padding: 46px;
  background: linear-gradient(135deg, #ffffff, #edf6ff);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.page-band h2 {
  text-align: left;
  text-transform: uppercase;
}

.page-band .section-kicker {
  margin-inline: 0;
}

.page-band > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.compact-contact {
  margin-bottom: 50px;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.case-grid article {
  min-height: 260px;
  padding: 30px;
}

.case-grid .pill {
  margin-bottom: 16px;
}

.platform-logo {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: 0 auto 18px;
  color: var(--blue);
  font-size: 2.4rem;
  font-weight: 950;
}

.platform-logo.amazon {
  color: #111827;
  font-family: Georgia, serif;
}

.platform-logo.google {
  color: #0f9d58;
}

.blue-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 32px;
  margin-bottom: 26px;
  padding: 28px;
  background: linear-gradient(135deg, #0958e8, #047dff);
  border-radius: 8px;
  color: #fff;
  box-shadow: 0 24px 54px rgba(11, 99, 246, 0.24);
}

.blue-band div {
  display: grid;
  gap: 4px;
  text-align: center;
}

.blue-band strong {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1;
}

.blue-band span {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 750;
}

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

.testimonial-grid article {
  min-height: 230px;
  padding: 30px;
}

.testimonial-grid article::before {
  content: "“";
  display: block;
  color: var(--blue);
  font-size: 3.4rem;
  line-height: 0.7;
  font-weight: 950;
}

.testimonial-grid strong {
  display: block;
  margin-top: 24px;
  color: var(--blue-dark);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.55fr);
  gap: 30px;
  align-items: center;
  margin-top: 44px;
  padding: 48px;
  background: linear-gradient(135deg, #fff, #edf6ff);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-section h2 {
  margin-bottom: 18px;
  text-align: left;
}

.contact-card {
  display: grid;
  gap: 14px;
  padding: 26px;
}

.contact-card a {
  color: var(--blue);
  font-weight: 900;
}

.site-footer {
  display: grid;
  gap: 12px;
  margin-top: 56px;
  padding: 42px clamp(20px, 7vw, 100px);
  background: #03070d;
  color: #fff;
}

.site-footer img {
  width: 220px;
  height: 90px;
  object-fit: contain;
}

.site-footer p {
  max-width: 320px;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer small {
  color: rgba(255, 255, 255, 0.58);
}

.form-result {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
  background: linear-gradient(135deg, #fff, #edf6ff);
}

.form-result .contact-card {
  width: min(680px, 100%);
}

.form-result h1 {
  max-width: none;
  font-size: clamp(3rem, 8vw, 5.5rem);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
}

.modal.is-open {
  display: block;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 15, 36, 0.68);
}

.modal-panel {
  position: relative;
  width: min(760px, calc(100% - 30px));
  max-height: calc(100vh - 40px);
  margin: 20px auto;
  overflow: auto;
  padding: 34px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.modal-panel h2 {
  margin-bottom: 24px;
  text-align: left;
  text-transform: none;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #edf5ff;
  color: var(--blue-dark);
  cursor: pointer;
  font-size: 1.7rem;
  line-height: 1;
}

.booking-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.booking-form label {
  display: grid;
  gap: 8px;
  color: #263655;
  font-weight: 850;
}

.booking-form label span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 650;
}

.booking-form input,
.booking-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #cbdaf2;
  border-radius: 8px;
  color: var(--ink);
}

.booking-form input[name="company"] {
  position: absolute;
  left: -9999px;
}

.booking-form .full {
  grid-column: 1 / -1;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

  .metric-grid,
  .services,
  .subservice-grid.three,
  .case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand {
    width: 150px;
    height: 52px;
  }

  .nav-cta {
    min-height: 40px;
    padding: 10px 12px;
    font-size: 0.84rem;
  }

  .hero {
    min-height: auto;
    padding: 46px 20px 32px;
  }

  h1 {
    font-size: clamp(2.7rem, 13vw, 4.2rem);
  }

  .hero-points,
  .process-grid,
  .three,
  .metric-grid,
  .category-grid,
  .services,
  .subservice-grid.two,
  .subservice-grid.three,
  .case-grid,
  .blue-band,
  .testimonial-grid,
  .booking-form {
    grid-template-columns: 1fr;
  }

  .section,
  .service-hero,
  .brand-strip,
  .contact-section,
  .blue-band {
    width: min(100% - 28px, 1180px);
  }

  .process-grid,
  .category-grid {
    border: 0;
  }

  .process-grid article,
  .category-grid article {
    border: 1px solid var(--line);
    border-radius: 8px;
  }

  .metric-note {
    grid-template-columns: 1fr;
  }

  .contact-section,
  .page-band,
  .modal-panel {
    padding: 26px;
  }

  .button {
    width: 100%;
  }
}
