/* ── SEC-P OVERRIDE ── */
.sec-p { margin-bottom: 3rem; }

/* ── PAGE HERO (navy bg — agentic-ai only) ── */
.page-hero { background: var(--navy); padding: 5rem 2rem 4.5rem; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; top: -80px; right: -80px; width: 560px; height: 560px; background: radial-gradient(circle, rgba(32,201,173,0.13) 0%, transparent 65%); pointer-events: none; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(-55deg, transparent, transparent 60px, rgba(255,255,255,0.012) 60px, rgba(255,255,255,0.012) 61px); pointer-events: none; }
.page-hero-inner { max-width: 820px; margin: 0 auto; position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.1rem, 3.4vw, 3.2rem); font-weight: 700; line-height: 1.13; color: var(--white); margin-bottom: 1.3rem; }
.page-hero h1 .hl { color: var(--teal); }
.page-hero-sub { font-size: 1.12rem; color: rgba(255,255,255,0.72); max-width: 620px; margin-bottom: 2rem; line-height: 1.78; }

/* ── PHOTO HERO (photo bg variant) ── */
.photo-hero { padding: 0; min-height: 480px; display: flex; align-items: center; position: relative; }
.photo-hero-img { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
.photo-hero-overlay { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(19,52,75,0.88) 0%, rgba(19,52,75,0.60) 60%, rgba(19,52,75,0.30) 100%); z-index: 1; }
.photo-hero .page-hero-inner { padding: 5rem 2rem 4.5rem; z-index: 2; position: relative; }

/* ── WAVE CARDS ── */
.waves-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.wave-card { border-radius: 12px; padding: 2.6rem 2.2rem; position: relative; overflow: hidden; transition: transform 0.22s, box-shadow 0.22s; }
.wave-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.wave-card.w1, .wave-card.w2 { background: var(--white); border: 1px solid var(--mid-grey); }
.wave-card.w3 { background: var(--navy); }
.wave-badge { display: inline-flex; align-items: center; gap: 0.45rem; font-family: 'Montserrat', sans-serif; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.32rem 0.85rem; border-radius: 20px; margin-bottom: 1.4rem; }
.w1 .wave-badge { background: rgba(245,166,35,0.12); color: var(--orange); }
.w2 .wave-badge { background: rgba(32,201,173,0.12); color: var(--teal-dark); }
.w3 .wave-badge { background: rgba(32,201,173,0.18); color: var(--teal); }
.wave-num { font-family: 'Montserrat', sans-serif; font-size: 3.5rem; font-weight: 700; line-height: 1; margin-bottom: 0.5rem; }
.w1 .wave-num { color: rgba(245,166,35,0.15); }
.w2 .wave-num { color: rgba(32,201,173,0.15); }
.w3 .wave-num { color: rgba(32,201,173,0.12); }
.wave-card h3 { font-size: 1.28rem; font-weight: 700; margin-bottom: 0.4rem; }
.w1 h3, .w2 h3 { color: var(--navy); }
.w3 h3 { color: var(--white); }
.wave-era { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.7rem; }
.w1 .wave-era, .w2 .wave-era { color: var(--muted); }
.w3 .wave-era { color: rgba(255,255,255,0.4); }
.wave-card > p { font-size: 1.03rem; line-height: 1.72; }
.w1 > p, .w2 > p { color: var(--soft); }
.w3 > p { color: rgba(255,255,255,0.7); }
.wave-list { list-style: none; margin-top: 1.2rem; }
.wave-list li { font-size: 1.0rem; padding: 0.38rem 0 0.38rem 1.4rem; position: relative; border-bottom: 1px solid; }
.w1 .wave-list li { color: var(--soft); border-color: var(--mid-grey); }
.w2 .wave-list li { color: var(--soft); border-color: var(--mid-grey); }
.w3 .wave-list li { color: rgba(255,255,255,0.7); border-color: rgba(255,255,255,0.09); }
.wave-list li:last-child { border-bottom: none; }
.wave-list li::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 7px; height: 7px; border-radius: 50%; }
.w1 .wave-list li::before { background: var(--orange); }
.w2 .wave-list li::before, .w3 .wave-list li::before { background: var(--teal); }
.wave-now { position: absolute; top: 1.5rem; right: 1.5rem; background: var(--orange); color: var(--navy); font-family: 'Montserrat', sans-serif; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.28rem 0.75rem; border-radius: 20px; }

/* ── INSIGHT BANNER ── */
.insight-banner { background: rgba(32,201,173,0.07); border: 1px solid rgba(32,201,173,0.22); border-left: 4px solid var(--teal); border-radius: 8px; padding: 1.6rem 2rem; margin-top: 2.5rem; }
.insight-banner p { font-size: 1.1rem; color: var(--navy); line-height: 1.72; }
.insight-banner strong { color: var(--teal-dark); }

/* ── COMPARISON TABLE ── */
.comp-wrap { overflow-x: auto; border-radius: 12px; border: 1px solid var(--mid-grey); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; }
thead tr { background: var(--navy); }
thead th { padding: 1.2rem 1.5rem; text-align: left; font-family: 'Montserrat', sans-serif; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.55); white-space: nowrap; }
thead th.col-active { color: var(--teal); }
tbody tr { border-bottom: 1px solid var(--mid-grey); transition: background 0.15s; }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: rgba(32,201,173,0.03); }
tbody td { padding: 1.05rem 1.5rem; font-size: 1.0rem; vertical-align: middle; }
tbody td:first-child { font-family: 'Montserrat', sans-serif; font-size: 0.88rem; font-weight: 700; color: var(--navy); white-space: nowrap; }
.tick { color: var(--teal-dark); font-weight: 700; }
.cross { color: var(--muted); }
td.col-w3 { font-weight: 500; color: var(--navy); }
td.col-w1, td.col-w2 { color: var(--soft); }

/* ── COPILOT COMPARISON ── */
.copilot-wrap { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0; align-items: start; margin-top: 2rem; }
.copilot-card { background: var(--white); border: 1px solid var(--mid-grey); border-radius: 12px; padding: 2.2rem; }
.copilot-left { border-right: none; border-radius: 12px 0 0 12px; }
.copilot-right { border-left: none; border-radius: 0 12px 12px 0; border-left: 3px solid var(--teal); }
.copilot-divider { display: flex; align-items: center; justify-content: center; background: var(--mid-grey); width: 2px; position: relative; }
.copilot-vs { position: absolute; background: var(--white); border: 2px solid var(--mid-grey); border-radius: 50%; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; font-family: 'Montserrat', sans-serif; font-size: 0.75rem; font-weight: 700; color: var(--muted); }
.copilot-badge { display: inline-block; font-family: 'Montserrat', sans-serif; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.3rem 0.85rem; border-radius: 20px; background: rgba(138,147,166,0.15); color: var(--muted); margin-bottom: 1rem; }
.copilot-badge-teal { background: rgba(32,201,173,0.12); color: var(--teal-dark); }
.copilot-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 0.7rem; line-height: 1.35; }
.copilot-card p { font-size: 0.97rem; color: var(--soft); line-height: 1.7; margin-bottom: 1.2rem; }
.copilot-list { list-style: none; margin-bottom: 1.4rem; }
.copilot-list li { font-size: 0.95rem; color: var(--soft); padding: 0.35rem 0 0.35rem 1.3rem; position: relative; border-bottom: 1px solid var(--mid-grey); }
.copilot-list li:last-child { border-bottom: none; }
.copilot-list li::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.copilot-right .copilot-list li::before { background: var(--teal); }
.copilot-verdict { font-family: 'Montserrat', sans-serif; font-size: 0.82rem; font-weight: 700; padding: 0.6rem 1rem; border-radius: 6px; text-align: center; }
.copilot-neutral { background: rgba(138,147,166,0.1); color: var(--muted); }
.copilot-teal { background: rgba(32,201,173,0.12); color: var(--teal-dark); }

/* ── 80/20 FLOW ── */
.flow-wrap { background: var(--navy-mid); border-radius: 14px; padding: 2.8rem; margin-top: 2rem; }
.flow-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 2.2rem; flex-wrap: wrap; gap: 1.5rem; }
.flow-stats { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.flow-stat { background: rgba(32,201,173,0.1); border: 1px solid rgba(32,201,173,0.2); border-radius: 10px; padding: 1.2rem 1.6rem; text-align: center; min-width: 140px; }
.flow-stat-num { font-family: 'Montserrat', sans-serif; font-size: 2.4rem; font-weight: 700; color: var(--teal); line-height: 1; }
.flow-stat-lbl { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-top: 0.3rem; line-height: 1.4; }
.flow-lane { display: flex; align-items: stretch; gap: 0; margin-bottom: 0.8rem; border-radius: 8px; overflow: hidden; }
.flow-lbl { background: rgba(255,255,255,0.06); padding: 1rem 1.2rem; display: flex; align-items: center; min-width: 120px; max-width: 120px; flex-shrink: 0; }
.flow-lbl span { font-family: 'Montserrat', sans-serif; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.45); line-height: 1.3; }
.flow-lane.lane-new .flow-lbl { background: rgba(32,201,173,0.1); border-left: 3px solid var(--teal); }
.flow-lane.lane-new .flow-lbl span { color: var(--teal); }
.flow-steps { display: flex; flex: 1; gap: 2px; background: rgba(255,255,255,0.04); padding: 2px; }
.flow-step { flex: 1; padding: 0.85rem 0.9rem; border-radius: 5px; }
.flow-step-lbl { font-family: 'Montserrat', sans-serif; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; margin-bottom: 0.28rem; }
.flow-step p { font-size: 0.85rem; line-height: 1.42; }
.lane-old .flow-step { background: rgba(255,255,255,0.04); }
.lane-old .flow-step-lbl { color: rgba(255,255,255,0.25); }
.lane-old .flow-step p { color: rgba(255,255,255,0.45); }
.lane-old .flow-step.hi { background: rgba(245,166,35,0.1); border: 1px solid rgba(245,166,35,0.18); }
.lane-old .flow-step.hi .flow-step-lbl { color: var(--orange); }
.lane-old .flow-step.hi p { color: rgba(255,255,255,0.78); }
.lane-new .flow-step { background: rgba(255,255,255,0.05); }
.lane-new .flow-step-lbl { color: rgba(32,201,173,0.45); }
.lane-new .flow-step p { color: rgba(255,255,255,0.5); }
.lane-new .flow-step.hi { background: rgba(32,201,173,0.14); border: 1px solid rgba(32,201,173,0.28); }
.lane-new .flow-step.hi .flow-step-lbl { color: var(--teal); }
.lane-new .flow-step.hi p { color: rgba(255,255,255,0.88); }
.flow-divider { text-align: center; padding: 0.4rem 0; }
.flow-divider span { font-family: 'Montserrat', sans-serif; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.22); }
.flow-legend { display: flex; gap: 1.8rem; margin-top: 1.6rem; flex-wrap: wrap; }
.flow-legend-item { display: flex; align-items: center; gap: 0.55rem; font-size: 0.85rem; color: rgba(255,255,255,0.45); }
.legend-dot { width: 10px; height: 10px; border-radius: 3px; flex-shrink: 0; }

/* ── DIFFERENCE CARDS ── */
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.diff-card { background: var(--white); border: 1px solid var(--mid-grey); border-radius: 12px; padding: 2.4rem 2rem; position: relative; overflow: hidden; transition: box-shadow 0.22s, transform 0.22s; }
.diff-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--teal); }
.diff-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.diff-icon { width: 60px; height: 60px; border-radius: 12px; background: rgba(32,201,173,0.1); display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem; }
.diff-icon svg { width: 28px; height: 28px; }
.diff-card h3 { font-size: 1.08rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.diff-card p { font-size: 1.0rem; color: var(--soft); line-height: 1.7; }

/* ── CTA (uses .sec.bg-navy + .cta-inner without .cta-sec wrapper) ── */
.cta-inner { max-width: 620px; margin: 0 auto; text-align: center; }
.cta-inner h2 { font-size: clamp(1.7rem, 2.5vw, 2.2rem); font-weight: 700; color: var(--white); margin-bottom: 0.9rem; line-height: 1.2; }
.cta-inner p { font-size: 1.1rem; color: rgba(255,255,255,0.68); margin-bottom: 2.2rem; line-height: 1.72; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
    .waves-grid { grid-template-columns: 1fr; }
    .diff-grid { grid-template-columns: 1fr 1fr; }
    .flow-lbl { min-width: 90px; max-width: 90px; }
}
@media (max-width: 760px) {
    .copilot-wrap { grid-template-columns: 1fr; }
    .copilot-left, .copilot-right { border-radius: 12px; border: 1px solid var(--mid-grey); }
    .copilot-right { border-left: 1px solid var(--mid-grey); border-top: 3px solid var(--teal); }
    .copilot-divider { display: none; }
}
@media (max-width: 600px) {
    .diff-grid { grid-template-columns: 1fr; }
    .flow-lane { flex-direction: column; }
    .flow-lbl { min-width: unset; max-width: unset; }
    .flow-steps { flex-direction: column; }
    .flow-stats { flex-direction: column; }
}
