/*
 * seo_landing.css
 * Reusable premium styling for GitSpire SEO landing pages.
 */

.seo-hero {
  position: relative;
  overflow: hidden;
  padding: 4rem 0 6rem;
  background:
    linear-gradient(
      145deg,
      #ffffff 0%,
      #f7faff 60%,
      #eef5ff 100%
    );
}

.seo-hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.38;
  pointer-events: none;
  background-image:
    linear-gradient(
      rgba(11, 92, 255, 0.045) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(11, 92, 255, 0.045) 1px,
      transparent 1px
    );
  background-size: 34px 34px;
  mask-image:
    linear-gradient(
      to bottom,
      black,
      transparent 90%
    );
}

.seo-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.seo-hero-glow-one {
  width: 440px;
  height: 440px;
  top: -170px;
  right: 10%;
  background: rgba(11, 92, 255, 0.13);
}

.seo-hero-glow-two {
  width: 340px;
  height: 340px;
  bottom: -180px;
  left: 10%;
  background: rgba(255, 122, 0, 0.08);
}

.seo-breadcrumb {
  position: relative;
  z-index: 2;
  margin-bottom: 3.5rem;
}

.seo-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
  color: var(--accent-orange);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.seo-eyebrow-dot {
  width: 9px;
  height: 9px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent-orange);
  box-shadow:
    0 0 0 7px rgba(255, 122, 0, 0.1);
}

.seo-hero-title {
  max-width: 720px;
  margin: 0;
  color: var(--primary-navy);
  font-size: clamp(2.8rem, 5.4vw, 5.3rem);
  font-weight: 900;
  line-height: 1.03;
  letter-spacing: -0.055em;
}

.seo-hero-title span {
  display: block;
  color: var(--accent-orange);
}

.seo-hero-description {
  max-width: 650px;
  margin: 1.65rem 0 0;
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.85;
}

.seo-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.seo-trust-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 2.1rem;
}

.seo-trust-inline div {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 650;
}

.seo-trust-inline i {
  color: var(--primary-blue);
}

.seo-image-stage {
  position: relative;
  max-width: 620px;
  margin: 0 auto;
  padding: 1rem;
}

.seo-image-stage::before {
  content: "";
  position: absolute;
  inset: 8% -4% -5% 10%;
  z-index: 0;
  border-radius: 48% 52% 40% 60% / 43% 35% 65% 57%;
  background:
    linear-gradient(
      145deg,
      rgba(11, 92, 255, 0.12),
      rgba(0, 242, 254, 0.04)
    );
  transform: rotate(-5deg);
}

.seo-image-frame {
  position: relative;
  z-index: 2;
  overflow: hidden;
  min-height: 520px;
  border:
    1px solid rgba(11, 92, 255, 0.13);
  border-radius:
    34px 105px 34px 105px;
  background: #ffffff;
  box-shadow:
    0 35px 90px rgba(6, 28, 79, 0.16),
    0 10px 30px rgba(11, 92, 255, 0.08);
}

.seo-image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(6, 28, 79, 0.16),
      transparent 35%
    );
  pointer-events: none;
}

.seo-image-frame img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center;
}

.seo-image-floating-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: min(280px, 78%);
  padding: 1rem 1.1rem;
  border:
    1px solid rgba(255, 255, 255, 0.65);
  border-radius: 18px;
  background:
    rgba(255, 255, 255, 0.91);
  box-shadow:
    0 18px 45px rgba(6, 28, 79, 0.15);
  backdrop-filter: blur(15px);
}

.seo-image-card-top {
  top: 9%;
  left: -6%;
}

.seo-image-card-bottom {
  right: -4%;
  bottom: 8%;
}

.seo-floating-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 13px;
  background:
    rgba(11, 92, 255, 0.1);
  color: var(--primary-blue);
  font-size: 1.25rem;
}

.seo-floating-icon.orange {
  background:
    rgba(255, 122, 0, 0.12);
  color: var(--accent-orange);
}

.seo-image-floating-card strong,
.seo-image-floating-card small {
  display: block;
}

.seo-image-floating-card strong {
  margin-bottom: 0.15rem;
  color: var(--primary-navy);
  font-size: 0.82rem;
}

.seo-image-floating-card small {
  color: var(--text-secondary);
  font-size: 0.68rem;
  line-height: 1.4;
}

.seo-keyword-strip {
  padding: 1.1rem 0;
  border-top:
    1px solid var(--border-soft);
  border-bottom:
    1px solid var(--border-soft);
  background: #ffffff;
}

.seo-keyword-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.seo-keyword {
  padding: 0.38rem 0.85rem;
  border:
    1px solid var(--border-soft);
  border-radius: 999px;
  color: var(--text-secondary);
  background: var(--background-soft);
  font-size: 0.7rem;
  font-weight: 650;
}

.seo-keyword.primary {
  border-color:
    rgba(11, 92, 255, 0.2);
  color: var(--primary-blue);
  background:
    rgba(11, 92, 255, 0.07);
}

.seo-section {
  padding: 6rem 0;
}

.seo-section-soft {
  background:
    linear-gradient(
      180deg,
      #f7faff 0%,
      #ffffff 100%
    );
}

.seo-section-title {
  margin-bottom: 1.25rem;
  color: var(--primary-navy);
  font-size: clamp(2rem, 3.3vw, 3.2rem);
  font-weight: 900;
  line-height: 1.13;
  letter-spacing: -0.035em;
}

.seo-section-copy {
  margin-bottom: 1.6rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.seo-rich-text {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.95;
  white-space: pre-line;
}

.seo-heading-center {
  max-width: 760px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.seo-heading-center p {
  color: var(--text-secondary);
  line-height: 1.8;
}

.seo-heading-center.light .seo-section-title {
  color: #ffffff;
}

.seo-heading-center.light p {
  color:
    rgba(255, 255, 255, 0.68);
}

.seo-mini-stats {
  display: grid;
  grid-template-columns:
    repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 2rem;
}

.seo-mini-stat {
  padding: 1rem;
  border:
    1px solid var(--border-soft);
  border-radius: 15px;
  background: var(--background-soft);
}

.seo-mini-stat strong,
.seo-mini-stat span {
  display: block;
}

.seo-mini-stat strong {
  color: var(--primary-blue);
  font-size: 1.1rem;
}

.seo-mini-stat span {
  margin-top: 0.15rem;
  color: var(--text-secondary);
  font-size: 0.7rem;
}

.seo-card-grid {
  display: grid;
  grid-template-columns:
    repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.seo-capability-card {
  position: relative;
  overflow: hidden;
  min-height: 290px;
  padding: 2rem;
  border:
    1px solid var(--border-soft);
  border-radius: 22px;
  background: #ffffff;
  box-shadow:
    0 8px 24px rgba(6, 28, 79, 0.055);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.seo-capability-card:hover {
  transform: translateY(-7px);
  border-color:
    rgba(11, 92, 255, 0.35);
  box-shadow:
    0 22px 50px rgba(6, 28, 79, 0.12);
}

.seo-card-number {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  color:
    rgba(11, 92, 255, 0.08);
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1;
}

.seo-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 1.4rem;
  border-radius: 15px;
  color: var(--primary-blue);
  background:
    rgba(11, 92, 255, 0.09);
  font-size: 1.4rem;
}

.seo-capability-card h3 {
  position: relative;
  margin-bottom: 0.7rem;
  color: var(--primary-navy);
  font-size: 1.05rem;
  font-weight: 800;
}

.seo-capability-card p {
  position: relative;
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.86rem;
  line-height: 1.75;
}

.seo-benefit-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.seo-benefit-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 1.4rem;
  border:
    1px solid var(--border-soft);
  border-radius: 17px;
  background: #ffffff;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}

.seo-benefit-item:hover {
  transform: translateX(7px);
  border-color:
    rgba(11, 92, 255, 0.3);
}

.seo-benefit-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  flex-shrink: 0;
  border-radius: 50%;
  color: #ffffff;
  background:
    linear-gradient(
      135deg,
      var(--primary-blue),
      #00a6ff
    );
}

.seo-benefit-item h3 {
  margin-bottom: 0.3rem;
  color: var(--primary-navy);
  font-size: 0.95rem;
  font-weight: 800;
}

.seo-benefit-item p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.82rem;
  line-height: 1.65;
}

.seo-process-section {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(
      circle at 85% 15%,
      rgba(11, 92, 255, 0.32),
      transparent 32%
    ),
    linear-gradient(
      145deg,
      #061c4f,
      #07173d
    );
}

.seo-process-grid {
  display: grid;
  grid-template-columns:
    repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.seo-process-card {
  position: relative;
  min-height: 230px;
  padding: 1.5rem;
  border:
    1px solid rgba(255, 255, 255, 0.11);
  border-radius: 20px;
  background:
    rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(8px);
}

.seo-process-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 1.3rem;
  border-radius: 12px;
  color: #ffffff;
  background: var(--accent-orange);
  font-size: 0.85rem;
  font-weight: 800;
}

.seo-process-card h3 {
  margin-bottom: 0.6rem;
  color: #ffffff;
  font-size: 0.96rem;
}

.seo-process-card p {
  margin: 0;
  color:
    rgba(255, 255, 255, 0.65);
  font-size: 0.79rem;
  line-height: 1.7;
}

.seo-best-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4rem);
  border:
    1px solid rgba(11, 92, 255, 0.12);
  border-radius: 30px;
  background:
    linear-gradient(
      145deg,
      #ffffff,
      #f5f9ff
    );
  box-shadow:
    0 25px 65px rgba(6, 28, 79, 0.09);
}

.seo-best-decoration {
  position: absolute;
  top: -35px;
  right: -25px;
  color:
    rgba(11, 92, 255, 0.05);
  font-size: 10rem;
  transform: rotate(14deg);
}

.seo-choice-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.seo-choice-list div {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem;
  border:
    1px solid var(--border-soft);
  border-radius: 13px;
  color: var(--primary-navy);
  background: #ffffff;
  font-size: 0.84rem;
  font-weight: 700;
}

.seo-choice-list i {
  color: var(--primary-blue);
}

.seo-project-image {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.seo-project-title {
  margin: 0.65rem 0;
  color: var(--primary-navy);
  font-size: 1rem;
  font-weight: 800;
}

.seo-project-copy {
  margin-bottom: 1rem;
  color: var(--text-secondary);
  font-size: 0.82rem;
  line-height: 1.65;
}

.seo-final-cta {
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
  text-align: center;
  color: #ffffff;
  background:
    linear-gradient(
      135deg,
      #061c4f,
      #0b5cff
    );
}

.seo-final-cta-glow {
  position: absolute;
  width: 550px;
  height: 550px;
  top: -320px;
  left: 50%;
  border-radius: 50%;
  background:
    rgba(0, 242, 254, 0.2);
  filter: blur(80px);
  transform: translateX(-50%);
}

.seo-final-cta-content {
  max-width: 780px;
  margin: 0 auto;
}

.seo-cta-pill {
  display: inline-block;
  margin-bottom: 1.2rem;
  padding: 0.4rem 0.95rem;
  border:
    1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background:
    rgba(255, 255, 255, 0.08);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.seo-final-cta h2 {
  margin-bottom: 1rem;
  color: #ffffff;
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 900;
  line-height: 1.12;
}

.seo-final-cta p {
  max-width: 650px;
  margin: 0 auto;
  color:
    rgba(255, 255, 255, 0.72);
  line-height: 1.8;
}

.seo-final-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 2rem;
}

.seo-white-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.seo-white-link:hover {
  color: #ffffff;
  gap: 0.8rem;
}


@media (max-width: 1199.98px) {

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

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


@media (max-width: 991.98px) {

  .seo-hero {
    padding: 3rem 0 4.5rem;
  }

  .seo-image-stage {
    max-width: 570px;
    margin-top: 1rem;
  }

  .seo-image-frame,
  .seo-image-frame img {
    min-height: 450px;
  }

  .seo-image-card-top {
    left: 0;
  }

  .seo-image-card-bottom {
    right: 0;
  }

  .seo-section {
    padding: 4.7rem 0;
  }
}


@media (max-width: 767.98px) {

  .seo-breadcrumb {
    margin-bottom: 2rem;
  }

  .seo-hero-title {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .seo-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .seo-hero-actions a {
    justify-content: center;
  }

  .seo-trust-inline {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .seo-image-stage {
    padding: 0.35rem;
  }

  .seo-image-frame {
    min-height: 380px;
    border-radius:
      25px 60px 25px 60px;
  }

  .seo-image-frame img {
    min-height: 380px;
  }

  .seo-image-floating-card {
    position: relative;
    width: 92%;
  }

  .seo-image-card-top {
    top: auto;
    left: auto;
    margin:
      -2.3rem auto 0;
  }

  .seo-image-card-bottom {
    right: auto;
    bottom: auto;
    margin:
      0.7rem auto 0;
  }

  .seo-mini-stats,
  .seo-card-grid,
  .seo-process-grid {
    grid-template-columns: 1fr;
  }

  .seo-capability-card {
    min-height: auto;
  }
}


@media (max-width: 575.98px) {

  .seo-hero {
    padding-top: 2rem;
  }

  .seo-section {
    padding: 4rem 0;
  }

  .seo-best-panel {
    border-radius: 22px;
  }
}