:root {
    --primary-color: #6c63ff;
    --secondary-color: #4a44c9;
    --accent-color: #ff79c6;
    --dark-color: #121212;
    --dark-secondary: #1e1e1e;
    --light-color: #f8f8f2;
    --success-color: #50fa7b;
    --danger-color: #ff5555;
    --warning-color: #ffb86c;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--light-color);
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    text-align: center;
    padding: 2rem 0;
    color: white;
}

header h1 {
    font-size: 3rem;
    margin-bottom: 0.4rem;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 3rem 0;
    color: white;
}

.hero-content {
    flex: 1;
    margin-top: -70px;
}

.hero-content h2 {
    font-size: 3.0rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.code-snippet {
    background-color: #282a36;
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
    max-width: 400px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.code-header {
    background-color: #343746;
    padding: 10px;
    display: flex;
    align-items: center;
}

.code-header span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 6px;
}

.red-dot {
    background-color: #ff5f56;
}

.yellow-dot {
    background-color: #ffbd2e;
}

.green-dot {
    background-color: #27c93f;
}

.code-snippet pre {
    padding: 20px;
    overflow-x: auto;
}

.code-snippet code {
    color: #f8f8f2;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 99, 255, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--primary-color);
}

.features {
    padding: 5rem 0;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    margin: 2rem 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--light-color);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    border-radius: 16px;
    background: rgba(30, 30, 46, 0.5);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.feature h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    header h1 {
        font-size: 2.5rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
}