/* ============================================================================
 * SEO/AEO/GEO Services Page (Ewebot-inspired Design)
 * ========================================================================== */

/* Hero Section */
.wb-seo-hero {
  position: relative;
  background-color: var(--wb-color-bg);
  padding: clamp(4rem, 8vw, 8rem) 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 85vh;
}

/* Ewebot-inspired background gradients */
.wb-seo-hero::before,
.wb-seo-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}
.wb-seo-hero::before {
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.4), rgba(59, 130, 246, 0.1));
}
.wb-seo-hero::after {
  bottom: -20%;
  right: -10%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(234, 179, 8, 0.3), rgba(220, 38, 38, 0.2));
}

.wb-seo-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--wb-space-8);
  align-items: center;
}
@media (min-width: 1024px) {
  .wb-seo-hero-grid {
    grid-template-columns: 55% 45%;
  }
}

.wb-seo-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(59, 130, 246, 0.15);
  color: var(--wb-color-brand);
  border-radius: 50px;
  font-size: var(--wb-font-size-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--wb-space-4);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.wb-seo-hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--wb-space-5);
  color: var(--wb-color-ink);
  letter-spacing: -0.02em;
}

/* Image Placeholders (The 3D Illustrations) */
.wb-seo-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: rgba(59, 130, 246, 0.05);
  border: 2px dashed rgba(59, 130, 246, 0.4);
  border-radius: var(--wb-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
}
[data-theme="dark"] .wb-seo-placeholder {
  background: rgba(255, 255, 255, 0.03);
  border: 2px dashed rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}
.wb-seo-placeholder::after {
  content: "Illustration Placeholder";
  font-size: var(--wb-font-size-sm);
  color: var(--wb-color-text-soft);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  padding: 1rem;
}
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

/* Evolution Cards */
.wb-seo-card {
  background: var(--wb-color-bg-muted);
  border: 1px solid var(--wb-color-border);
  border-radius: var(--wb-radius-lg);
  padding: var(--wb-space-6);
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 3px solid transparent;
  display: flex;
  flex-direction: column;
}
.wb-seo-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--wb-shadow-lg);
  border-bottom-color: var(--wb-color-brand);
}

/* Process Section */
.wb-seo-process-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--wb-space-8);
  align-items: center;
  margin-bottom: clamp(4rem, 10vw, 8rem);
  position: relative;
}
.wb-seo-process-row:last-child {
  margin-bottom: 0;
}
@media (min-width: 768px) {
  .wb-seo-process-row {
    grid-template-columns: 1fr 1fr;
  }
  .wb-seo-process-row:nth-child(even) {
    direction: rtl;
  }
  .wb-seo-process-row:nth-child(even) > * {
    direction: ltr;
  }
}

.wb-seo-step-num {
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 900;
  line-height: 1;
  color: rgba(59, 130, 246, 0.08);
  position: absolute;
  top: -2rem;
  left: 0;
  z-index: 0;
  pointer-events: none;
}
.wb-seo-process-content {
  position: relative;
  z-index: 1;
}

/* CTA Banner */
.wb-seo-cta-banner {
  background: linear-gradient(135deg, var(--wb-color-brand) 0%, var(--wb-color-danger) 100%);
  border-radius: var(--wb-radius-lg);
  padding: clamp(3rem, 6vw, 6rem);
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.3);
}

.wb-seo-form {
  display: flex;
  gap: var(--wb-space-3);
  max-width: 500px;
  margin: var(--wb-space-6) auto 0;
}
@media (max-width: 430px) {
  .wb-seo-form {
    flex-direction: column;
  }
}
.wb-seo-input {
  flex: 1;
  padding: 14px 20px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: var(--wb-font-size-base);
  backdrop-filter: blur(10px);
}
.wb-seo-input::placeholder {
  color: rgba(255,255,255,0.8);
}
.wb-seo-input:focus {
  outline: none;
  border-color: #fff;
  background: rgba(255,255,255,0.25);
}
.wb-seo-submit {
  padding: 14px 32px;
  border-radius: 50px;
  background: #fff;
  color: var(--wb-color-brand);
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wb-seo-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}
