/* ==================================================== */
/* Primera Oportunidad — dark / blue theme              */
/* ==================================================== */

.po-page {
        background: #0a0a0a;
        color: #e7e9ea;
        font-family: 'Vazirmatn', sans-serif;
}

.po-page .accent { color: #3b82f6; }

.po-section { padding: 80px 20px; max-width: 1180px; margin: 0 auto; }
.po-section-title {
        /* main.css define un h2 global (position:absolute, bottom:0, 8vw, etc.)
           pensado para un texto decorativo de fondo en otras páginas — lo neutralizamos aquí */
        position: static;
        bottom: auto;
        left: auto;
        width: auto;
        z-index: auto;
        text-transform: none;
        line-height: 1.3;
        padding: 0;
        font-family: 'Vazirmatn', sans-serif;

        font-size: 32px;
        font-weight: 800;
        text-align: center;
        color: white;
        margin: 0 0 50px;
}


/* ── Hero ── */
.po-hero {
        padding: 90px 20px 70px;
        border-bottom: 1px solid rgba(255,255,255,0.08);
}

.po-hero-inner {
        max-width: 1180px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1.1fr 1fr;
        gap: 50px;
        align-items: center;
}

.po-badge {
        display: inline-block;
        background: rgba(59,130,246,0.12);
        border: 1px solid rgba(59,130,246,0.4);
        color: #60a5fa;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 2px;
        text-transform: uppercase;
        padding: 6px 16px;
        border-radius: 20px;
        margin-bottom: 24px;
}

.po-hero-title {
        font-size: 52px;
        font-weight: 800;
        line-height: 1.08;
        color: white;
        margin-bottom: 18px;
}

.po-hero-sub {
        font-size: 21px;
        font-weight: 600;
        color: #cfd2d6;
        margin-bottom: 18px;
}

.po-hero-desc {
        font-size: 16px;
        line-height: 1.7;
        color: #9a9ea3;
        max-width: 480px;
        margin-bottom: 32px;
}

.po-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }

.po-btn-primary, .po-btn-outline {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 13px 24px;
        border-radius: 8px;
        font-size: 15px;
        font-weight: 700;
        cursor: pointer;
        text-decoration: none !important;
        border: 1px solid transparent;
        transition: all 0.2s ease;
}

.po-btn-primary {
        background: #3b82f6;
        color: white !important;
}
.po-btn-primary:hover { background: #2563eb; transform: translateY(-1px); }

.po-btn-outline {
        background: transparent;
        border-color: rgba(255,255,255,0.2);
        color: white !important;
}
.po-btn-outline:hover { background: rgba(255,255,255,0.06); }

.po-hero-stats { display: flex; gap: 36px; }
.po-stat-num { font-size: 22px; font-weight: 800; color: white; }
.po-stat-label { font-size: 12px; color: #888; }

/* Mockup card */
.po-mock-card {
        background: #111317;
        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 14px;
        padding: 22px;
}

.po-mock-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.po-mock-label { font-size: 11px; color: #888; letter-spacing: 1px; text-transform: uppercase; }

.po-mock-affinity {
        background: rgba(34,197,94,0.15);
        border: 1px solid rgba(34,197,94,0.4);
        color: #4ade80;
        font-size: 11px;
        font-weight: 700;
        padding: 4px 10px;
        border-radius: 12px;
}

.po-mock-company { font-size: 16px; font-weight: 700; color: white; margin-bottom: 16px; }

.po-mock-message-box {
        background: #0a0a0a;
        border: 1px solid rgba(255,255,255,0.06);
        border-radius: 10px;
        padding: 16px;
        font-size: 13.5px;
        line-height: 1.65;
        color: #c6c9cd;
        white-space: pre-line;
        margin-bottom: 14px;
}

.po-mock-copy {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        background: rgba(255,255,255,0.06);
        border: 1px solid rgba(255,255,255,0.1);
        color: #cfd2d6;
        font-size: 13px;
        font-weight: 600;
        padding: 8px 14px;
        border-radius: 7px;
        cursor: pointer;
}
.po-mock-copy:hover { background: rgba(255,255,255,0.1); }

/* ── Problema ── */
.po-problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.po-problem-card {
        background: #111317;
        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 12px;
        padding: 26px;
}

.po-problem-icon {
        width: 44px;
        height: 44px;
        border-radius: 10px;
        background: rgba(59,130,246,0.12);
        color: #60a5fa;
        font-size: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 16px;
}

.po-problem-title { font-size: 17px; font-weight: 700; color: white; margin-bottom: 8px; }
.po-problem-desc { font-size: 14px; color: #9a9ea3; line-height: 1.6; }

/* ── Cómo funciona ── */
.po-steps-grid {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 10px;
        position: relative;
}

.po-step { text-align: center; padding: 0 8px; position: relative; }

.po-step-icon {
        width: 64px;
        height: 64px;
        margin: 0 auto 14px;
        border-radius: 50%;
        border: 1px solid rgba(59,130,246,0.4);
        background: #111317;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 22px;
        color: #60a5fa;
        position: relative;
}

.po-step-num {
        position: absolute;
        bottom: -6px;
        right: -2px;
        width: 22px;
        height: 22px;
        border-radius: 50%;
        background: #3b82f6;
        color: white;
        font-size: 11px;
        font-weight: 800;
        display: flex;
        align-items: center;
        justify-content: center;
}

.po-step-title { font-size: 14px; font-weight: 700; color: white; margin-bottom: 6px; }
.po-step-desc { font-size: 12.5px; color: #888; line-height: 1.55; }

.po-step::after {
        content: '';
        position: absolute;
        top: 32px;
        right: -10px;
        width: 20px;
        border-top: 1px dashed rgba(255,255,255,0.2);
}
.po-step:last-child::after { display: none; }

/* ── Demo ── */
.po-demo-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        align-items: stretch;
}

.po-demo-panel {
        background: #111317;
        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 14px;
        padding: 26px;
        display: flex;
        flex-direction: column;
}

.po-form-group { margin-bottom: 18px; }
.po-form-label { display: block; font-size: 13px; font-weight: 600; color: #cfd2d6; margin-bottom: 7px; }
.po-form-hint { font-size: 11.5px; color: #777; margin-top: 5px; }

.po-form-input, .po-form-file {
        width: 100%;
        background: #0a0a0a;
        border: 1px solid rgba(255,255,255,0.12);
        color: #e7e9ea;
        font-size: 14px;
        padding: 11px 13px;
        border-radius: 8px;
        font-family: inherit;
}

.po-form-input:focus { outline: none; border-color: #3b82f6; }

.po-btn-generate {
        width: 100%;
        background: #3b82f6;
        color: white;
        border: none;
        font-size: 15px;
        font-weight: 700;
        padding: 13px;
        border-radius: 8px;
        cursor: pointer;
        margin-top: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        transition: background 0.2s ease;
}
.po-btn-generate:hover { background: #2563eb; }
.po-btn-generate:disabled { opacity: 0.7; cursor: default; }

.po-result-placeholder {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        color: #666;
        font-size: 13.5px;
        line-height: 1.6;
}

.po-result-content { display: none; }
.po-result-content.show { display: block; }

.po-lead-note {
        margin-top: 14px;
        font-size: 12.5px;
        line-height: 1.6;
        padding: 10px 12px;
        border-radius: 8px;
        display: none;
}
.po-lead-note.show { display: block; }
.po-lead-note.ok { background: rgba(34,197,94,0.12); border: 1px solid rgba(34,197,94,0.35); color: #4ade80; }
.po-lead-note.err { background: rgba(239,68,68,0.12); border: 1px solid rgba(239,68,68,0.35); color: #f87171; }

/* ── Panel de seguimiento ── */
.po-table-wrap { overflow-x: auto; border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; }

.po-table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 640px; }
.po-table th {
        text-align: left;
        background: #111317;
        color: #888;
        font-weight: 600;
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        padding: 13px 16px;
        border-bottom: 1px solid rgba(255,255,255,0.08);
}
.po-table td {
        padding: 13px 16px;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        color: #d4d6d9;
}
.po-table tr:last-child td { border-bottom: none; }

.po-status {
        display: inline-block;
        font-size: 11.5px;
        font-weight: 700;
        padding: 4px 11px;
        border-radius: 12px;
}
.po-status.respondio { background: rgba(34,197,94,0.15); color: #4ade80; }
.po-status.enviado { background: rgba(234,179,8,0.15); color: #facc15; }
.po-status.pendiente { background: rgba(255,255,255,0.08); color: #aaa; }

.po-table-actions i { color: #777; cursor: pointer; margin-right: 10px; font-size: 15px; }

.po-table-footer { text-align: center; margin-top: 22px; }

/* ── CTA final ── */
.po-cta-section {
        text-align: center;
        padding: 90px 20px 100px;
        border-top: 1px solid rgba(255,255,255,0.08);
}
.po-cta-title { font-size: 30px; font-weight: 800; color: white; max-width: 620px; margin: 0 auto 28px; line-height: 1.3; }

.po-honeypot {
        position: absolute !important;
        width: 1px; height: 1px;
        opacity: 0; overflow: hidden;
        left: -9999px;
}

.po-spin { display: inline-block; animation: po-spin 1s linear infinite; }
@keyframes po-spin { to { transform: rotate(360deg); } }

/* ── Responsive ── */
@media (max-width: 900px) {
        .po-hero-inner { grid-template-columns: 1fr; }
        .po-problem-grid { grid-template-columns: 1fr; }
        .po-steps-grid { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
        .po-step::after { display: none; }
        .po-demo-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
        .po-hero { padding: 60px 16px 40px; }
        .po-hero-title { font-size: 36px; }
        .po-hero-sub { font-size: 17px; }
        .po-hero-stats { flex-wrap: wrap; gap: 20px; }
        .po-section { padding: 56px 16px; }
        .po-section-title { font-size: 24px; }
        .po-steps-grid { grid-template-columns: 1fr; }
        .po-cta-title { font-size: 22px; }
}
