:root {
    --bg: #0c0c0c;
    --text: #eaeaea;
    --card: #151515;
    --accent: #a6ff00;
    --muted: #9aa0a6;
}

body.light {
    --bg: #f7f7f7;
    --text: #1a1a1a;
    --card: #ffffff;
    --accent: #7ed957;
    --muted: #6b6b6b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    background: var(--bg);
    color: var(--text);
    transition: 0.3s;
    overflow-x: hidden;
}

#bg {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
}

.logo {
    font-weight: 600;
    font-size: 18px;
}

nav {
    display: flex;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: var(--text);
    opacity: 0.7;
    font-size: 14px;
    transition: 0.2s;
}

nav a:hover {
    opacity: 1;
    color: var(--accent);
}

.controls {
    display: flex;
    gap: 10px;
    align-items: center;
}

.talk-btn {
    background: var(--accent);
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.25s;
}

.talk-btn:hover {
    transform: translateY(-2px);
    filter: brightness(0.9);
}

.hero {
    max-width: 1100px;
    margin: 60px auto;
    display: flex;
    justify-content: center; 
    align-items: center;     
    gap: 40px;               
    margin-top: 60px;
}

.left {
    max-width: 420px;
}

.hello {
    color: var(--muted);
    margin-bottom: 8px;
}

h1 {
    font-size: 42px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.5px;
}

h1 span {
    color: var(--accent);
}

h2 {
    font-size: 20px;
    font-weight: 400;
    color: var(--muted);
    margin: 10px 0;
}

.desc {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
    margin: 15px 0;
}

.buttons button {
    margin-right: 10px;
    margin-top: 10px;
    padding: 10px 16px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.green {
    background: var(--accent);
    color: #000;
}

.green:hover {
    transform: translateY(-2px);
    filter: brightness(0.9);
}

.dark {
    background: var(--card);
    color: var(--text);
}

.dark:hover {
    background: var(--accent);
    color: #000;
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--card);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: 0.3s;
}

.circle:hover {
    box-shadow: 
        0 0 20px rgba(166, 255, 0, 0.3),
        0 0 40px rgba(166, 255, 0, 0.15);
}

.circle::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--accent);
    clip-path: circle(50% at 100% 50%);
}

.circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
}

/* RIGHT */
.right {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.card {
    background: var(--card);
    padding: 18px;
    border-radius: 12px;
    text-align: center;
    transition: 0.25s;
}

.card h3 {
    color: var(--accent);
    margin-bottom: 5px;
}

.card:hover {
    transform: translateY(-5px);
}

/* LABS PAGE */
.labs {
    padding: 60px 20px;
    text-align: center;
}

.labs h1 {
    margin-bottom: 20px;
}

.labs-list {
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.labs-list a {
    padding: 12px;
    border-radius: 10px;
    background: var(--card);
    text-decoration: none;
    color: var(--text);
    transition: 0.25s;
}

.labs-list a:hover {
    background: var(--accent);
    color: #000;
}

/* BACK BUTTON */
.back {
    text-decoration: none;
    color: var(--text);
    opacity: 0.7;
}

.back:hover {
    opacity: 1;
}

/* ADAPTIVE */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    nav {
        display: none;
    }

    .right {
        flex-direction: row;
        justify-content: center;
    }

    .circle {
        width: 220px;
        height: 220px;
    }

    .circle img {
        width: 180px;
    }
}

@media (max-width: 500px) {
    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 18px;
    }

    .hero {
        padding: 40px 20px;
    }
}