/* ============================================================
   AI-CONTENT-OPTIMIZATION-V2.CSS — Complete Redesign
   For: /ai-seo-content-optimization.html
   High-Quality, Stunning, Citation-Worthy Design
   ============================================================ */

/* ── CTA BAND STYLES - FROM GEO PAGE ── */
.cro-cta-band { position: relative; overflow: hidden; background: linear-gradient(135deg,#020c1b 0%,#1a3a6e 40%,#020c1b 100%); border-radius: 24px; padding: 64px 56px; margin-bottom: 80px; border: 1px solid rgba(41,171,226,0.2); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 48px; }
.cro-cta-band::before { content: ''; position: absolute; top: -80px; right: -80px; width: 400px; height: 400px; background: radial-gradient(circle,rgba(41,171,226,0.15) 0%,transparent 65%); pointer-events: none; }
.cro-cta-band::after { content: ''; position: absolute; bottom: 28px; left: 56px; width: 80px; height: 3px; background: linear-gradient(90deg,#253a8f,#29abe2,#caef45); border-radius: 3px; }
.cro-cta-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: #caef45; margin-bottom: 12px; display: block; }
.cro-cta-band h2 { font-size: clamp(1.5rem,2.4vw,2rem); font-weight: 700; color: #fff; line-height: 1.3; margin: 0 0 20px; }
.cro-cta-band h2 span { color: #caef45; }
.cro-cta-stats { display: flex; gap: 28px; flex-wrap: wrap; }
.cro-cta-stat-val { font-size: 20px; font-weight: 800; color: #fff; line-height: 1; }
.cro-cta-stat-lbl { font-size: 11px; color: rgba(255,255,255,0.5); }
.cro-cta-btns { display: flex; flex-direction: column; gap: 12px; align-items: center; min-width: 200px; position: relative; z-index: 1; }
.cro-cta-btn { display: flex; align-items: center; justify-content: center; width: 100%; background: #caef45; color: #0a1628; font-size: 15px; font-weight: 700; padding: 14px 28px; border-radius: 50px; text-decoration: none; transition: background 0.2s, transform 0.15s, box-shadow 0.2s; white-space: nowrap; }
.cro-cta-btn:hover { background: #b8e020; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(202,239,69,0.4); color: #0a1628; text-decoration: none; }
.cro-cta-note { font-size: 11px; color: rgba(255,255,255,0.55); text-align: center; }

@media (max-width: 992px) {
    .cro-cta-band {
        grid-template-columns: 1fr;
        padding: 48px 40px;
        gap: 32px;
    }
    .cro-cta-btns {
        width: 100%;
    }
    .cro-cta-btn {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .cro-cta-band {
        padding: 40px 24px;
    }
    .cro-cta-stats {
        gap: 20px;
    }
    .cro-cta-band h2 {
        font-size: 1.5rem;
    }
}

/* ── PROBLEM SECTION - REDESIGNED WITH SVG ICONS ── */
.problem-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
  position: relative;
}

.problem-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(139, 92, 246, 0.3) 50%, transparent 100%);
}

.section-header-center {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 64px;
}

.section-header-center h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: #0a0e27;
  margin-bottom: 20px;
  line-height: 1.2;
}

.section-header-center p {
  font-size: 18px;
  color: rgba(0,0,0,0.7);
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

.problem-card {
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 20px;
  padding: 36px 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.problem-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #8B5CF6 0%, #06b6d4 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.problem-card:hover {
  border-color: #8B5CF6;
  box-shadow: 0 12px 40px rgba(139, 92, 246, 0.15);
  transform: translateY(-6px);
}

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

.problem-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
  border-radius: 14px;
  border: 2px solid #e5e7eb;
  transition: all 0.3s ease;
}

.problem-card:hover .problem-icon {
  background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%);
  border-color: #8B5CF6;
  transform: scale(1.05);
}

.problem-icon svg {
  width: 44px;
  height: 44px;
}

.problem-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 14px;
  line-height: 1.3;
}

.problem-card p {
  font-size: 15px;
  color: rgba(0,0,0,0.7);
  line-height: 1.7;
  margin: 0;
}

/* ───────────────────────────────────────────────────────────────
   CTA #1 - Services section
   ─────────────────────────────────────────────────────────────── */

.geo-mini-cta-wrap {
    margin: 30px auto;
    text-align: center;
}

.geo-mini-cta {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    margin-top: 30px;
    padding: 24px 32px;
    background: linear-gradient(135deg, #020c1b 0%, #0a1f3d 100%);
    border-left: 4px solid #0ea5e9;
    border-radius: 12px;
    flex-wrap: wrap;
}

.geo-mini-cta-text {
    font-size: 16px;
    line-height: 1.7;
    color: #fff;
}

.mini-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #020c1b ;
    font-size: 15px;
    font-weight: 700;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.3);
}

.mini-cta-btn:hover {
    transform: translateY(-2px);
    background: #0ea5e9;
    color: #000;
    box-shadow: 0 8px 22px rgba(14, 165, 233, 0.35);
}

/* Contain CTA Box on Mobile */
@media (max-width: 768px) {
    .geo-mini-cta-wrap {
        padding: 0 15px;
        margin: 32px auto;
    }
    
    .geo-mini-cta {
        flex-direction: column;
        padding: 20px 24px;
        gap: 16px;
        text-align: center;
        width: auto;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .geo-mini-cta-text {
        font-size: 15px;
        width: 100%;
    }
    
    .mini-cta-btn {
        width: 100%;
        padding: 14px 24px;
        font-size: 14px;
        white-space: normal;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .geo-mini-cta-wrap {
        padding: 0 15px;
    }
    
    .geo-mini-cta {
        padding: 16px 20px;
        border-left-width: 3px;
    }
    
    .geo-mini-cta-text {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .mini-cta-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* ── SOLUTION SECTION ── */
.solution-section {
  padding: 100px 0;
  background: #fff;
  position: relative;
}

.process-steps {
  max-width: 900px;
  margin: 64px auto 0;
}

.process-step {
  display: flex;
  gap: 32px;
  margin-bottom: 56px;
  position: relative;
}

.process-step:last-child {
  margin-bottom: 0;
}

.process-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 64px;
  bottom: -56px;
  width: 3px;
  background: linear-gradient(180deg, #8B5CF6 0%, rgba(139, 92, 246, 0.2) 100%);
}

.step-number {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #8B5CF6 0%, #06b6d4 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.process-step:hover .step-number {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 12px 32px rgba(139, 92, 246, 0.5);
}

.step-content {
  flex: 1;
  padding-top: 6px;
}

.step-content h3 {
  font-size: 22px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 12px;
  line-height: 1.3;
}

.step-content p {
  font-size: 16px;
  color: rgba(0,0,0,0.7);
  line-height: 1.75;
  margin-bottom: 16px;
}

.step-deliverable {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%);
  border: 1px solid #C4B5FD;
  border-radius: 10px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #6366F1;
  transition: all 0.3s ease;
}

.step-deliverable:hover {
  background: linear-gradient(135deg, #E0E7FF 0%, #D4C5F9 100%);
  transform: translateX(4px);
}

.step-deliverable svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

/* Services CTA */
.geo-services-cta {
    position: relative;
    overflow: hidden;
    background: #052f6b;
    border-radius: 16px;
    padding: 48px 56px;
    margin: 60px auto;
    max-width: 1320px;
    width: calc(100% - 40px);
}

/* Decorative Shapes */
.geo-services-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.9;
}

.geo-services-shape-one {
    width: 180px;
    height: 180px;
    background: #1976f3;
    top: -70px;
    left: 240px;
}

.geo-services-shape-two {
    width: 140px;
    height: 140px;
    background: #f4d35e;
    bottom: -65px;
    left: 120px;
}

.geo-services-shape-three {
    width: 90px;
    height: 90px;
    background: rgba(255,255,255,0.08);
    top: 50px;
    right: 120px;
}

/* Layout */
.geo-services-card {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 56px;
    flex-wrap: wrap;
}

/* Left Box */
.geo-services-left {
    flex: 0 0 320px;
}

.geo-services-stat-box {
    background: #1457b2;
    border-radius: 16px;
    padding: 42px 36px;
    text-align: center;
    box-shadow: 0 10px 35px rgba(0,0,0,0.18);
}

.geo-services-stat-label {
    display: block;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.geo-services-stat-number {
    color: #ffe177;
    font-size: 72px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 20px;
}

.geo-services-stat-text {
    color: rgba(255,255,255,0.92);
    font-size: 18px;
    line-height: 1.5;
    margin: 0;
    font-weight: 600;
}

/* Right Content */
.geo-services-right {
    flex: 1;
    min-width: 320px;
}

.geo-services-title {
    color: #ffffff;
    font-size: clamp(26px, 3.5vw, 36px);
    line-height: 1.1;
    font-weight: 800;
    margin: 0 0 22px;
    letter-spacing: -1px;
}

.geo-services-desc {
    color: rgba(255,255,255,0.9);
    font-size: 22px;
    line-height: 1.7;
    margin-bottom: 34px;
    max-width: 760px;
}

/* Form */
.geo-services-form {
    display: flex;
    align-items: center;
    gap: 0;
    overflow: hidden;
    border-radius: 10px;
    max-width: 760px;
    flex-wrap: wrap;
}

.geo-services-input {
    flex: 1;
    min-width: 260px;
    height: 74px;
    border: none;
    outline: none;
    padding: 20px 26px;  /* ← ADDED vertical padding (20px) */
    font-size: 20px;
    font-weight: 500;
    color: #0f172a;
    background: #ffffff;
    box-sizing: border-box;  /* ← CRITICAL - This was missing */
    line-height: 1.4;
}

.geo-services-input::placeholder {
    color: #94a3b8;
}

.geo-services-btn {
    height: 74px;
    border: none;
    background: #0b70f3;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    padding: 0 36px;
    cursor: pointer;
    white-space: nowrap;
    box-sizing: border-box;  /* ← Add this too */
    transition: background 0.2s ease;
}

.geo-services-btn:hover {
    background: #0f61d4;
}

/* Responsive */
@media (max-width: 1200px) {
    .geo-services-cta {
        padding: 40px 32px;
        margin: 40px auto;
    }
    
    .geo-services-card {
        gap: 40px;
    }
}

@media (max-width: 991px) {
    .geo-services-cta {
        padding: 36px 24px;
        width: calc(100% - 30px);
        margin: 40px auto;
    }
    
    .geo-services-card {
        flex-direction: column;
        align-items: stretch;
        gap: 32px;
    }
    
    .geo-services-left {
        flex: 1;
        width: 100%;
    }
    
    .geo-services-stat-box {
        padding: 36px 28px;
    }
    
    .geo-services-stat-number {
        font-size: 64px;
    }
    
    .geo-services-stat-text {
        font-size: 16px;
    }
    
    .geo-services-right {
        width: 100%;
        min-width: 0;
    }
    
    .geo-services-title {
        font-size: 32px;
    }
    
    .geo-services-desc {
        font-size: 18px;
        margin-bottom: 28px;
    }
    
    .geo-services-form {
        flex-direction: column;
        border-radius: 0;
        gap: 14px;
    }
    
    .geo-services-input {
        width: 100%;
        min-width: 0;
        height: 72px;
        font-size: 18px;
        padding: 0 24px;
        border-radius: 10px;
    }
    
    .geo-services-btn {
        width: 100%;
        height: 72px;
        font-size: 19px;
        padding: 0 28px;
        border-radius: 10px;
        font-weight: 700;
    }
}

@media (max-width: 768px) {
    .geo-services-cta {
        padding: 32px 20px;
        border-radius: 12px;
    }
    
    .geo-services-shape-one {
        width: 120px;
        height: 120px;
        top: -50px;
        left: 160px;
    }
    
    .geo-services-shape-two {
        width: 100px;
        height: 100px;
        bottom: -45px;
        left: 80px;
    }
    
    .geo-services-shape-three {
        width: 70px;
        height: 70px;
        top: 40px;
        right: 80px;
    }
    
    .geo-services-stat-box {
        padding: 32px 24px;
    }
    
    .geo-services-stat-number {
        font-size: 56px;
    }
    
    .geo-services-stat-text {
        font-size: 15px;
    }
    
    .geo-services-title {
        font-size: 28px;
        margin-bottom: 18px;
    }
    
    .geo-services-desc {
        font-size: 16px;
        margin-bottom: 24px;
    }
    
    .geo-services-form {
        gap: 14px;
        align-items: center;
        max-width: 500px;
        margin: 0 auto;
    }
    
     .geo-services-input {
        width: 100%;
        max-width: 500px;
        height: 64px;
        font-size: 17px;
        padding: 18px 20px;  /* ← Vertical padding */
    }
    
       .geo-services-btn {
        width: 100%;
        max-width: 500px;
        height: 64px;
        font-size: 18px;
        padding: 0 24px;
    }
}


@media (max-width: 480px) {
    .geo-services-cta {
        padding: 24px 16px;
        margin: 30px auto;
        border-radius: 8px;
    }
    
    .geo-services-card {
        gap: 24px;
    }
    
    .geo-services-shape-one {
        width: 90px;
        height: 90px;
        top: -35px;
        left: 100px;
    }
    
    .geo-services-shape-two {
        width: 70px;
        height: 70px;
        bottom: -30px;
        left: 50px;
    }
    
    .geo-services-shape-three {
        width: 50px;
        height: 50px;
        top: 30px;
        right: 50px;
    }
    
    .geo-services-stat-box {
        padding: 28px 20px;
    }
    
    .geo-services-stat-label {
        font-size: 13px;
        margin-bottom: 14px;
    }
    
    .geo-services-stat-number {
        font-size: 48px;
        margin-bottom: 16px;
    }
    
    .geo-services-stat-text {
        font-size: 14px;
    }
    
    .geo-services-title {
        font-size: 24px;
        letter-spacing: -0.5px;
    }
    
    .geo-services-desc {
        font-size: 15px;
        line-height: 1.6;
    }
    
    .geo-services-form {
        max-width: 100%;
        margin: 0 auto;
    }
    
   
    .geo-services-input {
        max-width: 100%;
        height: 60px;
        font-size: 16px;
        padding: 16px 20px;  /* ← Vertical padding */
    }
    
    .geo-services-btn {
        max-width: 100%;
        height: 60px;
        font-size: 17px;
        font-weight: 700;
        padding: 0 24px;
    }
}

/* ── FEATURES SECTION ── */
.features-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: #8B5CF6;
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.12);
  transform: translateY(-4px);
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 16px;
  line-height: 1.3;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  font-size: 14px;
  color: rgba(0,0,0,0.7);
  line-height: 1.6;
  padding-left: 24px;
  position: relative;
  margin-bottom: 10px;
}

.feature-list li:last-child {
  margin-bottom: 0;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #10B981;
  font-weight: 700;
  font-size: 16px;
}

/* ── BEFORE/AFTER SECTION - REDESIGNED LIKE ECOMMERCE ── */
.before-after-section {
  padding: 100px 0;
  background: #fff;
  position: relative;
}

.before-after-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(139, 92, 246, 0.3) 50%, transparent 100%);
}

.comparison-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  max-width: 1200px;
  margin: 64px auto 0;
  align-items: center;
}

.comparison-side {
  background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
  border: 2px solid #e5e7eb;
  border-radius: 20px;
  padding: 40px;
  position: relative;
  transition: all 0.4s ease;
}

.comparison-side:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.comparison-side--before {
  border-color: #FCA5A5;
}

.comparison-side--before:hover {
  border-color: #EF4444;
  box-shadow: 0 16px 48px rgba(239, 68, 68, 0.15);
}

.comparison-side--after {
  border-color: #86EFAC;
}

.comparison-side--after:hover {
  border-color: #10B981;
  box-shadow: 0 16px 48px rgba(16, 185, 129, 0.15);
}

.comparison-label-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.comparison-label-tag svg {
  width: 16px;
  height: 16px;
}

.comparison-label-tag--before {
  background: #991B1B;
  color: #ffffff;
}

.comparison-label-tag--after {
  background: #065F46;
  color: #ffffff;
}

.comparison-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 24px;
  line-height: 1.3;
}

.comparison-metrics {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.metric-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.metric-item--bad {
  background: #FEF2F2;
  border: 1px solid #FECACA;
}

.metric-item--good {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
}

.metric-label {
  font-size: 13px;
  font-weight: 600;
  color: #47494e;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.metric-value {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
}

.result-box {
  text-align: center;
  padding: 24px;
  border-radius: 12px;
  border: 2px solid;
}

.result-box--before {
  background: linear-gradient(135deg, #DC2626 0%, #991B1B 100%);
  border-color: #B91C1C;
}

.result-box--after {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  border-color: #059669;
}

.result-number {
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
}

.result-box--before .result-number {
  color: #ffffff;
}

.result-box--after .result-number {
  color: #ffffff;
}

.result-box--before .result-text {
  color: #FEE2E2;
}

.result-box--after .result-text {
  color: #D1FAE5;
}

.result-label {
  font-size: 13px;
  font-weight: 600;
  color: #1F2937;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.comparison-arrow {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse-arrow 2s ease-in-out infinite;
}

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

.comparison-arrow svg {
  width: 100%;
  height: 100%;
}

/* ── WHO IS THIS FOR SECTION - IMPROVED LAYOUT ── */
.who-for-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
  position: relative;
}

.who-for-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(139, 92, 246, 0.3) 50%, transparent 100%);
}

.who-for-grid-new {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  max-width: 1200px;
  margin: 64px auto 0;
  justify-content: center;
}

.who-for-card-new {
  flex: 1 1 calc(33.333% - 20px);
  min-width: 280px;
  max-width: 360px;
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 20px;
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.who-for-card-new::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #8B5CF6 0%, #06b6d4 100%);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.who-for-card-new:hover {
  border-color: #8B5CF6;
  box-shadow: 0 12px 40px rgba(139, 92, 246, 0.15);
  transform: translateY(-8px);
}

.who-for-card-new:hover::before {
  transform: scaleX(1);
}

.who-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%);
  border-radius: 14px;
  border: 2px solid #C4B5FD;
  transition: all 0.3s ease;
}

.who-for-card-new:hover .who-icon {
  background: linear-gradient(135deg, #8B5CF6 0%, #06b6d4 100%);
  border-color: #8B5CF6;
  transform: scale(1.05);
}

.who-for-card-new:nth-child(2) .who-icon {
  background: linear-gradient(135deg, #DBEAFE 0%, #BFDBFE 100%);
  border-color: #60A5FA;
}

.who-for-card-new:nth-child(3) .who-icon {
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
  border-color: #FBBF24;
}

.who-for-card-new:nth-child(4) .who-icon {
  background: linear-gradient(135deg, #D1FAE5 0%, #A7F3D0 100%);
  border-color: #34D399;
}

.who-for-card-new:nth-child(5) .who-icon {
  background: linear-gradient(135deg, #E0E7FF 0%, #C7D2FE 100%);
  border-color: #818CF8;
}

.who-icon svg {
  width: 36px;
  height: 36px;
  transition: all 0.4s ease;
}

.who-for-card-new:hover .who-icon svg path,
.who-for-card-new:hover .who-icon svg rect,
.who-for-card-new:hover .who-icon svg circle,
.who-for-card-new:hover .who-icon svg line {
  stroke: #fff;
  fill: rgba(255, 255, 255, 0.2);
}

.who-for-card-new h3 {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 20px;
  line-height: 1.3;
}

.who-for-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.who-for-list li {
  font-size: 15px;
  color: rgba(0,0,0,0.7);
  line-height: 1.6;
  padding-left: 28px;
  position: relative;
  margin-bottom: 14px;
}

.who-for-list li:last-child {
  margin-bottom: 0;
}

.who-for-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #8B5CF6;
  font-weight: 700;
  font-size: 18px;
}

/* ── RESPONSIVE ADJUSTMENTS ── */
@media (max-width: 1200px) {
  .comparison-container {
    gap: 24px;
  }
  
  .who-for-card-new {
    flex: 1 1 calc(50% - 14px);
  }
}

@media (max-width: 991px) {
  .problem-section,
  .solution-section,
  .features-section,
  .before-after-section,
  .who-for-section {
    padding: 80px 0;
  }
  
  .section-header-center {
    margin-bottom: 48px;
  }
  
  .problem-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
  }
  
  .comparison-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .comparison-arrow {
    transform: rotate(90deg);
    margin: 0 auto;
  }
  
  .process-step {
    gap: 24px;
  }
  
  .step-number {
    width: 52px;
    height: 52px;
    font-size: 22px;
  }
  
  .who-for-card-new {
    flex: 1 1 calc(50% - 14px);
  }
}

@media (max-width: 768px) {
  .problem-grid {
    grid-template-columns: 1fr;
  }
  
  .who-for-grid-new {
    flex-direction: column;
    align-items: stretch;
  }
  
  .who-for-card-new {
    flex: 1 1 100%;
    max-width: 100%;
  }
  
  .comparison-side {
    padding: 32px 24px;
  }
}

@media (max-width: 640px) {
  .problem-section,
  .solution-section,
  .features-section,
  .before-after-section,
  .who-for-section {
    padding: 60px 0;
  }
  
  .section-header-center h2 {
    font-size: 1.5rem;
  }
  
  .section-header-center p {
    font-size: 16px;
  }
  
  .problem-card,
  .who-for-card-new {
    padding: 28px 24px;
  }
  
  .problem-icon {
    width: 64px;
    height: 64px;
  }
  
  .problem-icon svg {
    width: 40px;
    height: 40px;
  }
  
  .process-step {
    flex-direction: row;
    gap: 16px;
    margin-bottom: 32px;
    align-items: flex-start;
  }
  
  .step-number {
    width: 48px;
    height: 48px;
    font-size: 20px;
    flex-shrink: 0;
  }
  
  .step-content {
    flex: 1;
    min-width: 0;
    padding-top: 0;
  }
  
  .process-step:not(:last-child)::before {
    left: 23px;
    top: 48px;
    bottom: -32px;
  }
  
  .step-content h3 {
    font-size: 18px;
  }
  
  .step-content p {
    font-size: 14px;
  }
  
  .step-deliverable {
    font-size: 12px;
    padding: 8px 14px;
  }
  
  .comparison-side {
    padding: 28px 20px;
  }
  
  .comparison-content h3 {
    font-size: 18px;
  }
  
  .result-number {
    font-size: 40px;
  }
  
  .comparison-arrow {
    width: 60px;
    height: 60px;
  }
}

/* ═══════════════════════════════════════════════════════════
/* ═══════════════════════════════════════════════════════════
   PROBLEM MATRIX DESIGN - COMPLETE FIX
   ═══════════════════════════════════════════════════════════ */

.problem-matrix {
  padding: 100px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  position: relative;
  overflow: visible;
}

.problem-matrix::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(139, 92, 246, 0.3) 50%, transparent 100%);
}

/* Matrix Grid - COMPLETELY REBUILT */
.matrix-grid {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 32px;
  max-width: 1400px;
  margin: 64px auto 56px;
  padding: 0 20px;
  position: relative;
}

/* Matrix Cells */
.matrix-cell {
  flex: 1;
  min-width: 240px;
  max-width: 280px;
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 20px;
  padding: 32px 24px;
  position: relative;
  transition: all 0.4s ease;
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
  display: flex;
  flex-direction: column;
}

.matrix-cell[data-problem="1"] { animation-delay: 0.1s; }
.matrix-cell[data-problem="2"] { animation-delay: 0.2s; }
.matrix-cell[data-problem="3"] { animation-delay: 0.3s; }
.matrix-cell[data-problem="4"] { animation-delay: 0.4s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.matrix-cell:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 60px rgba(139, 92, 246, 0.2);
  border-color: #8B5CF6;
  z-index: 10;
}

.cell-number {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 13px;
  font-weight: 900;
  color: #cbd5e1;
  font-family: monospace;
}

.cell-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  transition: all 0.4s ease;
  flex-shrink: 0;
}

.matrix-cell:hover .cell-icon {
  transform: scale(1.1);
}

.matrix-cell h3 {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 12px;
  line-height: 1.3;
  text-align: center;
}

.matrix-cell p {
  font-size: 14px;
  color: rgba(0,0,0,0.7);
  line-height: 1.6;
  margin: 0 0 auto;
  text-align: center;
  flex-grow: 1;
}

.cell-impact {
  background: linear-gradient(135deg, #f9fafb 0%, #f1f5f9 100%);
  border-radius: 8px;
  padding: 12px;
  text-align: center;
  margin-top: 16px;
  flex-shrink: 0;
}

.impact-label {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 4px;
}

.impact-value {
  font-size: 13px;
  font-weight: 700;
  color: #EF4444;
  display: block;
  line-height: 1.4;
}

/* Hide connectors on initial load - they don't work well in flex */
.matrix-connector {
  display: none;
}

/* Chain Broken Section */
.chain-broken {
  background: linear-gradient(135deg, #FEF2F2 0%, #FEE2E2 100%);
  border: 2px dashed #EF4444;
  border-radius: 20px;
  padding: 40px;
  margin: 56px auto 0;
  max-width: 900px;
  text-align: center;
}

.chain-visual {
  margin-bottom: 24px;
}

.chain-visual svg {
  max-width: 100%;
  height: auto;
}

.chain-text strong {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: #991B1B;
  margin-bottom: 8px;
}

.chain-text p {
  font-size: 16px;
  color: #7F1D1D;
  margin: 0;
  line-height: 1.5;
}

/* CTA */
.matrix-cta {
  text-align: center;
  margin-top: 56px;
}

.matrix-cta h3 {
  font-size: 28px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 12px;
}

.matrix-cta p {
  font-size: 18px;
  color: rgba(0,0,0,0.7);
  margin-bottom: 28px;
}

.matrix-btn {
  display: inline-block;
  background: linear-gradient(135deg, #8B5CF6 0%, #06b6d4 100%);
  color: white;
  font-size: 17px;
  font-weight: 700;
  padding: 18px 40px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
}

.matrix-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(139, 92, 246, 0.4);
  text-decoration: none;
  color: white;
}

/* Responsive */
@media (max-width: 1200px) {
  .matrix-grid {
    gap: 24px;
  }
  
  .matrix-cell {
    min-width: 200px;
    max-width: 240px;
    padding: 28px 20px;
  }
  
  .cell-icon {
    width: 70px;
    height: 70px;
  }
}

@media (max-width: 991px) {
  .matrix-grid {
    flex-wrap: wrap;
    gap: 24px;
  }
  
  .matrix-cell {
    flex: 1 1 calc(50% - 12px);
    min-width: 240px;
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .problem-matrix {
    padding: 60px 0;
  }
  
  .matrix-grid {
    flex-direction: column;
    gap: 20px;
    padding: 0 16px;
  }
  
  .matrix-cell {
    flex: 1;
    min-width: auto;
    max-width: 100%;
  }
  
  .cell-icon {
    width: 64px;
    height: 64px;
  }
  
  .matrix-cell h3 {
    font-size: 17px;
  }
  
  .chain-broken {
    padding: 28px 20px;
  }
  
  .matrix-cta h3 {
    font-size: 24px;
  }
}

/* ═══════════════════════════════════════════════════════════
   FAILURE CASCADE - Clear Visual Communication
   ═══════════════════════════════════════════════════════════ */

.failure-cascade {
  background: linear-gradient(135deg, #FEF2F2 0%, #FEE2E2 100%);
  border: 2px solid #FCA5A5;
  border-radius: 24px;
  padding: 48px;
  margin: 56px auto 0;
  max-width: 1000px;
}

.cascade-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

.cascade-title svg {
  flex-shrink: 0;
}

.cascade-title h3 {
  font-size: 24px;
  font-weight: 700;
  color: #991B1B;
  margin: 0;
}

/* Cascade Flow */
.cascade-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.cascade-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  border: 2px solid #FECACA;
  border-radius: 12px;
  padding: 16px 20px;
  flex: 0 0 auto;
}

.cascade-number {
  width: 32px;
  height: 32px;
  background: #DC2626;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 16px;
  flex-shrink: 0;
}

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

.cascade-content strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #7F1D1D;
  margin-bottom: 4px;
}

.cascade-content p {
  font-size: 13px;
  color: #991B1B;
  margin: 0;
  line-height: 1.4;
}

.cascade-arrow {
  font-size: 24px;
  color: #DC2626;
  font-weight: 900;
  flex-shrink: 0;
}

.cascade-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #DC2626 0%, #991B1B 100%);
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.3);
}

.cascade-result svg {
  flex-shrink: 0;
}

.cascade-result strong {
  font-size: 18px;
  font-weight: 900;
  color: white;
  letter-spacing: 0.5px;
}

/* Insight Box */
.cascade-insight {
  background: white;
  border: 2px dashed #DC2626;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.cascade-insight svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.cascade-insight p {
  font-size: 15px;
  color: #7F1D1D;
  line-height: 1.6;
  margin: 0;
}

.cascade-insight strong {
  color: #991B1B;
}

/* Responsive */
@media (max-width: 991px) {
  .cascade-flow {
    flex-direction: column;
    align-items: stretch;
  }
  
  .cascade-item {
    flex-direction: column;
    text-align: center;
  }
  
  .cascade-content {
    text-align: center;
  }
  
  .cascade-arrow {
    transform: rotate(90deg);
  }
}

@media (max-width: 640px) {
  .failure-cascade {
    padding: 32px 20px;
  }
  
  .cascade-title {
    flex-direction: column;
    text-align: center;
  }
  
  .cascade-title h3 {
    font-size: 20px;
  }
  
  .cascade-insight {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
/* ═══════════════════════════════════════════════════════════
   CONTRAST FIXES - WCAG AA Compliance
   ═══════════════════════════════════════════════════════════ */

/* Fix 1: Hero CTA Button - Improve contrast */
.content-hero-cta {
  background: linear-gradient(135deg, #7C3AED 0%, #0891B2 100%);
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  padding: 18px 40px;
  border-radius: 50px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.3);
}

.content-hero-cta:hover {
  background: linear-gradient(135deg, #6D28D9 0%, #0E7490 100%);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(124, 58, 237, 0.4);
  text-decoration: none;
  color: #ffffff;
}

/* Fix 2: Comparison Labels - Darker backgrounds */
.comparison-label-tag {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 16px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 16px;
}

.comparison-label-tag--before {
  background: #991B1B;
  color: #ffffff;
}

.comparison-label-tag--after {
  background: #065F46;
  color: #ffffff;
}

/* Fix 3: Result Label - Better contrast */
.result-label {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

/* Fix 4: Result Box Before - Darker red */
.result-box--before {
  background: linear-gradient(135deg, #DC2626 0%, #991B1B 100%);
  border: 2px solid #B91C1C;
}

.result-box--before .result-number {
  color: #ffffff;
}

.result-box--before .result-text {
  color: #FEE2E2;
}

/* Fix 5: Result Box After - Darker green */
.result-box--after {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  border: 2px solid #059669;
}

.result-box--after .result-number {
  color: #ffffff;
}

.result-box--after .result-text {
  color: #D1FAE5;
}

/* Fix 6: Matrix Button - Darker purple */
.matrix-btn {
  background: linear-gradient(135deg, #7C3AED 0%, #0891B2 100%);
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  padding: 18px 40px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.3);
}

.matrix-btn:hover {
  background: linear-gradient(135deg, #6D28D9 0%, #0E7490 100%);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(124, 58, 237, 0.4);
  text-decoration: none;
  color: #ffffff;
}
