/* ==================== JD SEARCH - WORLD-CLASS UI ==================== */

/* Card Subtitle */
.hi-card-subtitle {
    margin-top: 8px;
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* JD Search Form */
.hi-jd-search-form {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 32px;
}

/* Upload Zone */
.hi-jd-upload-zone {
    position: relative;
    padding: 64px 40px;
    border: 2px dashed var(--card-border);
    border-radius: 24px;
    background: var(--card-bg);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.hi-jd-upload-zone::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(56, 189, 248, 0.08), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.hi-jd-upload-zone:hover {
    border-color: var(--card-border-hover);
    background: var(--card-bg-hover);
}

.hi-jd-upload-zone:hover::before {
    opacity: 1;
}

.hi-jd-upload-zone.dragover {
    border-color: var(--color-border-focus);
    background: var(--btn-secondary-bg-hover);
    transform: scale(1.02);
}

.hi-jd-upload-zone.dragover::before {
    opacity: 1;
}

.hi-upload-icon {
    margin: 0 auto 24px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--glow-cyan), var(--glow-purple));
    border: 1px solid var(--card-border);
}

.hi-upload-icon svg {
    color: var(--color-primary);
}

.hi-jd-upload-zone h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 8px;
}

.hi-jd-upload-zone p {
    font-size: 15px;
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.hi-upload-hint {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--btn-secondary-bg);
    font-size: 13px;
    color: var(--color-text-muted);
    letter-spacing: 0.02em;
}

/* File Preview */
.hi-jd-file-preview {
    padding: 24px;
    border-radius: 20px;
    border: 1px solid var(--card-border);
    background: var(--card-bg);
    animation: slideInUp 0.3s ease;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hi-file-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hi-file-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--glow-cyan), var(--glow-purple));
    border: 1px solid var(--card-border);
}

.hi-file-icon svg {
    color: var(--color-primary);
}

.hi-file-details {
    flex: 1;
    min-width: 0;
}

.hi-file-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hi-file-size {
    font-size: 14px;
    color: var(--color-text-muted);
    margin: 0;
}

.hi-file-remove {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 12px;
    background: rgba(239, 68, 68, 0.1);
    color: rgba(239, 68, 68, 0.9);
    cursor: pointer;
    transition: all 0.2s ease;
}

.hi-file-remove:hover {
    background: rgba(239, 68, 68, 0.2);
    transform: scale(1.05);
}

/* Results Section */
.hi-jd-results {
    margin-top: 48px;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.hi-results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--card-border);
}

.hi-results-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0;
}

.hi-results-count {
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--btn-secondary-bg);
    border: 1px solid var(--btn-secondary-border);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
}

.hi-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

/* Processing State */
.hi-processing-state {
    grid-column: 1 / -1;
    padding: 80px 40px;
    text-align: center;
    border-radius: 20px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
}

.hi-processing-spinner {
    margin: 0 auto 24px;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--glow-cyan), var(--glow-purple));
}

.hi-processing-spinner svg {
    color: var(--color-primary);
}

.hi-processing-state h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 8px;
}

.hi-processing-state p {
    font-size: 15px;
    color: var(--color-text-muted);
    margin: 0;
}

/* Candidate Recommendation Card */
.hi-candidate-card {
    display: flex;
    flex-direction: column;
    padding: 32px;
    border-radius: 24px;
    border: 1px solid var(--card-border);
    background: var(--card-gradient);
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    animation: cardSlideIn 0.5s ease backwards;
    height: 100%;
}

@keyframes cardSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hi-candidate-card:nth-child(1) { animation-delay: 0.1s; }
.hi-candidate-card:nth-child(2) { animation-delay: 0.2s; }
.hi-candidate-card:nth-child(3) { animation-delay: 0.3s; }
.hi-candidate-card:nth-child(4) { animation-delay: 0.4s; }
.hi-candidate-card:nth-child(5) { animation-delay: 0.5s; }

.hi-candidate-card:hover {
    border-color: var(--card-border-hover);
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

/* Card Header */
.hi-candidate-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--card-border);
}

.hi-candidate-id {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-muted);
}

.hi-candidate-id svg {
    color: var(--color-primary);
}

/* Recommendation Badge */
.hi-recommendation-badge {
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hi-badge-success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: rgba(34, 197, 94, 1);
}

.hi-badge-warning {
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.3);
    color: rgba(251, 191, 36, 1);
}

.hi-badge-danger {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: rgba(239, 68, 68, 1);
}

.hi-badge-neutral {
    background: rgba(148, 163, 184, 0.15);
    border: 1px solid rgba(148, 163, 184, 0.3);
    color: rgba(148, 163, 184, 1);
}

/* Confidence Bar */
.hi-confidence-bar {
    margin-bottom: 24px;
}

.hi-confidence-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 13px;
}

.hi-confidence-label > span:first-child {
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.hi-confidence-high {
    color: rgba(34, 197, 94, 1);
    font-weight: 700;
}

.hi-confidence-medium {
    color: rgba(251, 191, 36, 1);
    font-weight: 700;
}

.hi-confidence-low {
    color: rgba(239, 68, 68, 1);
    font-weight: 700;
}

.hi-confidence-meter {
    height: 8px;
    border-radius: 999px;
    background: var(--color-border-primary);
    overflow: hidden;
}

.hi-confidence-fill {
    height: 100%;
    border-radius: 999px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hi-confidence-fill.hi-confidence-high {
    background: linear-gradient(90deg, rgba(34, 197, 94, 0.8), rgba(34, 197, 94, 1));
}

.hi-confidence-fill.hi-confidence-medium {
    background: linear-gradient(90deg, rgba(251, 191, 36, 0.8), rgba(251, 191, 36, 1));
}

.hi-confidence-fill.hi-confidence-low {
    background: linear-gradient(90deg, rgba(239, 68, 68, 0.8), rgba(239, 68, 68, 1));
}

/* Card Content Area - grows to push actions to bottom */
.hi-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Card Sections */
.hi-card-section {
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 16px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
}

.hi-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.hi-section-header svg {
    color: var(--color-primary);
    flex-shrink: 0;
}

.hi-section-header h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text-primary);
    margin: 0;
}

.hi-section-text {
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin: 0;
}

.hi-card-section.hi-strengths {
    border-left: 3px solid rgba(34, 197, 94, 0.5);
}

.hi-card-section.hi-strengths .hi-section-header svg {
    color: rgba(34, 197, 94, 0.9);
}

.hi-card-section.hi-gaps {
    border-left: 3px solid rgba(251, 191, 36, 0.5);
}

.hi-card-section.hi-gaps .hi-section-header svg {
    color: rgba(251, 191, 36, 0.9);
}

/* Card Actions - always at bottom */
.hi-card-actions {
    display: flex;
    gap: 12px;
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--card-border);
}

.hi-btn-view-resume,
.hi-btn-contact-candidate {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.hi-btn-view-resume::before,
.hi-btn-contact-candidate::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hi-btn-view-resume:hover::before,
.hi-btn-contact-candidate:hover::before {
    opacity: 1;
}

.hi-btn-view-resume {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(14, 165, 233, 0.15));
    border: 1.5px solid rgba(56, 189, 248, 0.4);
    color: rgba(56, 189, 248, 1);
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.15);
}

.hi-btn-view-resume:hover {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.3), rgba(14, 165, 233, 0.25));
    border-color: rgba(56, 189, 248, 0.6);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(56, 189, 248, 0.3);
}

.hi-btn-view-resume:active {
    transform: translateY(-1px);
}

.hi-btn-contact-candidate {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(147, 51, 234, 0.15));
    border: 1.5px solid rgba(168, 85, 247, 0.4);
    color: rgba(168, 85, 247, 1);
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.15);
}

.hi-btn-contact-candidate:hover {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.3), rgba(147, 51, 234, 0.25));
    border-color: rgba(168, 85, 247, 0.6);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(168, 85, 247, 0.3);
}

.hi-btn-contact-candidate:active {
    transform: translateY(-1px);
}

.hi-btn-view-resume svg,
.hi-btn-contact-candidate svg {
    transition: transform 0.3s ease;
}

.hi-btn-view-resume:hover svg,
.hi-btn-contact-candidate:hover svg {
    transform: scale(1.1);
}

.hi-candidate-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.hi-candidate-avatar {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--glow-cyan), var(--glow-purple));
    border: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--btn-primary-text);
}

.hi-candidate-info h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 4px;
}

.hi-candidate-role {
    font-size: 14px;
    color: var(--color-text-muted);
    margin: 0;
}

.hi-candidate-score {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.hi-score-label {
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 4px;
}

.hi-score-value {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #38bdf8, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.hi-candidate-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.hi-skill-tag {
    padding: 6px 12px;
    border-radius: 8px;
    background: var(--btn-secondary-bg);
    border: 1px solid var(--btn-secondary-border);
    font-size: 12px;
    color: var(--color-text-secondary);
}

/* Message Display */
.hi-jd-message {
    margin-top: 24px;
    padding: 16px 20px;
    border-radius: 16px;
    font-size: 15px;
    display: none;
}

.hi-jd-message.success {
    display: block;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: rgba(34, 197, 94, 0.95);
}

.hi-jd-message.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: rgba(239, 68, 68, 0.95);
}

.hi-jd-message.info {
    display: block;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: rgba(56, 189, 248, 0.95);
}

/* Loading State */
.hi-auth-submit.is-loading {
    pointer-events: none;
}

.hi-auth-submit.is-loading .btn-text {
    opacity: 0.7;
}

.hi-auth-submit.is-loading .btn-loader {
    display: inline-block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hi-jd-upload-zone {
        padding: 48px 24px;
    }

    .hi-upload-icon {
        width: 64px;
        height: 64px;
    }

    .hi-results-grid {
        grid-template-columns: 1fr;
    }

    .hi-results-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .hi-file-info {
        gap: 16px;
    }

    .hi-file-icon {
        width: 48px;
        height: 48px;
    }

    .hi-candidate-card {
        padding: 24px;
    }

    .hi-card-actions {
        flex-direction: column;
    }

    .hi-btn-view-resume,
    .hi-btn-contact-candidate {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hi-jd-upload-zone {
        padding: 40px 20px;
    }

    .hi-jd-upload-zone h3 {
        font-size: 18px;
    }

    .hi-candidate-card {
        padding: 20px;
    }

    .hi-candidate-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .hi-processing-state {
        padding: 60px 24px;
    }

    .hi-card-section {
        padding: 16px;
    }
}

/* ==================== PRO MEMBERSHIP MODAL ==================== */

.hi-pro-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.hi-pro-modal.hi-modal-active {
    display: flex;
}

.hi-pro-modal .hi-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease;
}

.hi-pro-modal .hi-modal-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(7, 12, 26, 0.98));
    border-radius: 32px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 25px 80px rgba(2, 6, 23, 0.6);
    animation: modalSlideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hi-pro-modal .hi-modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 12px;
    background: rgba(148, 163, 184, 0.1);
    color: rgba(226, 232, 240, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.hi-pro-modal .hi-modal-close:hover {
    background: rgba(239, 68, 68, 0.15);
    color: rgba(239, 68, 68, 1);
    transform: rotate(90deg);
}

.hi-pro-modal .hi-modal-content {
    padding: 60px 48px 48px;
}

.hi-pro-modal .hi-modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(168, 85, 247, 0.15));
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.hi-pro-modal .hi-modal-icon svg {
    color: rgba(56, 189, 248, 0.9);
}

.hi-pro-modal .hi-modal-title {
    font-size: 32px;
    font-weight: 700;
    color: #f8fafc;
    text-align: center;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #f8fafc, rgba(226, 232, 240, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hi-pro-modal .hi-modal-subtitle {
    font-size: 16px;
    color: rgba(148, 163, 184, 0.9);
    text-align: center;
    margin-bottom: 40px;
}

.hi-pro-modal .hi-modal-action-text {
    color: rgba(56, 189, 248, 1);
    font-weight: 600;
}

/* Pricing Cards */
.hi-pricing-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.hi-pricing-card {
    position: relative;
    padding: 32px 28px;
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hi-pricing-card:hover {
    border-color: rgba(56, 189, 248, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(56, 189, 248, 0.15);
}

.hi-pricing-pro {
    border-color: rgba(56, 189, 248, 0.3);
}

.hi-pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.9), rgba(14, 165, 233, 0.9));
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.4);
}

.hi-pricing-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 16px;
    text-align: center;
}

.hi-pricing-price {
    text-align: center;
    margin-bottom: 28px;
}

.hi-price-amount {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, #38bdf8, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hi-price-period {
    font-size: 16px;
    color: rgba(148, 163, 184, 0.8);
    font-weight: 600;
}

.hi-pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
}

.hi-pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 14px;
    color: rgba(226, 232, 240, 0.9);
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.hi-pricing-features li:last-child {
    border-bottom: none;
}

.hi-pricing-features svg {
    flex-shrink: 0;
    color: rgba(34, 197, 94, 0.9);
}

.hi-btn-upgrade-pro,
.hi-btn-contact-enterprise {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.hi-btn-upgrade-pro::before,
.hi-btn-contact-enterprise::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hi-btn-upgrade-pro:hover::before,
.hi-btn-contact-enterprise:hover::before {
    opacity: 1;
}

.hi-btn-upgrade-pro {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.9), rgba(14, 165, 233, 0.9));
    color: #fff;
    box-shadow: 0 8px 24px rgba(56, 189, 248, 0.3);
}

.hi-btn-upgrade-pro:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(56, 189, 248, 0.4);
}

.hi-btn-contact-enterprise {
    background: rgba(148, 163, 184, 0.15);
    border: 1.5px solid rgba(148, 163, 184, 0.3);
    color: rgba(226, 232, 240, 0.95);
}

.hi-btn-contact-enterprise:hover {
    background: rgba(148, 163, 184, 0.25);
    border-color: rgba(148, 163, 184, 0.5);
    transform: translateY(-2px);
}

/* Modal Divider */
.hi-modal-divider {
    position: relative;
    text-align: center;
    margin: 40px 0;
}

.hi-modal-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.2), transparent);
}

.hi-modal-divider span {
    position: relative;
    display: inline-block;
    padding: 0 20px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(7, 12, 26, 0.98));
    font-size: 13px;
    font-weight: 700;
    color: rgba(148, 163, 184, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Free Access Section */
.hi-free-access-section {
    text-align: center;
}

.hi-btn-free-access {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 32px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 700;
    border: 2px solid rgba(168, 85, 247, 0.4);
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(147, 51, 234, 0.1));
    color: rgba(168, 85, 247, 1);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.hi-btn-free-access::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(147, 51, 234, 0.15));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hi-btn-free-access:hover::before {
    opacity: 1;
}

.hi-btn-free-access:hover {
    border-color: rgba(168, 85, 247, 0.6);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(168, 85, 247, 0.3);
}

.hi-btn-free-access:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.hi-btn-free-access.hi-btn-success {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(22, 163, 74, 0.15));
    border-color: rgba(34, 197, 94, 0.5);
    color: rgba(34, 197, 94, 1);
}

.hi-free-access-note {
    display: flex;
    gap: 12px;
    padding: 20px;
    border-radius: 16px;
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.15);
    text-align: left;
}

.hi-free-access-note svg {
    flex-shrink: 0;
    color: rgba(56, 189, 248, 0.8);
    margin-top: 2px;
}

.hi-free-access-note p {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(226, 232, 240, 0.85);
    margin: 0;
}

.hi-free-access-note strong {
    color: rgba(56, 189, 248, 1);
    font-weight: 700;
}

/* Modal Responsive */
@media (max-width: 768px) {
    .hi-modal-content {
        padding: 48px 28px 32px;
    }

    .hi-pricing-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hi-modal-title {
        font-size: 26px;
    }

    .hi-modal-subtitle {
        font-size: 14px;
    }

    .hi-pricing-card {
        padding: 28px 24px;
    }

    .hi-price-amount {
        font-size: 40px;
    }
}

@media (max-width: 480px) {
    .hi-modal-container {
        border-radius: 24px;
    }

    .hi-modal-content {
        padding: 40px 20px 28px;
    }

    .hi-modal-close {
        top: 16px;
        right: 16px;
        width: 40px;
        height: 40px;
    }

    .hi-modal-icon {
        width: 64px;
        height: 64px;
    }

    .hi-modal-title {
        font-size: 22px;
    }

    .hi-pricing-card h3 {
        font-size: 20px;
    }

    .hi-price-amount {
        font-size: 36px;
    }

    .hi-btn-free-access {
        padding: 16px 24px;
        font-size: 15px;
    }
}
