/* =======================================================
   VENDOR / TOOL DETAILS — PREMIUM FIGMA OBSIDIAN THEME
   ======================================================= */

.vendor-hero {
    position: relative;
    padding: 50px 0 36px;
    background: linear-gradient(180deg, rgba(20, 10, 26, 0.7) 0%, rgba(12, 6, 18, 0.95) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.vendor-header-left {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    flex: 1;
    min-width: 320px;
}

.vendor-logo-box {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: rgba(26, 14, 34, 0.9);
    border: 1.5px solid rgba(255, 59, 123, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.vendor-logo-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.vendor-meta {
    flex: 1;
}

.title-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.title-row h1 {
    font-size: clamp(26px, 3.2vw, 36px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.tagline {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 18px;
    max-width: 680px;
}

.stats-row {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 10px 18px;
    width: fit-content;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-secondary);
}

.stat-item .stars {
    color: #ffb703;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.divider {
    width: 1px;
    height: 18px;
    background: rgba(255, 255, 255, 0.1);
}

.vendor-header-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 240px;
}

.btn-trial-pink {
    background: linear-gradient(90deg, #ff3b7b 0%, #ff735c 100%);
    color: #fff;
    padding: 12px 24px;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 14px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 18px rgba(255, 59, 123, 0.4);
    text-decoration: none;
}

.btn-trial-pink:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
    box-shadow: 0 8px 25px rgba(255, 59, 123, 0.6);
    color: #fff;
}

.btn-trial-outline {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 11px 22px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 13.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-trial-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.claim-prompt {
    font-size: 12px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    justify-content: center;
}

.claim-prompt a {
    color: #ff3b7b;
    font-weight: 700;
    text-decoration: underline;
}

/* Tabs */
.vendor-tabs-wrapper {
    position: sticky;
    top: 0px;
    z-index: 50;
    background: rgba(12, 6, 18, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.tabs-container {
    padding: 0 24px;
}

.nav-tabs-list {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    overflow-x: auto;
    scrollbar-width: none;
}

.nav-tabs-list::-webkit-scrollbar {
    display: none;
}

.nav-tabs-list li a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nav-tabs-list li:hover a,
.nav-tabs-list li.active a {
    color: #fff;
    border-bottom-color: #ff3b7b;
}

/* Main Layout */
.vendor-main-body {
    padding: 40px 0 60px;
}

.layout-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
    align-items: start;
}

.detail-card {
    background: rgba(20, 10, 26, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.detail-card h3 {
    font-size: 19px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.body-p {
    font-size: 15px;
    color: #d6ccdc;
    line-height: 1.75;
    margin-bottom: 22px;
}

.feature-highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.f-item {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 16px;
    display: flex;
    gap: 12px;
}

.f-item-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 59, 123, 0.15);
    color: #ff3b7b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.f-item h5 {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.f-item p {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.45;
}

/* Pros & Cons */
.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 14px;
}

.pros-column,
.cons-column {
    background: rgba(255, 255, 255, 0.025);
    border-radius: 16px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.pros-column h4 {
    color: #10b981;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cons-column h4 {
    color: #ff735c;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pc-list {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pc-list li {
    font-size: 13.5px;
    color: #d6ccdc;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.check-green {
    color: #10b981;
    margin-top: 3px;
}

.check-orange {
    color: #ff735c;
    margin-top: 3px;
}

/* Reviews */
.review-item-card {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 20px;
}

.reviewer-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff3b7b, #ff735c);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 13px;
    flex-shrink: 0;
}

.review-stars {
    color: #ffb703;
    font-size: 12px;
    display: flex;
    align-items: center;
}

.competitor-card {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 16px;
    transition: all 0.2s;
}

.competitor-card:hover {
    border-color: rgba(255, 59, 123, 0.35);
    background: rgba(255, 255, 255, 0.04);
}

/* Sidebar Right */
.sidebar-meta-card {
    background: rgba(20, 10, 26, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 24px;
}

.sidebar-meta-card h4 {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
}

.meta-table {
    width: 100%;
    border-collapse: collapse;
}

.meta-table tr td {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 13px;
}

.meta-table tr:last-child td {
    border-bottom: none;
}

.meta-table tr td:first-child {
    color: var(--text-secondary);
    width: 45%;
}

.meta-table tr td:last-child {
    color: #fff;
    font-weight: 600;
    text-align: right;
}

.techscore-card {
    background: linear-gradient(135deg, rgba(28, 14, 38, 0.95), rgba(16, 8, 22, 0.98));
    border: 1px solid rgba(255, 59, 123, 0.25);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 24px;
    text-align: center;
}

.techscore-big-num {
    font-size: 46px;
    font-weight: 800;
    color: #ff3b7b;
    line-height: 1;
    margin: 8px 0;
}

.techscore-bar-track {
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 9999px;
    overflow: hidden;
    margin: 14px 0;
}

.techscore-bar-fill {
    height: 100%;
    border-radius: 9999px;
    background: linear-gradient(90deg, #ff3b7b, #ff735c);
    transition: width 1s ease-in-out;
}

.lead-box-card {
    background: rgba(20, 10, 26, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 24px;
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
}

.empty-state p {
    font-size: 14px;
    margin-bottom: 16px;
}

/* ---- Sidebar Missing Styles ---- */
.sidebar-actions-row {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
}

.btn-action-icon {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-action-icon:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.sidebar-cta-card {
    background: linear-gradient(135deg, rgba(224, 67, 133, 0.12), rgba(255, 115, 92, 0.08));
    border: 1px solid rgba(224, 67, 133, 0.25);
    border-radius: 20px;
    padding: 26px 24px;
    text-align: center;
    margin-bottom: 24px;
}

.sidebar-cta-card .cta-icon {
    font-size: 28px;
    margin-bottom: 12px;
    display: block;
}

.sidebar-cta-card h4 {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}

.sidebar-cta-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.btn-sidebar-trial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 11px 20px;
    background: linear-gradient(90deg, #e04385, #fa709a);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s;
    box-shadow: 0 4px 16px rgba(224, 67, 133, 0.35);
}

.btn-sidebar-trial:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(224, 67, 133, 0.55);
}

/* Meta list rows (sidebar product intelligence) */
.meta-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 13px;
}

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

.meta-row .label {
    color: var(--text-secondary);
}

.meta-row .val {
    color: #fff;
    font-weight: 600;
    text-align: right;
}

/* TechScore Badge (sidebar) */
.techscore-badge {
    background: linear-gradient(135deg, rgba(255, 59, 123, 0.12), rgba(255, 115, 92, 0.1));
    border: 1px solid rgba(255, 59, 123, 0.3);
    border-radius: 14px;
    padding: 18px 20px;
    margin-top: 20px;
    text-align: center;
}

.techscore-number {
    font-size: 42px;
    font-weight: 800;
    color: #ff3b7b;
    line-height: 1;
    margin-bottom: 4px;
}

.techscore-label {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.techscore-bar-wrap {
    height: 7px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 9999px;
    overflow: hidden;
}

/* Review button inside reviews card */
.btn-cta-pink {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    background: linear-gradient(90deg, #e04385, #fa709a);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 14px rgba(224, 67, 133, 0.3);
    white-space: nowrap;
}

.btn-cta-pink:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(224, 67, 133, 0.5);
}

/* Alert success */
.alert-success-custom {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
    padding: 16px 20px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* ---- MODAL OVERLAY ---- */
.modal-lead {
    display: none;
    /* hidden by default — JS uses style.display='flex' to open */
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(6, 3, 12, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.modal-lead-content {
    background: linear-gradient(160deg, #1a0a22 0%, #0e0617 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    padding: 36px;
    width: 100%;
    max-width: 520px;
    position: relative;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
    animation: modalSlideIn 0.28s cubic-bezier(0.34, 1.4, 0.64, 1) both;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    flex-shrink: 0;
}

.modal-close-btn:hover {
    background: rgba(255, 59, 123, 0.25);
    border-color: rgba(255, 59, 123, 0.4);
}

.modal-label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.modal-field {
    margin-bottom: 16px;
}

.modal-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 16px;
}

/* Form controls inside modals */
.modal-lead-content .form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 14px;
    color: #fff;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.modal-lead-content .form-control::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.modal-lead-content .form-control:focus {
    border-color: rgba(224, 67, 133, 0.5);
    background: rgba(255, 255, 255, 0.07);
}

.modal-lead-content select.form-control {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

@media (max-width: 960px) {
    .layout-grid {
        grid-template-columns: 1fr;
    }

    .feature-highlights-grid {
        grid-template-columns: 1fr;
    }

    .pros-cons-grid {
        grid-template-columns: 1fr;
    }

    .modal-row-2 {
        grid-template-columns: 1fr;
    }

    .modal-lead-content {
        padding: 24px 20px;
    }
}