/* SEO service page — matches SMR ONEWAY SEO landing mockup */
.seo-redesign-page {
  --seo-bg: #050a18;
  --seo-panel: #0c1224;
  --seo-card: #0f1629;
  --seo-border: rgba(99, 70, 254, 0.22);
  --seo-purple: #6346fe;
  --seo-purple-light: #8b6dff;
  --seo-green: #22e36b;
  --seo-text: #ffffff;
  --seo-muted: rgba(255, 255, 255, 0.68);
  background: var(--seo-bg);
}

.seo-page {
  overflow-x: hidden;
}

/* —— Hero —— */
.seo-page-hero {
  position: relative;
  padding: clamp(4.5rem, 8vw, 6.5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  background:
    radial-gradient(circle at 12% 18%, rgba(99, 70, 254, 0.14), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(59, 130, 246, 0.1), transparent 24%),
    var(--seo-bg);
}

.seo-page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.seo-page-hero__tag {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(99, 70, 254, 0.45);
  background: rgba(99, 70, 254, 0.12);
  color: var(--seo-purple-light);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.seo-page-hero h1 {
  margin: 0 0 0.75rem;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--seo-text);
}

.seo-page-hero h1 .seo-highlight {
  color: var(--seo-purple-light);
}

.seo-page-hero__subtitle {
  margin: 0 0 1rem;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.seo-page-hero__desc {
  margin: 0;
  max-width: 34rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--seo-muted);
}

.seo-page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.65rem;
}

.seo-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.seo-page-btn--primary {
  background: linear-gradient(135deg, #6346fe, #7c5cff);
  color: #fff;
  box-shadow: 0 10px 28px rgba(99, 70, 254, 0.35);
}

.seo-page-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(99, 70, 254, 0.45);
}

.seo-page-btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.seo-page-btn--outline:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.42);
}

.seo-page-btn--white {
  background: #fff;
  color: #111827;
}

.seo-page-btn--white:hover {
  background: #f1f5f9;
}

.seo-page-btn--white-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.seo-page-trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1.25rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.seo-page-trust__item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.78);
}

.seo-page-trust__item svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: var(--seo-purple-light);
}

/* —— Dashboard visual —— */
.seo-page-dashboard {
  position: relative;
  padding: 1rem;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
}

.seo-page-dashboard__inner {
  border-radius: 16px;
  background: linear-gradient(180deg, #0a1228, #0d1730);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.seo-page-dashboard__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.seo-page-dashboard__head h2 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
}

.seo-page-dashboard__badge {
  font-size: 0.68rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(34, 227, 107, 0.14);
  color: var(--seo-green);
  border: 1px solid rgba(34, 227, 107, 0.28);
}

.seo-page-dashboard__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  padding: 0.85rem 1rem 0.5rem;
}

.seo-dash-metric {
  padding: 0.7rem 0.65rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.seo-dash-metric small {
  display: block;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.2rem;
}

.seo-dash-metric strong {
  display: block;
  font-size: 1.15rem;
  color: #fff;
  line-height: 1.2;
}

.seo-dash-metric span {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  margin-top: 0.2rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--seo-green);
}

.seo-dash-metric__spark {
  display: block;
  height: 28px;
  margin-top: 0.45rem;
  background:
    linear-gradient(180deg, transparent 0%, transparent 55%, rgba(34, 227, 107, 0.08) 55%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 28'%3E%3Cpath d='M0 22 L12 18 L24 20 L36 12 L48 14 L60 8 L72 10 L80 4' fill='none' stroke='%2322e36b' stroke-width='2'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.seo-page-dashboard__body {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0.75rem;
  padding: 0.5rem 1rem 1rem;
}

.seo-dash-donut-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}

.seo-dash-donut {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: conic-gradient(#6346fe 0 42%, #22e36b 42% 68%, #3b82f6 68% 100%);
  display: grid;
  place-items: center;
  position: relative;
}

.seo-dash-donut::after {
  content: "";
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #0d1730;
}

.seo-dash-donut-wrap p {
  margin: 0.55rem 0 0;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.seo-dash-donut-wrap strong {
  display: block;
  font-size: 0.95rem;
  color: #fff;
}

.seo-dash-table {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.seo-dash-table__title {
  padding: 0.55rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.seo-dash-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.68rem;
}

.seo-dash-table th,
.seo-dash-table td {
  padding: 0.45rem 0.55rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.seo-dash-table th {
  color: rgba(255, 255, 255, 0.45);
  font-weight: 500;
}

.seo-dash-table td {
  color: rgba(255, 255, 255, 0.82);
}

.seo-dash-table td:last-child {
  color: var(--seo-green);
  font-weight: 600;
  text-align: right;
}

.seo-page-partner-badge {
  position: absolute;
  right: -0.5rem;
  top: 50%;
  transform: translateY(-50%);
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  background: #fff;
  color: #111827;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.35;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  text-align: center;
}

.seo-page-partner-badge span {
  display: block;
  color: #4285f4;
  font-size: 0.72rem;
}

/* —— Stats bar —— */
.seo-page-stats {
  padding: 0 0 clamp(3rem, 6vw, 4.5rem);
}

.seo-page-stats__bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.35rem 1.5rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(15, 22, 41, 0.95), rgba(12, 18, 36, 0.98));
  border: 1px solid var(--seo-border);
}

.seo-page-stat {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.seo-page-stat__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(99, 70, 254, 0.16);
  border: 1px solid rgba(99, 70, 254, 0.28);
  flex-shrink: 0;
}

.seo-page-stat__icon svg {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--seo-purple-light);
}

.seo-page-stat strong {
  display: block;
  font-size: 1.15rem;
  color: #fff;
  line-height: 1.2;
}

.seo-page-stat span {
  display: block;
  font-size: 0.78rem;
  color: var(--seo-muted);
  margin-top: 0.15rem;
}

/* —— Section shared —— */
.seo-page-section {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.seo-page-section__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--seo-purple-light);
  text-align: center;
}

.seo-page-section__title {
  margin: 0 0 2rem;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  text-align: center;
}

/* —— Services grid —— */
.seo-page-services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.seo-page-service-card {
  padding: 1.35rem 1.2rem;
  border-radius: 16px;
  background: var(--seo-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.seo-page-service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 70, 254, 0.45);
}

.seo-page-service-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
  background: rgba(99, 70, 254, 0.16);
  border: 1px solid rgba(99, 70, 254, 0.28);
}

.seo-page-service-card__icon svg {
  width: 1.2rem;
  height: 1.2rem;
  color: var(--seo-purple-light);
}

.seo-page-service-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
}

.seo-page-service-card p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--seo-muted);
}

/* —— Results —— */
.seo-page-results__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.seo-page-result-card {
  padding: 1.5rem 1.15rem;
  border-radius: 16px;
  background: var(--seo-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.seo-page-result-card__value {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--seo-green);
  line-height: 1;
}

.seo-page-result-card__value svg {
  width: 1.1rem;
  height: 1.1rem;
}

.seo-page-result-card p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
}

/* —— Process timeline —— */
.seo-page-process__track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.75rem;
  padding-top: 1.5rem;
}

.seo-page-process__track::before {
  content: "";
  position: absolute;
  top: 2.35rem;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, rgba(99, 70, 254, 0.2), rgba(99, 70, 254, 0.65), rgba(99, 70, 254, 0.2));
  z-index: 0;
}

.seo-page-process-step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.seo-page-process-step__num {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #6346fe, #7c5cff);
  border: 3px solid var(--seo-bg);
  box-shadow: 0 8px 22px rgba(99, 70, 254, 0.35);
}

.seo-page-process-step__num svg {
  width: 1.2rem;
  height: 1.2rem;
  color: #fff;
}

.seo-page-process-step h3 {
  margin: 0 0 0.4rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
}

.seo-page-process-step p {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--seo-muted);
}

/* —— FAQ —— */
.seo-page-faq__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.seo-page-faq-item {
  border-radius: 14px;
  background: var(--seo-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.seo-page-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  margin: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  text-align: left;
  color: #fff;
  cursor: pointer;
}

.seo-page-faq-q svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: var(--seo-purple-light);
  transition: transform 0.25s ease;
}

.seo-page-faq-item.is-open .seo-page-faq-q svg {
  transform: rotate(180deg);
}

.seo-page-faq-a {
  padding: 0 1.1rem 1rem;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--seo-muted);
}

.seo-page-faq-a[hidden] {
  display: none !important;
}

/* —— CTA banner —— */
.seo-page-cta {
  padding-bottom: clamp(3.5rem, 7vw, 5rem);
}

.seo-page-cta__banner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.5rem, 3vw, 2.5rem);
  border-radius: 24px;
  background: linear-gradient(135deg, #5b3ef5, #6346fe 45%, #7c5cff);
  box-shadow: 0 24px 50px rgba(99, 70, 254, 0.35);
  overflow: hidden;
}

.seo-page-cta__art {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}

.seo-page-cta__art svg {
  width: min(100%, 220px);
  height: auto;
}

.seo-page-cta__copy h2 {
  margin: 0 0 0.65rem;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 700;
  color: #fff;
}

.seo-page-cta__copy p {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}

.seo-page-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* —— Footer override for SEO page —— */
.seo-redesign-page .footer {
  margin-top: 0;
}

.seo-redesign-page .footer-made {
  text-align: right;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
}

.seo-redesign-page .footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

/* —— Responsive —— */
@media (max-width: 1100px) {
  .seo-page-services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .seo-page-process__track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 1.5rem;
  }

  .seo-page-process__track::before {
    display: none;
  }
}

@media (max-width: 991px) {
  .seo-page-hero__grid {
    grid-template-columns: 1fr;
  }

  .seo-page-hero__visual {
    order: -1;
  }

  .seo-page-partner-badge {
    right: 0.5rem;
    top: auto;
    bottom: -0.75rem;
    transform: none;
  }

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

  .seo-page-cta__banner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .seo-page-cta__actions {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .seo-page-trust {
    grid-template-columns: 1fr;
  }

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

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

  .seo-page-services__grid,
  .seo-page-faq__grid {
    grid-template-columns: 1fr;
  }

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

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

  .seo-redesign-page .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .seo-redesign-page .footer-made {
    text-align: center;
  }
}
