:root {
  --ink: #102033;
  --muted: #66758a;
  --primary: #3156ff;
  --primary-deep: #6b35e8;
  --accent: #18d6a3;
  --accent-warm: #ffb545;
  --surface: #ffffff;
  --surface-soft: #f5f7fa;
  --line: #e5ebf3;
  --shadow: 0 24px 70px rgba(29, 47, 84, 0.14);
  --shadow-soft: 0 14px 42px rgba(24, 43, 77, 0.09);
  --radius: 24px;
  --container: min(1120px, calc(100% - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(229, 235, 243, 0.74);
  backdrop-filter: blur(18px);
}

.navbar {
  width: var(--container);
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #101c34;
  font-size: 1.16rem;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.logo-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #ffffff;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  box-shadow: 0 14px 30px rgba(49, 86, 255, 0.28);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 38px);
  color: #526178;
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a {
  transition: color 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 25px;
  border: 0;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-3px);
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  box-shadow: 0 16px 34px rgba(49, 86, 255, 0.26);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 20px 42px rgba(49, 86, 255, 0.34);
}

.btn-secondary {
  color: #24324b;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px var(--line), 0 14px 34px rgba(24, 43, 77, 0.08);
}

.btn-small {
  min-height: 46px;
  padding-inline: 20px;
}

.section {
  width: var(--container);
  margin: 0 auto;
  padding: 110px 0;
}

.hero {
  position: relative;
  min-height: calc(100svh - 82px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.92fr);
  align-items: center;
  gap: clamp(42px, 6vw, 84px);
  overflow: hidden;
  padding: clamp(70px, 9vw, 110px) max(24px, calc((100vw - 1120px) / 2));
  background:
    radial-gradient(circle at 82% 18%, rgba(24, 214, 163, 0.22), transparent 30%),
    radial-gradient(circle at 8% 12%, rgba(107, 53, 232, 0.14), transparent 28%),
    linear-gradient(135deg, #f7fbff 0%, #ffffff 46%, #eef4ff 100%);
}

.hero-bg {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero-bg-one {
  width: 360px;
  height: 360px;
  right: -120px;
  top: 95px;
  background: rgba(49, 86, 255, 0.1);
}

.hero-bg-two {
  width: 210px;
  height: 210px;
  left: 48%;
  bottom: 52px;
  background: rgba(255, 181, 69, 0.18);
}

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

.hero-content {
  max-width: 650px;
  animation: riseIn 700ms ease both;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  color: #0e1b31;
  font-size: clamp(3.15rem, 6.7vw, 5.9rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  color: #101c34;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  color: #162640;
  font-size: 1.16rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 560px;
  margin-bottom: 34px;
  color: #5a6a82;
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 42px;
}

.hero-proof div {
  min-width: 155px;
  padding-left: 18px;
  border-left: 3px solid var(--accent);
}

.hero-proof strong {
  display: block;
  color: #0f1c32;
  font-size: 1.45rem;
  line-height: 1.1;
}

.hero-proof span {
  display: block;
  color: var(--muted);
  font-size: 0.91rem;
}

.hero-visual {
  animation: floatIn 900ms ease 120ms both;
}

.hero-visual img {
  width: min(100%, 620px);
  margin-left: auto;
  filter: drop-shadow(0 26px 54px rgba(19, 38, 71, 0.18));
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-heading p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.03rem;
}

.services {
  padding-top: 116px;
}

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

.service-card {
  min-height: 285px;
  padding: 34px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 4px 18px rgba(17, 34, 63, 0.04);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(49, 86, 255, 0.22);
  box-shadow: var(--shadow-soft);
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.icon-wrap {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 18px;
  color: var(--primary);
  background: linear-gradient(135deg, rgba(49, 86, 255, 0.1), rgba(24, 214, 163, 0.12));
}

.icon-wrap svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.features {
  width: 100%;
  padding: 0;
  background: var(--surface-soft);
}

.feature-shell {
  width: var(--container);
  margin: 0 auto;
  padding: 112px 0;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1fr);
  gap: clamp(42px, 7vw, 96px);
  align-items: center;
}

.feature-copy p:not(.eyebrow),
.about-copy p {
  color: var(--muted);
  font-size: 1.04rem;
}

.feature-list {
  display: grid;
  gap: 16px;
}

.feature-list article {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 22px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 15px 42px rgba(24, 43, 77, 0.06);
}

.feature-list article:nth-child(2) {
  transform: translateX(28px);
}

.mini-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  font-size: 0.82rem;
  font-weight: 800;
}

.feature-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.about {
  display: grid;
  grid-template-columns: minmax(360px, 0.86fr) minmax(0, 1fr);
  gap: clamp(44px, 8vw, 110px);
  align-items: center;
}

.about-visual {
  position: relative;
  min-height: 470px;
  border-radius: 34px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(49, 86, 255, 0.92), rgba(107, 53, 232, 0.92)),
    url("../images/seo-growth-illustration.svg");
  box-shadow: var(--shadow);
}

.about-visual::before {
  content: "";
  position: absolute;
  inset: 38px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 22% 22%, rgba(255, 255, 255, 0.34), transparent 18%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.metric-panel {
  position: absolute;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 70px rgba(5, 18, 38, 0.18);
  backdrop-filter: blur(14px);
}

.panel-main {
  left: 46px;
  right: 46px;
  bottom: 52px;
  padding: 28px;
}

.panel-float {
  top: 58px;
  right: 44px;
  width: 150px;
  padding: 20px;
  animation: softFloat 4s ease-in-out infinite;
}

.metric-panel span {
  display: block;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
  font-weight: 700;
}

.metric-panel strong {
  display: block;
  margin-top: 6px;
  font-size: 3rem;
  line-height: 1;
}

.metric-bars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  align-items: end;
  height: 110px;
  margin-top: 22px;
}

.metric-bars i {
  display: block;
  border-radius: 999px 999px 10px 10px;
  background: linear-gradient(180deg, #ffffff, rgba(255, 255, 255, 0.32));
}

.metric-bars i:nth-child(1) {
  height: 42%;
}

.metric-bars i:nth-child(2) {
  height: 62%;
}

.metric-bars i:nth-child(3) {
  height: 78%;
}

.metric-bars i:nth-child(4) {
  height: 100%;
  background: linear-gradient(180deg, var(--accent), rgba(24, 214, 163, 0.36));
}

.check-list {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  color: #314158;
  font-weight: 700;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, var(--accent), #7deacb) padding-box,
    linear-gradient(135deg, var(--accent), var(--primary)) border-box;
  box-shadow: 0 8px 18px rgba(24, 214, 163, 0.28);
}

.testimonials {
  padding-top: 36px;
}

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

.testimonial {
  margin: 0;
  padding: 32px;
  border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 4px 20px rgba(17, 34, 63, 0.04);
}

.testimonial blockquote {
  margin: 0 0 28px;
  color: #314158;
  font-size: 1rem;
}

.testimonial figcaption {
  display: grid;
  gap: 2px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.testimonial strong {
  color: #121f34;
}

.testimonial span {
  color: var(--muted);
  font-size: 0.91rem;
}

.cta {
  width: 100%;
  padding-top: 0;
  padding-bottom: 0;
}

.cta-inner {
  width: var(--container);
  margin: 0 auto 110px;
  padding: clamp(54px, 8vw, 88px);
  text-align: center;
  color: #ffffff;
  border-radius: 34px;
  background:
    radial-gradient(circle at 18% 14%, rgba(24, 214, 163, 0.3), transparent 30%),
    radial-gradient(circle at 82% 22%, rgba(255, 181, 69, 0.24), transparent 26%),
    linear-gradient(135deg, #1734d4, #6c36e8 72%);
  box-shadow: var(--shadow);
}

.cta .eyebrow,
.cta p {
  color: rgba(255, 255, 255, 0.8);
}

.cta h2 {
  max-width: 760px;
  margin-inline: auto;
  color: #ffffff;
}

.cta p:not(.eyebrow) {
  max-width: 620px;
  margin-inline: auto;
  margin-bottom: 30px;
}

.btn-light {
  color: #121f34;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(5, 18, 38, 0.24);
}

.footer {
  background: #0d1729;
  color: rgba(255, 255, 255, 0.72);
}

.footer-inner {
  width: var(--container);
  min-height: 118px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-logo {
  color: #ffffff;
}

.footer-links {
  display: flex;
  gap: 24px;
  font-size: 0.94rem;
  font-weight: 700;
}

.footer-links a {
  transition: color 180ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #ffffff;
}

.footer p {
  margin: 0;
  font-size: 0.91rem;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1200px) {
  :root {
    --container: min(100% - 40px, 1040px);
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
    padding-inline: 28px;
  }

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

@media (max-width: 768px) {
  :root {
    --container: min(100% - 32px, 680px);
  }

  .site-header {
    position: static;
  }

  .navbar {
    min-height: auto;
    padding: 18px 0;
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    gap: 20px;
    overflow-x: auto;
    padding-top: 4px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 64px;
    padding-bottom: 78px;
    text-align: center;
  }

  .hero-content,
  .hero-copy {
    margin-inline: auto;
  }

  h1 {
    font-size: clamp(2.6rem, 11vw, 4.2rem);
  }

  .hero-actions,
  .hero-proof {
    justify-content: center;
  }

  .hero-proof div {
    text-align: left;
  }

  .hero-visual img {
    margin-inline: auto;
    max-width: 560px;
  }

  .section {
    padding: 82px 0;
  }

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

  .feature-shell,
  .about {
    grid-template-columns: 1fr;
  }

  .feature-shell {
    padding: 82px 0;
  }

  .feature-list article:nth-child(2) {
    transform: none;
  }

  .about-visual {
    min-height: 390px;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    margin-bottom: 82px;
  }
}

@media (max-width: 480px) {
  :root {
    --container: min(100% - 24px, 440px);
    --radius: 20px;
  }

  .navbar {
    gap: 16px;
  }

  .logo {
    font-size: 1.04rem;
  }

  .logo-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .btn-small {
    min-height: 42px;
    padding-inline: 15px;
    font-size: 0.86rem;
  }

  .nav-links {
    gap: 16px;
    font-size: 0.9rem;
  }

  .hero {
    padding-inline: 18px;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-proof {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
    padding: 28px 22px;
  }

  .feature-list article {
    grid-template-columns: 1fr;
  }

  .about-visual {
    min-height: 330px;
    border-radius: 26px;
  }

  .about-visual::before {
    inset: 24px;
  }

  .panel-main {
    left: 24px;
    right: 24px;
    bottom: 26px;
    padding: 22px;
  }

  .panel-float {
    top: 30px;
    right: 24px;
    width: 132px;
  }

  .metric-panel strong {
    font-size: 2.35rem;
  }

  .testimonial,
  .cta-inner {
    padding: 28px 22px;
  }

  .footer-inner {
    justify-content: center;
    padding: 34px 0;
    text-align: center;
  }
}
