/* Reset и базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #4285F4;
    --primary-purple: #8B5CF6;
    --gradient-primary: linear-gradient(135deg, #4285F4 0%, #8B5CF6 100%);
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --badge-soon: #6366f1;
    --max-width: 1200px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-white);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Контейнер */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    flex: 1;
    padding: 60px 20px;
    text-align: center;
    background-color: var(--bg-white);
}

.logo-title {
    font-size: 4rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 48px;
    font-weight: 400;
}

/* Features List */
.features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 64px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.features-list li {
    font-size: 1.125rem;
    color: var(--text-primary);
    position: relative;
    padding-left: 32px;
    text-align: left;
    width: 100%;
    max-width: 600px;
}

.features-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gradient-primary);
}

/* Apps Grid */
.apps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 48px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.app-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.app-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.app-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-icon svg {
    width: 48px;
    height: 48px;
}

.browser-icons {
    display: flex;
    gap: 4px;
    align-items: center;
    justify-content: center;
}

.browser-icons svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.app-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.app-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.5;
}

/* Badge */
.badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.badge-soon {
    background-color: var(--badge-soon);
    color: white;
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
    min-height: 48px;
    line-height: 1.5;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 2px 8px rgba(66, 133, 244, 0.3);
    width: 100%;
    max-width: 500px;
    font-size: 1.125rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(66, 133, 244, 0.4);
}

.btn-app {
    background: var(--gradient-primary);
    color: white;
    padding: 10px 24px;
    font-size: 0.9375rem;
}

.btn-app:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(66, 133, 244, 0.3);
}

/* Footer */
.footer {
    background-color: var(--bg-white);
    padding: 48px 20px 32px;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.footer-info {
    text-align: center;
}

.footer-address {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 8px;
}

.footer-contacts {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 8px;
}

.footer-map {
    display: inline-block;
    margin-top: 8px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--primary-blue);
}


/* Адаптивность для мобильных */
@media (max-width: 767px) {
    .logo-title {
        font-size: 3rem;
    }

    .subtitle {
        font-size: 1.25rem;
    }

    .features-list li {
        font-size: 1rem;
        padding-left: 28px;
    }

    .app-card {
        padding: 24px 20px;
    }

    .btn-primary {
        font-size: 1rem;
        padding: 12px 24px;
    }
}

/* Адаптивность для планшетов */
@media (min-width: 768px) {
    .hero {
        padding: 80px 20px;
    }

    .logo-title {
        font-size: 5rem;
    }

    .subtitle {
        font-size: 1.75rem;
    }

    .features-list {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 32px;
        max-width: 900px;
    }

    .features-list li {
        font-size: 1.125rem;
        padding-left: 24px;
        width: auto;
        max-width: none;
        flex: 0 0 auto;
    }

    .features-list li::before {
        left: 0;
    }

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

    .footer-links {
        flex-direction: row;
        justify-content: center;
        gap: 32px;
    }
}

/* Адаптивность для десктопов */
@media (min-width: 1024px) {
    .hero {
        padding: 100px 20px;
    }

    .logo-title {
        font-size: 6rem;
    }

    .subtitle {
        font-size: 2rem;
    }

    .app-card {
        padding: 40px 32px;
    }
}

/* Предотвращение CLS */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Фокус для доступности */
a:focus,
button:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 4px;
    border-radius: 4px;
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.app-card {
    animation: fadeIn 0.6s ease-out backwards;
}

.app-card:nth-child(1) {
    animation-delay: 0.1s;
}

.app-card:nth-child(2) {
    animation-delay: 0.2s;
}

.app-card:nth-child(3) {
    animation-delay: 0.3s;
}
