/* ════════════════════════════════════════════════════════════
   Sanoop Balan — SEO Expert Kochi Specific Stylesheet (Purple Theme)
   ════════════════════════════════════════════════════════════ */

:root {
  --g-brand: #8B5CF6;
  --g-brand-hover: #7C3AED;
  --g-brand-gradient: linear-gradient(135deg, #8B5CF6, #a56ef4);
  --g-brand-dim: rgba(139, 92, 246, 0.03);
  --g-brand-border: rgba(139, 92, 246, 0.15);
  --g-brand-pulse: rgba(139, 92, 246, 0.4);
}

/* ── THEME ACCENT TEXT & BUTTONS ── */
.line-accent {
  background: var(--g-brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: var(--g-brand); /* fallback */
}

/* Purple Hero Glow */
.hero .orb-1 {
  background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
}
.hero .orb-2 {
  background: radial-gradient(circle, rgba(165, 110, 244, 0.15) 0%, transparent 70%);
}

.btn-primary {
  background: var(--g-brand) !important;
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.35) !important;
}
.btn-primary:hover {
  background: var(--g-brand-hover) !important;
  box-shadow: 0 8px 50px rgba(139, 92, 246, 0.55) !important;
}

/* ── MARQUEE ── */
.marquee-wrap {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: marquee 35s linear infinite;
}

.marquee-item {
  font-size: .78rem;
  color: var(--muted);
  letter-spacing: .06em;
  text-transform: uppercase;
  flex-shrink: 0;
  padding: 0 2rem;
  border-right: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.marquee-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ── PROCESS STEPS ── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 48px;
}

.process-step {
  background: var(--surface);
  padding: 32px 28px;
  border-right: 1px solid var(--border);
  position: relative;
}

.process-step:last-child {
  border-right: none;
}

.process-step:hover {
  background: var(--surface2);
}

.process-step-num {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--muted);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.process-step h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.process-step p {
  color: var(--muted);
  font-size: .85rem;
  line-height: 1.7;
  font-weight: 300;
}

.process-step-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--g-brand-gradient);
}

/* ── LOCAL GRID ── */
.local-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: start;
  margin-top: 48px;
}

.town-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.town-tag {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 500;
  color: var(--muted);
  transition: color .2s, border-color .2s;
}

.town-tag:hover {
  color: var(--text);
  border-color: var(--g-brand-border);
}

.ai-reasons-box {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--g-brand);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px 28px;
  margin-top: 28px;
}

.ai-reasons-box h4 {
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--g-brand);
}

.ai-reason-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.ai-reason-item::before {
  content: '→';
  color: var(--g-brand);
  flex-shrink: 0;
  font-weight: 700;
  font-size: 1.05rem;
  margin-top: 2px;
}

.ai-reason-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ai-reason-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  display: block;
}

.ai-reason-desc {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 300;
  display: block;
}

/* ── BENEFITS BLOCK ── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.benefit-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: border-color .3s;
}

.benefit-card:hover {
  border-color: var(--g-brand-border);
}

.benefit-card-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--g-brand-gradient);
}

.benefit-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.benefit-card p {
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.75;
  font-weight: 300;
}

.benefit-card.ai-benefit {
  border-color: var(--g-brand-border);
  background: var(--g-brand-dim);
}
.benefit-card.ai-benefit h3 {
  color: var(--g-brand);
}

/* ── HOW TO START ── */
.start-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-top: 48px;
}

.start-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 8px;
}

.start-step {
  display: flex;
  gap: 16px;
  padding-bottom: 24px;
  position: relative;
}

.start-step::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 36px;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

.start-step:last-child::before {
  display: none;
}

.step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--g-brand-border);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  color: var(--g-brand);
  flex-shrink: 0;
  margin-top: 2px;
}

.start-step-body h4 {
  font-size: .95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.start-step-body p {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
}

/* ── FAQ AI BADGE & ANSWERS ── */
.faq-ai-badge {
  display: inline-block;
  margin-left: 10px;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  padding: 2px 8px;
  border-radius: 50px;
  vertical-align: middle;
  flex-shrink: 0;
}

.faq-ai-answer {
  border-left: 3px solid var(--g-brand);
  padding-left: 16px;
  color: var(--muted);
}

/* Form inputs focus state override */
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--g-brand) !important;
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.15) !important;
}

.btn-submit {
  background: var(--g-brand) !important;
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.25) !important;
}
.btn-submit:hover {
  background: var(--g-brand-hover) !important;
}

/* ── RESPONSIVE OVERRIDES ── */
@media(max-width:768px) {
  .local-wrap,
  .start-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  .process-grid {
    grid-template-columns: 1fr 1fr;
  }
  .process-step:nth-child(2) {
    border-right: none;
  }
  .process-step:nth-child(3) {
    border-top: 1px solid var(--border);
  }
}

@media(max-width:600px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
  .process-step {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
}
