:root {
  --ae-blue: #0066ff;
  --ae-blue-dark: #0848a8;
  --ae-ink: #0b1220;
  --ae-muted: #5d6f88;
  --ae-line: #dbe3ef;
  --ae-soft: #f4f6f8;
  --ae-card: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body.service-seo-page {
  font-family: Arial, "Helvetica Neue", sans-serif;
  background: var(--ae-soft);
  color: var(--ae-ink);
  line-height: 1.7;
  transition: background 0.25s ease, color 0.25s ease;
}

body.service-seo-page a {
  color: inherit;
  text-decoration: none;
}

.service-seo-page .container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

.service-seo-page .navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(16px);
}

.service-seo-page .nav-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.service-seo-page .logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.service-seo-page .logo img {
  display: block;
  width: auto;
  height: clamp(44px, 4.5vw, 58px);
  max-width: min(220px, 42vw);
  object-fit: contain;
}

.service-seo-page .nav-links {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.25vw, 18px);
  color: #475569;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.service-seo-page .nav-links a {
  transition: color 0.2s ease;
}

.service-seo-page .nav-links a:hover,
.service-seo-page .nav-links a.active {
  color: var(--ae-blue);
}

.service-seo-page .nav-cta {
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--ae-ink);
  color: #fff !important;
}

.service-seo-page .theme-toggle {
  padding: 10px 14px;
  border: 1px solid var(--ae-line);
  border-radius: 999px;
  background: #fff;
  color: var(--ae-ink);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.service-seo-page .lang-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--ae-line);
  border-radius: 999px;
  background: #fff;
}

.service-seo-page .lang-btn {
  width: 38px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ae-ink);
  font: 900 12px/1 Arial, sans-serif;
  cursor: pointer;
}

.service-seo-page .lang-btn.active {
  background: #eaf2ff;
  color: var(--ae-blue);
}

.service-seo-hero {
  padding: 64px 0 34px;
}

.service-seo-hero-card {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 6vw, 72px);
  border: 1px solid var(--ae-line);
  border-radius: 34px;
  background:
    radial-gradient(circle at 92% 15%, rgba(0, 102, 255, 0.18), transparent 32%),
    linear-gradient(145deg, #ffffff 0%, #f7faff 100%);
  box-shadow: 0 26px 72px rgba(15, 23, 42, 0.08);
}

.service-seo-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  color: #51647e;
  font-size: 14px;
  font-weight: 800;
}

.service-seo-breadcrumb a:hover {
  color: var(--ae-blue);
}

.service-seo-eyebrow {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: #eaf2ff;
  color: #0057d8;
  font-size: 13px;
  font-weight: 950;
}

.service-seo-hero h1 {
  max-width: 900px;
  margin-top: 20px;
  font-size: clamp(42px, 6.5vw, 82px);
  line-height: 0.98;
  letter-spacing: -3px;
  font-weight: 950;
}

.service-seo-lead {
  max-width: 820px;
  margin-top: 24px;
  color: var(--ae-muted);
  font-size: clamp(17px, 1.8vw, 21px);
  font-weight: 700;
}

.service-seo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.service-seo-btn {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 16px;
  font-weight: 950;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

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

.service-seo-btn-primary {
  background: var(--ae-blue);
  color: #fff !important;
  box-shadow: 0 18px 40px rgba(0, 102, 255, 0.22);
}

.service-seo-btn-dark {
  background: var(--ae-ink);
  color: #fff !important;
}

.service-seo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 26px;
  align-items: start;
  padding: 28px 0 72px;
}

.service-seo-content {
  display: grid;
  gap: 22px;
}

.service-seo-section,
.service-seo-aside,
.service-seo-related {
  border: 1px solid var(--ae-line);
  border-radius: 28px;
  background: var(--ae-card);
  box-shadow: 0 20px 54px rgba(15, 23, 42, 0.06);
}

.service-seo-section {
  padding: clamp(26px, 4vw, 42px);
}

.service-seo-section h2 {
  margin-bottom: 16px;
  font-size: clamp(29px, 3.5vw, 44px);
  line-height: 1.08;
  letter-spacing: -1.3px;
}

.service-seo-section h3 {
  margin: 25px 0 9px;
  font-size: 22px;
  line-height: 1.25;
}

.service-seo-section p {
  color: #43546c;
  font-size: 17px;
}

.service-seo-section p + p {
  margin-top: 16px;
}

.service-seo-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
  list-style: none;
}

.service-seo-list li {
  position: relative;
  min-height: 64px;
  padding: 15px 15px 15px 44px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #f8fafc;
  color: #334155;
  font-weight: 850;
}

.service-seo-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 22px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ae-blue);
}

.service-seo-aside {
  position: sticky;
  top: 98px;
  overflow: hidden;
}

.service-seo-aside-head {
  padding: 26px;
  background: linear-gradient(145deg, var(--ae-blue), var(--ae-blue-dark));
  color: #fff;
}

.service-seo-aside-head h2 {
  font-size: 25px;
  line-height: 1.15;
}

.service-seo-aside-head p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 700;
}

.service-seo-aside-links {
  display: grid;
  padding: 14px;
}

.service-seo-aside-links a {
  padding: 12px 13px;
  border-radius: 12px;
  color: #43546c;
  font-size: 14px;
  font-weight: 850;
}

.service-seo-aside-links a:hover,
.service-seo-aside-links a[aria-current="page"] {
  background: #eaf2ff;
  color: #0057d8;
}

.service-seo-related {
  padding: 28px;
}

.service-seo-related h2 {
  font-size: 26px;
}

.service-seo-related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.service-seo-related a {
  padding: 15px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #f8fafc;
  color: #334155;
  font-weight: 850;
}

.service-seo-related a:hover {
  border-color: rgba(0, 102, 255, 0.45);
  color: var(--ae-blue);
}

.service-seo-cta {
  position: relative;
  overflow: hidden;
  margin: 0 auto 72px;
  padding: clamp(32px, 5vw, 54px);
  border-radius: 32px;
  background: linear-gradient(135deg, #0066ff 0%, #0b2f68 56%, #0b1220 100%);
  color: #fff;
  box-shadow: 0 28px 68px rgba(0, 62, 155, 0.2);
}

.service-seo-cta h2 {
  max-width: 820px;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -2px;
}

.service-seo-cta p {
  max-width: 760px;
  margin-top: 15px;
  color: #dbeafe;
  font-weight: 700;
}

.service-seo-page .footer {
  padding: 50px 0 20px;
  background: var(--ae-ink);
  color: #fff;
}

.service-seo-page .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 1fr;
  gap: 30px;
}

.service-seo-page .footer h3 {
  font-size: 28px;
}

.service-seo-page .footer h3 span {
  color: var(--ae-blue);
}

.service-seo-page .footer h4 {
  margin-bottom: 12px;
}

.service-seo-page .footer p,
.service-seo-page .footer a {
  color: #cbd5e1;
  font-weight: 700;
}

.service-seo-page .footer a {
  display: block;
  margin: 6px 0;
}

.service-seo-page .footer-bottom {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

body.dark-mode.service-seo-page {
  background: #070b14;
  color: #f8fafc;
}

body.dark-mode.service-seo-page .navbar {
  background: rgba(7, 11, 20, 0.96);
  border-bottom-color: rgba(255, 255, 255, 0.09);
}

body.dark-mode.service-seo-page .nav-links {
  color: #cbd5e1;
}

body.dark-mode.service-seo-page .theme-toggle,
body.dark-mode.service-seo-page .lang-switch,
body.dark-mode.service-seo-page .service-seo-hero-card,
body.dark-mode.service-seo-page .service-seo-section,
body.dark-mode.service-seo-page .service-seo-aside,
body.dark-mode.service-seo-page .service-seo-related {
  border-color: #26364d;
  background: #0f172a;
}

body.dark-mode.service-seo-page .service-seo-hero-card {
  background:
    radial-gradient(circle at 92% 15%, rgba(0, 102, 255, 0.22), transparent 32%),
    #0f172a;
}

body.dark-mode.service-seo-page .service-seo-lead,
body.dark-mode.service-seo-page .service-seo-section p,
body.dark-mode.service-seo-page .service-seo-breadcrumb {
  color: #cbd5e1;
}

body.dark-mode.service-seo-page .service-seo-list li,
body.dark-mode.service-seo-page .service-seo-related a {
  border-color: #26364d;
  background: #111c2f;
  color: #dbeafe;
}

body.dark-mode.service-seo-page .service-seo-aside-links a {
  color: #cbd5e1;
}

@media (max-width: 930px) {
  .service-seo-page .nav-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 10px 0;
  }

  .service-seo-page .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 7px;
  }

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

  .service-seo-aside {
    position: static;
  }

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

@media (max-width: 640px) {
  .service-seo-page .container {
    width: 94%;
  }

  .service-seo-page .logo img {
    width: 120px;
    height: auto;
  }

  .service-seo-hero {
    padding-top: 28px;
  }

  .service-seo-hero-card {
    padding: 26px 22px;
    border-radius: 24px;
  }

  .service-seo-hero h1 {
    letter-spacing: -2px;
  }

  .service-seo-actions,
  .service-seo-actions .service-seo-btn {
    width: 100%;
  }

  .service-seo-layout {
    padding-bottom: 54px;
  }

  .service-seo-section {
    padding: 24px 20px;
    border-radius: 22px;
  }

  .service-seo-list,
  .service-seo-related-grid,
  .service-seo-aside-links {
    grid-template-columns: 1fr;
  }

  .service-seo-cta {
    margin-bottom: 54px;
    padding: 30px 22px;
    border-radius: 24px;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .service-seo-btn {
    transition: none;
  }
}
