/* =========================================
   Migration Page Styles (issue #81 overhaul)
   ========================================= */

/* -----------------------------------------
   1. CSS VARIABLES (migration-specific)
   ----------------------------------------- */
:root {
    --iq-orange: #ff6600;
    --iq-orange-soft: #fff7ed;
    --iq-blue: #0F4C81;
    --iq-blue-soft: #f0f9ff;
    --iq-green: #10B981;
    --iq-dark: #0f172a;
    --iq-text-main: #334155;
    --iq-text-light: #64748b;
    --iq-line-color: #E2E8F0;
    --bg-console: #ffffff;
    --font-head: 'Outfit', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

/* Ambient glow system */
.hero-v2-ambient-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.15;
}
.hero-v2-glow-blue {
    background: radial-gradient(circle, #3b82f6, transparent 70%);
    top: -100px;
    left: -100px;
}
.hero-v2-glow-orange {
    background: radial-gradient(circle, #f59e0b, transparent 70%);
    bottom: -100px;
    right: -100px;
}

/* Grain texture Overlay */
.v2-grain-overlay {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.04;
    pointer-events: none;
    z-index: 1;
}

/* -----------------------------------------
   2. HERO SECTION
   ----------------------------------------- */
.iq-migration-hero {
    position: relative;
    padding: 120px 0 160px;
    background-color: transparent;
    overflow: visible;
}

.relative-content { position: relative; z-index: 5; }

.iq-migration-hero .hero-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 60px;
    align-items: center;
}

.concierge-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    margin-bottom: 24px;
    background: rgba(15, 98, 254, 0.1);
    border: 1px solid rgba(15, 98, 254, 0.3);
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: #78a9ff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.concierge-label span {
    width: 8px; height: 8px;
    background: #78a9ff;
    border-radius: 50%;
    margin-right: 0;
    box-shadow: 0 0 10px #78a9ff;
}

h1.hero-h1 {
    font-family: var(--font-head);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.05;
    color: #f1f5f9;
    margin-bottom: 25px;
    letter-spacing: -0.04em;
}

p.hero-lead {
    font-size: 1.1rem;
    color: #94a3b8;
    line-height: 1.55;
    margin-bottom: 35px;
    max-width: 95%;
}

.btn-start-mig {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: #fff;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.1);
    font-size: 1rem;
}

.btn-start-mig:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.4);
    color: white;
}

.btn-info-mig {
    color: #cbd5e1;
    font-weight: 600;
    margin-left: 20px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 16px 28px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
}

.btn-info-mig:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.epic-card {
    position: relative;
    z-index: 2;
    background: rgba(8, 10, 22, 0.8);
    backdrop-filter: blur(25px) saturate(1.3);
    -webkit-backdrop-filter: blur(25px) saturate(1.3);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes breathe-card {
    0%   { transform: translateY(0);    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.3); }
    50%  { transform: translateY(-6px); box-shadow: 0 35px 60px -12px rgba(15, 76, 129, 0.25); }
    100% { transform: translateY(0);    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.3); }
}

.epic-header {
    background: linear-gradient(135deg, var(--iq-blue) 0%, #164e87 100%);
    padding: 30px;
    color: white;
}

.ticket-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.ticket-title {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0;
}

.price-big {
    font-family: var(--font-head);
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1;
    display: block;
}

.price-crossed {
    font-size: 1rem;
    text-decoration: line-through;
    opacity: 0.6;
    margin-right: 5px;
}

.epic-body { padding: 30px; background: transparent; }

.perfect-timeline {
    position: relative;
    padding: 5px 0 10px 0;
}

.perfect-timeline::before {
    content: '';
    position: absolute;
    left: 9px; top: 5px; bottom: 25px;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
}

.timeline-step {
    position: relative;
    padding-left: 35px;
    margin-bottom: 28px;
}

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

.dot {
    position: absolute;
    left: 0; top: 0;
    width: 20px; height: 20px;
    background: rgba(8, 10, 22, 0.92);
    border-radius: 50%;
    z-index: 2;
    box-sizing: border-box;
    box-shadow: 0 0 0 5px rgba(8, 10, 22, 0.92);
}

.dot.orange { border: 3px solid var(--iq-orange); }
.dot.green  { border: 3px solid var(--iq-green); }

.timeline-step .step-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: #e2e8f0;
    display: block;
    margin-bottom: 4px;
    line-height: 1.2;
}

.timeline-step .step-desc {
    font-size: 0.85rem;
    color: #94a3b8;
    line-height: 1.4;
}

.guarantee-dashed {
    background: rgba(16, 185, 129, 0.08);
    border: 1px dashed rgba(16, 185, 129, 0.3);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 30px;
}

.g-shield-icon {
    color: var(--iq-green);
    font-size: 1.4rem;
    margin-top: 2px;
}

.g-content strong {
    display: block;
    color: #6ee7b7;
    font-size: 0.85rem;
    margin-bottom: 3px;
}

.g-content span {
    font-size: 0.8rem;
    color: #a7f3d0;
    line-height: 1.3;
    display: block;
}

/* Hero responsive */
@media (max-width: 991px) {
    h1.hero-h1 { font-size: 2.5rem; text-align: center; }
    p.hero-lead { text-align: center; margin: 0 auto 40px; }
    .platforms-area { justify-content: center; }
    .benefits-mini-grid { max-width: 500px; margin: 0 auto 40px; }
    .card-wrapper-3d { max-width: 450px; margin: 0 auto 50px; }
    .btn-start-mig { width: 100%; justify-content: center; margin-bottom: 15px; }
    .btn-info-mig  { width: 100%; justify-content: center; margin-left: 0; }
    .concierge-label { margin: 0 auto 25px; }
    .iq-migration-hero { padding: 60px 0 120px; }
    /* Smaller badges on tablet */
    .mig-badge { font-size: 0.65rem; padding: 6px 12px; }
    .mig-badge-tl { left: 0; }
    .mig-badge-tr { right: 0; }
    .mig-badge-bl { left: 0; }
}

@media (max-width: 576px) {
    h1.hero-h1 { font-size: 2rem; }
    .benefits-mini-grid { grid-template-columns: 1fr; }
    /* Hide floating badges on small mobile — too cramped */
    .mig-badge { display: none; }
}

/* Section 2b removed — hero text colors moved to base styles (hero bg is always dark) */

/* -----------------------------------------
   3. CONSOLE SECTION
   ----------------------------------------- */
.iq-console-section {
    position: relative;
    padding: 100px 0;
    background: var(--background-alt, #f8fafc);
    z-index: 10;
}

body.dark-mode .iq-console-section {
    background: var(--dark-background, #1a1a2e);
}

.console-container {
    background: var(--bg-console);
    border-radius: 20px;
    box-shadow: 0 40px 80px -20px rgba(15, 76, 129, 0.2), 0 0 0 1px rgba(0,0,0,0.05);
    overflow: hidden;
    display: flex;
    min-height: 600px;
}

.console-selector {
    flex: 1.4;
    padding: 50px;
    background: #ffffff;
}

.cs-header { margin-bottom: 35px; }

.cs-title {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--iq-dark);
}

.cs-sub {
    color: #64748b;
    margin-top: 5px;
}

.cli-input-wrapper { position: relative; margin-bottom: 30px; }

.cli-input {
    width: 100%;
    background: #f1f5f9;
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 16px 16px 16px 45px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--iq-dark);
    transition: 0.3s;
    box-sizing: border-box;
}

.cli-input:focus {
    background: #fff;
    border-color: var(--iq-blue);
    outline: none;
    box-shadow: 0 0 0 4px rgba(15, 76, 129, 0.1);
}

.cli-prompt {
    position: absolute;
    left: 18px; top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-weight: 500;
    font-size: 1rem;
}

.term-idle {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 10;
    padding: 20px;
}

.term-idle i {
    font-size: 2.5rem;
    color: #334155;
    margin-bottom: 15px;
    animation: me-float-idle 2s infinite ease-in-out;
}

.term-idle p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

@keyframes me-float-idle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.term-data {
    flex-grow: 1;
    position: relative;
}

.term-data.loading {
    opacity: 0.5;
    filter: blur(2px);
}

.btn-term-disabled {
    background: #1e293b !important;
    color: #64748b !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
    transform: none !important;
}

.grid-providers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.p-card {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px;
    cursor: pointer;
    transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    background: #fff;
}

.p-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.03);
}

.p-card.active {
    border-color: var(--iq-blue);
    background: var(--iq-blue-soft);
}

.p-card.active::after {
    content: '';
    position: absolute;
    right: 15px; top: 50%;
    transform: translateY(-50%);
    width: 8px; height: 8px;
    background: var(--iq-blue);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(15, 76, 129, 0.15);
}

.pc-icon {
    width: 42px; height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.bg-cyber    { background: #0055ff; }
.bg-home     { background: #0082c4; }
.bg-nazwa    { background: #004e9a; }
.bg-ovh      { background: #123f8d; }
.bg-seo      { background: #7c3aed; }
.bg-zenbox   { background: #2563eb; }
.bg-hostinger{ background: #673ab7; }
.bg-dhosting { background: #0d9488; }
.bg-lh       { background: #059669; }
.bg-other    { background: #475569; }

.pc-info h6 {
    margin: 0;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--iq-dark);
}

.pc-tech {
    font-size: 0.7rem;
    color: #64748b;
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
    margin-top: 3px;
    font-weight: 500;
}

/* Console terminal */
.console-terminal {
    flex: 1;
    background: #0f172a;
    border-left: 1px solid #1e293b;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    color: #fff;
}

.term-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #334155;
    margin-bottom: 30px;
}

.ts-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 1px;
}

.ts-live {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--iq-green);
    font-size: 0.75rem;
    font-weight: 600;
    font-family: var(--font-mono);
}

.blink-dot {
    width: 6px; height: 6px;
    background: var(--iq-green);
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

@keyframes blink { 50% { opacity: 0; } }

.term-data {
    flex-grow: 1;
    opacity: 1;
    transition: opacity 0.3s;
}

.term-data.loading {
    opacity: 0.5;
    filter: blur(2px);
}

.td-row { margin-bottom: 25px; }
.td-key { display: block; font-size: 0.8rem; color: #94a3b8; margin-bottom: 5px; font-family: var(--font-mono); }
.td-val { font-size: 1.2rem; font-weight: 700; color: #fff; font-family: var(--font-mono); }
.td-val.highlight { color: var(--iq-orange); text-shadow: 0 0 10px rgba(255,102,0,0.4); }

.term-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 5px; }

.tt-tag {
    font-size: 0.75rem;
    padding: 4px 10px;
    background: #1e293b;
    color: #94a3b8;
    border-radius: 4px;
    font-weight: 600;
    border: 1px solid #334155;
}

.compat-meter { margin-top: 10px; }

.cm-track {
    height: 6px;
    background: #334155;
    border-radius: 3px;
    overflow: hidden;
    margin-top: 8px;
}

.cm-fill {
    height: 100%;
    width: 0%;
    background: var(--iq-green);
    transition: width 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.logs-wrapper {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: #94a3b8;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed #334155;
    height: 140px;
    overflow: hidden;
    position: relative;
}

.log-line {
    margin-bottom: 4px;
    opacity: 0;
    animation: fadeLog 0.3s forwards;
}

.log-time {
    color: var(--iq-blue);
    margin-right: 5px;
    opacity: 0.7;
}

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

.term-action { margin-top: 30px; }

.btn-term {
    width: 100%;
    padding: 18px;
    border-radius: 12px;
    background: var(--iq-orange);
    color: white;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: none;
    box-shadow: 0 0 20px rgba(255, 102, 0, 0.3);
    transition: 0.3s;
    cursor: pointer;
    font-size: 1rem;
}

.btn-term:hover {
    background: #e65c00;
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(255, 102, 0, 0.5);
    color: white;
}

/* Console responsive */
@media (max-width: 991px) {
    .console-container { flex-direction: column; }
    .console-selector, .console-terminal { padding: 30px; }
    .grid-providers { grid-template-columns: 1fr; }
    .iq-console-section { margin-top: -40px; }
}

/* -----------------------------------------
   4. PROCESS PIPELINE SECTION
   ----------------------------------------- */
.iq-process-section {
    padding: 100px 0;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

.process-header {
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.badge-process {
    display: inline-block;
    padding: 6px 12px;
    background: #eff6ff;
    color: var(--iq-blue);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 20px;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.process-title {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 2.5rem;
    color: var(--iq-dark);
    margin-bottom: 15px;
}

.process-sub {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.process-wrapper {
    position: relative;
    z-index: 2;
}

.process-wrapper .steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
}

@media (max-width: 991px) {
    .process-wrapper .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .process-wrapper .steps-grid {
        grid-template-columns: 1fr;
    }
}

.iq-process-section .process-line {
    position: absolute;
    top: 40px;
    left: 10%; width: 80%; height: 4px;
    background: linear-gradient(90deg, #e2e8f0 0%, var(--iq-blue) 50%, var(--iq-orange) 100%);
    border-radius: 4px;
    z-index: 0;
    opacity: 0.6;
}

.step-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 40px 25px 30px;
    text-align: center;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    z-index: 1;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: var(--iq-blue);
}

.step-badge {
    position: absolute;
    top: -20px; left: 50%;
    transform: translateX(-50%);
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--iq-blue);
    color: white;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #fff;
    box-shadow: 0 4px 10px rgba(15, 76, 129, 0.3);
    z-index: 2;
    transition: 0.3s;
}

.step-card:hover .step-badge {
    background: var(--iq-orange);
    transform: translateX(-50%) scale(1.1);
}

.step-success .step-badge {
    background: var(--iq-green);
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
}

.step-icon-box {
    font-size: 2.5rem;
    color: var(--iq-dark);
    margin-bottom: 20px;
    margin-top: 10px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.step-card:hover .step-icon-box {
    color: var(--iq-blue);
    transform: scale(1.1);
}

.step-success:hover .step-icon-box { color: var(--iq-green); }

.iq-process-section .step-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--iq-dark);
}

.step-desc {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
}

.link-trigger {
    color: var(--iq-blue);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

.link-trigger:hover { color: var(--iq-orange); }

.btn-process-cta {
    display: inline-flex;
    align-items: center;
    padding: 15px 35px;
    background: var(--iq-dark);
    color: white;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-process-cta:hover {
    background: var(--iq-blue);
    color: white;
    transform: translateY(-3px);
}

/* CTA Bar (under steps) */
.process-cta-bar {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 60px;
    padding: 30px 40px;
    background: linear-gradient(135deg, #0b1e3d 0%, #152d54 40%, #1a3a6a 100%);
    border-radius: 20px;
    position: relative;
    z-index: 2;
    box-shadow:
        0 20px 50px -10px rgba(11, 30, 61, 0.45),
        inset 0 1px 0 rgba(255,255,255,0.06);
}

.pcta-left {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.pcta-heading {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.35rem;
    color: #ffffff;
    line-height: 1.2;
}

.pcta-sub {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.55);
    margin-top: 2px;
}

.pcta-divider {
    width: 1px;
    height: 44px;
    background: rgba(255,255,255,0.15);
    flex-shrink: 0;
}

.pcta-social {
    flex: 1;
    font-size: 1rem;
    color: rgba(255,255,255,0.7);
    margin: 0;
    line-height: 1.4;
}

.pcta-social strong {
    color: #ffffff;
    font-weight: 700;
}

.pcta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 36px;
    background: var(--iq-orange);
    color: #fff;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.05rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 8px 25px -5px rgba(255, 102, 0, 0.4),
        inset 0 1px 0 rgba(255,255,255,0.2);
}

.pcta-btn:hover {
    background: #e65c00;
    color: #fff;
    transform: translateY(-2px) scale(1.02);
    box-shadow:
        0 12px 35px -5px rgba(255, 102, 0, 0.5),
        inset 0 1px 0 rgba(255,255,255,0.2);
}

.pcta-btn:active {
    transform: translateY(0) scale(0.98);
}

/* CTA Bar responsive */
@media (max-width: 991px) {
    .process-cta-bar {
        flex-direction: column;
        border-radius: 24px;
        padding: 30px;
        gap: 20px;
        text-align: center;
    }
    .pcta-left { align-items: center; }
    .pcta-divider { width: 60px; height: 1px; }
    .pcta-social { text-align: center; }
    .pcta-btn { width: 100%; justify-content: center; }
}

.process-footer {
    text-align: center;
    margin-top: 50px;
}

.process-footer-text {
    margin-bottom: 15px;
    color: var(--iq-text-light);
}

/* Process responsive */
@media (max-width: 991px) {
    .iq-process-section .process-line { display: none; }
    .step-card {
        text-align: left;
        padding: 25px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 20px;
    }
    .step-badge {
        position: static;
        transform: none;
        margin-bottom: 15px;
        width: 35px; height: 35px;
        font-size: 0.9rem;
    }
    .step-card:hover .step-badge { transform: scale(1.1); }
    .step-icon-box {
        height: auto;
        margin-top: 0;
        font-size: 2rem;
        margin-bottom: 15px;
        align-self: flex-start;
    }
    .process-title { font-size: 2rem; }
    .iq-process-section { padding: 60px 0; }
}

/* -----------------------------------------
   4b. PERFORMANCE LAB SECTION
   ----------------------------------------- */
.iq-comparison-section {
    padding: 100px 0;
    background: #f8fafc;
    position: relative;
}

.comparison-header {
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.badge-comparison {
    display: inline-block;
    padding: 6px 16px;
    background: #fff;
    color: var(--iq-text-main);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 20px;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
    border: 1px solid #e2e8f0;
}

.comparison-title {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 2.5rem;
    color: var(--iq-dark);
    margin-bottom: 15px;
}

.comparison-sub {
    font-size: 1.05rem;
    color: #64748b;
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- Performance Card (single card, two panels) --- */
.perf-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,0.06);
    transition: box-shadow 0.3s;
}

.perf-card:hover {
    box-shadow: 0 16px 60px rgba(0,0,0,0.1);
}

/* --- Benchmarks Panel (left) --- */
.perf-benchmarks {
    padding: 40px 45px;
    border-right: 1px solid #f1f5f9;
}

.bench-group {
    margin-bottom: 35px;
    padding: 20px;
    border-radius: 16px;
    transition: background 0.25s, box-shadow 0.25s;
}

.bench-group:last-child { margin-bottom: 0; }

.bench-group:hover {
    background: #f8fafc;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.bench-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.bench-icon {
    color: #94a3b8;
    display: flex;
    line-height: 0;
}

.bench-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--iq-text-main);
    text-transform: uppercase;
}

.bench-label-full {
    font-weight: 500;
    color: #94a3b8;
    letter-spacing: 0.5px;
}

.bench-row {
    display: grid;
    grid-template-columns: 110px 1fr auto;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.bench-row:last-child { margin-bottom: 0; }

.bench-provider {
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
}

.bench-provider.old { color: #94a3b8; }
.bench-provider.new { color: var(--iq-blue); font-weight: 700; }

.bar-track {
    height: 34px;
    background: #edf1f5;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.06);
}

.bar-fill {
    height: 100%;
    width: 0%;
    border-radius: 8px;
    transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    display: flex;
    align-items: center;
}

.bar-old {
    background: linear-gradient(90deg, #dce3eb 0%, #b0bac6 100%);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.06);
}

.bar-new {
    background: linear-gradient(90deg, var(--iq-blue) 0%, #2563eb 60%, #3b82f6 100%);
    box-shadow:
        0 3px 12px rgba(15, 76, 129, 0.35),
        inset 0 1px 0 rgba(255,255,255,0.2);
}

.bar-new::after {
    content: attr(data-value);
    position: absolute;
    left: 12px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
}

.bench-value {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 600;
    min-width: 50px;
    text-align: right;
}

.bench-value.old { color: #94a3b8; }
.bench-value.new { color: var(--iq-blue); font-weight: 800; }

/* --- Specs Panel (right) --- */
.perf-specs {
    padding: 40px 40px;
    background: #fafbfc;
}

.specs-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.specs-title {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--iq-dark);
    margin: 0;
}

.specs-badge {
    display: inline-block;
    padding: 5px 14px;
    border: 2px solid #10B981;
    color: #10B981;
    font-size: 0.7rem;
    font-weight: 800;
    border-radius: 8px;
    letter-spacing: 1px;
}

.specs-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.spec-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 16px;
    border-bottom: 1px solid #f1f5f9;
    border-radius: 12px;
    transition: all 0.25s;
    cursor: default;
}

.spec-row:last-child { border-bottom: none; }

.spec-row:hover {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transform: translateX(4px);
}

.spec-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(15, 76, 129, 0.06);
    color: var(--iq-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.25s;
}

.spec-row:hover .spec-icon {
    transform: scale(1.08);
    background: rgba(15, 76, 129, 0.1);
}

.spec-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #64748b;
    min-width: 75px;
}

.spec-value {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--iq-dark);
    margin-left: auto;
}

.specs-footnote {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 25px;
    padding: 16px 18px;
    background: #f0f4f8;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.5;
}

.footnote-badge {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--iq-blue);
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.footnote-text {
    color: #475569;
}

.footnote-text strong {
    color: var(--iq-dark);
    font-weight: 700;
}

/* Performance Lab responsive */
@media (max-width: 991px) {
    .perf-card {
        grid-template-columns: 1fr;
    }
    .perf-benchmarks {
        border-right: none;
        border-bottom: 1px solid #f1f5f9;
        padding: 30px 25px;
    }
    .perf-specs { padding: 30px 25px; }
    .bench-row { grid-template-columns: 90px 1fr auto; gap: 10px; }
}

@media (max-width: 576px) {
    .comparison-title { font-size: 2rem; }
    .iq-comparison-section { padding: 60px 0; }
    .bench-group { padding: 12px; }
    .bench-row { grid-template-columns: 1fr; gap: 6px; }
    .bench-provider { display: none; }
    .bench-value { text-align: left; }
}

/* --- Dark Mode: Performance Lab --- */
body.dark-mode .iq-comparison-section {
    background: var(--dark-background, #1a1a2e);
}

body.dark-mode .badge-comparison {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.1);
    color: #94a3b8;
}

body.dark-mode .comparison-title { color: #f1f5f9; }
body.dark-mode .comparison-sub { color: #94a3b8; }

body.dark-mode .perf-card {
    background: #1e293b;
    border-color: rgba(255,255,255,0.06);
    box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}

body.dark-mode .perf-card:hover {
    box-shadow: 0 16px 60px rgba(0,0,0,0.4);
}

body.dark-mode .perf-benchmarks {
    border-right-color: rgba(255,255,255,0.06);
}

body.dark-mode .bench-group:hover {
    background: rgba(255,255,255,0.03);
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

body.dark-mode .bench-icon { color: #64748b; }
body.dark-mode .bench-label { color: #e2e8f0; }
body.dark-mode .bench-label-full { color: #64748b; }
body.dark-mode .bench-provider.old { color: #64748b; }
body.dark-mode .bench-provider.new { color: #60a5fa; }
body.dark-mode .bench-value.old { color: #64748b; }
body.dark-mode .bench-value.new { color: #60a5fa; }

body.dark-mode .bar-track {
    background: rgba(255,255,255,0.06);
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.3);
}
body.dark-mode .bar-old {
    background: linear-gradient(90deg, #374151 0%, #4b5563 100%);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}
body.dark-mode .bar-new {
    background: linear-gradient(90deg, #1d4ed8 0%, #2563eb 60%, #3b82f6 100%);
    box-shadow:
        0 3px 15px rgba(37, 99, 235, 0.45),
        inset 0 1px 0 rgba(255,255,255,0.1);
}

body.dark-mode .perf-specs {
    background: #162032;
    border-left-color: rgba(255,255,255,0.06);
}

body.dark-mode .specs-title { color: #f1f5f9; }
body.dark-mode .specs-badge { border-color: #34d399; color: #6ee7b7; }

body.dark-mode .spec-row { border-bottom-color: rgba(255,255,255,0.05); }
body.dark-mode .spec-row:hover {
    background: rgba(255,255,255,0.03);
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
body.dark-mode .spec-icon {
    background: rgba(96, 165, 250, 0.08);
    color: #60a5fa;
}
body.dark-mode .spec-row:hover .spec-icon {
    background: rgba(96, 165, 250, 0.15);
}
body.dark-mode .spec-label { color: #94a3b8; }
body.dark-mode .spec-value { color: #e2e8f0; }

body.dark-mode .specs-footnote {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.08);
}
body.dark-mode .footnote-badge {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.1);
    color: #60a5fa;
    box-shadow: none;
}
body.dark-mode .footnote-text { color: #94a3b8; }
body.dark-mode .footnote-text strong { color: #e2e8f0; }

/* -----------------------------------------
   4c. INFRASTRUCTURE SECTION
   ----------------------------------------- */
.iq-infra-section {
    padding: 80px 0;
    background: var(--background-main);
    position: relative;
    overflow: hidden;
}

.infra-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* --- Stat Tiles (2×2 grid) --- */
.infra-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.stat-tile {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 18px;
    padding: 35px 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    background: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

body.dark-mode .stat-tile {
    background: rgba(255,255,255,0.03);
    border-color: rgba(255,255,255,0.08);
    box-shadow: none;
}

.stat-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
    border-color: rgba(0,0,0,0.15);
}

body.dark-mode .stat-tile:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.15);
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.iq-infra-section .stat-number {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 2.8rem;
    color: var(--iq-dark);
    line-height: 1;
    letter-spacing: -1px;
    background: none;
    -webkit-text-fill-color: initial;
    -webkit-background-clip: initial;
}

body.dark-mode .iq-infra-section .stat-number {
    color: #fff;
}

.iq-infra-section .stat-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 2px;
    text-transform: uppercase;
}

body.dark-mode .iq-infra-section .stat-label {
    color: rgba(255,255,255,0.4);
}

/* --- Right Content --- */
.infra-content {
    padding-left: 20px;
}

.infra-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 50px;
    margin-bottom: 25px;
}

.infra-status-badge span {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: #10B981;
    letter-spacing: 1.5px;
}

.infra-title {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 2rem;
    color: var(--iq-dark);
    line-height: 1.2;
    margin: 0 0 18px;
}

body.dark-mode .infra-title {
    color: #fff;
}

.infra-desc {
    font-family: var(--font-body);
    font-size: 1rem;
    color: #475569;
    line-height: 1.7;
    margin: 0 0 30px;
    max-width: 440px;
}

body.dark-mode .infra-desc {
    color: #94a3b8;
}

/* Flamaster accent in infra title */
.infra-title .mark-highlight {
    color: var(--iq-dark);
}

body.dark-mode .infra-title .mark-highlight {
    color: #ffffff;
}

.infra-title .mark-highlight::after {
    bottom: 2px;
    height: 14px;
    background: rgba(255, 102, 0, 0.2);
}

body.dark-mode .infra-title .mark-highlight::after {
    background: rgba(255, 102, 0, 0.35);
}

/* --- Tech Strip (POWERED BY MODERN STACK) --- */
.infra-tech-strip {
    margin-top: 35px;
    padding-top: 30px;
    border-top: 1px solid rgba(0,0,0,0.06);
}

body.dark-mode .infra-tech-strip {
    border-top-color: rgba(255,255,255,0.06);
}

.tech-strip-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 2.5px;
    margin-bottom: 20px;
}

body.dark-mode .tech-strip-label {
    color: rgba(255,255,255,0.25);
}

.tech-strip-items {
    display: flex;
    gap: 36px;
    flex-wrap: wrap;
    align-items: center;
}

.tech-strip-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #64748b;
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.02em;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    white-space: nowrap;
}

body.dark-mode .tech-strip-item {
    color: rgba(255,255,255,0.35);
}

.tech-strip-item svg {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.tech-strip-item:hover {
    color: var(--iq-blue);
    transform: scale(1.08);
}

body.dark-mode .tech-strip-item:hover {
    color: rgba(255,255,255,0.9);
    text-shadow: 0 0 25px rgba(255,255,255,0.2), 0 0 50px rgba(255,255,255,0.05);
}

.tech-strip-item:hover svg {
    transform: scale(1.15);
}

body.dark-mode .tech-strip-item:hover svg {
    filter: drop-shadow(0 0 6px rgba(255,255,255,0.3));
}

/* Infrastructure responsive */
@media (max-width: 991px) {
    .infra-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .infra-content {
        padding-left: 0;
        text-align: center;
    }
    .infra-stats {
        max-width: 500px;
        margin: 0 auto;
    }
    .tech-strip-items { justify-content: center; }
    .tech-strip-label { text-align: center; }
    .infra-desc { margin: 0 auto 30px; }
}

@media (max-width: 576px) {
    .iq-infra-section .stat-number { font-size: 2.2rem; }
    .stat-tile { padding: 25px 18px; }
    .infra-title { font-size: 1.6rem; }
}

/* Light mode overrides (this section is dark by default) */
/* No overrides needed — the section stays dark in both modes */

/* -----------------------------------------
   5. MODALS
   ----------------------------------------- */
.modal-backdrop.show {
    backdrop-filter: blur(8px);
    background-color: rgba(15, 23, 42, 0.7);
}

.modal-dialog.iq-modal-dialog { max-width: 800px; }

.iq-modal-content {
    border: none;
    border-radius: 28px;
    background-color: #fcfcfc;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: modalPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes modalPop {
    0%   { transform: scale(0.9) translateY(20px); opacity: 0; }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}

.iq-modal-header {
    background: #fff;
    padding: 25px 40px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.iq-modal-title {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--iq-dark);
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.icon-header {
    color: var(--iq-blue);
    background: var(--iq-blue-soft);
    width: 40px; height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.btn-close-iq {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #cbd5e1;
    cursor: pointer;
    transition: 0.3s;
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-close-iq:hover {
    background: #f1f5f9;
    color: var(--iq-orange);
    transform: rotate(90deg);
}

.iq-modal-body {
    padding: 40px;
    background: #fcfcfc;
}

.modal-intro {
    text-align: center;
    margin-bottom: 35px;
    color: #64748b;
    font-size: 1.05rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.decision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.decision-card {
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 30px 25px;
    text-align: left;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    background: #fff;
    cursor: default;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02);
}

.decision-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -5px rgba(0,0,0,0.08);
}

.card-new:hover { border-color: var(--iq-blue); }

.card-new .dc-badge {
    position: absolute;
    top: 15px; right: 15px;
    background: var(--iq-blue-soft);
    color: var(--iq-blue);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}

.card-new .dc-icon-box {
    width: 50px; height: 50px;
    border-radius: 12px;
    background: var(--iq-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.card-exist:hover { border-color: var(--iq-orange); }

.card-exist .dc-badge {
    position: absolute;
    top: 15px; right: 15px;
    background: var(--iq-orange-soft);
    color: var(--iq-orange);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}

.card-exist .dc-icon-box {
    width: 50px; height: 50px;
    border-radius: 12px;
    background: var(--iq-orange);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.dc-title {
    font-weight: 800;
    font-family: var(--font-head);
    font-size: 1.25rem;
    color: var(--iq-dark);
    margin-bottom: 10px;
}

.dc-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.dc-features li {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dc-features li i { font-size: 0.8rem; }
.icon-check-blue   { color: var(--iq-blue); }
.icon-check-orange { color: var(--iq-orange); }

.btn-dc {
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.btn-dc-blue {
    background: var(--iq-blue);
    color: white;
    box-shadow: 0 4px 15px rgba(15, 76, 129, 0.2);
}

.btn-dc-blue:hover {
    background: #093357;
    color: white;
    box-shadow: 0 8px 20px rgba(15, 76, 129, 0.3);
    transform: translateY(-1px);
}

.btn-dc-orange {
    background: var(--iq-orange);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.2);
}

.btn-dc-orange:hover {
    background: #e65c00;
    color: white;
    box-shadow: 0 8px 20px rgba(255, 102, 0, 0.3);
    transform: translateY(-1px);
}

.iq-modal-footer {
    margin-top: 30px;
    border-top: 1px solid #f1f5f9;
    padding: 20px 0 0;
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.mf-item {
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.preflight-check {
    background: #F0FDF4;
    border: 1px dashed #86EFAC;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.pf-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #064E3B;
    font-size: 0.9rem;
}

.pf-item i {
    color: #10B981;
    font-size: 1.1rem;
}

/* Compatibility Modal */
.tech-bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.bento-box {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.bento-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.06);
    border-color: #cbd5e1;
}

.bb-icon { font-size: 2rem; margin-bottom: 10px; color: var(--iq-blue); }
.bb-title { font-weight: 700; color: var(--iq-dark); font-size: 0.9rem; margin-bottom: 5px; }
.bb-list  { font-size: 0.75rem; color: #64748b; line-height: 1.4; }

.bento-wide {
    grid-column: span 3;
    background: linear-gradient(135deg, var(--iq-blue) 0%, #164e87 100%);
    color: white;
    border: none;
    flex-direction: row;
    justify-content: space-between;
    padding: 25px 40px;
}

.bento-wide:hover {
    transform: none;
    box-shadow: 0 10px 20px rgba(15, 76, 129, 0.2);
}

.bento-wide .bb-icon { color: rgba(255,255,255,0.8); font-size: 2.5rem; margin: 0; }
.bento-wide .bb-content { text-align: left; }
.bento-wide .bb-title { color: white; font-size: 1.1rem; margin-bottom: 5px; }
.bento-wide .bb-list { color: rgba(255,255,255,0.7); font-size: 0.85rem; }

.modal-action-row { margin-top: 30px; text-align: center; }

.btn-see-how {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: var(--iq-dark);
    border: 2px solid #e2e8f0;
    padding: 12px 30px;
    border-radius: 12px;
    font-weight: 700;
    transition: 0.3s;
    text-decoration: none;
}

.btn-see-how:hover {
    border-color: var(--iq-orange);
    color: var(--iq-orange);
    transform: translateY(-2px);
}

/* Modal responsive */
@media (max-width: 768px) {
    .decision-grid,
    .tech-bento-grid { grid-template-columns: 1fr; }
    .bento-wide { grid-column: span 1; }
    .iq-modal-body { padding: 25px; }
    .preflight-check { flex-direction: column; gap: 10px; align-items: flex-start; }
    .iq-modal-header { padding: 20px 25px; }
}

/* -----------------------------------------
   6. CTA BANNER (pod FAQ)
   ----------------------------------------- */
.migration-cta-banner {
    padding: 60px 0;
}

.cta-banner-content {
    display: flex;
    align-items: center;
    gap: 30px;
    background: linear-gradient(135deg, #0a0e17 0%, #0f1a2e 50%, #0a1225 100%);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 20px;
    padding: 40px 50px;
    color: white;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4);
}

.cta-banner-icon {
    flex-shrink: 0;
    line-height: 0;
}

.cta-banner-text {
    flex: 1;
}

.cta-banner-text h3 {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0 0 8px;
    color: white;
}

.cta-banner-text p {
    margin: 0;
    opacity: 0.85;
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255,255,255,0.9);
}

.cta-banner-actions { flex-shrink: 0; }

.cta-banner-actions .btn-start-mig {
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.1);
}

.cta-banner-actions .btn-start-mig:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: #60a5fa;
    transform: translateY(-2px);
    color: #93c5fd;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.2);
}

@media (max-width: 768px) {
    .cta-banner-content {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }
    .cta-banner-actions .btn-start-mig {
        width: 100%;
        justify-content: center;
    }
}

/* -----------------------------------------
   7. KEEP OLD CTA SECTION (07.cta.php)
   ----------------------------------------- */
.cta-section {
    padding: var(--spacing-xxl, 80px) 0;
    background-color: var(--primary-color, #0F4C81);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: linear-gradient(45deg, rgba(15, 76, 129, 0.9), rgba(15, 76, 129, 0.7));
    z-index: 1;
}

.cta-section .cta-wrapper {
    position: relative;
    z-index: 2;
}

/* -----------------------------------------
   8. MODAL BASE STYLES (Bootstrap JS needs CSS)
   ----------------------------------------- */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1050;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
}

.modal.show {
    display: block;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    opacity: 0;
    transition: opacity 0.15s linear;
}

.modal-backdrop.show {
    opacity: 1;
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: 1.75rem auto;
    max-width: 500px;
    pointer-events: none;
}

.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - 3.5rem);
}

.modal-content,
.iq-modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-clip: padding-box;
    outline: 0;
}

.modal.fade .modal-dialog {
    transition: transform 0.3s ease-out;
    transform: translateY(-50px);
}

.modal.show .modal-dialog {
    transform: none;
}

/* -----------------------------------------
   9. UTILITY CLASSES (replace Bootstrap)
   ----------------------------------------- */
.btn-icon-right { margin-left: 8px; }
.btn-icon-left  { margin-right: 8px; }

.mf-icon-green { color: var(--iq-green); }
.mf-icon-blue  { color: var(--iq-blue); }
.mf-icon-muted { color: var(--iq-text-light); }

/* -----------------------------------------
   9b. BENEFITS SECTION — match process-title style
   ----------------------------------------- */
.page-migracja .benefits-section .section-header h2 {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 2.5rem;
    color: var(--iq-dark);
    letter-spacing: -0.5px;
}

.page-migracja .benefits-section .section-header p {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

body.dark-mode.page-migracja .benefits-section .section-header h2 { color: #f1f5f9; }
body.dark-mode.page-migracja .benefits-section .section-header p { color: #94a3b8; }

/* hero-v2-active: light mode uses dark text (body bg is light below hero) */
body:not(.dark-mode).hero-v2-active.page-migracja .benefits-section .section-header h2 { color: #0f172a; }
body:not(.dark-mode).hero-v2-active.page-migracja .benefits-section .section-header p { color: #475569; }

/* -----------------------------------------
   10. SCROLL INDICATOR (bouncing arrow)
   ----------------------------------------- */
.iq-migration-hero .scroll-indicator {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
    transition: opacity 0.3s;
}

.iq-migration-hero .scroll-indicator a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: #3b82f6;
    font-size: 1.25rem;
    transition: transform 0.3s;
    animation: migration-hero-bounce 2s infinite;
    text-decoration: none;
}

.iq-migration-hero .scroll-indicator a:hover {
    transform: translateY(-3px);
}

@keyframes migration-hero-bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* -----------------------------------------
   11. DARK MODE SUPPORT
   Hero + epic-card dark mode overrides removed — base styles are now always-dark
   (hero bg is dark in both modes, epic-card uses dark glass like DPC card in domeny)
   ----------------------------------------- */

/* --- Dark Mode: Console section --- */
body.dark-mode .console-container { background: var(--dark-card, #2a2a3e); box-shadow: 0 40px 80px -20px rgba(0,0,0,0.5); }
body.dark-mode .console-selector { background: var(--dark-card, #2a2a3e); }
body.dark-mode .console-terminal { background: var(--dark-background, #1a1a2e); border-left-color: var(--dark-border, #3a3a4e); }
body.dark-mode .cli-input { background: var(--dark-background, #1a1a2e); color: var(--dark-text, #e4e4e4); }
body.dark-mode .p-card { background: var(--dark-background, #1a1a2e); border-color: var(--dark-border, #3a3a4e); }
body.dark-mode .p-card.active { background: rgba(15, 76, 129, 0.2); }
body.dark-mode .pc-info h6 { color: var(--dark-text, #e4e4e4); }
body.dark-mode .cs-title { color: var(--dark-text, #e4e4e4); }
body.dark-mode .td-val { color: var(--dark-text, #e4e4e4); }

/* --- Dark Mode: Process/Steps section --- */
body.dark-mode .iq-process-section { background-color: var(--dark-background, #0f172a); }
body.dark-mode .step-card { background: #1e293b; border-color: rgba(255,255,255,0.08); }
body.dark-mode .step-card:hover { border-color: var(--iq-blue); box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
body.dark-mode .iq-process-section .step-title,
body.dark-mode .iq-process-section h4 { color: #e2e8f0; }
body.dark-mode .process-title { color: #f1f5f9; }
body.dark-mode .process-sub { color: #94a3b8; }
body.dark-mode .step-icon-box { color: #94a3b8; }
body.dark-mode .step-card:hover .step-icon-box { color: #60a5fa; }
body.dark-mode .step-desc { color: #94a3b8; }
body.dark-mode .process-line { opacity: 0.3; }
body.dark-mode .process-footer-text { color: #64748b; }
body.dark-mode .btn-process-cta { background: #1e293b; color: #e2e8f0; border: 1px solid rgba(255,255,255,0.1); }
body.dark-mode .btn-process-cta:hover { background: var(--iq-blue); border-color: var(--iq-blue); }

/* --- Google Verified Pill (testimonials) --- */
.google-verified-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    background: linear-gradient(135deg, #0b1e3d 0%, #152d54 100%);
    border: 1.5px solid #34A853;
    border-radius: 50px;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow:
        0 4px 15px rgba(11, 30, 61, 0.3),
        0 0 0 1px rgba(52, 168, 83, 0.1);
    margin-top: 12px;
}

.google-verified-pill .google-g-icon {
    flex-shrink: 0;
}

.google-verified-pill span {
    white-space: nowrap;
}

body.dark-mode .google-verified-pill {
    background: linear-gradient(135deg, #060d1a 0%, #0c1a30 100%);
    border-color: rgba(52, 168, 83, 0.6);
    box-shadow:
        0 4px 15px rgba(0,0,0,0.4),
        0 0 0 1px rgba(52, 168, 83, 0.15);
}

/* --- Dark Mode: CTA Bar --- */
body.dark-mode .process-cta-bar {
    background: linear-gradient(135deg, #060d1a 0%, #0c1a30 40%, #0f2240 100%);
    box-shadow:
        0 20px 50px -10px rgba(0,0,0,0.6),
        inset 0 1px 0 rgba(255,255,255,0.04);
}
body.dark-mode .link-trigger { color: #60a5fa; }

/* --- Dark Mode: Modals --- */
body.dark-mode .iq-modal-content {
    background-color: #1e293b;
    background-image: none;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.6);
}
body.dark-mode .iq-modal-header {
    background: #0f172a;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
body.dark-mode .iq-modal-title { color: #f1f5f9; }
body.dark-mode .icon-header { background: rgba(96, 165, 250, 0.15); color: #60a5fa; }
body.dark-mode .btn-close-iq { color: #64748b; }
body.dark-mode .btn-close-iq:hover { background: rgba(255,255,255,0.05); color: var(--iq-orange); }
body.dark-mode .iq-modal-body {
    background: #1e293b;
    padding: 35px 40px;
}
body.dark-mode .modal-intro { color: #94a3b8; }
body.dark-mode .modal-intro strong { color: #e2e8f0; }
body.dark-mode .modal-backdrop.show { background-color: rgba(0, 0, 0, 0.8); backdrop-filter: blur(8px); }

/* Preflight check bar */
body.dark-mode .preflight-check {
    background: rgba(16, 185, 129, 0.06);
    border: 1px dashed rgba(16, 185, 129, 0.25);
}
body.dark-mode .pf-item { color: #6ee7b7; }
body.dark-mode .pf-item i { color: #34d399; }

/* Decision cards */
body.dark-mode .decision-grid { gap: 20px; }
body.dark-mode .decision-card {
    background: #0f172a;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
}
body.dark-mode .decision-card:hover {
    border-color: rgba(255,255,255,0.15);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
body.dark-mode .dc-title { color: #f1f5f9; }
body.dark-mode .dc-features li { color: #94a3b8; }
body.dark-mode .dc-badge { opacity: 0.9; }
body.dark-mode .card-new .dc-badge { background: rgba(96, 165, 250, 0.15); color: #93c5fd; }
body.dark-mode .card-exist .dc-badge { background: rgba(255, 102, 0, 0.15); color: #fdba74; }
body.dark-mode .card-new:hover { border-color: #3b82f6; }
body.dark-mode .card-exist:hover { border-color: var(--iq-orange); }
body.dark-mode .card-new .dc-icon-box { background: #1e3a5f; }
body.dark-mode .card-exist .dc-icon-box { background: rgba(255, 102, 0, 0.2); }
body.dark-mode .icon-check-blue { color: #60a5fa; }
body.dark-mode .icon-check-orange { color: #fb923c; }
body.dark-mode .btn-dc-blue { background: var(--iq-blue); color: #fff; box-shadow: 0 4px 15px rgba(0,0,0,0.3); }
body.dark-mode .btn-dc-blue:hover { background: #1e5a9e; }
body.dark-mode .btn-dc-orange { background: var(--iq-orange); color: #fff; box-shadow: 0 4px 15px rgba(0,0,0,0.3); }
body.dark-mode .btn-dc-orange:hover { background: #e65c00; }

/* Modal footer */
body.dark-mode .iq-modal-footer {
    border-top: 1px solid rgba(255,255,255,0.08);
    background: #0f172a;
    padding: 18px 40px;
    margin-top: 0;
}
body.dark-mode .mf-item { color: #94a3b8; }
body.dark-mode .mf-item i { color: #64748b; }

/* --- Dark Mode: Compatibility Modal --- */
body.dark-mode .tech-bento-grid { gap: 15px; }
body.dark-mode .bento-box {
    background: #0f172a;
    border: 1px solid rgba(255,255,255,0.08);
}
body.dark-mode .bento-box:hover {
    border-color: rgba(255,255,255,0.15);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}
body.dark-mode .bb-title { color: #e2e8f0; }
body.dark-mode .bb-list { color: #94a3b8; }
body.dark-mode .bb-icon { color: #60a5fa; }
body.dark-mode .bento-wide {
    background: linear-gradient(135deg, #1e3a5f 0%, #0f2844 100%);
    border-color: rgba(96, 165, 250, 0.15);
}
body.dark-mode .bento-wide .bb-title { color: #f1f5f9; }
body.dark-mode .bento-wide .bb-icon { color: #60a5fa; }
body.dark-mode .btn-see-how {
    background: #0f172a;
    color: #e2e8f0;
    border: 1px solid rgba(255,255,255,0.12);
}
body.dark-mode .btn-see-how:hover { border-color: var(--iq-orange); color: var(--iq-orange); }
body.dark-mode .modal-action-row { margin-top: 25px; }

/* --- Dark Mode: Console section --- */
body.dark-mode .cs-sub { color: #94a3b8; }
body.dark-mode .cli-input:focus { border-color: #60a5fa; box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.15); }
body.dark-mode .pc-tech { background: #0f172a; border-color: rgba(255,255,255,0.1); color: #94a3b8; }
body.dark-mode .td-key { color: #64748b; }
body.dark-mode .ts-label { color: #64748b; }
body.dark-mode .tt-tag { background: rgba(255,255,255,0.08); color: #94a3b8; }
body.dark-mode .term-status { border-bottom-color: rgba(255,255,255,0.08); }
body.dark-mode .log-time { color: #60a5fa; }
body.dark-mode .log-line { color: #64748b; }
body.dark-mode .logs-wrapper { border-top-color: rgba(255,255,255,0.08); }

/* --- Dark Mode: CTA banner --- */
body.dark-mode .cta-banner-content { box-shadow: 0 20px 40px -10px rgba(0,0,0,0.5); }

/* -----------------------------------------
   11. REVIEWS CTA BAR (under testimonials)
   ----------------------------------------- */
.reviews-cta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 30px 40px;
    margin-top: 40px;
    background: linear-gradient(135deg, #0b1e3d 0%, #152d54 40%, #1a3a6a 100%);
    border-radius: 20px;
    box-shadow:
        0 15px 40px -10px rgba(11, 30, 61, 0.35),
        inset 0 1px 0 rgba(255,255,255,0.06);
}

.rcta-content {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1;
    min-width: 0;
}

.rcta-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
}

.rcta-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.rcta-text strong {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
}

.rcta-text span {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.3;
}

.rcta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--iq-orange);
    color: #fff;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 12px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px -4px rgba(255, 102, 0, 0.35);
}

.rcta-btn:hover {
    background: #e65c00;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -4px rgba(255, 102, 0, 0.45);
}

@media (max-width: 768px) {
    .reviews-cta-bar {
        flex-direction: column;
        text-align: center;
        padding: 25px;
        gap: 20px;
    }
    .rcta-content {
        flex-direction: column;
        gap: 12px;
    }
    .rcta-text { align-items: center; }
    .rcta-btn { width: 100%; justify-content: center; }
}

/* --- Dark Mode: Reviews CTA Bar --- */
body.dark-mode .reviews-cta-bar {
    background: linear-gradient(135deg, #060d1a 0%, #0c1a30 40%, #0f2240 100%);
    box-shadow:
        0 15px 40px -10px rgba(0,0,0,0.5),
        inset 0 1px 0 rgba(255,255,255,0.04);
}

/* DARK MODE: INVERTED HERO section removed — base styles now handle both modes */
