/* ===== PRICING PAGE ===== */
.pricing-page {
    padding-top: 120px;
}

/* Hero */
.pricing-hero {
    padding: 60px 0 80px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.section-tag {
    font: 600 12px/1 var(--font-sans);
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 12px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: inline-block;
    margin-bottom: 16px;
    border: 1px solid var(--border-color);
    /* <-- ИСПРАВЛЕНО: было rgba(56, 224, 208, 0.2) */
}

.pricing-hero h1 {
    font: 600 clamp(36px, 5vw, 56px) / 1.1 var(--font-sans);
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.pricing-hero__text {
    font: 400 18px / 1.7 var(--font-sans);
    color: var(--text-secondary);
}

/* Sections Base */
.pricing-section,
.pricing-cta {
    padding: 100px 0;
    width: 100%;
}

.section-title {
    font: 500 clamp(28px, 4vw, 40px) / 1.2 var(--font-sans);
    letter-spacing: -0.02em;
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-2) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ===== COMPARISON TABLE (Premium Style) ===== */
.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 600px;
}

.comparison-table th,
.comparison-table td {
    padding: 20px 24px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    font: 600 15px / 1.4 var(--font-sans);
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.comparison-table td {
    font: 400 15px / 1.5 var(--font-sans);
    color: var(--text-secondary);
}

.comparison-table td:first-child,
.comparison-table th:first-child {
    font-weight: 600;
    color: var(--text-primary);
}

/* Highlight IronStack Column */
.col-ironstack {
    color: var(--text-primary);
    font-weight: 600;
    background: rgba(124, 140, 255, 0.05);
    border-left: 1px solid rgba(124, 140, 255, 0.2);
    border-right: 1px solid rgba(124, 140, 255, 0.2);
}

.comparison-table th.col-ironstack {
    color: var(--accent-2);
    background: rgba(124, 140, 255, 0.1);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

/* ===== UNIFIED FEATURE CARDS (Reasons & Value) ===== */
.reasons-grid,
.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.value-grid {
    grid-template-columns: repeat(2, 1fr);
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-main);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.feature-card:hover::after {
    width: 100%;
}

.feature-card__icon {
    font-size: 28px;
    margin-bottom: 16px;
    display: block;
}

.feature-card h3 {
    font: 600 18px / 1.3 var(--font-sans);
    color: var(--text-primary);
    margin-bottom: 12px;
}

.feature-card p {
    font: 400 15px / 1.6 var(--font-sans);
    color: var(--text-secondary);
    margin: 0;
}

/* ===== PRINCIPLES GRID ===== */
.principles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.principle-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.principle-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-main);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.principle-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(124, 140, 255, 0.3);
    transform: translateY(-4px);
}

.principle-card:hover::after {
    width: 100%;
}

.principle-card h3 {
    font: 600 18px / 1.3 var(--font-sans);
    color: var(--accent-2);
    margin-bottom: 12px;
}

.principle-card p {
    font: 400 15px / 1.7 var(--font-sans);
    color: var(--text-secondary);
    margin: 0;
}

/* ===== PROCESS TIMELINE ===== */
.process-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 32px;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--border-color);
}

.process-step {
    position: relative;
    margin-bottom: 40px;
    padding: 20px 24px;
    border-radius: var(--radius-md);
    transition: background 0.3s ease;
    cursor: default;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-step:hover {
    background: rgba(255, 255, 255, 0.03);
}

.process-step__dot {
    position: absolute;
    left: -32px;
    top: 24px;
    width: 16px;
    height: 16px;
    background: var(--bg-base);
    border: 2px solid var(--accent-2);
    border-radius: 50%;
    z-index: 2;
    transition: all 0.3s ease;
}

.process-step:hover .process-step__dot {
    background: var(--accent-2);
    box-shadow: 0 0 0 4px rgba(124, 140, 255, 0.2);
    transform: scale(1.2);
}

.process-step__content h3 {
    font: 600 20px / 1.3 var(--font-sans);
    color: var(--text-primary);
    margin-bottom: 8px;
    position: relative;
    display: inline-block;
}

.process-step__content h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-main);
    transition: width 0.3s ease;
}

.process-step:hover .process-step__content h3::after {
    width: 100%;
}

.process-step__content p {
    font: 400 16px / 1.6 var(--font-sans);
    color: var(--text-secondary);
    margin: 0;
}

/* ===== FINAL CTA ===== */
.pricing-cta {
    text-align: center;
    padding: 100px 0;
}

.pricing-cta h2 {
    font: 500 clamp(28px, 4vw, 40px) / 1.2 var(--font-sans);
    margin-bottom: 16px;
    color: var(--text-primary);
}

.pricing-cta p {
    font: 400 18px / 1.6 var(--font-sans);
    color: var(--text-secondary);
    max-width: 60ch;
    margin: 0 auto 32px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {

    .reasons-grid,
    .value-grid,
    .principles-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {

    .pricing-section,
    .pricing-cta {
        padding: 60px 0;
    }

    .process-timeline {
        padding-left: 24px;
    }

    .process-step {
        padding: 16px;
    }

    .process-step__dot {
        left: -24px;
        width: 12px;
        height: 12px;
    }

    .process-timeline::before {
        left: 5px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 16px;
        font-size: 14px;
    }
}

/* ===== ВЫДЕЛЕНИЕ БЛОКОВ (как на других страницах) ===== */
.feature-card--highlight {
    border-color: rgba(124, 140, 255, 0.3);
    background: rgba(124, 140, 255, 0.03);
}

.feature-card--highlight:hover {
    border-color: rgba(124, 140, 255, 0.5);
}

.principle-card--highlight {
    border-color: rgba(124, 140, 255, 0.3);
    background: rgba(124, 140, 255, 0.03);
}

.principle-card--highlight:hover {
    border-color: rgba(124, 140, 255, 0.5);
}