:root {
    --green: #4ee86a;
    --teal: #3ec8c8;
    --sky: #5bbfcf;
    --mid: #2a7a9a;
    --deep: #1a4a6a;
    --darker: #0e2a3e;
    --darkest: #0a1a28;
    --forest: #0d1e2e;
    --text: #cce8f0;
    --white: #f0faff;
}

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

html { scroll-behavior: smooth; }

body {
    background: var(--darkest);
    color: var(--text);
    font-family: 'IBM Plex Sans', sans-serif;
    overflow-x: hidden;
}

nav {
    position: fixed;

    top: 10px;
    left: 30px;
    right: 30px;

    z-index: 100;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 0.9rem 1.5rem;

    background:
            linear-gradient(
                    180deg,
                    rgba(255,255,255,0.10),
                    rgba(255,255,255,0.03)
            );

    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);

    border: 1px solid rgba(255,255,255,0.12);

    border-radius: 16px;

    box-shadow: none;
}

.nav-links a:hover {
    color: var(--white);
    text-shadow: 0 0 12px rgba(62,200,200,0.6);
}

.nav-logo {
    color: rgba(240,250,255,0.95);
}

.link {
    color: var(--green)
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--teal);
    letter-spacing: 0.05em;
    text-decoration: none;
}

.nav-logo-svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.875rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.2s;
}

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


.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;


    background-image:
            linear-gradient(
                    180deg,
                    rgba(10, 26, 40, 0.15),
                    rgba(10, 26, 40, 0.45)
            ),
            url("img/backgrnd.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.aurora {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 45%;
    background:
            radial-gradient(ellipse 80% 60% at 20% 10%, rgba(78, 232, 106, 0.45) 0%, transparent 60%),
            radial-gradient(ellipse 60% 50% at 70% 5%, rgba(62, 200, 200, 0.35) 0%, transparent 55%);
    animation: aurora-shift 8s ease-in-out infinite alternate;
}

@keyframes aurora-shift {
    from { transform: translateX(0) scaleX(1); opacity: 0.8; }
    to   { transform: translateX(3%) scaleX(1.04); opacity: 1; }
}

.treeline {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 45%;
    background:
            linear-gradient(180deg, transparent 0%, var(--forest) 60%);
}

.tree {
    position: absolute;
    bottom: 0;
    width: 0;
    height: 0;
    border-left: solid transparent;
    border-right: solid transparent;
    border-bottom: solid var(--darkest);
    opacity: 0.9;
}

.hero-content {
    position: relative;
    z-index: 10;

    width: 100%;
    max-width: 900px;

    margin: 0 auto;

    padding: 8rem 3rem 0;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
}

.hero-eyebrow {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fade-up 0.8s 0.2s forwards;
}

.hero-title {
    font-family: 'IBM Plex Mono', monospace;
    font-size: clamp(3.5rem, 9vw, 7rem);
    font-weight: 700;
    line-height: 0.95;
    color: var(--white);
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fade-up 0.8s 0.4s forwards;
}

.hero-title span { color: var(--teal); }

.hero-tagline {
    font-size: 1.1rem;
    color: rgba(200, 235, 245, 0.7);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fade-up 0.8s 0.6s forwards;
}
.hero-desc {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text);

    max-width: 700px;

    margin-bottom: 3rem;

    opacity: 0;
    animation: fade-up 0.8s 0.8s forwards;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    opacity: 0;
    animation: fade-up 0.8s 1s forwards;
}

.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--teal);
    color: var(--darkest);
    font-weight: 700;
}

.btn-primary:hover { background: var(--green); transform: translateY(-2px); }

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

.btn-outline:hover { background: rgba(62, 200, 200, 0.1); transform: translateY(-2px); }

@keyframes fade-up {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* SECTIONS */
section {
    padding: 6rem 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.section-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 1rem;
}

h2 {
    font-family: 'IBM Plex Mono', monospace;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.section-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--teal), transparent);
    opacity: 0.2;
    margin: 0;
}

/* ABOUT */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text p {
    line-height: 1.8;
    color: rgba(200, 235, 245, 0.75);
    margin-bottom: 1.2rem;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
}

.spec-table tr {
    border-bottom: 1px solid rgba(62, 200, 200, 0.1);
}

.spec-table td {
    padding: 0.75rem 0;
    font-size: 0.875rem;
}

.spec-table td:first-child {
    color: var(--teal);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    width: 40%;
}

.spec-table td:last-child { color: var(--text); }

code {
    font-family: 'IBM Plex Mono', monospace;
    background: rgba(62, 200, 200, 0.1);
    padding: 0.1em 0.4em;
    border-radius: 2px;
    font-size: 0.85em;
    color: var(--green);
}

/* FEATURES */
.features-bg {
    background: linear-gradient(180deg, transparent, rgba(26, 74, 106, 0.15), transparent);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.feature-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(62, 200, 200, 0.12);
    padding: 1.75rem;
    transition: border-color 0.2s, background 0.2s;
}

.feature-card:hover {
    border-color: rgba(62, 200, 200, 0.35);
    background: rgba(62, 200, 200, 0.05);
}

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

.feature-card h3 {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.85rem;
    color: var(--white);
    margin-bottom: 0.6rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.feature-card p {
    font-size: 0.875rem;
    line-height: 1.65;
    color: rgba(200, 235, 245, 0.65);
}

/* DOWNLOAD */
.download-section {
    background: linear-gradient(135deg, rgba(26, 74, 106, 0.2) 0%, rgba(62, 200, 200, 0.05) 100%);
    border: 1px solid rgba(62, 200, 200, 0.1);
    padding: 4rem 3rem;
    max-width: 1100px;
    margin: 0 auto 6rem;
}

.download-header {
    text-align: center;
    margin-bottom: 3rem;
}

.download-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.iso-card {
    background: rgba(10, 26, 40, 0.6);
    border: 1px solid rgba(62, 200, 200, 0.15);
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s;
    position: relative;
    overflow: hidden;
}

.iso-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(62, 200, 200, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.25s;
}

.iso-card:hover { border-color: var(--teal); transform: translateY(-4px); }
.iso-card:hover::before { opacity: 1; }

.iso-name {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.iso-type {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 1rem;
}

.iso-desc {
    font-size: 0.85rem;
    line-height: 1.6;
    color: rgba(200, 235, 245, 0.6);
    margin-bottom: 1.75rem;
}

.iso-meta {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.7rem;
    color: rgba(200, 235, 245, 0.35);
    margin-top: 1rem;
    letter-spacing: 0.08em;
}

.download-btn {
    display: block;
    width: 100%;
    padding: 0.75rem;
    background: transparent;
    border: 1px solid var(--teal);
    color: var(--teal);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
}

.download-btn:hover {
    background: var(--teal);
    color: var(--darkest);
}

.notice {
    text-align: center;
    margin-top: 2rem;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.7rem;
    color: rgba(200, 235, 245, 0.3);
    letter-spacing: 0.1em;
}

/* FOOTER */
footer {
    border-top: 1px solid rgba(62, 200, 200, 0.1);
    padding: 2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer p {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.7rem;
    color: rgba(200, 235, 245, 0.3);
    letter-spacing: 0.08em;
}

footer a {
    color: var(--teal);
    text-decoration: none;
}

footer a:hover { color: var(--green); }

/* TOAST */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--teal);
    color: var(--darkest);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.8rem;
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    transform: translateY(6rem);
    transition: transform 0.3s;
    z-index: 200;
}

.toast.show { transform: translateY(0); }

@media (max-width: 768px) {
    nav { padding: 1rem 1.5rem; }
    .nav-links { display: none; }
    .hero-content { padding: 0 1.5rem; padding-top: 7rem; }
    section { padding: 4rem 1.5rem; }
    .about-grid { grid-template-columns: 1fr; gap: 2rem; }
    .features-grid { grid-template-columns: 1fr; }
    .download-options { grid-template-columns: 1fr; }
    .download-section { padding: 3rem 1.5rem; margin: 0 1.5rem 4rem; }
    footer { flex-direction: column; gap: 1rem; text-align: center; }
}