:root {
    --bg-color: #050510;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --accent: #00f3ff;
    --accent-glow: rgba(0, 243, 255, 0.4);
    --gradient-1: linear-gradient(135deg, #00f3ff 0%, #0066ff 100%);
    --font-heading: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-heading);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background: rgba(5, 5, 16, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -0.5px;
    font-family: var(--font-heading);
}

.logo img {
    display: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.lang-switch {
    background: transparent;
    border: 1px solid var(--card-border);
    color: var(--text-secondary);
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.3s;
}

.lang-switch:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.lang-switch svg {
    width: 16px;
    height: 16px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-links .btn {
    color: var(--bg-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.6rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
    background: var(--accent);
    color: #000;
    box-shadow: 0 0 20px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--accent-glow);
    background: #fff;
}

.btn-outline {
    border: 1px solid var(--card-border);
    color: var(--text-primary);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--text-primary);
}

.btn-sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 180px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.cta-group {
    display: flex;
    gap: 1rem;
}

/* Hero Visual / Mockup */
.mockup {
    width: 100%;
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease-out;
}

.hero-content:hover .mockup {
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg) translateY(-10px);
}

.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.mockup-header {
    display: flex;
    gap: 8px;
    margin-bottom: 1.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.red {
    background: #ff5f56;
}

.yellow {
    background: #ffbd2e;
}

.green {
    background: #27c93f;
}

.mockup-body {
    font-family: var(--font-mono);
}

.code-block {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.comment {
    color: #5c6370;
}

.keyword {
    color: #c678dd;
}

.string {
    color: #98c379;
}

.value {
    color: #d19a66;
}

.dim {
    color: #5c6370;
}

.function {
    color: #61afef;
}

.graph-visual {
    margin-top: 1.5rem;
    height: 60px;
    border-bottom: 1px solid #333;
    position: relative;
    opacity: 0.8;
}

.curve-svg path {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: draw 2s ease-in-out infinite alternate;
}

/* Hero BG Glow */
.hero-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 243, 255, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

/* Features */
.features {
    padding: 100px 0;
    background: #020208;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

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

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 2rem;
    border-radius: 16px;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.feature-card .icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* How It Works */
.how-it-works {
    padding: 100px 0;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.steps {
    list-style: none;
    margin-top: 2rem;
}

.steps li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.step-num {
    font-family: var(--font-mono);
    color: var(--accent);
    font-weight: 700;
    font-size: 1.2rem;
    padding-top: 0.2rem;
}

.steps h3 {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.steps p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Abstract Visuals */
.visual-content {
    position: relative;
    height: 400px;
    background: radial-gradient(circle at center, rgba(30, 30, 40, 0.5), transparent);
    border-radius: 20px;
}

.abstract-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
}

.shape-1 {
    width: 200px;
    height: 200px;
    background: rgba(0, 243, 255, 0.2);
    top: 20%;
    left: 20%;
    animation: float 6s ease-in-out infinite;
}

.shape-2 {
    width: 150px;
    height: 150px;
    background: rgba(59, 130, 246, 0.3);
    bottom: 20%;
    right: 20%;
    animation: float 8s ease-in-out infinite reverse;
}

/* Footer */
.footer {
    padding: 3rem 0;
    border-top: 1px solid var(--card-border);
    margin-top: 3rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: -0.5px;
}

/* Animations */
@keyframes draw {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(20px, -20px);
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .navbar .container {
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }

    .hero-content,
    .split-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero {
        padding-top: 120px;
    }

    .nav-links {
        gap: 1rem;
    }
}

/* Installation */
.installation {
    padding: 100px 0;
    background: #050510;
}

.install-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.install-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 2.5rem;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.install-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top left, rgba(0, 243, 255, 0.05), transparent);
    pointer-events: none;
}

.os-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.install-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.install-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.path-box {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 12px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    word-break: break-all;
    color: var(--accent);
}

@media (max-width: 768px) {
    .install-grid {
        grid-template-columns: 1fr;
    }
}