/* Основные стили страницы подписки */
.license-page {
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.license-header {
    text-align: center;
    padding: 60px 0 40px;
}

.license-header h1 {
    font-size: 36px;
    color: #303030;
    font-weight: 100;
    margin-bottom: 20px;
}

.license-header p {
    font-size: 18px;
    color: #637680;
    max-width: 600px;
    margin: 0 auto;
}

.section {
    margin-bottom: 60px;
}

.section-title {
    font-size: 28px;
    color: #303030;
    font-weight: 100;
    margin-bottom: 30px;
    text-align: center;
}

/* Блок "О программе" */
.about-program {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.about-program .d-flex {
    gap: 40px;
}

.about-program .mr-50 {
    margin-right: 0 !important;
}

.about-program .mb-30 {
    margin-bottom: 0 !important;
}

.about-program h3 {
    position: relative;
    padding-bottom: 15px;
}

.about-program h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    border-radius: 2px;
}

.about-program .color_blue::after {
    background: linear-gradient(90deg, #007bff, #0056b3);
}

.about-program .color_green::after {
    background: linear-gradient(90deg, #28a745, #1e7e34);
}

.about-program ul {
    list-style: none;
    padding: 0;
}

.about-program li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
}

.about-program li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    top: 0;
    color: #28a745;
    font-weight: bold;
    font-size: 16px;
}

/* Тарифы */
.tariffs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.tariff-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.tariff-card:hover {
    transform: translateY(-5px);
}

.tariff-card.best {
    border: 2px solid #4CAF50;
}

.tariff-card.best::before {
    content: "Лучшая цена";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #4CAF50;
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
}

.tariff-price {
    font-size: 48px;
    color: #303030;
    font-weight: bold;
    margin-bottom: 10px;
}

.tariff-period {
    font-size: 16px;
    color: #637680;
    margin-bottom: 10px;
}

.tariff-discount {
    background: #ff6b6b;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 10px;
    display: inline-block;
}

.tariff-monthly-price {
    font-size: 18px;
    margin-bottom: 20px;
    text-align: center;
}

.tariff-monthly-price .old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 16px;
    margin-right: 8px;
}

.tariff-monthly-price .new-price {
    color: #4CAF50;
    font-weight: bold;
    font-size: 20px;
}

.tariff-features {
    text-align: left;
    margin-bottom: 25px;
    min-height: 200px;
}

.tariff-feature {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
    color: #4b5862;
}

.tariff-feature i {
    margin-right: 10px;
    color: #4CAF50;
    font-size: 16px;
    flex-shrink: 0;
}

.tariff-card .adm__content-control-btn {
    margin-top: auto;
    align-self: center;
    width: 50% !important;
}

/* Способы оплаты */
.payment-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.payment-method {
    background: white;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.payment-method-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 15px;
    background: #f5f5f5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.payment-method-title {
    font-weight: bold;
    margin-bottom: 5px;
    color: #303030;
}

.payment-method-subtitle {
    font-size: 12px;
    color: #637680;
}

/* Пользовательские потоки */
.user-flow {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.flow-tabs {
    display: flex;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 30px;
}

.flow-tab {
    padding: 15px 30px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.flow-tab.active {
    border-bottom-color: #4CAF50;
    color: #4CAF50;
}

.flow-content {
    display: none;
}

.flow-content.active {
    display: block;
}

.flow-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.flow-step {
    text-align: center;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #4CAF50;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #303030;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-description {
    color: #637680;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.step-screenshot {
    width: 100%;
    height: 200px;
    background: #f5f5f5;
    border-radius: 8px;
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
    flex-shrink: 0;
}

.auth-options {
    text-align: center;
    padding: 40px 0;
}

.auth-button {
    display: inline-block;
    padding: 15px 40px;
    margin: 0 15px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.auth-button.primary {
    background: #4CAF50;
    color: white;
}

.auth-button.secondary {
    background: transparent;
    color: #4CAF50;
    border: 2px solid #4CAF50;
}

.auth-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Блок поддержки */
.contact-support {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.contact-support::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.contact-support h2 {
    font-size: 32px;
    font-weight: 100;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.contact-support p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.contact-method {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px 20px;
    min-width: 200px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
    display: block;
}

.contact-method:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.25);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    text-decoration: none;
    color: white;
}

.contact-method:visited {
    text-decoration: none;
    color: white;
}

.contact-method:active {
    text-decoration: none;
}

.contact-method-icon {
    font-size: 32px;
    margin-bottom: 15px;
    display: block;
}

.contact-method-title {
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 16px;
}

.contact-method-description {
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.4;
}

.contact-button {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    border: 2px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
    margin-top: 20px;
    position: relative;
    z-index: 2;
}

.contact-button:hover {
    background: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* Иконки */
.license-icon-check {
    color: #28a745;
    font-style: normal;
}

.license-icon-check::before {
    content: '\2713';
    font-weight: bold;
}

.license-icon-fire {
    color: #ff6b35;
    font-style: normal;
}

.license-icon-fire::before {
    content: '\1F525';
}

.license-icon-credit-card {
    color: #007bff;
    font-style: normal;
}

.license-icon-credit-card::before {
    content: '\1F4B3';
}

.license-icon-globe {
    color: #28a745;
    font-style: normal;
}

.license-icon-globe::before {
    content: '\1F30D';
}

.license-icon-money {
    color: #ffc107;
    font-style: normal;
}

.license-icon-money::before {
    content: '\1F4B0';
}

.license-icon-bank {
    color: #17a2b8;
    font-style: normal;
}

.license-icon-bank::before {
    content: '\1F3E6';
}

.license-icon-mobile {
    color: #6f42c1;
    font-style: normal;
}

.license-icon-mobile::before {
    content: '\1F4F1';
}

.license-icon-building {
    color: #6c757d;
    font-style: normal;
}

.license-icon-building::before {
    content: '\1F3E2';
}

.license-icon-phone {
    color: #28a745;
    font-style: normal;
}

.license-icon-phone::before {
    content: '\1F4DE';
}

.license-icon-chat {
    color: #17a2b8;
    font-style: normal;
}

.license-icon-chat::before {
    content: '\1F4AC';
}

/* Адаптивность */
@media only screen and (max-width: 768px) {
    .license-page {
        padding: 0 15px;
    }

    .about-program {
        padding: 25px 20px;
    }

    .about-program .d-flex {
        gap: 25px;
    }

    .tariffs-grid {
        grid-template-columns: 1fr;
    }

    .payment-methods {
        grid-template-columns: repeat(2, 1fr);
    }

    .flow-tabs {
        flex-direction: column;
    }

    .flow-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-support {
        padding: 30px 20px;
    }

    .contact-support h2 {
        font-size: 26px;
    }

    .contact-methods {
        gap: 20px;
    }

    .contact-method {
        min-width: 150px;
        padding: 20px 15px;
    }
}
