/* ===== HERO BANNER ===== */
.pricing-hero {
    background: linear-gradient(135deg, #0f766e 0%, #14b8a6 50%, #2dd4bf 100%);
    color: white;
    padding: 4rem 0;
    margin-bottom: 2rem;
    margin-top: 1rem;
    margin-left: 1rem;
    margin-right: 1rem;
    border-radius: 24px;
    position: relative;
    overflow: visible;
}

.pricing-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.pricing-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.pricing-hero-content {
    position: relative;
    z-index: 1;
}

.pricing-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white !important;
    animation: slideUp 0.6s ease-out;
}

.pricing-hero p {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto 1.5rem;
    color: white !important;
    animation: slideUp 0.6s ease-out 0.1s both;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    animation: slideUp 0.6s ease-out 0.2s both;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.3s;
}

.hero-badge:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

.hero-badge i {
    font-size: 1.1rem;
}

.hero-decoration {
    position: absolute;
    opacity: 0.15;
    font-size: 4rem;
    animation: pulse 3s ease-in-out infinite;
}

.hero-decoration.d1 { top: 20%; left: 5%; animation-delay: 0s; }
.hero-decoration.d2 { top: 60%; right: 8%; animation-delay: 1s; }
.hero-decoration.d3 { bottom: 15%; left: 15%; animation-delay: 2s; }

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== PRICING SECTIONS ===== */
.pricing-section {
    margin-bottom: 3rem;
}

.pricing-section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #0d9488;
    display: inline-block;
}

/* ===== PLAN CARDS ===== */
.plan-card {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    height: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: visible;
}

.plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -8px rgba(13, 148, 136, 0.25);
}

.plan-card.featured {
    border-color: #0d9488;
}

.plan-card.featured::before {
    content: "Популярный";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #0d9488, #14b8a6);
    color: white;
    padding: 0.35rem 1.25rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.plan-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.plan-description {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    min-height: 40px;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: #4b5563;
    border-bottom: 1px solid #f3f4f6;
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features li i {
    color: #0d9488;
    font-size: 1rem;
}

/* ===== PLAN CARD CALCULATOR ===== */
.plan-calculator {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.plan-type-select {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.875rem;
    color: #374151;
    background: white;
    margin-bottom: 0.75rem;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.plan-type-select:focus {
    outline: none;
    border-color: #0d9488;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.plan-price-display {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem;
    background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%);
    border-radius: 8px;
}

.plan-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.plan-price-label {
    color: #6b7280;
}

.plan-price-value {
    font-weight: 600;
    color: #0d9488;
}

.plan-price-total {
    margin-top: 0.25rem;
    padding-top: 0.5rem;
    border-top: 1px dashed #99f6e4;
}

.plan-price-total .plan-price-label {
    font-weight: 600;
    color: #374151;
}

.plan-price-total .plan-price-value {
    font-size: 1.1rem;
    color: #0f766e;
}

.plan-card.featured .plan-price-display {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.plan-card.featured .plan-price-total .plan-price-value {
    color: #b45309;
}

.plan-cta {
    margin-top: 1rem;
}

.plan-cta-btn {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.plan-cta-btn:hover {
    background: linear-gradient(135deg, #0f766e 0%, #0d9488 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}

.plan-card.featured .plan-cta-btn {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
}

.plan-card.featured .plan-cta-btn:hover {
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

/* ===== PRICE TABLE ===== */
.price-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

.price-table th,
.price-table td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
}

.price-table th {
    background: #f9fafb;
    font-weight: 600;
    color: #374151;
    font-size: 0.875rem;
}

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

.price-table tbody tr:hover {
    background: #f0fdfa;
}

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

.price-value {
    font-weight: 600;
    color: #0d9488;
}

/* ===== ACTION CARDS - ОДИНАКОВЫЕ РАЗМЕРЫ ===== */
.pricing-section .row.g-3 {
    display: flex;
    flex-wrap: wrap;
}

.pricing-section .row.g-3 > .col-md-6 {
    display: flex;
}

.action-card {
    background: white;
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s;
    border: 1px solid #e5e7eb;
    width: 100%;
    min-height: 100px;
}

.action-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transform: translateY(-2px);
    border-color: transparent;
}

.action-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}

.action-icon.orange {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.action-info {
    flex: 1;
    min-width: 0;
}

.action-name {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.action-desc {
    font-size: 0.85rem;
    color: #6b7280;
    min-height: 38px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.action-price {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0d9488;
    white-space: nowrap;
    min-width: 80px;
    text-align: right;
}

/* ===== SECTION NOTES ===== */
.section-note {
    background: linear-gradient(135deg, #f0fdfa, #ccfbf1);
    border-left: 4px solid #0d9488;
    padding: 1rem 1.25rem;
    border-radius: 0 12px 12px 0;
    font-size: 0.9rem;
    color: #0f766e;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-note.orange {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    border-left-color: #f59e0b;
    color: #b45309;
}

.section-note i {
    font-size: 1.2rem;
}

/* ===== COLLAPSIBLE ===== */
.collapsible-section {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    border: 1px solid #e5e7eb;
}

.collapsible-header {
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, #f9fafb, #f3f4f6);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s;
    user-select: none;
    border-radius: 16px;
}

.collapsible-section.open .collapsible-header {
    border-radius: 16px 16px 0 0;
}

.collapsible-header:hover {
    background: linear-gradient(135deg, #f0fdfa, #ccfbf1);
}

.collapsible-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.collapsible-header .toggle-icon {
    transition: transform 0.3s;
    color: #0d9488;
    font-size: 1.25rem;
}

.collapsible-section.open .collapsible-header .toggle-icon {
    transform: rotate(180deg);
}

.collapsible-content {
    display: none;
}

.collapsible-section.open .collapsible-content {
    display: block;
}

.collapsible-inner {
    padding: 1.5rem;
}

.collapsible-hint {
    font-size: 0.85rem;
    color: #6b7280;
    font-weight: normal;
    margin-left: 0.5rem;
}

/* ===== FAQ ===== */
.faq-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    overflow: hidden;
    border: 1px solid #e5e7eb;
    transition: all 0.3s;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.faq-question {
    padding: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.2s;
}

.faq-question:hover {
    background: #f9fafb;
}

.faq-question i {
    transition: transform 0.3s;
    color: #0d9488;
}

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

.faq-answer {
    padding: 0 1.25rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
    color: #4b5563;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    padding: 1rem 1.25rem 1.25rem;
    max-height: 500px;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, #0f766e 0%, #14b8a6 50%, #2dd4bf 100%);
    border-radius: 24px;
    padding: 4rem 3rem;
    text-align: center;
    color: white;
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    animation: float 5s ease-in-out infinite;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    animation: float 7s ease-in-out infinite reverse;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-icon {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    border: 2px solid rgba(255,255,255,0.3);
    animation: pulse 2s ease-in-out infinite;
}

.cta-section h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white !important;
}

.cta-section p {
    opacity: 0.95;
    margin-bottom: 2rem;
    font-size: 1.15rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    color: white !important;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    color: #0d9488;
    padding: 1rem 2.5rem;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    border: none;
    cursor: pointer;
}

.cta-btn:hover {
    text-decoration: none;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 35px rgba(0,0,0,0.3);
    color: #0f766e;
}

.cta-btn i {
    font-size: 1.3rem;
    transition: transform 0.3s;
}

.cta-btn:hover i {
    transform: rotate(90deg);
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

.cta-feature i {
    font-size: 1.1rem;
}

/* ===== DESIGNER ALERT ===== */
.designer-alert {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    z-index: 10000;
    max-width: 400px;
    text-align: center;
}

.designer-alert.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

.designer-alert-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
}

.designer-alert-overlay.show {
    display: block;
}

.designer-alert-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
}

.designer-alert h3 {
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.designer-alert p {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.designer-alert-btn {
    background: linear-gradient(135deg, #0d9488, #14b8a6);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.designer-alert-btn:hover {
    background: linear-gradient(135deg, #0f766e, #0d9488);
    transform: translateY(-2px);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, -50%) scale(0.9); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* Fix for custom select wrapper */
.plan-calculator .cs-wrapper {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 1rem;
}

.plan-calculator .cs-wrapper .cs-trigger {
    width: 100% !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .pricing-hero {
        padding: 3rem 0;
    }

    .pricing-hero h1 {
        font-size: 2rem;
    }

    .pricing-hero p {
        font-size: 1rem;
    }

    .hero-badges {
        gap: 0.5rem;
    }

    .hero-badge {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .hero-decoration {
        display: none;
    }

    .price-table {
        display: block;
        overflow-x: auto;
    }

    .cta-section {
        padding: 3rem 1.5rem;
        border-radius: 20px;
    }

    .cta-section h2 {
        font-size: 1.75rem;
    }

    .cta-features {
        gap: 1rem;
    }
    
    .action-card {
        min-height: auto;
    }
}

/* ВСЕ КАРТОЧКИ ОДИНАКОВОГО РАЗМЕРА */
.pricing-section .row.g-3 {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 1rem !important;
}

.pricing-section .row.g-3 > .col-md-6 {
    max-width: 100% !important;
    width: 100% !important;
    flex: none !important;
}
