@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,300;400;500;600;700;800&display=swap');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #F8FAFC;
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: #0F172A;
}

.bg-premium {
    background:
        radial-gradient(ellipse at 20% 30%, rgba(237, 27, 36, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(237, 27, 36, 0.02) 0%, transparent 50%),
        #F8FAFC;
}

.nav-premium {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 0;
    z-index: 50;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-left .logo {
    height: 48px;
    width: auto;
}

.nav-left .badge {
    font-size: 10px;
    font-weight: 600;
    color: #94A3B8;
    background: #F1F5F9;
    padding: 2px 12px;
    border-radius: 100px;
    border: 1px solid #E2E8F0;
    letter-spacing: 0.03em;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-right .link {
    font-size: 14px;
    color: #64748B;
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 500;
}

.nav-right .link:hover {
    color: #0F172A;
}

.btn-nav {
    background: #0F172A;
    color: white;
    padding: 8px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 13px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-nav:hover {
    background: #1E293B;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12);
}

@media (max-width: 640px) {
    .nav-inner {
        padding: 0 16px;
        height: 64px;
    }

    .nav-left .logo {
        height: 36px;
    }

    .nav-left .badge {
        font-size: 8px;
        padding: 1px 8px;
    }

    .nav-right .link {
        font-size: 13px;
    }

    .btn-nav {
        padding: 6px 14px;
        font-size: 12px;
    }
}

.hero-section {
    padding: 48px 24px;
    border-bottom: 1px solid #E2E8F0;
}

.hero-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 16px;
    background: #FEE2E3;
    border-radius: 100px;
    border: 1px solid rgba(237, 27, 36, 0.15);
    font-size: 12px;
    font-weight: 600;
    color: #ED1B24;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-title {
    font-size: 40px;
    font-weight: 800;
    color: #0F172A;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.hero-title .highlight {
    color: #ED1B24;
}

.hero-subtitle {
    font-size: 18px;
    color: #64748B;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.hero-subtitle strong {
    color: #0F172A;
    font-weight: 600;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 32px 16px;
    }

    .hero-title {
        font-size: 30px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-badge {
        font-size: 10px;
        padding: 3px 12px;
    }
}

@media (max-width: 640px) {
    .hero-section {
        padding: 24px 16px;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 14px;
    }
}

/* ===== VENDOR TYPES EXPLANATION ===== */
.types-section {
    padding: 48px 24px;
    background: white;
}

.types-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.types-header {
    text-align: center;
    margin-bottom: 32px;
}

.types-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 8px;
}

.types-header p {
    font-size: 16px;
    color: #64748B;
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.type-card {
    background: #F8FAFC;
    border-radius: 16px;
    padding: 20px 16px;
    border: 1px solid #E2E8F0;
    transition: all 0.3s ease;
    text-align: center;
}

.type-card:hover {
    transform: translateY(-4px);
    border-color: #ED1B24;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.type-card .type-icon {
    font-size: 32px;
    margin-bottom: 8px;
    display: block;
}

.type-card .type-name {
    font-size: 16px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 4px;
}

.type-card .type-desc {
    font-size: 13px;
    color: #64748B;
    line-height: 1.5;
}

.type-card .type-badge {
    display: inline-block;
    margin-top: 8px;
    padding: 2px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
}

.type-card .type-badge.internal {
    background: #DCFCE7;
    color: #16A34A;
}

.type-card .type-badge.preferred {
    background: #FEF3C7;
    color: #D97706;
}

.type-card .type-badge.external {
    background: #DBEAFE;
    color: #1D4ED8;
}

.type-card .type-badge.standard {
    background: #F3F4F6;
    color: #6B7280;
}

@media (max-width: 640px) {
    .types-section {
        padding: 32px 16px;
    }

    .types-header h2 {
        font-size: 22px;
    }

    .types-grid {
        grid-template-columns: 1fr 1fr;
    }

    .type-card {
        padding: 16px 12px;
    }

    .type-card .type-icon {
        font-size: 24px;
    }

    .type-card .type-name {
        font-size: 14px;
    }

    .type-card .type-desc {
        font-size: 12px;
    }
}

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

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    padding: 32px 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
    border-color: rgba(237, 27, 36, 0.1);
}

.pricing-card.featured {
    border-color: #ED1B24;
    box-shadow: 0 8px 40px rgba(237, 27, 36, 0.08);
}

.pricing-card.featured::before {
    content: 'Internal HQ';
    position: absolute;
    top: 12px;
    right: 12px;
    background: #ED1B24;
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-card .badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 16px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-card .badge.internal {
    background: #DCFCE7;
    color: #16A34A;
}

.pricing-card .badge.external {
    background: #DBEAFE;
    color: #1D4ED8;
}

.pricing-card .badge.preferred {
    background: #FEF3C7;
    color: #D97706;
}

.pricing-card .badge.standard {
    background: #F3F4F6;
    color: #6B7280;
}

.pricing-card .plan-title {
    font-size: 20px;
    font-weight: 700;
    color: #0F172A;
    margin-top: 12px;
}

.pricing-card .plan-subtitle {
    font-size: 14px;
    color: #94A3B8;
    margin-top: 2px;
}

.pricing-card .price {
    margin-top: 16px;
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0F172A;
    line-height: 1.2;
}

.pricing-card .price .currency {
    font-size: 22px;
    font-weight: 600;
    color: #94A3B8;
    vertical-align: top;
    margin-right: 2px;
}

.pricing-card .price .percent {
    font-size: 24px;
    font-weight: 700;
    color: #0F172A;
    vertical-align: top;
}

.pricing-card .price .period {
    font-size: 14px;
    font-weight: 500;
    color: #94A3B8;
    display: block;
    margin-top: 2px;
}

.pricing-card .price .zero {
    font-size: 44px;
    font-weight: 800;
    color: #0F172A;
}

.pricing-card .commission-info {
    margin-top: 8px;
}

.commission-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.commission-badge.zero {
    background: #DCFCE7;
    color: #16A34A;
}

.commission-badge.low {
    background: #DBEAFE;
    color: #1D4ED8;
}

.commission-badge.medium {
    background: #FEF3C7;
    color: #D97706;
}

.commission-badge.high {
    background: #FEE2E3;
    color: #ED1B24;
}

.commission-text {
    font-size: 12px;
    color: #94A3B8;
    margin-top: 4px;
}

.pricing-card .feature-list {
    flex: 1;
    margin: 20px 0 24px;
    list-style: none;
    padding: 0;
    width: 100%;
    text-align: left;
}

.pricing-card .feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 14px;
    color: #475569;
    border-bottom: 1px solid #F1F5F9;
    justify-content: flex-start;
}

.pricing-card .feature-list li:last-child {
    border-bottom: none;
}

.pricing-card .feature-list li .check {
    color: #22C55E;
    flex-shrink: 0;
    font-size: 16px;
    width: 20px;
}

.pricing-card .feature-list li .cross {
    color: #ED1B24;
    flex-shrink: 0;
    font-size: 16px;
    width: 20px;
}

.btn-primary-premium {
    background: #0F172A;
    color: white;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    width: 100%;
    margin-top: auto;
}

.btn-primary-premium:hover {
    background: #1E293B;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.12);
}

.btn-primary-premium.featured-btn {
    background: #ED1B24;
}

.btn-primary-premium.featured-btn:hover {
    background: #C9171F;
    box-shadow: 0 8px 30px rgba(237, 27, 36, 0.25);
}

.btn-outline-premium {
    background: transparent;
    color: #0F172A;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    border: 1.5px solid #E2E8F0;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    width: 100%;
    margin-top: auto;
}

.btn-outline-premium:hover {
    border-color: #0F172A;
    background: #F8FAFC;
    transform: translateY(-2px);
}

/* ===== COMPARISON TABLE ===== */
.comparison-table {
    background: white;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.comparison-table th {
    text-align: center;
    padding: 16px 20px;
    background: #F8FAFC;
    font-weight: 600;
    color: #0F172A;
    border-bottom: 1px solid #E2E8F0;
}

.comparison-table th:first-child {
    text-align: left;
}

.comparison-table td {
    text-align: center;
    padding: 14px 20px;
    border-bottom: 1px solid #F1F5F9;
    color: #475569;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
}

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

.comparison-table .check {
    color: #22C55E;
}

.comparison-table .cross {
    color: #ED1B24;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.faq-item {
    border-bottom: 1px solid #E2E8F0;
    padding: 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item .question {
    font-weight: 600;
    color: #0F172A;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    user-select: none;
    padding: 18px 0;
    width: 100%;
    transition: color 0.2s ease;
    background: none;
    border: none;
    font-size: 16px;
    font-family: inherit;
    text-align: left;
}

.faq-item .question:hover {
    color: #ED1B24;
}

.faq-item .question .icon {
    color: #ED1B24;
    font-size: 18px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item .question .icon.rotated {
    transform: rotate(180deg);
}

.faq-item .answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.3s ease,
        padding 0.3s ease;
    opacity: 0;
    padding: 0 0 0 0;
    color: #64748B;
    font-size: 14px;
    line-height: 1.7;
}

.faq-item .answer.open {
    max-height: 400px;
    opacity: 1;
    padding: 0 0 20px 0;
}

.cta-section {
    background: #262E3F;
    padding: 56px 24px;
}

.cta-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.cta-subtitle {
    font-size: 16px;
    color: #94A3B8;
    max-width: 600px;
    margin: 0 auto 24px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.cta-btn-primary {
    background: white;
    color: #0F172A;
    padding: 12px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.cta-btn-primary:hover {
    background: #F1F5F9;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.12);
}

.cta-btn-secondary {
    background: transparent;
    color: white;
    padding: 12px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.cta-note {
    font-size: 13px;
    color: #64748B;
    margin-top: 16px;
}

@media (max-width: 640px) {
    .cta-section {
        padding: 40px 16px;
    }

    .cta-title {
        font-size: 22px;
    }

    .cta-subtitle {
        font-size: 14px;
    }

    .cta-btn-primary,
    .cta-btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 14px;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
}


.footer-premium {
    background: #0F172A;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid #0D1425;
    padding: 16px 24px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-copy {
    font-size: 13px;
    color: #94A3B8;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.footer-links a {
    font-size: 13px;
    color: #FFF;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--color-brand);
}

@media (max-width: 640px) {
    .footer-premium {
        padding: 16px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
        gap: 16px;
    }

    .footer-copy {
        font-size: 12px;
    }

    .footer-links a {
        font-size: 12px;
    }
}

/* ===== RESPONSIVE ===== */
.container-centered {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 20px;
    }

    .pricing-card {
        padding: 24px 20px;
    }

    .pricing-card .price {
        font-size: 36px;
    }

    .pricing-card .price .zero {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 16px;
    }

    .pricing-card .price {
        font-size: 32px;
    }

    .pricing-card .price .zero {
        font-size: 32px;
    }

    .comparison-table {
        overflow-x: auto;
    }

    .comparison-table table {
        font-size: 13px;
        min-width: 600px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 12px 16px;
    }

    .faq-container {
        padding: 0 16px;
    }

    .faq-item .question {
        font-size: 15px;
        padding: 16px 0;
    }
}

@media (max-width: 640px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
    }

    .pricing-card {
        padding: 20px 16px;
    }

    .pricing-card .price {
        font-size: 28px;
    }

    .pricing-card .price .zero {
        font-size: 28px;
    }

    .pricing-card .price .currency {
        font-size: 18px;
    }

    .pricing-card .price .percent {
        font-size: 18px;
    }

    .pricing-card.featured::before {
        font-size: 8px;
        padding: 3px 10px;
        top: 8px;
        right: 8px;
    }

    .container-centered {
        padding: 0 16px;
    }

    .faq-item .question {
        font-size: 14px;
        padding: 14px 0;
    }

    .faq-item .answer {
        font-size: 13px;
    }

    .faq-item .answer.open {
        padding-bottom: 16px;
    }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: #F1F5F9;
}

::-webkit-scrollbar-thumb {
    background: #ED1B24;
    border-radius: 10px;
}

.text-balance {
    text-wrap: balance;
}