.tariffs-hero {
    position: relative;
    background-image: url('/images/bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 90px 20px;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    color: #1e1e1efa;
}

.tariffs-hero-content {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    text-align: left;
    padding: 0 20px;
    box-sizing: border-box;
}

.tariffs-hero h1 {
    position: relative;
    z-index: 2;
    font-size: 44px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
    color: #1e1e1efa;
    margin-bottom: 18px;
}

.tariffs-hero p {
    position: relative;
    z-index: 2;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    color: #64748b;
    max-width: 750px;
}

.tariffs-body {
    margin: 0 auto;
    padding: 40px 20px 80px;
    max-width: 1400px;
    box-sizing: border-box;
}

.section-label {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-main, #111827);
    margin: 48px 0 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color, #e5e7eb);
    display: flex;
    align-items: center;
    gap: 10px;
}

.cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 1024px) {
    .cards-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .cards-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.t-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 36px 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform .3s, box-shadow .3s, border-color .3s;
    box-sizing: border-box;
}

.t-card:hover {
    box-shadow: 0 20px 48px rgba(0, 0, 0, .08);
    border-color: #a5b4fc;
    transform: translateY(-2px);
}

.t-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    opacity: 0;
    transition: opacity .3s;
}

.t-card:hover::before, .t-card.premium::before {
    opacity: 1;
}

.t-card.premium::before {
    background: linear-gradient(90deg, #f59e0b, #ef4444);
}

.t-card-title {
    font-size: 19px;
    font-weight: 750;
    color: #111827;
    margin-bottom: 12px;
}

.t-card-price {
    font-size: 36px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 24px;
}

.t-card-price span {
    font-size: 18px;
    font-weight: 500;
    color: #6b7280;
}

.t-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    flex-grow: 1;
}

.t-card-features li {
    font-size: 15px;
    color: #374151;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.t-card-features li::before {
    content: '✓';
    color: #10b981;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

.btn-pay {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1), background-color 160ms ease, box-shadow 160ms ease;
    background: #f3f4f6;
    color: #111827;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.btn-pay:hover {
    background: #e5e7eb;
}

.btn-pay:active {
    transform: scale(0.97) !important;
}

.btn-pay.blue {
    background: linear-gradient(135deg, #3b82f6, #4f46e5);
    color: #fff;
    box-shadow: 0 4px 14px rgba(79, 70, 229, .25);
}

.btn-pay.blue:hover {
    box-shadow: 0 6px 20px rgba(79, 70, 229, .35);
    transform: translateY(-1px);
}

.btn-pay.orange {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: #fff;
    box-shadow: 0 4px 14px rgba(239, 68, 68, .25);
}

.btn-pay.orange:hover {
    box-shadow: 0 6px 20px rgba(239, 68, 68, .35);
    transform: translateY(-1px);
}

.btn-pay.purple {
    background: linear-gradient(135deg, #a855f7, #7e22ce);
    color: #fff;
    box-shadow: 0 4px 14px rgba(168, 85, 247, .25);
}

.btn-pay.purple:hover {
    box-shadow: 0 6px 20px rgba(168, 85, 247, .35);
    transform: translateY(-1px);
}

.btn-pay.green {
    background: linear-gradient(135deg, #4f46e5, #1e293b);
    color: #fff;
    box-shadow: 0 4px 14px rgba(79, 70, 229, .15);
}

.btn-pay.green:hover {
    box-shadow: 0 6px 20px rgba(79, 70, 229, .25);
    transform: translateY(-1px);
}

.login-modal-bg {
    display: flex;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    z-index: 9000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 220ms cubic-bezier(0.23, 1, 0.32, 1), visibility 220ms;
}

.login-modal-bg.show {
    opacity: 1;
    visibility: visible;
}

.login-modal {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    max-width: 440px;
    width: 90%;
    box-shadow: 0 25px 60px rgba(0, 0, 0, .15);
    text-align: center;
    box-sizing: border-box;
    transform: scale(0.95);
    transition: transform 220ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.login-modal-bg.show .login-modal {
    transform: scale(1);
}

.login-modal h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #111827;
}

.login-modal p {
    font-size: 15px;
    color: #6b7280;
    margin-bottom: 28px;
    line-height: 1.5;
}

.modal-btns {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-btns a, .modal-btns button {
    display: block;
    padding: 14px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all .2s;
    width: 100%;
    box-sizing: border-box;
}

.modal-btn-login {
    background: linear-gradient(135deg, #3b82f6, #4f46e5);
    color: #fff;
    border: none;
}

.modal-btn-login:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, .2);
}

.modal-btn-register {
    border: 2px solid #e5e7eb;
    color: #111827;
    background: #fff;
}

.modal-btn-register:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

.modal-close {
    margin-top: 18px;
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 14px;
    cursor: pointer;
    font-weight: 500;
    transition: color .2s;
}

.modal-close:hover {
    color: #6b7280;
}

.form-input {
    width: 100%;
    padding: 14px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    margin-bottom: 18px;
    font-size: 15px;
    box-sizing: border-box;
    transition: border-color .2s, box-shadow .2s;
}

.form-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.company-select {
    width: 100%;
    padding: 14px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    margin-bottom: 18px;
    font-size: 15px;
    box-sizing: border-box;
    background-color: #fff;
}
