* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: 0.2s ease;
    scroll-behavior: smooth;
}

:root {
    --fira-code-font: "Fira Code", monospace;
    --color-primary: #25b800;
    --color-secondary: #0fac0f;
    --color-accent: #00aaff;
    --color-bg-dark: #000000;
    --color-bg-darker: #0a0909;
    --color-bg-section: #1d1f27;
    --color-text-primary: #ffffff;
    --color-text-secondary: #e0e0e0;
    --color-text-dim: #afafaf;
}

body {
    background-color: var(--color-bg-dark);
    display: flex;
    flex-direction: column;
    font-family: var(--fira-code-font);
    color: var(--color-text-primary);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 999;
    border-bottom: 1px solid rgba(37, 184, 0, 0.2);
}

header .logo h1 {
    color: var(--color-primary);
    font-family: var(--fira-code-font);
    font-weight: 500;
    font-size: 24px;
    margin: 0;
}

.right-side {
    display: flex;
    align-items: center;
    gap: 20px;
}

.right-side #links {
    padding: 50px;
    position: fixed;
    left: 0;
    top: 0;
    display: none;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.98);
    box-shadow: 0 0 50px rgba(27, 27, 27, 0.8);
    width: 100%;
    height: 100vh;
    z-index: 998;
}

.right-side #links ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 60px;
}

.right-side #links ul li {
    list-style-type: none;
    font-size: 18px;
}

.right-side #links ul li a {
    text-decoration: none;
    color: var(--color-text-primary);
    transition: color 0.2s ease;
}

.right-side #links ul li a:hover,
.right-side #links ul li a:focus {
    color: var(--color-primary);
    outline: none;
}

.right-side #links ul li a.cta-link {
    color: var(--color-accent);
    padding: 10px 15px;
    border: 2px solid var(--color-accent);
    border-radius: 4px;
}

.right-side #links ul li a.cta-link:hover {
    background-color: var(--color-accent);
    color: var(--color-bg-dark);
}

#navBtn {
    cursor: pointer;
    background: none;
    border: none;
    display: none;
    align-items: center;
    gap: 10px;
}

#navBtn:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

#openNavIcon {
    display: flex;
}

#closeNavIcon {
    display: none;
}

/* Main Content */
main {
    margin-top: 60px;
}

section {
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* Hero section */
#hero {
    min-height: calc(100vh - 60px);
    background: linear-gradient(135deg, #1d1f27 0%, #0a0a0a 100%);
    padding: 120px 20px;
}

#hero h2 {
    font-size: 48px;
    color: var(--color-secondary);
    text-align: center;
    margin-bottom: 30px;
}

#hero .intro {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
    max-width: 600px;
}

#hero .intro p {
    color: var(--color-secondary);
    font-size: 18px;
    text-align: center;
    line-height: 1.6;
}

.heroBtn {
    color: var(--color-accent);
    font-size: 18px;
    text-decoration: none;
    font-family: var(--fira-code-font);
    padding: 15px 30px;
    border: 2px solid var(--color-accent);
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-block;
}

.heroBtn:hover {
    background-color: var(--color-accent);
    color: var(--color-bg-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 170, 255, 0.2);
}

/* About section */
#about {
    background-color: var(--color-bg-darker);
    color: var(--color-text-secondary);
}

#about h2 {
    text-decoration: underline;
    font-size: 36px;
    color: var(--color-text-primary);
    margin-bottom: 40px;
}

#about .about-paras {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
    max-width: 700px;
}

#about .about-paras p {
    font-size: 16px;
    line-height: 1.8;
}

/* Features Section */
#features {
    background-color: #121212;
    color: #b77afc;
}

#features h2 {
    text-decoration: underline;
    font-size: 36px;
    margin-bottom: 50px;
}

#features .imp-points ul {
    padding: 0;
    list-style-type: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 600px;
}

#features .imp-points ul li {
    font-size: 18px;
    line-height: 1.6;
}

/* How It Works section */
#hiw {
    background-color: #121212;
    color: #b77afc;
}

#hiw h2 {
    text-decoration: underline;
    font-size: 36px;
    margin-bottom: 50px;
}

#hiw .imp-points ul {
    list-style-type: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
    max-width: 600px;
}

#hiw .imp-points ul li {
    font-size: 16px;
}

#hiw .commands {
    margin: 30px 0 0 0;
    max-width: 600px;
}

#hiw .commands p {
    padding-bottom: 15px;
    font-size: 18px;
    font-weight: bold;
}

#hiw .commands ul {
    list-style-type: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#hiw .commands ul li {
    font-size: 16px;
}

/* Why Console Diary section */
#wcd {
    min-height: 40vh;
    background-color: #15171b;
    color: #8aff80;
}

#wcd h2 {
    text-decoration: underline;
    font-size: 36px;
    margin-bottom: 40px;
}

#wcd .info-paras {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: center;
    max-width: 600px;
}

#wcd .info-paras p {
    font-size: 16px;
    line-height: 1.8;
}

/* Footer */
footer {
    min-height: 100px;
    background-color: var(--color-bg-dark);
    border-top: 1px solid rgba(37, 184, 0, 0.2);
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

footer p {
    font-size: 14px;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }

    header .logo h1 {
        font-size: 20px;
    }

    #navBtn {
        display: flex;
    }

    section {
        padding: 60px 20px;
    }

    #hero h2 {
        font-size: 36px;
    }

    #hero .intro p {
        font-size: 16px;
    }

    #about h2,
    #features h2,
    #hiw h2,
    #wcd h2 {
        font-size: 28px;
    }

    #features .imp-points ul,
    #hiw .imp-points ul,
    #hiw .commands,
    #about .about-paras,
    #wcd .info-paras {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    header {
        padding: 12px 15px;
    }

    header .logo h1 {
        font-size: 18px;
    }

    #hero {
        min-height: auto;
        padding: 80px 15px;
    }

    #hero h2 {
        font-size: 28px;
        margin-bottom: 20px;
    }

    #hero .intro p {
        font-size: 14px;
    }

    .heroBtn {
        padding: 12px 24px;
        font-size: 16px;
    }

    section {
        padding: 50px 15px;
    }

    #about h2,
    #features h2,
    #hiw h2,
    #wcd h2 {
        font-size: 24px;
        margin-bottom: 30px;
    }

    #features .imp-points ul li,
    #hiw .imp-points ul li,
    #about .about-paras p {
        font-size: 15px;
    }

    #hiw .commands p {
        font-size: 16px;
    }

    .right-side #links {
        padding: 60px 20px;
    }

    .right-side #links ul li {
        font-size: 16px;
    }
}