* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --secondary-color: #10b981;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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-primary);
    overflow-x: hidden;
    padding-top: 73px; /* Отступ для fixed header */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: var(--shadow-lg);
    padding: 0.75rem 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    flex-shrink: 0;
}

.logo-text {
    color: var(--text-primary);
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e40af 100%);
    opacity: 0.95;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 0.8s ease-out;
}

.hero-illustration {
    max-width: 100%;
    width: 100%;
    animation: float 6s ease-in-out infinite;
}

.hero-illustration svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: white;
    color: var(--primary-color);
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    justify-content: center;
}

.btn-download:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--bg-secondary);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--bg-primary);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Download Section */
.download-section {
    padding: 80px 0;
    background-color: var(--bg-primary);
}

.download-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.download-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.download-card {
    background-color: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.download-card.featured {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-xl);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background-color: var(--secondary-color);
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.download-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.download-card-header {
    text-align: center;
    margin-bottom: 2rem;
}

.download-card-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-top: 1rem;
    color: var(--text-primary);
}

.download-card-body {
    margin-bottom: 2rem;
    flex-grow: 1;
}

.requirements-list {
    list-style: none;
    padding: 0;
}

.requirements-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
}

.requirements-list li:before {
    content: "✓";
    color: var(--secondary-color);
    font-weight: bold;
    margin-right: 12px;
    font-size: 1.25rem;
}

.requirements-list li:last-child {
    border-bottom: none;
}

.download-card-footer {
    text-align: center;
    margin-top: auto;
}

.download-size {
    margin-top: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Installation Guide */
.installation-guide {
    background-color: var(--bg-secondary);
    padding: 3rem;
    border-radius: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.guide-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.guide-steps {
    list-style-position: inside;
    padding-left: 0;
}

.guide-steps li {
    padding: 1rem 0;
    font-size: 1.125rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.guide-steps li:last-child {
    border-bottom: none;
}

/* Support Section */
.support-section {
    padding: 80px 0;
    background-color: var(--bg-secondary);
}

.support-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.support-card {
    background-color: var(--bg-primary);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s ease;
}

.support-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.support-card svg {
    margin-bottom: 1.5rem;
}

.support-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.support-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.support-card p a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.support-card p a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Footer */
.footer {
    background-color: var(--text-primary);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.footer-section a:hover {
    color: white;
    text-decoration: underline;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding-top: 65px; /* Меньший отступ для планшетов */
    }

    .header {
        padding: 0.75rem 0;
    }

    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 50px 0 40px;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-title {
        font-size: 2.25rem;
        line-height: 1.15;
        margin-bottom: 0.75rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
        margin-bottom: 1rem;
    }

    .hero-description {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }

    .hero-image {
        max-width: 100%;
        padding: 0;
    }

    .hero-illustration {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .hero-illustration svg {
        width: 100%;
        height: auto;
        display: block;
    }

    .nav {
        display: none;
    }

    .section-title {
        font-size: 2rem;
    }

    .features,
    .download-section,
    .support-section {
        padding: 60px 0;
    }

    .download-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .download-card {
        padding: 1.5rem;
    }

    .download-card-title {
        font-size: 1.5rem;
    }

    .featured-badge {
        font-size: 0.75rem;
        padding: 4px 35px;
    }

    .installation-guide {
        padding: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 60px; /* Еще меньше для мобильных */
    }

    .header {
        padding: 0.625rem 0;
    }

    .logo {
        font-size: 1.375rem;
    }

    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 30px 0;
    }

    .hero .container {
        gap: 20px;
    }

    .hero-title {
        font-size: 1.625rem;
        line-height: 1.2;
        margin-bottom: 0.5rem;
    }

    .hero-subtitle {
        font-size: 0.9375rem;
        margin-bottom: 0.75rem;
    }

    .hero-description {
        font-size: 0.875rem;
        line-height: 1.5;
        margin-bottom: 1.25rem;
    }

    .hero-illustration {
        max-width: 320px;
    }

    .btn-primary {
        padding: 12px 28px;
        font-size: 0.9375rem;
        width: auto;
        display: inline-block;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .features,
    .download-section,
    .support-section {
        padding: 40px 0;
    }

    .feature-card,
    .support-card {
        padding: 1.5rem;
    }

    .download-cards {
        grid-template-columns: 1fr;
    }

    .download-card {
        padding: 1.25rem;
    }

    .download-card-title {
        font-size: 1.25rem;
    }

    .featured-badge {
        font-size: 0.7rem;
        padding: 3px 30px;
        right: -30px;
    }

    .btn-download {
        padding: 10px 20px;
        font-size: 0.9375rem;
    }

    .installation-guide {
        padding: 1.5rem;
    }

    .guide-title {
        font-size: 1.25rem;
    }

    .guide-steps li {
        font-size: 0.9375rem;
    }

    .footer {
        padding: 2rem 0 1rem;
    }

    .footer-section h4 {
        font-size: 1rem;
    }

    .footer-section p,
    .footer-section a {
        font-size: 0.875rem;
    }
}

/* Очень маленькие экраны */
@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }

    .hero {
        padding: 25px 0;
    }

    .hero .container {
        gap: 15px;
    }

    .logo {
        font-size: 1.25rem;
        gap: 8px;
    }

    .logo svg {
        width: 32px;
        height: 32px;
    }

    .hero-title {
        font-size: 1.375rem;
        line-height: 1.25;
    }

    .hero-subtitle {
        font-size: 0.875rem;
    }

    .hero-description {
        font-size: 0.8125rem;
        line-height: 1.45;
    }

    .hero-illustration {
        max-width: 280px;
    }

    .btn-primary {
        padding: 10px 24px;
        font-size: 0.875rem;
    }

    .section-title {
        font-size: 1.375rem;
    }

    .download-card-title {
        font-size: 1.125rem;
    }

    .btn-download {
        padding: 8px 16px;
        font-size: 0.875rem;
    }

    .featured-badge {
        right: -35px;
        font-size: 0.625rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background-color: var(--primary-color);
    color: white;
}

