/* Tariffs Page Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Montserrat', 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

body {
    color: #333;
    line-height: 1.5;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Hero */
.tariffs-hero {
    background-color: #3D6C9D;
    color: white;
    padding:20px 0 40px 0;
    text-align: center;
}

.tariffs-hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.tariffs-hero-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.tariffs-hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* Sections */
.tariffs-section {
    padding: 60px 0;
}

.tariffs-section-white {
    background-color: #fff;
}

.tariffs-section-gray {
    background-color: #f5f5f5;
}

.tariffs-section-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

/* Duration Selector */
.tariffs-duration-selector {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 40px;
    background-color: #fff;
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.tariffs-duration-selector input[type="radio"] {
    display: none;
}

.tariffs-dur-label {
    flex: 1;
    text-align: center;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    color: #555;
    transition: all 0.2s;
    user-select: none;
}

.tariffs-dur-label:hover {
    background-color: #f0f4f8;
    color: #333;
}

.tariffs-duration-selector input[type="radio"]:checked + .tariffs-dur-label {
    background-color: #3D6C9D;
    color: white;
    box-shadow: 0 2px 8px rgba(61, 108, 157, 0.3);
}

.tariffs-dur-badge {
    display: inline-block;
    background-color: #F67C24;
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 6px;
    margin-left: 4px;
    vertical-align: middle;
}

.tariffs-duration-selector input[type="radio"]:checked + .tariffs-dur-label .tariffs-dur-badge {
    background-color: rgba(255, 255, 255, 0.9);
    color: #3D6C9D;
}

/* Cards Grid */
.tariffs-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

/* Card Base */
.tariffs-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.tariffs-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.tariffs-card-header {
    padding: 28px 24px 20px;
    text-align: center;
}

.tariffs-card-free .tariffs-card-header {
    background-color: #f8f9fa;
}

.tariffs-card-base .tariffs-card-header {
    background: linear-gradient(135deg, #3D6C9D 0%, #2c5a8c 100%);
    color: white;
    border-radius: 12px 12px 0 0;
}

.tariffs-card-pro .tariffs-card-header {
    background: linear-gradient(135deg, #F67C24 0%, #e06d16 100%);
    color: white;
}

.tariffs-card-base {
    position: relative;
    overflow: visible;
}

.tariffs-card-popular {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-block;
    background: #F67C24;
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 1;
    white-space: nowrap;
}

.tariffs-card-name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.tariffs-card-free .tariffs-card-name {
    color: #333;
}

.tariffs-card-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    margin-bottom: 4px;
}

.tariffs-card-amount {
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
}

.tariffs-card-free .tariffs-card-amount {
    color: #333;
}

.tariffs-card-currency {
    font-size: 22px;
    font-weight: 600;
    opacity: 0.8;
}

.tariffs-card-period {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 4px;
}

.tariffs-card-monthly {
    font-size: 13px;
    opacity: 0.7;
}

/* Features */
.tariffs-card-features {
    padding: 20px 24px;
    flex: 1;
}

.tariffs-card-feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    border-bottom: 1px solid #f0f0f0;
}

.tariffs-card-feature:last-child {
    border-bottom: none;
}

.tariffs-card-feature strong {
    color: #333;
}

.tariffs-feature-icon {
    color: #10b981;
    font-size: 14px;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Footer / Button */
.tariffs-card-footer {
    padding: 0 24px 28px;
    text-align: center;
}

.tariffs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    border: none;
    width: 100%;
}

.tariffs-btn-primary {
    background-color: #3D6C9D;
    color: white;
}

.tariffs-btn-primary:hover {
    background-color: #2c5a8c;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(61, 108, 157, 0.3);
}

.tariffs-btn-pro {
    background-color: #F67C24;
    color: white;
}

.tariffs-btn-pro:hover {
    background-color: #e06d16;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(246, 124, 36, 0.3);
}

.tariffs-btn-outline {
    background-color: transparent;
    color: #3D6C9D;
    border: 2px solid #3D6C9D;
}

.tariffs-btn-outline:hover {
    background-color: #f0f7ff;
    transform: translateY(-1px);
}

/* FAQ */
.tariffs-faq {
    max-width: 700px;
    margin: 0 auto;
}

.tariffs-faq-item {
    background-color: #f5f5f5;
    border-radius: 8px;
    margin-bottom: 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.tariffs-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    color: #333;
    transition: background-color 0.2s;
    user-select: none;
}

.tariffs-faq-question:hover {
    background-color: #eee;
}

.tariffs-faq-question i {
    font-size: 14px;
    color: #999;
    transition: transform 0.2s;
    flex-shrink: 0;
    margin-left: 12px;
}

.tariffs-faq-item.active .tariffs-faq-question i {
    transform: rotate(180deg);
}

.tariffs-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 22px;
}

.tariffs-faq-item.active .tariffs-faq-answer {
    max-height: 400px;
    padding: 8px 22px 18px;
}

.tariffs-faq-answer p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 10px;
}

.tariffs-faq-answer p:last-child {
    margin-bottom: 0;
}

.tariffs-faq-answer a {
    color: #2688eb;
    text-decoration: none;
}

.tariffs-faq-answer a:hover {
    text-decoration: underline;
}

/* Agreement text */
.tariffs-agreement-text {
    text-align: center;
    font-size: 12px;
    color: #888;
    margin-top: 16px;
    line-height: 1.5;
}
.tariffs-agreement-text a {
    color: #2688eb;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 992px) {
    .tariffs-hero-title {
        font-size: 32px;
    }

    .tariffs-cards {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .tariffs-hero {
        padding: 40px 0;
    }

    .tariffs-hero-title {
        font-size: 26px;
    }

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

    .tariffs-section {
        padding: 40px 0;
    }

    .tariffs-section-title {
        font-size: 22px;
    }

    .tariffs-card-amount {
        font-size: 34px;
    }

    .tariffs-duration-selector {
        max-width: 100%;
    }

    .tariffs-dur-label {
        padding: 10px 12px;
        font-size: 13px;
    }

}

@media (max-width: 480px) {
    .tariffs-duration-selector {
        flex-direction: column;
        gap: 4px;
    }
}
