:root {
    --primary: #6c5ce7;
    --primary-dark: #5649c5;
    --secondary: #00cec9;
    --dark: #2d3436;
    --light: #f7f9fa;
    --gray: #636e72;
    --success: #00b894;
    --warning: #fdcb6e;
    --danger: #ff7675;
    --code-bg: #1e1f29;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    padding: 30px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
}

header.scrolled {
    padding: 15px 0;
    box-shadow: var(--shadow);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    font-size: 32px;
    color: var(--secondary);
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(to right, var(--secondary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--secondary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(108, 92, 231, 0.1) 0%, rgba(26, 26, 46, 0) 70%);
    z-index: -1;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.hero-text {
    flex: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.highlight {
    background: linear-gradient(to right, var(--secondary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #e0e0e0;
    max-width: 600px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 20px rgba(108, 92, 231, 0.4);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 7px 25px rgba(108, 92, 231, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--light);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: rgba(108, 92, 231, 0.1);
    transform: translateY(-3px);
}

.btn-tertiary {
    background: transparent;
    color: var(--light);
    border: 2px solid var(--secondary);
}

.btn-tertiary:hover {
    background: rgba(0, 206, 201, 0.1);
    transform: translateY(-3px);
}

.features {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.02);
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    background: linear-gradient(to right, var(--secondary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-title p {
    color: #b0b0b0;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
    border: 1px solid rgba(108, 92, 231, 0.1);
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(108, 92, 231, 0.1);
    border-color: rgba(108, 92, 231, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 20px;
    color: var(--secondary);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: #d0d0d0;
}

.code-example {
    padding: 100px 0;
    position: relative;
}

.code-container {
    background: var(--code-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-top: 30px;
}

.code-header {
    background: #1a1a1f;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #333;
}

.code-dots {
    display: flex;
    gap: 8px;
    margin-right: 20px;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
}

.dot-red {
    background: var(--danger);
}

.dot-yellow {
    background: var(--warning);
}

.dot-green {
    background: var(--success);
}

.code-title {
    font-family: 'Roboto Mono', monospace;
    font-size: 16px;
    color: #aaa;
}

.code-buttons {
    margin-left: auto;
    display: flex;
    gap: 10px;
}

.code-btn {
    padding: 8px 16px;
    border-radius: 5px;
    background: var(--primary);
    color: white;
    cursor: pointer;
    font-family: 'Roboto Mono', monospace;
    font-size: 14px;
    transition: background 0.3s ease;
}

.code-btn.active {
    background: var(--secondary);
}

.code-btn:hover {
    background: var(--primary-dark);
}

pre {
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.code {
    padding: 30px;
    font-family: 'Roboto Mono', monospace;
    font-size: 16px;
    line-height: 1.8;
    color: #f8f8f2;
}

.comment {
    color: #6272a4;
}

.keyword {
    color: #ff79c6;
}

.function {
    color: #50fa7b;
}

.string {
    color: #f1fa8c;
}

.number {
    color: #bd93f9;
}

.variable {
    color: #8be9fd;
}

footer {
    background: rgba(0, 0, 0, 0.2);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: var(--secondary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary);
}

.copyright {
    text-align: center;
    padding-top: 40px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #888;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 206, 201, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(0, 206, 201, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 206, 201, 0);
    }
}

@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.3rem;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
}

.btn-quaternary {
    background: transparent;
    color: var(--light);
    border: 2px solid var(--success);
}

.btn-quaternary:hover {
    background: rgba(0, 184, 148, 0.1);
    transform: translateY(-3px);
}