/* SEO Service Pages CSS - Premium Layout */
:root {
  --light-blue: #eef2ff;
  --bg-main: #ffffff;
  --primary-blue: #1d4ed8;
  --accent-orange: #ea580c;
  --text-dark: #1e293b;
  --text-gray: #475569;
  --card-bg: #ffffff;
  --border-color: #e2e8f0;
}

body {
  background-color: var(--bg-main);
  color: var(--text-dark);
  font-family: 'Inter', 'Prompt', sans-serif;
  line-height: 1.6;
}

/* Header & Hero Split */
.seo-header {
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, var(--light-blue) 0%, rgba(255,255,255,1) 100%);
  position: relative;
  overflow: hidden;
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  text-align: left;
}

.seo-header h1 {
  font-size: 2.8rem;
  color: var(--primary-blue);
  margin-bottom: 1.2rem;
  line-height: 1.2;
}

.seo-header p.lead {
  font-size: 1.2rem;
  color: var(--text-gray);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

.hero-image-wrapper {
  position: relative;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(29, 78, 216, 0.25);
  overflow: hidden;
  transform: perspective(1000px) rotateY(-5deg);
  transition: transform 0.5s ease;
}

.hero-image-wrapper:hover {
  transform: perspective(1000px) rotateY(0deg);
}

.hero-main-img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.hero-image-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 60%);
  pointer-events: none;
  animation: pulse-glow 8s infinite linear;
}

@keyframes pulse-glow {
  0% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
  100% { transform: scale(1); opacity: 0.5; }
}

/* Main Content */
.seo-content {
  padding: 5rem 0;
}

.seo-section {
  max-width: 1000px;
  margin: 0 auto 5rem;
}

.seo-section h2 {
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  border-left: 5px solid var(--primary-blue);
  padding-left: 1.2rem;
}

.seo-section p {
  font-size: 1.1rem;
  color: var(--text-gray);
  margin-bottom: 1.5rem;
}

.problem-context-box {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: rgba(37, 99, 235, 0.04);
  border: 1px solid rgba(37, 99, 235, 0.1);
  padding: 1.5rem 1.75rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.problem-context-icon {
  flex-shrink: 0;
  color: var(--primary-blue);
  background: rgba(37, 99, 235, 0.1);
  padding: 0.75rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
}

.problem-context-icon svg {
  width: 24px !important;
  height: 24px !important;
}

.problem-context-content {
  flex-grow: 1;
}

.problem-label {
  display: inline-block;
  font-size: 0.9rem;
  color: var(--primary-blue);
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
  background: rgba(255, 255, 255, 0.8);
  padding: 0.2rem 0.75rem;
  border-radius: 20px;
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.seo-section .problem-context-box p {
  margin-bottom: 0;
  color: var(--text-dark);
  font-size: 1.15rem;
  line-height: 1.7;
}

.seo-section .section-lead-in {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 1.15rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px dashed rgba(0,0,0,0.1);
}

.section-lead-in svg {
  color: var(--primary-blue);
  width: 24px !important;
  height: 24px !important;
  flex-shrink: 0;
}

/* Feature Grid Cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.grid-4-col {
  grid-template-columns: repeat(2, 1fr);
}

@media(min-width: 768px) {
  .grid-4-col {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  padding: 1.8rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border-color: rgba(29, 78, 216, 0.3);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 4px;
  background: var(--primary-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 1rem;
  color: var(--primary-blue);
}

.feature-icon svg {
  width: 100% !important;
  height: 100% !important;
}

.feature-card h4 {
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.95rem;
  margin-bottom: 0;
  line-height: 1.5;
}

/* Premium CTA Box */
.premium-box {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  padding: 4rem 3rem;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  text-align: center;
  border: 1px solid var(--border-color);
  position: relative;
}

.premium-box h3 {
  font-size: 2.2rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.cta-subtitle {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.cta-btn {
  font-size: 1.2rem;
  padding: 1.2rem 2.5rem;
  border-radius: 50px;
  box-shadow: 0 10px 20px rgba(29, 78, 216, 0.3);
  transition: all 0.3s ease;
}

.cta-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 30px rgba(29, 78, 216, 0.4);
}

/* AI Insight Box */
.ai-insight-box {
  position: relative;
  margin: 0 auto 3rem;
  max-width: 800px;
  text-align: left;
  background: rgba(29, 78, 216, 0.03);
  border-radius: 16px;
  padding: 2.5rem;
  z-index: 1;
}

.ai-glow-border {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  border-radius: 16px;
  background: linear-gradient(45deg, rgba(29,78,216,0.2), rgba(234,88,12,0.2), rgba(29,78,216,0.2));
  z-index: -1;
  padding: 2px;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.ai-box-content h4 {
  font-size: 1.4rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ai-icon {
  font-size: 1.5rem;
}

/* FAQ Accordion */
.faq-container {
  background: var(--card-bg);
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  border: 1px solid var(--border-color);
}

.faq-header {
  font-size: 2rem;
  text-align: center;
  border: none !important;
  margin-bottom: 0.5rem !important;
}

.faq-subtitle {
  text-align: center;
  margin-bottom: 3rem !important;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item[open] {
  border-color: rgba(29, 78, 216, 0.5);
  box-shadow: 0 4px 10px rgba(29, 78, 216, 0.05);
}

.faq-item summary {
  padding: 1.2rem 1.5rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
  transition: background 0.3s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  background: #f1f5f9;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--primary-blue);
  transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-answer {
  padding: 1.5rem;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
}

.faq-answer p {
  margin-bottom: 0;
  font-size: 1.05rem;
}

.faq-answer ol {
  padding-left: 1.5rem;
  color: var(--text-gray);
  line-height: 1.8;
}

.faq-answer li {
  margin-bottom: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .hero-split {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content {
    text-align: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .seo-header {
    padding-top: 4rem;
  }
  .seo-header h1 {
    font-size: 1.8rem;
    line-height: 1.4;
  }
  .seo-header p.lead {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  .seo-section h2 {
    font-size: 1.6rem;
  }
  .problem-context-box {
    padding: 1.25rem 1rem;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .problem-context-icon {
    margin-bottom: 0.5rem;
    box-shadow: 0 4px 15px rgba(29,78,216,0.15);
    background: #fff;
  }
  .ai-insight-box {
    padding: 1.5rem;
  }
  
  /* Mobile Sticky CTA */
  .mobile-hide {
    display: none !important;
  }
  .mobile-sticky-cta {
    display: block !important;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.08);
    z-index: 9999;
    border-top: 1px solid var(--border-color);
  }
  body {
    padding-bottom: 5rem;
  }
  
  /* FAQ Smooth Expand */
  .faq-item summary {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .faq-item[open] summary {
    background: #eff6ff;
  }
}

/* Button Upgrades */
.btn-glow {
  box-shadow: 0 0 15px rgba(29, 78, 216, 0.5);
  animation: pulse-shadow 2s infinite;
}
@keyframes pulse-shadow {
  0% { box-shadow: 0 0 0 0 rgba(29, 78, 216, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(29, 78, 216, 0); }
  100% { box-shadow: 0 0 0 0 rgba(29, 78, 216, 0); }
}
.btn-ghost {
  background: transparent;
  border: none;
  font-weight: 500;
}
.btn-ghost:hover {
  color: var(--primary-blue);
  background: rgba(29, 78, 216, 0.05);
}
.mobile-sticky-cta {
  display: none;
}

@media (max-width: 768px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .premium-box {
    padding: 2rem 1.5rem;
  }
  .faq-container {
    padding: 1.5rem;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  .trust-section {
    padding: 1.5rem 0.5rem !important;
  }
  .trust-section h2 {
    font-size: 1.15rem !important;
    margin-bottom: 1rem !important;
  }
  .trust-section > div {
    flex-wrap: nowrap !important;
    gap: 0.5rem !important;
  }
  .trust-section > div > div {
    min-width: 0 !important;
    padding: 0 0.25rem;
  }
  .trust-section h3 {
    font-size: 1.2rem !important;
  }
  .trust-section p {
    font-size: 0.75rem !important;
    line-height: 1.2;
  }
}

.ai-title-icon { display: inline-block; width: 24px; height: 24px; vertical-align: bottom; margin-right: 0.5rem; }
