/* ==========================================================================
   SEO FOR AI & SOFTWARE COMPANIES - STYLES
   ========================================================================== */

:root {
  --fn-pink: #b5246a;
  --fn-pink-light: #ff4b8b;
  --fn-navy: #0b1121;
  --fn-blue: #4361ee;
  --fn-purple: #7209b7;
  --fn-gradient: linear-gradient(135deg, var(--fn-pink), var(--fn-pink-light));
  --fn-gradient-alt: linear-gradient(135deg, var(--fn-blue), var(--fn-purple));
  --fn-shadow-pink: rgba(181, 36, 106, 0.25);
  --fn-shadow-blue: rgba(67, 97, 238, 0.2);
}

/* ------------------------------------------------
   HERO SECTION (Light Theme, Premium)
   ------------------------------------------------ */
.ai-seo-hero {
  position: relative;
  padding: 160px 0 100px;
  background: radial-gradient(circle at 50% 0%, #ffffff 0%, #f4f6fb 100%);
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(11, 17, 33, 0.05);
}

.ai-seo-hero::before {
  content: "";
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(181, 36, 106, 0.12) 0%, rgba(67, 97, 238, 0.08) 40%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.ai-seo-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.ai-seo-hero-label {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(181, 36, 106, 0.08);
  color: var(--fn-pink);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 30px;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(181, 36, 106, 0.15);
}

.ai-seo-hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  font-weight: 700;
  color: var(--fn-navy);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.ai-seo-hero-desc {
  font-size: 1.25rem;
  line-height: 1.6;
  color: #4b5563;
  margin: 0 auto 40px;
  max-width: 700px;
}

.ai-seo-hero .btn-primary {
  background: var(--fn-gradient);
  color: #fff;
  border: none;
  padding: 14px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 10px 25px var(--fn-shadow-pink);
}

.ai-seo-hero .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px var(--fn-shadow-pink);
}

/* ------------------------------------------------
   SECTION 1: BENTO INTELLIGENCE PANEL
   ------------------------------------------------ */
.ai-bento-section {
  padding: 100px 0;
  background: #ffffff;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  margin-bottom: 60px;
}

.section-header h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  color: var(--fn-navy);
  margin-bottom: 16px;
  font-weight: 700;
}

.section-header p {
  font-size: 1.1rem;
  color: #4b5563;
  line-height: 1.6;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.bento-card {
  background: #ffffff;
  border: 1px solid rgba(11, 17, 33, 0.08);
  border-radius: 20px;
  padding: 40px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.bento-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: transparent;
  transition: background 0.4s ease;
}

.bento-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(11, 17, 33, 0.08);
  border-color: rgba(181, 36, 106, 0.2);
}

.bento-card:hover::before {
  background: var(--fn-gradient);
}

.bento-card-large {
  grid-column: span 2;
}

.bento-icon {
  width: 54px;
  height: 54px;
  background: rgba(181, 36, 106, 0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--fn-pink);
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.bento-card:nth-child(2) .bento-icon {
  background: rgba(67, 97, 238, 0.08);
  color: var(--fn-blue);
}

.bento-card:nth-child(2):hover::before {
  background: var(--fn-gradient-alt);
}

.bento-card:nth-child(3) .bento-icon {
  background: rgba(114, 9, 183, 0.08);
  color: var(--fn-purple);
}

.bento-card:nth-child(3):hover::before {
  background: linear-gradient(135deg, var(--fn-purple), var(--fn-pink));
}

.bento-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  color: var(--fn-navy);
  margin-bottom: 12px;
  font-weight: 600;
}

.bento-card p {
  color: #4b5563;
  line-height: 1.6;
  font-size: 1.05rem;
}

.bento-metric-visual {
  margin-top: 24px;
  background: rgba(244, 246, 251, 0.6);
  border: 1px solid rgba(67, 97, 238, 0.1);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.metric-bar-bg {
  flex-grow: 1;
  height: 10px;
  background: rgba(11, 17, 33, 0.05);
  border-radius: 5px;
  overflow: hidden;
}

.metric-bar-fill {
  height: 100%;
  background: var(--fn-gradient);
  border-radius: 5px;
  width: 85%;
  box-shadow: 0 0 10px var(--fn-shadow-pink);
}

.metric-val {
  font-weight: 700;
  color: var(--fn-pink);
  font-size: 1.1rem;
}

@media (max-width: 992px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-card-large {
    grid-column: span 1;
  }
}

/* ------------------------------------------------
   SECTION 2: PRODUCT-LED SEO ARCHITECTURE
   ------------------------------------------------ */
.saas-arch-section {
  padding: 100px 0;
  background: #f8faff;
  border-top: 1px solid rgba(67, 97, 238, 0.08);
  border-bottom: 1px solid rgba(67, 97, 238, 0.08);
}

.arch-layout {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.arch-content {
  flex: 1;
}

.arch-content h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  color: var(--fn-navy);
  margin-bottom: 20px;
  font-weight: 700;
}

.arch-content p {
  color: #4b5563;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.arch-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
}

.arch-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 1.05rem;
  color: #1f2937;
}

.arch-list li i {
  color: var(--fn-pink);
  font-size: 1.4rem;
  margin-top: 2px;
}

.arch-visual {
  flex: 1;
  background: #ffffff;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 24px 48px rgba(67, 97, 238, 0.06);
  border: 1px solid rgba(67, 97, 238, 0.1);
  position: relative;
}

.arch-visual::before {
  content: "";
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  background: var(--fn-gradient);
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.4;
  z-index: 0;
}

.arch-node {
  background: #ffffff;
  border: 1px solid rgba(11, 17, 33, 0.08);
  padding: 18px 24px;
  border-radius: 12px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.arch-node:hover {
  transform: translateX(10px);
  background: #ffffff;
  box-shadow: 0 10px 20px rgba(67, 97, 238, 0.08);
  border-color: rgba(67, 97, 238, 0.2);
}

.node-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.node-title {
  font-weight: 600;
  color: var(--fn-navy);
  font-size: 1.1rem;
}

.node-desc {
  font-size: 0.9rem;
  color: #6b7280;
}

.node-status {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.4);
}

.arch-node:nth-child(2) .node-status {
  background: var(--fn-blue);
  box-shadow: 0 0 10px var(--fn-shadow-blue);
}

.arch-node:nth-child(3) .node-status {
  background: var(--fn-pink);
  box-shadow: 0 0 10px var(--fn-shadow-pink);
}

@media (max-width: 992px) {
  .arch-layout {
    flex-direction: column;
  }
}

/* ------------------------------------------------
   SECTION 3: CONVERSION SYSTEM (CTA)
   ------------------------------------------------ */
.ai-cta-section {
  padding: 120px 0;
  background: #ffffff;
}

.cta-dashboard {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--fn-navy);
  border-radius: 30px;
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(11, 17, 33, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-dashboard::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(181, 36, 106, 0.3) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.cta-dashboard h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 2.8rem;
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.cta-dashboard p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.cta-dashboard .btn-light {
  background: var(--fn-gradient);
  color: #ffffff;
  border: none;
  padding: 16px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 10px 30px rgba(181, 36, 106, 0.3);
}

.cta-dashboard .btn-light:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(181, 36, 106, 0.5);
}
