/* ====================================
   СОВРЕМЕННЫЙ ЛЕНДИНГ MARKAPP 2025
   ==================================== */

/* === ПЕРЕМЕННЫЕ === */
:root {
    /* Основные цвета */
    --primary: #FF6B35;
    --primary-dark: #E85525;
    --primary-light: #FF8555;
    
    /* Дополнительные цвета */
    --secondary: #4ECDC4;
    --accent-1: #95E1D3;
    --accent-2: #F38181;
    --accent-3: #AA96DA;
    --accent-4: #FCBAD3;
    
    /* Нейтральные цвета */
    --dark: #1A1A2E;
    --gray-900: #2D2D44;
    --gray-800: #3F3F5C;
    --gray-700: #52527A;
    --gray-600: #7676A2;
    --gray-500: #9A9ACA;
    --gray-400: #B8B8D8;
    --gray-300: #D6D6E8;
    --gray-200: #ECECF5;
    --gray-100: #F7F7FC;
    --white: #FFFFFF;
    
    /* Градиенты */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --gradient-soft: linear-gradient(135deg, var(--gray-100) 0%, var(--white) 100%);
    --gradient-hero: linear-gradient(180deg, rgba(255, 107, 53, 0.05) 0%, rgba(255, 107, 53, 0) 100%);
    
    /* Тени */
    --shadow-sm: 0 2px 8px rgba(26, 26, 46, 0.04);
    --shadow-md: 0 4px 16px rgba(26, 26, 46, 0.08);
    --shadow-lg: 0 8px 32px rgba(26, 26, 46, 0.12);
    --shadow-xl: 0 16px 48px rgba(26, 26, 46, 0.16);
    
    /* Шрифты */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Размеры */
    --container-width: 1200px;
    --border-radius: 16px;
    --border-radius-sm: 12px;
    --border-radius-lg: 24px;
    
    /* Анимации */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
}

/* === БАЗОВЫЕ СТИЛИ === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-family);
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
}

/* === ТИПОГРАФИЯ === */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

/* === КНОПКИ === */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: var(--gray-100);
    color: var(--dark);
}

.btn-secondary:hover {
    background: var(--gray-200);
}

.btn-large {
    padding: 18px 36px;
    font-size: 18px;
}

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

/* === НАВИГАЦИЯ === */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
}

.logo-image {
    height: 43px;
    width: auto;
    display: block;
    object-fit: contain;
}

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

.nav-links a {
    font-weight: 500;
    color: var(--gray-700);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a.active {
    color: var(--primary);
    font-weight: 600;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition-fast);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* === HERO СЕКЦИЯ === */
.hero {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-text {
    max-width: 600px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--gray-100);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 24px;
}

.badge-icon {
    font-size: 18px;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 20px;
    line-height: 1.6;
    color: var(--gray-700);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 64px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.stat {
    text-align: left;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: var(--gray-600);
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

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

.phone-frame {
    position: relative;
    width: 300px;
    height: 600px;
    background: #1C1C1E;
    border-radius: 48px;
    padding: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
                0 0 0 12px #2C2C2E,
                0 0 0 14px #3C3C3E;
    overflow: hidden;
}

.phone-notch {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 30px;
    background: #1C1C1E;
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 40px;
    object-fit: cover;
    object-position: center calc(50% - 20px);
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--white);
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-lg);
    animation: float-card 4s ease-in-out infinite;
}

.card-1 {
    top: 20%;
    left: -80px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 20%;
    right: -80px;
    animation-delay: 2s;
}

@keyframes float-card {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.card-icon {
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon-image {
    width: 28px;
    height: 28px;
}

.card-title {
    font-weight: 600;
    font-size: 14px;
    color: var(--dark);
}

.card-subtitle {
    font-size: 12px;
    color: var(--gray-600);
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: var(--gradient-hero);
    z-index: -1;
}

/* === СЕКЦИИ === */
section {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.section-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--gray-100);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-description {
    font-size: 18px;
    color: var(--gray-700);
}

/* === FEATURES === */
.features {
    background: var(--gray-100);
}

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

.feature-card {
    padding: 40px;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    margin-bottom: 24px;
}

.feature-title {
    font-size: 24px;
    margin-bottom: 12px;
}

.feature-description {
    color: var(--gray-700);
    margin-bottom: 24px;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 8px 0;
    color: var(--gray-700);
    font-size: 15px;
}

.feature-list li:before {
    content: "→ ";
    color: var(--primary);
    font-weight: 700;
    margin-right: 8px;
}

/* === HOW IT WORKS === */
.how-it-works {
    background: var(--white);
}

.steps {
    display: grid;
    gap: 48px;
    margin-bottom: 80px;
}

.step {
    display: grid;
    grid-template-columns: 80px 1fr 120px;
    gap: 32px;
    align-items: center;
    padding: 40px;
    background: var(--gray-100);
    border-radius: var(--border-radius-lg);
    position: relative;
}

.step:not(:last-child):after {
    content: '';
    position: absolute;
    bottom: -48px;
    left: 40px;
    width: 2px;
    height: 48px;
    background: linear-gradient(180deg, var(--primary), transparent);
}

.step-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.3;
}

.step-content h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.step-content p {
    color: var(--gray-700);
    line-height: 1.7;
}

.step-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.step-icon {
    font-size: 64px;
}


/* === SCREENSHOTS === */
.screenshots {
    background: var(--dark);
    color: var(--white);
}

.screenshots .section-title {
    color: var(--white);
}

.screenshots .section-description {
    color: var(--gray-400);
}

.screenshots-carousel {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

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

.phone-mockup-small {
    width: 100%;
    aspect-ratio: 9/19.5;
    background: #1C1C1E;
    border-radius: 32px;
    padding: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    margin-bottom: 16px;
}

.phone-mockup-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 26px;
}

.screenshot-label {
    font-size: 14px;
    color: var(--gray-400);
}

/* === PRICING === */
.pricing {
    background: var(--gray-100);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 40px;
    align-items: stretch;
}

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

.pricing-card {
    position: relative;
    padding: 28px 24px;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    width: 100%;
    min-width: 0;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.pricing-featured {
    border: 3px solid var(--primary);
    padding-top: 48px;
    box-shadow: 0 8px 32px rgba(255, 107, 53, 0.25);
}

.pricing-featured:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(255, 107, 53, 0.35);
}

.pricing-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 28px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 100px;
    font-size: 15px;
    font-weight: 600;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.35);
    line-height: 1.2;
}

.pricing-header {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--gray-200);
}

.pricing-title {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 700;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    white-space: nowrap;
}

.price-currency {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-600);
}

.price-amount {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.price-period {
    font-size: 14px;
    color: var(--gray-600);
}

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

.pricing-features li {
    padding: 6px 0;
    font-size: 14px;
    color: var(--gray-700);
    line-height: 1.4;
}

.pricing-note {
    text-align: center;
    color: var(--gray-600);
    font-size: 14px;
}

/* === FAQ === */
.faq {
    background: var(--white);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 64px;
}

.faq-item {
    padding: 32px;
    background: var(--gray-100);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.faq-item:hover {
    background: var(--gray-200);
}

.faq-question {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--dark);
}

.faq-answer {
    color: var(--gray-700);
    line-height: 1.7;
}

.faq-cta {
    text-align: center;
    padding: 48px;
    background: var(--gray-100);
    border-radius: var(--border-radius-lg);
}

.faq-cta p {
    font-size: 20px;
    margin-bottom: 24px;
    color: var(--gray-700);
}

/* === CTA === */
.cta {
    background: var(--gradient-primary);
    color: var(--white);
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 48px;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-description {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

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

.cta-buttons .btn-primary {
    background: var(--white);
    color: var(--primary);
}

.cta-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
}

.cta-note {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 600px) {
    .cta-content {
        padding: 0 8px;
    }

    .cta-title {
        font-size: 32px;
        line-height: 1.25;
    }

    .cta-description {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }

    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 16px 18px;
        font-size: 16px;
    }

    .cta-note {
        font-size: 13px;
    }
}

/* === FOOTER === */
.footer {
    background: var(--dark);
    color: var(--gray-400);
    padding: 80px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 64px;
    margin-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-logo-image {
    height: 43px;
    width: auto;
    display: block;
    object-fit: contain;
}

.footer-description {
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.social-link {
    padding: 8px 16px;
    background: var(--gray-900);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition-fast);
}

.social-link:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-title {
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gray-400);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid var(--gray-900);
}

.footer-copy {
    color: var(--gray-600);
    font-size: 14px;
}

.footer-legal {
    display: flex;
    gap: 32px;
}

.footer-legal a {
    color: var(--gray-600);
    font-size: 14px;
    transition: var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--primary);
}

/* === АДАПТИВНОСТЬ === */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 48px;
    }
    
    .section-title {
        font-size: 40px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .screenshots-carousel {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* === NAVIGATION === */
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        right: 24px;
        flex-direction: column;
        gap: 16px;
        background: var(--white);
        padding: 24px;
        border-radius: 16px;
        box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
        width: 240px;
        z-index: 1000;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        font-size: 16px;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    /* === HERO SECTION === */
    .hero {
        padding: 80px 0 60px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .badge {
        display: inline-flex;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-title {
        font-size: 28px;
        line-height: 1.3;
        margin-bottom: 20px;
    }
    
    .hero-description {
        font-size: 15px;
        margin-bottom: 40px;
        line-height: 1.6;
    }
    
    .hero-buttons {
        flex-direction: column;
        margin-bottom: 48px;
        align-items: center;
        gap: 12px;
    }
    
    .btn-large {
        width: auto;
        min-width: 240px;
        max-width: 320px;
        text-align: center;
        justify-content: center;
        padding: 14px 28px;
        font-size: 15px;
    }
    
    /* Скрываем изображение телефона на мобильных */
    .hero-image {
        display: none;
    }
    
    .floating-card {
        display: none;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        margin-top: 8px;
    }
    
    .stat {
        padding: 16px 12px;
        text-align: center;
    }
    
    .stat:last-child {
        display: none;
    }
    
    .stat-value {
        font-size: 22px;
    }
    
    .stat-value span:last-child {
        font-size: 18px !important;
    }
    
    .stat-label {
        font-size: 12px;
        margin-top: 4px;
    }
    
    /* === SECTIONS === */
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-description {
        font-size: 16px;
    }
    
    /* === FEATURES === */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .feature-card {
        padding: 24px;
    }
    
    .feature-title {
        font-size: 18px;
    }
    
    .feature-description {
        font-size: 14px;
    }
    
    /* === STEPS === */
    .step {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 24px;
    }
    
    .step-visual {
        grid-row: 1;
    }
    
    .step-content h3 {
        font-size: 18px;
    }
    
    .step-content p {
        font-size: 14px;
    }
    
    /* === SCREENSHOTS === */
    .screenshots-carousel {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .phone-mockup-small {
        max-width: 280px;
        margin: 0 auto;
    }
    
    /* === PRICING === */
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .pricing-card {
        padding: 24px;
    }
    
    .pricing-title {
        font-size: 20px;
    }
    
    .price-amount {
        font-size: 40px;
    }
    
    /* === FAQ === */
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-question {
        font-size: 16px;
    }
    
    .faq-answer {
        font-size: 14px;
    }
    
    /* === FOOTER === */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 8px;
    }
    
    /* === BUTTONS === */
    .btn-primary,
    .btn-secondary {
        padding: 14px 24px;
        font-size: 15px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }

    .cta-buttons .btn-large {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        justify-content: center;
    }
}

/* === АНИМАЦИИ === */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

