:root {
    --primary-color: #4a6bff;
    --primary-dark: #3048b5;
    --secondary-color: #50e3c2;
    --accent-color: #ffb347;
    --background: #181a20;
    --surface: #23263a;
    --surface-alt: #23263a;
    --text-main: #f5f6fa;
    --text-secondary: #b0b3c6;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--background);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: linear-gradient(135deg, #23263a 60%, #181a20 100%);
    color: var(--text-main);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='smallGrid' width='20' height='20' patternUnits='userSpaceOnUse'%3E%3Cpath d='M 20 0 L 0 0 0 20' fill='none' stroke='rgba(255, 255, 255, 0.03)' stroke-width='1'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23smallGrid)'/%3E%3C/svg%3E");
    opacity: 0.3;
}

.header-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.logo-container {
    text-align: center;
    margin-bottom: 30px;
}

.logo {
    width: 520px;
    height: auto;
    display: block;
    margin: 0 auto;
    box-shadow: none;
    background: none;
}

h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.85;
    color: var(--text-secondary);
}

.download-btn {
    display: inline-block;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    color: #181a20;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 15px 35px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(.4,2,.6,1);
    box-shadow: var(--shadow);
    letter-spacing: 0.5px;
}

.download-btn:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 15px 30px rgba(80, 227, 194, 0.15);
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    color: #23263a;
}

.features {
    padding: 80px 0;
}

.feature-card {
    display: flex;
    align-items: center;
    margin-bottom: 100px;
    background-color: var(--surface);
    border-radius: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #23263a;
}

.feature-card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 15px 40px rgba(80, 227, 194, 0.08);
    border-color: var(--secondary-color);
}

.feature-card.reverse {
    flex-direction: row-reverse;
}

.feature-text, .feature-image {
    flex: 1;
    padding: 40px;
}

.feature-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
    letter-spacing: 0.5px;
}

.feature-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.feature-image {
    text-align: center;
    background-color: var(--surface-alt);
}

.code-image {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(80, 227, 194, 0.08);
    transition: transform 0.3s;
    background: #181a20;
    border: 1px solid #23263a;
}

.feature-card:hover .code-image {
    transform: scale(1.03);
    border-color: var(--secondary-color);
}

footer {
    background-color: #181a20;
    color: var(--text-secondary);
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid #23263a;
}

@media (max-width: 900px) {
    .feature-card, .feature-card.reverse {
        flex-direction: column;
        margin-bottom: 60px;
    }
    .feature-text, .feature-image {
        width: 100%;
        padding: 30px;
    }
    h1 {
        font-size: 2.4rem;
    }
}

@media (max-width: 600px) {
    header {
        padding: 50px 0 40px;
    }
    .feature-text, .feature-image {
        padding: 20px;
    }
    h1 {
        font-size: 2rem;
    }
    .subtitle {
        font-size: 1rem;
    }
    .download-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
}
