body {
    padding-top: 80px;
    font-family: "Segoe UI", system-ui, sans-serif;
}

/* HERO */
.hero-section {
    background: linear-gradient(135deg, #e9f1ff, #ffffff);
    padding: 120px 20px;
}

.hero-section h1 {
    color: #0d47a1;
}

.hero-section p {
    max-width: 700px;
    margin: auto;
    color: #555;
}

/* INFO CARDS */
.info-card {
    background: rgb(217, 238, 243);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(150, 9, 9, 0.05);
    height: 100%;
}

.info-card h5 {
    color: #0d47a1;
    font-weight: 600;
}
/* =========================
   ESTILOS GENERALES
========================= */

body {
    padding-top: 80px;
}

/* =========================
   NAVBAR
========================= */

.navbar-brand {
    letter-spacing: 0.5px;
}

/* =========================
   LAYOUT GENERAL
========================= */

.main-content {
    margin-top: 20px;
}

/* =========================
   TARJETAS / PANELES
========================= */

.card {
    border-radius: 6px;
}

.card-header {
    background-color: #f8f9fa;
    font-weight: 600;
}

/* =========================
   FORMULARIOS
========================= */

.form-label {
    font-size: 0.9rem;
    font-weight: 500;
}

/* =========================
   RESULTADOS
========================= */

.list-group-item {
    display: flex;
    justify-content: space-between;
}


.card-header {
    text-align: center;
}

.card-header .small {
    font-size: 0.8rem;
}


/* ====== CEUI - LAYOUT NUEVO ====== */

.ce-page {
    background: #f5f7fb;
    min-height: 100vh;
    padding-top: 5px;
    padding-bottom: 40px;
}

.ce-header {
    margin-bottom: 28px;
}

.ce-title {
    font-size: 2.1rem;
    font-weight: 800;
    color: #1f2d3d;
    margin-bottom: 10px;
}

.ce-subtitle {
    font-size: 1rem;
    color: #6b7280;
    max-width: 760px;
    margin: 0 auto;
}

.ce-shell {
    background: #ffffff;
    border: 1px solid #e8eef6;
    border-radius: 28px;
    padding: 22px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.ce-panel {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 24px;
    padding: 22px;
    height: 100%;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.ce-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.ce-panel-head h2 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #22324a;
    margin: 0;
}

.ce-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    background: #dff4ff;
    color: #176087;
}

.ce-badge-soft {
    background: #eef4ff;
    color: #3559a8;
}

.ce-menu-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ce-menu-btn {
    width: 100%;
    border: none;
    border-radius: 999px;
    padding: 13px 16px;
    background: linear-gradient(90deg, #67d1ff, #4bbef3);
    color: #12344d;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 8px 20px rgba(75, 190, 243, 0.20);
    transition: all 0.2s ease;
}

.ce-menu-btn:hover {
    transform: translateY(-1px);
    filter: brightness(0.98);
}

.ce-menu-btn.active {
    outline: 3px solid rgba(59, 130, 246, 0.16);
    background: linear-gradient(90deg, #5ecdfd, #39b6f0);
}

.ce-menu-footer {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #edf2f7;
}

.ce-mini-title {
    display: block;
    font-size: 0.8rem;
    font-weight: 800;
    color: #8a94a6;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.ce-status-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ce-status-line {
    height: 12px;
    border-radius: 999px;
    background: #ebf1f8;
}

.ce-placeholder {
    min-height: 520px;
    border: 2px dashed #d9e2ee;
    border-radius: 22px;
    background: #fafcff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px 22px;
}

.ce-placeholder-side {
    min-height: 520px;
}

.ce-placeholder-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: linear-gradient(180deg, #edf8ff, #dff3ff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2b6d91;
    font-size: 1.8rem;
    margin-bottom: 18px;
}

.ce-placeholder h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #22324a;
    margin-bottom: 12px;
}

.ce-placeholder p {
    color: #667085;
    max-width: 480px;
    margin-bottom: 10px;
}

.ce-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: #ecf5ff;
    color: #2f61b9;
    font-size: 0.9rem;
    font-weight: 700;
    margin-top: 8px;
}

.brand-main {
    color: #1673ff;
    font-weight: 800;
}

.brand-sub {
    color: #7b8794;
    font-size: 0.95rem;
    font-weight: 600;
}

@media (max-width: 991.98px) {
    .ce-page {
        padding-top: 96px;
    }

    .ce-shell {
        padding: 16px;
    }

    .ce-placeholder,
    .ce-placeholder-side {
        min-height: 320px;
    }
}
.ce-radio-group-2 {
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 767.98px) {
    .ce-radio-group-2 {
        grid-template-columns: 1fr;
    }
}

/* ====== NAVBAR PLAN BADGES ====== */

.navbar-plan-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.navbar-plan-free  { background: #f1f5f9; color: #475569; }
.navbar-plan-plus  { background: #e0f7fa; color: #0e7490; }
.navbar-plan-pro   { background: #dff4ff; color: #1565c0; }
.navbar-plan-admin { background: #ede7f6; color: #4527a0; }

/* ====== CONSULTA PAGE ====== */

.consulta-hero {
    background: linear-gradient(135deg, #e9f1ff, #ffffff);
    padding: 110px 20px 40px;
    text-align: center;
}

.consulta-hero-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1f2d3d;
}

.consulta-hero-sub {
    font-size: 1rem;
    color: #6b7280;
    max-width: 600px;
    margin: 8px auto 0;
}

.consulta-tabs {
    border-bottom: 2px solid #e8eef6;
    gap: 4px;
}

.consulta-tab-btn {
    background: none;
    border: none;
    padding: 10px 20px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #6b7280;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all 0.18s ease;
}

.consulta-tab-btn.active,
.consulta-tab-btn:focus {
    color: #1673ff;
    border-bottom-color: #1673ff;
    outline: none;
}

.consulta-card {
    background: #fff;
    border: 1px solid #e8eef6;
    border-radius: 20px;
    padding: 24px;
    height: 100%;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.consulta-card:hover {
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.09);
    transform: translateY(-2px);
}

.consulta-card-title {
    font-size: 1rem;
    font-weight: 800;
    color: #1c3557;
    margin-bottom: 8px;
}

.consulta-card-desc {
    font-size: 0.88rem;
    color: #4b5563;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 0;
}

.consulta-aplica {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.consulta-aplica .ce-chip {
    font-size: 0.72rem;
    padding: 4px 10px;
    margin-top: 0;
}

.consulta-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.consulta-badge-nom  { background: #fff3e0; color: #b45309; }
.consulta-badge-nmx  { background: #e8f5e9; color: #2e7d32; }
.consulta-badge-nec  { background: #e3f2fd; color: #1565c0; }
.consulta-badge-ieee { background: #ede7f6; color: #4527a0; }
.consulta-badge-cfe  { background: #fce4ec; color: #b71c1c; }
.consulta-badge-mx   { background: #f1f5f9; color: #475569; }
.consulta-badge-us   { background: #f1f5f9; color: #475569; }

.consulta-link {
    display: inline-flex;
    align-items: center;
    font-size: 0.82rem;
    font-weight: 700;
    color: #1673ff;
    text-decoration: none;
    margin-top: 14px;
    transition: opacity 0.15s;
}

.consulta-link:hover {
    opacity: 0.75;
    text-decoration: underline;
}

.consulta-link-doc {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #1c3557;
    text-decoration: none;
    background: #f8faff;
    border: 1px solid #e0eaf7;
    border-radius: 10px;
    padding: 8px 12px;
    transition: background 0.15s, border-color 0.15s;
}

.consulta-link-doc span {
    flex: 1;
}

.consulta-link-doc:hover {
    background: #eef4ff;
    border-color: #c3d5f7;
    color: #1673ff;
}

/* ====== RESULT BOXES ====== */

.ce-result-box {
    background: #f8faff;
    border: 1px solid #e0eaf7;
    border-radius: 16px;
    overflow: hidden;
}

.ce-result-empty {
    padding: 28px 20px;
    text-align: center;
    color: #aab4c4;
    font-size: 0.88rem;
}

.ce-result-row {
    padding: 13px 18px;
    border-bottom: 1px solid #edf2f7;
}

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

.ce-result-title {
    font-size: 0.68rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 2px;
}

.ce-result-value {
    font-size: 1.65rem;
    font-weight: 800;
    color: #1c3557;
    line-height: 1.15;
}

.ce-result-unit {
    font-size: 0.88rem;
    font-weight: 600;
    color: #8a94a6;
    margin-left: 4px;
}

.ce-result-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    margin-top: 6px;
}

.ce-result-status-ok   { background: #dcfce7; color: #15803d; }
.ce-result-status-warn { background: #fef3c7; color: #b45309; }
.ce-result-status-err  { background: #fee2e2; color: #b91c1c; }

/* ====== TEUI - TABLEROS ELÉCTRICOS ====== */

.te-page {
    background: #f5f7fb;
    min-height: 100vh;
    padding-top: 5px;
    padding-bottom: 60px;
}

/* ── Quick search bar ── */
.te-quick-bar {
    background: #ffffff;
    border: 1px solid #e0eaf7;
    border-radius: 20px;
    padding: 18px 24px;
    margin-bottom: 20px;
    box-shadow: 0 4px 16px rgba(15,23,42,0.04);
}
.te-quick-bar label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #8a94a6;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
    display: block;
}
.te-quick-bar .form-control,
.te-quick-bar .form-select {
    border-radius: 10px;
    border: 1px solid #dce7f5;
    font-size: 0.9rem;
}

/* ── Filter panel ── */
.te-filter-section { margin-bottom: 20px; }
.te-filter-title {
    font-size: 0.72rem;
    font-weight: 800;
    color: #8a94a6;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}
.te-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    border-radius: 999px;
    border: 1.5px solid #dce7f5;
    background: #fff;
    color: #475569;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    margin: 2px 2px 2px 0;
}
.te-filter-btn:hover { border-color: #1673ff; color: #1673ff; }
.te-filter-btn.active {
    background: #1673ff;
    border-color: #1673ff;
    color: #fff;
}
.te-filter-number {
    width: 100%;
    padding: 7px 10px;
    border-radius: 10px;
    border: 1.5px solid #dce7f5;
    font-size: 0.88rem;
    color: #1c3557;
    outline: none;
    transition: border-color 0.15s;
}
.te-filter-number:focus { border-color: #1673ff; }

/* ── Table ── */
.te-table-wrap { overflow-x: auto; }
.te-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}
.te-table thead th {
    background: #f8faff;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 12px 14px;
    border-bottom: 1px solid #e0eaf7;
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
}
.te-table thead th:hover { color: #1673ff; }
.te-table thead th .sort-icon { margin-left: 4px; opacity: 0.4; }
.te-table thead th.sorted .sort-icon { opacity: 1; color: #1673ff; }
.te-table tbody tr {
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    transition: background 0.12s;
}
.te-table tbody tr:hover   { background: #f0f6ff; }
.te-table tbody tr.selected { background: #e8f0ff; }
.te-table tbody tr.in-comp  { background: #fff8e1; }
.te-table tbody td { padding: 11px 14px; color: #334155; }
.te-table tbody td.td-marca { font-weight: 700; color: #1c3557; }

/* ── Marca badges ── */
.te-marca-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 800;
}
.marca-siemens   { background: #e3f2fd; color: #1565c0; }
.marca-schneider { background: #e8f5e9; color: #2e7d32; }
.marca-abb       { background: #fce4ec; color: #b71c1c; }
.marca-eaton     { background: #fff3e0; color: #e65100; }
.marca-otro      { background: #f1f5f9; color: #475569; }

/* ── Detail card ── */
.te-detail-card {
    background: #fff;
    border: 1px solid #e0eaf7;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(15,23,42,0.06);
    display: none;
    margin-top: 16px;
}
.te-detail-card.visible { display: block; }
.te-detail-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}
.te-detail-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #e8f0ff, #dbeafe);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #1673ff;
    flex-shrink: 0;
}
.te-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}
.te-detail-field {
    background: #f8faff;
    border: 1px solid #e8eef6;
    border-radius: 12px;
    padding: 12px 14px;
}
.te-detail-field-label {
    font-size: 0.68rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 4px;
}
.te-detail-field-value {
    font-size: 0.92rem;
    font-weight: 700;
    color: #1c3557;
}
.te-nota-box {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 0.84rem;
    color: #78350f;
    margin-top: 14px;
}

/* ── Comparison bar (fixed bottom) ── */
.te-comp-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1c3557;
    color: #fff;
    padding: 12px 20px;
    display: none;
    align-items: center;
    gap: 12px;
    z-index: 1050;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}
.te-comp-bar.visible { display: flex; }
.te-comp-item {
    background: rgba(255,255,255,0.12);
    border-radius: 10px;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.84rem;
    font-weight: 600;
}
.te-comp-item .remove-btn {
    background: none;
    border: none;
    color: #93c5fd;
    cursor: pointer;
    font-size: 1rem;
    padding: 0;
    line-height: 1;
}

/* ── Comparison panel (inline) ── */
.te-comp-modal .comp-col {
    background: #f8faff;
    border: 1px solid #e0eaf7;
    border-radius: 16px;
    padding: 18px;
}
.te-comp-modal .comp-col .comp-field {
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.84rem;
}
.te-comp-modal .comp-col .comp-field:last-child { border-bottom: none; }
.te-comp-modal .comp-field-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 2px;
}
.te-comp-modal .comp-field-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1c3557;
}

/* ── Result count badge ── */
.te-count-badge {
    display: inline-flex;
    align-items: center;
    background: #eef4ff;
    color: #2563eb;
    border-radius: 999px;
    padding: 3px 10px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* ── Empty state ── */
.te-empty { text-align: center; padding: 48px 20px; color: #94a3b8; }
.te-empty i { font-size: 2.5rem; margin-bottom: 12px; display: block; }

/* ── Responsive ── */
@media (max-width: 991.98px) {
    .te-page { padding-top: 96px; }
}


/* ====== FREEMIUM PREVIEW OVERLAY ====== */

.tool-locked-overlay {
    position: fixed;
    top: 72px; left: 0; right: 0; bottom: 0;
    background: rgba(248, 250, 255, 0.55);
    backdrop-filter: none;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.tool-locked-card {
    background: #fff;
    border: 1.5px solid #e0eaf7;
    border-radius: 22px;
    padding: 44px 40px;
    text-align: center;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 16px 48px rgba(15,23,42,0.12);
}
.tool-locked-icon {
    width: 68px; height: 68px;
    background: linear-gradient(135deg, #eef4ff, #dbeafe);
    border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: #1673ff;
    margin: 0 auto 18px;
}
.tool-locked-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1c3557;
    margin-bottom: 8px;
}
.tool-locked-desc {
    font-size: 0.88rem;
    color: #6b7280;
    margin-bottom: 26px;
    line-height: 1.65;
}
.tool-locked-btn {
    display: inline-block;
    background: linear-gradient(90deg, #1673ff, #3b8cff);
    color: #fff;
    border-radius: 10px;
    padding: 11px 28px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: opacity 0.15s;
}
.tool-locked-btn:hover { opacity: 0.88; color: #fff; }
.tool-locked-link {
    display: block;
    margin-top: 12px;
    font-size: 0.82rem;
    color: #9ca3af;
    text-decoration: none;
}
.tool-locked-link:hover { color: #1c3557; }

/* El contenido de fondo cuando está bloqueado */
.tool-preview-blur {
    filter: blur(1.4px);
    pointer-events: none;
    user-select: none;
    opacity: 0.9;
}


/* ====== PLANES / PRICING ====== */

.pricing-hero {
    background: linear-gradient(135deg, #e9f1ff 0%, #f5f7fb 100%);
    padding: 100px 20px 60px;
    text-align: center;
}
.pricing-hero h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1c3557;
    margin-bottom: 10px;
}
.pricing-hero p {
    color: #6b7280;
    font-size: 1rem;
    max-width: 520px;
    margin: 0 auto 32px;
}

/* Toggle mensual / anual */
.pricing-toggle-wrap {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid #e0eaf7;
    border-radius: 999px;
    padding: 6px 18px;
    box-shadow: 0 2px 8px rgba(15,23,42,0.06);
}
.pricing-toggle-wrap .form-check-input {
    width: 2.4em;
    height: 1.25em;
    cursor: pointer;
}
.pricing-toggle-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #374151;
    user-select: none;
}
.pricing-save-badge {
    background: #dcfce7;
    color: #166534;
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 999px;
    padding: 2px 8px;
    margin-left: 4px;
    vertical-align: middle;
}

/* Cards container */
.pricing-cards-section {
    padding: 60px 0 80px;
    background: #f8faff;
}

/* Individual card */
.pricing-card {
    background: #fff;
    border: 1.5px solid #e0eaf7;
    border-radius: 24px;
    padding: 40px 36px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 24px rgba(15,23,42,0.06);
    transition: box-shadow 0.2s;
    position: relative;
}
.pricing-card:hover {
    box-shadow: 0 16px 40px rgba(15,23,42,0.10);
}
.pricing-card-plus {
    border-color: #0891b2;
    box-shadow: 0 8px 28px rgba(8,145,178,0.12);
}
.pricing-card-plus:hover {
    box-shadow: 0 16px 40px rgba(8,145,178,0.18);
}
.pricing-card-pro {
    border-color: #1673ff;
    box-shadow: 0 12px 36px rgba(22,115,255,0.15);
}
.pricing-card-pro:hover {
    box-shadow: 0 20px 50px rgba(22,115,255,0.20);
}

/* "Recomendado" ribbon */
.pricing-ribbon {
    position: absolute;
    top: -1px;
    right: 28px;
    background: linear-gradient(90deg, #1673ff, #3b8cff);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 4px 14px 6px;
    border-radius: 0 0 10px 10px;
    text-transform: uppercase;
}

/* "Tu plan actual" badge */
.pricing-current-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #eef4ff;
    color: #1673ff;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 999px;
    padding: 3px 10px;
    margin-bottom: 16px;
}

/* Plan name */
.pricing-plan-name {
    font-size: 1.3rem;
    font-weight: 800;
    color: #1c3557;
    margin-bottom: 4px;
}
.pricing-plan-desc {
    font-size: 0.84rem;
    color: #6b7280;
    margin-bottom: 24px;
    line-height: 1.5;
}

/* Price */
.pricing-price-row {
    margin-bottom: 28px;
}
.pricing-price-amount {
    font-size: 2.6rem;
    font-weight: 900;
    color: #1c3557;
    line-height: 1;
}
.pricing-price-currency {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1c3557;
    vertical-align: top;
    margin-top: 6px;
    display: inline-block;
}
.pricing-price-period {
    font-size: 0.88rem;
    color: #9ca3af;
    font-weight: 500;
    margin-left: 2px;
}
.pricing-price-equiv {
    font-size: 0.78rem;
    color: #10b981;
    font-weight: 600;
    margin-top: 4px;
    display: none;
}

/* Feature list */
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    flex-grow: 1;
}
.pricing-features li {
    font-size: 0.875rem;
    color: #374151;
    padding: 7px 0;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    align-items: flex-start;
    gap: 9px;
    line-height: 1.4;
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li .pf-icon-yes {
    color: #1673ff;
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-top: 1px;
}
.pricing-features li .pf-icon-no {
    color: #d1d5db;
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-top: 1px;
}
.pricing-features li.pf-disabled { color: #c4c9d4; }

/* CTA buttons */
.btn-pricing-free {
    display: block;
    text-align: center;
    border: 1.5px solid #1673ff;
    color: #1673ff;
    background: transparent;
    border-radius: 12px;
    padding: 12px 0;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}
.btn-pricing-free:hover {
    background: #eef4ff;
    color: #1673ff;
}
.btn-pricing-plus {
    display: block;
    text-align: center;
    background: linear-gradient(90deg, #0891b2, #06b6d4);
    color: #fff;
    border-radius: 12px;
    padding: 12px 0;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    border: none;
    transition: opacity 0.15s;
}
.btn-pricing-plus:hover { opacity: 0.88; color: #fff; }

.btn-pricing-pro {
    display: block;
    text-align: center;
    background: linear-gradient(90deg, #1673ff, #3b8cff);
    color: #fff;
    border-radius: 12px;
    padding: 12px 0;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    border: none;
    transition: opacity 0.15s;
}
.btn-pricing-pro:hover { opacity: 0.88; color: #fff; }

/* Section title */
.pricing-section-title {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 16px;
}

/* FAQ / feature separator */
.pricing-separator {
    border: none;
    border-top: 1px solid #e0eaf7;
    margin: 8px 0 20px;
}

@media (max-width: 767.98px) {
    .pricing-hero { padding-top: 80px; }
    .pricing-hero h1 { font-size: 1.7rem; }
    .pricing-card { padding: 28px 22px; }
    .pricing-price-amount { font-size: 2rem; }
}


/* ====== HOME DEMO SECTION ====== */

.demo-section {
    background: linear-gradient(135deg, #eef4ff 0%, #f0f7ff 50%, #e8f4ff 100%);
    padding: 72px 0 80px;
}
.demo-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 4px 12px;
    margin-bottom: 14px;
}
.demo-title {
    font-size: 1.9rem;
    font-weight: 800;
    color: #1c3557;
    margin-bottom: 8px;
}
.demo-subtitle {
    font-size: 0.95rem;
    color: #6b7280;
    margin-bottom: 0;
}
.demo-card {
    background: #fff;
    border: 1px solid #e0eaf7;
    border-radius: 20px;
    padding: 36px 40px;
    box-shadow: 0 12px 40px rgba(22, 115, 255, 0.08);
}
.demo-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #374151;
    margin-bottom: 5px;
    display: block;
}
.demo-input {
    border-radius: 10px;
    border: 1px solid #d1d9e6;
    padding: 10px 14px;
    font-size: 0.92rem;
    transition: border-color 0.15s;
    width: 100%;
}
.demo-input:focus {
    border-color: #1673ff;
    box-shadow: 0 0 0 3px rgba(22,115,255,0.1);
    outline: none;
}
.demo-btn {
    background: linear-gradient(90deg, #1673ff, #3b8cff);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-weight: 700;
    padding: 12px 32px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: opacity 0.15s;
    width: 100%;
}
.demo-btn:hover { opacity: 0.88; }
.demo-btn:disabled { opacity: 0.55; cursor: not-allowed; }
.demo-result-box {
    background: linear-gradient(135deg, #f0f7ff, #e8f4ff);
    border: 1.5px solid #bfdbfe;
    border-radius: 14px;
    padding: 24px;
    text-align: center;
    margin-top: 24px;
    display: none;
}
.demo-result-value {
    font-size: 3rem;
    font-weight: 900;
    color: #1673ff;
    line-height: 1;
}
.demo-result-unit {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1673ff;
    margin-left: 4px;
}
.demo-result-label {
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 4px;
}
.demo-error-box {
    background: #fee2e2;
    color: #b91c1c;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 0.85rem;
    margin-top: 16px;
    display: none;
}
.demo-cta {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #e0eaf7;
    text-align: center;
}
.demo-cta p {
    font-size: 0.9rem;
    color: #374151;
    font-weight: 600;
    margin-bottom: 14px;
}
.demo-cta-btn {
    display: inline-block;
    background: linear-gradient(90deg, #1673ff, #3b8cff);
    color: #fff;
    border-radius: 10px;
    padding: 11px 28px;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    transition: opacity 0.15s;
}
.demo-cta-btn:hover { opacity: 0.88; color: #fff; }

@media (max-width: 767.98px) {
    .demo-card { padding: 24px 18px; }
    .demo-title { font-size: 1.5rem; }
}
