:root {
    --c1: #05060f;
    --c2: #080c1a;
    --c3: #0b1225;
    --accent: #00d4ff;
    --accent2: #7b5cff;
    --accent3: #00ff9d;
    --text: #e8f0fe;
    --muted: #7a8bac;
    --border: rgba(0, 212, 255, 0.15);
    --surface-dark: #05060F;
    --surface-container-low: rgba(255, 255, 255, 0.05);
    --glass-bg: rgba(255, 255, 255, 0.07);
}

body.light {
    --c1: #f9f9ff;
    --c2: #ffffff;
    --c3: #f0f3ff;
    --accent: #00677e;
    --accent2: #6366f1;
    --accent3: #10b981;
    --text: #081b37;
    --muted: #3c494e;
    --border: rgba(0, 103, 126, 0.15);
    --surface-dark: #05060F;
    --surface-container-low: #f0f3ff;
    --glass-bg: rgba(255, 255, 255, 0.7);

}

            
        

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

body {
    background: var(--c1);
    color: var(--text);
    font-family: 'Noto Sans SC', sans-serif;
    overflow-x: hidden;
    transition: background 0.3s, color 0.3s
}

.cursor {
    position: fixed;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s;
    mix-blend-mode: screen
}

.cursor-ring {
    position: fixed;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(0, 212, 255, 0.5);
    pointer-events: none;
    z-index: 9998;
    transition: all 0.15s ease;
    mix-blend-mode: screen
}

body.light .cursor {
    background: #000000;
    mix-blend-mode: normal
}

body.light .cursor-ring {
    border-color: rgba(0, 0, 0, 0.5);
    mix-blend-mode: normal
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.4
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 8%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(5, 6, 15, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border)
}

body.light nav {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08)
}

.logo {
    font-family: 'Rajdhani', sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent
}

.logo span {
    font-size: 11px;
    display: block;
    letter-spacing: 6px;
    font-weight: 400;
    color: var(--muted);
    -webkit-text-fill-color: var(--muted);
    margin-top: -4px
}

.nav-links {
    display: flex;
    gap: 36px;
    list-style: none
}

.nav-links a {
    text-decoration: none;
    color: var(--muted);
    font-size: 13px;
    letter-spacing: 2px;
    transition: color 0.3s;
    position: relative
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent)
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%
}

.nav-cta {
    padding: 10px 28px;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    border: none;
    color: white;
    font-size: 12px;
    letter-spacing: 2px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s;
    font-family: 'Noto Sans SC', sans-serif;
    font-weight: 500
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3)
}

.theme-toggle {
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    background: var(--c2);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    margin-right: 12px
}

.theme-toggle:hover {
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.2)
}

.theme-toggle svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s
}

.theme-toggle svg path {
    fill: var(--accent);
    stroke: var(--accent);
    stroke-width: 2
}

body.light .theme-toggle svg {
    transform: rotate(180deg)
}

footer {
    background: var(--c2);
    border-top: 1px solid var(--border);
    padding: 60px 8%
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px
}

.footer-brand {
    grid-column: span 1
}

.footer-brand .logo {
    margin-bottom: 16px
}

.footer-brand p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7
}

.footer-col h4 {
    font-size: 12px;
    letter-spacing: 3px;
    color: var(--text);
    margin-bottom: 20px;
    font-weight: 600
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px
}

.footer-col a {
    color: var(--muted);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s
}

.footer-col a:hover {
    color: var(--accent)
}

.footer-col p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 16px
}

.footer-bottom p {
    color: var(--muted);
    font-size: 13px
}

.footer-links {
    display: flex;
    gap: 24px
}

.footer-links a {
    color: var(--muted);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.3s
}

.footer-links a:hover {
    color: var(--accent)
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (max-width: 600px) {
    nav {
        padding: 0 5%;
        height: 72px
    }

    .nav-links {
        display: none
    }

    .footer-grid {
        grid-template-columns: 1fr
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center
    }
}