/* ========== Mobile Apps Page — Минималистичный дизайн ========== */

/* ===== Hero ===== */
.ma-hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    background: #060b18;
    padding: 8rem 0 4rem;
    overflow: hidden;
}

.ma-hero-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.ma-hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin-bottom: 4rem;
}

.ma-badge {
    display: inline-block;
    padding: 0.4rem 1.25rem;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.25);
    border-radius: 100px;
    color: #a78bfa;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.ma-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.12;
    letter-spacing: -1.5px;
    margin-bottom: 1.25rem;
}

.ma-gradient {
    background: linear-gradient(135deg, #a78bfa, #7c3aed, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ma-hero-desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 300;
    line-height: 1.7;
    max-width: 540px;
    margin-bottom: 2.5rem;
}

.ma-hero-actions {
    display: flex;
    gap: 0.75rem;
}

/* Кнопки */
.ma-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: #7c3aed;
    color: #fff;
    text-decoration: none;
    border-radius: 0.625rem;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
}

.ma-btn-primary:hover {
    background: #6d28d9;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.35);
}

.ma-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: transparent;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    border-radius: 0.625rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.12);
    cursor: pointer;
}

.ma-btn-ghost:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
}

.ma-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.875rem 2rem;
    background: transparent;
    color: #1a1a2e;
    text-decoration: none;
    border-radius: 0.625rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    border: 1px solid rgba(0, 0, 0, 0.12);
    cursor: pointer;
}

.ma-btn-outline:hover {
    background: #f8f8fc;
    border-color: #7c3aed;
    color: #7c3aed;
    transform: translateY(-2px);
}

.ma-btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

/* Stats */
.ma-hero-stats {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 2.5rem;
    padding: 2rem 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1rem;
    max-width: 600px;
}

.ma-stat {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.ma-stat-num {
    font-size: 2.25rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -1px;
    line-height: 1;
}

.ma-stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.ma-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
}

/* ===== Общие секции ===== */
.ma-section-head {
    text-align: center;
    margin-bottom: 3.5rem;
}

.ma-section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a2e;
    letter-spacing: -0.75px;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.ma-section-desc {
    font-size: 1.1rem;
    color: #6b7280;
    font-weight: 400;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Тёмные секции */
.ma-process .ma-section-title,
.ma-cta .ma-section-title {
    color: #fff;
}

.ma-process .ma-section-desc {
    color: rgba(255, 255, 255, 0.45);
}

/* ===== Типы приложений ===== */
.ma-types {
    padding: 6rem 0;
    background: #fff;
}

.ma-types-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.ma-type-card {
    position: relative;
    padding: 2rem;
    background: #fafafe;
    border: 1px solid #f0f0f5;
    border-radius: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.ma-type-card:hover {
    transform: translateY(-6px);
    border-color: rgba(124, 58, 237, 0.2);
    box-shadow: 0 12px 40px rgba(124, 58, 237, 0.08);
}

.ma-type-featured {
    border-color: rgba(124, 58, 237, 0.2);
    background: linear-gradient(180deg, rgba(124, 58, 237, 0.03) 0%, #fafafe 100%);
}

.ma-type-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    background: #7c3aed;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 100px;
}

.ma-type-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(124, 58, 237, 0.06);
    border-radius: 0.75rem;
    color: #7c3aed;
    margin-bottom: 1.25rem;
}

.ma-type-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
}

.ma-type-desc {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.ma-type-tags {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.ma-type-tags li {
    padding: 0.25rem 0.65rem;
    background: rgba(124, 58, 237, 0.06);
    color: #6d28d9;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 100px;
    letter-spacing: 0.3px;
}

.ma-type-meta {
    padding-top: 1rem;
    border-top: 1px solid #f0f0f5;
    font-size: 0.8rem;
    color: #9ca3af;
    font-weight: 500;
}

/* ===== Процесс ===== */
.ma-process {
    padding: 6rem 0;
    background: #0a0f1e;
}

.ma-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    max-width: 960px;
    margin: 0 auto;
}

.ma-step {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.ma-step:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(124, 58, 237, 0.2);
    transform: translateY(-4px);
}

.ma-step-num {
    font-size: 2rem;
    font-weight: 800;
    color: rgba(124, 58, 237, 0.3);
    line-height: 1;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.ma-step-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.ma-step-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.ma-step-tag {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    background: rgba(124, 58, 237, 0.1);
    color: #a78bfa;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 100px;
    letter-spacing: 0.3px;
}

/* ===== Pricing ===== */
.ma-pricing {
    padding: 6rem 0;
    background: #fff;
}

.ma-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    max-width: 960px;
    margin: 0 auto 3rem;
}

.ma-price-card {
    position: relative;
    padding: 2.5rem 2rem;
    background: #fafafe;
    border: 1px solid #f0f0f5;
    border-radius: 1.25rem;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.ma-price-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.ma-price-featured {
    border-color: #7c3aed;
    background: #fff;
    box-shadow: 0 4px 30px rgba(124, 58, 237, 0.1);
}

.ma-price-featured:hover {
    box-shadow: 0 16px 50px rgba(124, 58, 237, 0.15);
}

.ma-price-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.35rem 1.25rem;
    background: #7c3aed;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 100px;
    white-space: nowrap;
}

.ma-price-head {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #f0f0f5;
}

.ma-price-head h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ma-price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a2e;
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.ma-price-amount small {
    font-size: 0.875rem;
    font-weight: 400;
    color: #9ca3af;
    letter-spacing: 0;
}

.ma-price-amount span {
    font-size: 1rem;
    font-weight: 400;
    color: #9ca3af;
}

.ma-price-featured .ma-price-amount {
    color: #7c3aed;
}

.ma-price-note {
    font-size: 0.8rem;
    color: #9ca3af;
    font-weight: 500;
}

.ma-price-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    flex-grow: 1;
}

.ma-price-features li {
    padding: 0.6rem 0;
    font-size: 0.875rem;
    color: #4b5563;
    border-bottom: 1px solid #f8f8fc;
    padding-left: 1.5rem;
    position: relative;
}

.ma-price-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #7c3aed;
    border-radius: 50%;
    opacity: 0.4;
}

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

/* Featured card кнопка */
.ma-price-featured .ma-btn-primary {
    width: 100%;
    justify-content: center;
}

/* Pricing notes */
.ma-pricing-notes {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.ma-note-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #6b7280;
}

.ma-note-item svg {
    color: #7c3aed;
    flex-shrink: 0;
}

/* ===== Technologies ===== */
.ma-tech {
    padding: 6rem 0;
    background: #fafafe;
}

.ma-tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.ma-tech-group {
    padding: 2rem;
    background: #fff;
    border: 1px solid #f0f0f5;
    border-radius: 1rem;
}

.ma-tech-group h3 {
    font-size: 0.8rem;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.ma-tech-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.ma-tech-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #fafafe;
    border: 1px solid #f0f0f5;
    border-radius: 0.5rem;
    transition: all 0.25s ease;
}

.ma-tech-item:hover {
    border-color: rgba(124, 58, 237, 0.2);
    transform: translateY(-2px);
}

.ma-tech-item img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.ma-tech-item span {
    font-size: 0.8rem;
    font-weight: 600;
    color: #4b5563;
}

/* ===== CTA ===== */
.ma-cta {
    padding: 6rem 0;
    background: #0a0f1e;
    position: relative;
    overflow: hidden;
}

.ma-cta::before {
    content: '';
    position: absolute;
    bottom: -300px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.ma-cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.ma-cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -1px;
    margin-bottom: 1rem;
    line-height: 1.15;
}

.ma-cta-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 300;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.ma-cta-perks {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.ma-cta-perk {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.ma-cta-perk svg {
    color: #a78bfa;
    flex-shrink: 0;
}

.ma-cta-actions {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

/* ===== Responsive ===== */

@media (max-width: 1024px) {
    .ma-hero-title {
        font-size: 2.75rem;
    }

    .ma-types-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ma-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .ma-pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ma-pricing-grid .ma-price-card:last-child {
        grid-column: 1 / -1;
        max-width: 400px;
        margin: 0 auto;
    }

    .ma-tech-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .ma-hero {
        min-height: auto;
        padding: 7rem 0 3rem;
    }

    .ma-hero-title {
        font-size: 2.25rem;
    }

    .ma-hero-desc {
        font-size: 1rem;
    }

    .ma-hero-actions {
        flex-direction: column;
    }

    .ma-hero-stats {
        flex-direction: column;
        gap: 1.25rem;
        padding: 1.5rem;
        align-items: flex-start;
    }

    .ma-stat-divider {
        width: 100%;
        height: 1px;
    }

    .ma-stat {
        flex-direction: row;
        align-items: baseline;
        gap: 0.75rem;
    }

    .ma-section-title {
        font-size: 2rem;
    }

    .ma-types-grid {
        grid-template-columns: 1fr;
    }

    .ma-steps {
        grid-template-columns: 1fr;
    }

    .ma-pricing-grid {
        grid-template-columns: 1fr;
    }

    .ma-pricing-grid .ma-price-card:last-child {
        max-width: 100%;
    }

    .ma-pricing-notes {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .ma-cta-title {
        font-size: 2rem;
    }

    .ma-cta-perks {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .ma-cta-actions {
        flex-direction: column;
    }

    .ma-btn-lg {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .ma-hero-title {
        font-size: 1.85rem;
        letter-spacing: -0.5px;
    }

    .ma-type-card {
        padding: 1.5rem;
    }

    .ma-step {
        padding: 1.5rem;
    }

    .ma-price-card {
        padding: 2rem 1.5rem;
    }
}
