* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #5558e1;
    --primary-dark: #4f46e5;
    --text: #1f2937;
    --text-light: #6b7280;
    --bg: #ffffff;
    --bg-light: #f9fafb;
    --border: #e5e7eb;
    --radius: 1rem;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

header {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
}

.logo img {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
}

.lang-switch {
    padding: 0.5rem 1rem;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    color: var(--text);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.lang-switch:hover, .lang-switch:focus {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.hero {
    padding: 3rem 0;
}

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

.hero-text h1 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text);
}

.hero-text p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.hero-visual img {
    width: 100%;
    max-width: 480px;
    height: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-visual figcaption {
    font-size: 0.875rem;
    color: var(--text-light);
    text-align: center;
}

.cta {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.2s;
    border: 2px solid transparent;
}

.cta:hover, .cta:focus {
    background: var(--primary-dark);
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.features {
    padding: 4rem 0;
    background: var(--bg-light);
}

.features h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature {
    background: var(--bg);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.2s;
}

.feature:hover {
    transform: translateY(-4px);
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img, .feature-icon svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature p {
    color: var(--text-light);
    font-size: 0.9375rem;
}

.platforms {
    padding: 4rem 0;
    text-align: center;
}

.platforms h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.platform-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.platform {
    flex: 1;
    min-width: 240px;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: var(--radius);
}

.platform h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.platform p {
    color: var(--text-light);
    font-size: 0.875rem;
}

footer {
    padding: 2rem 0;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-light);
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 767px) {
    .hero-text h1 {
        font-size: 1.75rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .features h2, .platforms h2 {
        font-size: 1.5rem;
    }

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

@media (max-width: 360px) {
    .container {
        padding: 0 1rem;
    }

    header {
        padding: 0.75rem 0;
    }

    .logo {
        font-size: 1rem;
    }

    .logo img {
        width: 2rem;
        height: 2rem;
    }

    .hero {
        padding: 2rem 0;
    }

    .hero-text h1 {
        font-size: 1.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}
