/*
Файл: static/css/landing.css
Назначение: Стили для публичного лендинга prixcut
TASK-10-62: Приведение сайта в соответствие требованиям ЮKassa

Секции:
- Hero Section
- Features Section
- Pricing Preview
- CTA Section
- Footer
*/

/* =============================================
   Base Styles
   ============================================= */

.landing-page {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    min-height: 100vh;
    color: #fff;
    line-height: 1.6;
}

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

/* =============================================
   Navigation
   ============================================= */

.landing-nav {
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.landing-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.landing-logo {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.landing-logo:hover {
    color: #3b82f6;
}

.landing-nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.landing-nav-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s ease;
}

.landing-nav-links a:hover {
    color: #fff;
}

.nav-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white !important;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.nav-btn:hover {
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    transform: translateY(-1px);
}

/* Mobile nav */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .landing-nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(26, 26, 46, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .landing-nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }
}

/* =============================================
   Hero Section
   ============================================= */

.hero-section {
    padding: 100px 0 100px;
    text-align: center;
    background: 
        radial-gradient(ellipse at top, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    color: #60a5fa;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    margin: 0 0 20px 0;
    line-height: 1.2;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 22px;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.hero-highlight {
    color: #60a5fa;
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.btn-primary:hover {
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
}

.stat-label {
    font-size: 14px;
    color: #64748b;
    margin-top: 4px;
}

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

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }
}

/* =============================================
   Features Section
   ============================================= */

.features-section {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.02);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    margin: 0 0 16px 0;
}

.section-subtitle {
    font-size: 18px;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    margin: 0 0 12px 0;
    font-weight: 600;
}

.feature-card p {
    color: #94a3b8;
    font-size: 15px;
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .features-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 32px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* =============================================
   Pricing Preview Section
   ============================================= */

.pricing-section {
    padding: 100px 0;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.pricing-card.featured {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    border-color: rgba(59, 130, 246, 0.4);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-card h3 {
    font-size: 22px;
    margin: 0 0 8px 0;
}

.pricing-price {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 8px;
}

.pricing-price span {
    font-size: 16px;
    font-weight: 400;
    color: #64748b;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: #e2e8f0;
    font-size: 14px;
}

.pricing-features .check {
    color: #22c55e;
}

.pricing-btn {
    display: block;
    width: 100%;
    padding: 14px;
    text-align: center;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pricing-btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.pricing-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.pricing-link {
    text-align: center;
}

.pricing-link a {
    color: #3b82f6;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pricing-link a:hover {
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .pricing-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .pricing-card.featured {
        order: -1;
    }
}

@media (max-width: 640px) {
    .pricing-section {
        padding: 60px 0;
    }
}

/* =============================================
   CTA Section
   ============================================= */

.cta-section {
    padding: 100px 0;
    text-align: center;
}

.cta-box {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 24px;
    padding: 60px 40px;
}

.cta-title {
    font-size: 36px;
    margin: 0 0 16px 0;
}

.cta-subtitle {
    font-size: 18px;
    color: #94a3b8;
    margin: 0 0 32px 0;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 32px;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e2e8f0;
    font-size: 15px;
}

.cta-feature .icon {
    color: #22c55e;
}

@media (max-width: 768px) {
    .cta-section {
        padding: 60px 0;
    }

    .cta-box {
        padding: 40px 24px;
    }

    .cta-title {
        font-size: 28px;
    }

    .cta-features {
        flex-direction: column;
        gap: 16px;
    }
}

/* =============================================
   Use-Cases Section
   ============================================= */

.usecases-section {
    padding: 100px 0;
}

.usecases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.usecase-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.usecase-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-3px);
}

.usecase-role {
    display: inline-block;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    color: #60a5fa;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.usecase-card h3 {
    font-size: 18px;
    margin: 0 0 12px 0;
    font-weight: 600;
    line-height: 1.3;
}

.usecase-card p {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 16px 0;
}

.usecase-result {
    font-size: 14px;
    font-weight: 600;
    color: #22c55e;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.usecases-note {
    text-align: center;
    font-size: 13px;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .usecases-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 32px;
    }
}

@media (max-width: 640px) {
    .usecases-section {
        padding: 60px 0;
    }
}

/* =============================================
   E-E-A-T Section
   ============================================= */

.eeat-section {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.02);
}

.eeat-content {
    max-width: 760px;
    margin: 0 auto;
}

.eeat-content p {
    font-size: 15px;
    line-height: 1.8;
    color: #94a3b8;
    margin: 0 0 20px 0;
}

.eeat-content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 640px) {
    .eeat-section {
        padding: 48px 0;
    }

    .eeat-content p {
        font-size: 14px;
    }
}

/* =============================================
   How It Works Section
   ============================================= */

.how-section {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.02);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.step-card {
    text-align: center;
    position: relative;
}

.step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    margin: 0 auto 20px;
}

.step-card h3 {
    font-size: 18px;
    margin: 0 0 12px 0;
}

.step-card p {
    color: #94a3b8;
    font-size: 14px;
    margin: 0;
}

/* Arrow between steps */
.step-card:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -20px;
    top: 24px;
    color: #64748b;
    font-size: 20px;
}

@media (max-width: 1024px) {
    .steps-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .step-card::after {
        display: none;
    }
}

@media (max-width: 640px) {
    .how-section {
        padding: 60px 0;
    }

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

/* =============================================
   Animations
   ============================================= */

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

.hero-section > * {
    animation: fadeInUp 0.6s ease-out forwards;
}

.hero-title {
    animation-delay: 0.1s;
}

.hero-subtitle {
    animation-delay: 0.2s;
}

.hero-buttons {
    animation-delay: 0.3s;
}

/* =============================================
   Print Styles
   ============================================= */

@media print {
    .landing-nav,
    .hero-buttons,
    .cta-section {
        display: none;
    }

    .landing-page {
        background: white;
        color: #000;
    }
}
