:root {
    --bg-color: #ffffff;
    --accent-blue: #2563eb;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --nav-bg: rgba(255, 255, 255, 0.9);
    --glow: rgba(37, 99, 235, 0.1);
}

[data-theme="dark"] {
    --bg-color: #0b0e11;
    --accent-blue: #3b82f6;
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --nav-bg: rgba(11, 14, 17, 0.95);
    --glow: rgba(59, 130, 246, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    transition: background-color 0.3s, color 0.3s;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    overflow-x: hidden;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

[data-theme="dark"] nav { 
    border-bottom: 1px solid rgba(255,255,255,0.05); 
}

.logo {
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: -1px;
    text-transform: uppercase;
    z-index: 1001;
}

.logo span { color: var(--accent-blue); }

.nav-right {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
}

.nav-links a:hover { color: var(--text-main); }
.theme-switch {
    position: relative;
    width: 46px;
    height: 24px;
}

.theme-switch input { opacity: 0; width: 0; height: 0; }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #cbd5e1;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px; width: 16px;
    left: 4px; bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider { background-color: var(--accent-blue); }
input:checked + .slider:before { transform: translateX(22px); }

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 10%;
}

h1 {
    font-size: clamp(2.5rem, 10vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

h1 span {
    display: block;
    background: linear-gradient(90deg, var(--accent-blue), #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-button {
    background-color: var(--accent-blue);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 2rem;
    box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.4);
    transition: transform 0.2s;
}

.cta-button:hover {
    transform: translateY(-2px);
}

.bg-glow {
    position: absolute;
    top: 40%; left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw; height: 80vw;
    max-width: 600px;
    background: radial-gradient(circle, var(--glow) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-main);
    border-radius: 5px;
    transition: 0.3s;
}

@media (max-width: 768px) {
    .menu-toggle { display: flex; }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        background: var(--bg-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    }

    .nav-links.active { right: 0; }
    .nav-links a { font-size: 1.5rem; }

    .menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}