@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;900&display=swap');

:root {
    --b: #000000;
    --f: #E6EDF3;
    --f-alt: #8B949E;
    --br: rgba(255, 255, 255, 0.1);
    --sh: rgba(57, 211, 159, 0.1);
    --c1: #39D39F;
    --c2: #007acc;
    --c3: #58A6FF;
    --hb: rgba(10, 10, 10, 0.7);
    --ts: 0.3s;
}

@media (prefers-color-scheme: light) {
    :root {
        --b: #F3F4F6;
        --f: #111827;
        --f-alt: #6B7280;
        --br: rgba(0, 0, 0, 0.1);
        --sh: rgba(57, 211, 159, 0.1);
        --hb: rgba(255, 255, 255, 0.7);
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--b);
    color: var(--f);
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
    transition: background-color var(--ts), color var(--ts);
}

.c {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.s {
    padding: 6rem 0;
    position: relative;
}

.page {
    padding-top: 10rem;
}

.intro-title {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1rem 0;
    background: var(--hb);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--br);
    transition: background-color var(--ts), border-color var(--ts);
}

header .c {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer {
    padding: 4rem 0 2rem;
    position: relative;
    border-top: 1px solid var(--br);
}

.f-c {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
}

.f-col {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.f-cr {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--br);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-c {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.g-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.f-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 5rem;
}

.f-row:nth-child(odd) {
    flex-direction: row-reverse;
}

.f-text { flex: 1; }
.f-vis { flex: 1; }

.cta-center {
    text-align: center;
    margin-top: 4rem;
}

.tech-showcase {
    text-align: center;
    padding: 6rem 0;
    border-top: 1px solid var(--br);
    border-bottom: 1px solid var(--br);
}

.tech-content {
    max-width: 800px;
    margin: auto;
}

.tech-logo {
    width: 150px;
    height: 150px;
    margin-bottom: .8rem;
}

.final-cta {
    text-align: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo span {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--f);
}

nav ul {
    display: flex;
    align-items: center;
    list-style: none;
}

nav a {
    color: var(--f-alt);
    text-decoration: none;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border-radius: 6px;
    position: relative;
    transition: color var(--ts);
}

nav a:hover {
    color: var(--f);
}

.btn {
    padding: 0.75rem 1.5rem;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all var(--ts) ease;
}

.btn-p {
    background-color: var(--c1);
    color: #000;
    border-color: var(--c1);
}

.btn-p:hover {
    transform: translateY(-1px);
    color: var(--c1);
    background-color: #0c0c0c;
}

.btn-s {
    background-color: transparent;
    border-color: var(--br);
    color: var(--f-alt);
}

.btn-s:hover {
    border-color: var(--c1);
    color: var(--c1);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}
.g-3 {
    transition: all .3s ease;
}
.card {
    background: transparent;
    padding: 2.5rem;
    border: 1px solid var(--br);
    border-radius: 12px;
    transition: all var(--ts) ease;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--c1);
}

.card h3 {
    color: var(--f);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 500;
}
.card p {
    opacity: 0.7;
    font-size: 1rem;
}
h1, h2, h3, h4 { font-weight: 700; }
.hero h1 { font-size: clamp(3.5rem, 10vw, 6rem); margin-bottom: 1rem; line-height: 1.1; letter-spacing: -0.05em; color: var(--f); font-weight: 900; }
.hero h1 span { color: var(--c1); }
.hero p { font-size: 1.25rem; max-width: 650px; margin: 0 auto 2.5rem; color: var(--f-alt); }
.intro-title h2 { font-size: 3rem; margin-bottom: 1rem; }
.intro-title p { font-size: 1.2rem; color: var(--f-alt); }
.f-col h4 { font-size: 1rem; color: var(--f); margin-bottom: 0.5rem; }
.f-col a { text-decoration: none; color: var(--f-alt); transition: color var(--ts); }
.f-col a:hover { color: var(--c1); }
.f-cr { font-size: 0.9rem; color: var(--f-alt); }
.tech-showcase h2 { font-size: 3rem; margin-bottom: 1rem; }
.tech-showcase h2 span { color: var(--c1); }
.tech-showcase p { font-size: 1.2rem; color: var(--f-alt); margin-bottom: 2.5rem; }
.testimonial .t-text { font-style: italic; color: var(--f-alt); margin-bottom: 1.5rem; }
.testimonial .t-author { font-weight: 500; color: var(--f); }
.final-cta h2 { font-size: 3rem; }
.final-cta p { font-size: 1.2rem; margin-bottom: 2.5rem; color: var(--f-alt); }
.vis-ph { width: 100%; height: 300px; border: 1px solid var(--br); border-radius: 12px; background: linear-gradient(45deg, rgba(255,255,255,0.01), rgba(255,255,255,0.05)); }

.aurora {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    filter: blur(100px) saturate(1.5);
    overflow: hidden;
}

.aurora-d {
    position: absolute;
    border-radius: 50%;
    opacity: 0.4;
    animation: drift 25s infinite linear alternate;
}

.d1 { background: var(--c1); width: 400px; height: 400px; top: 10%; left: 10%; animation-duration: 25s; }
.d2 { background: var(--c2); width: 500px; height: 500px; top: 20%; right: 5%; animation-duration: 30s; }
.d3 { background: var(--c3); width: 350px; height: 350px; bottom: 10%; left: 30%; animation-duration: 20s; }

@keyframes drift {
    from { transform: rotate(0deg) translateX(50px) rotate(0deg); }
    to { transform: rotate(360deg) translateX(50px) rotate(-360deg); }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.tech-logo {
    animation: pulse 4s infinite ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
    width: 25px;
    height: 21px;
    position: relative;
}

.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--f);
    transition: all 0.3s ease-in-out;
    position: absolute;
    left: 0;
}

.bar:nth-child(1) { top: 0; }
.bar:nth-child(2) { top: 9px; }
.bar:nth-child(3) { top: 18px; }

.menu-toggle.is-active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
.menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }


@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 65px;
        left: 0;
        width: 100%;
        background: var(--hb);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 1rem 0;
        border-bottom: 1px solid var(--br);
    }
    
    nav ul.active {
        display: flex;
    }

    nav li {
       width: 100%;
       text-align: center;
       margin: 0.5rem 0;
    }
    
    .hero {
        padding-top: 8rem;
    }

    .intro-title h2,
    .tech-showcase h2,
    .final-cta h2 {
        font-size: 2.5rem;
    }

    .f-row, .f-row:nth-child(odd) {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .intro-title h2,
    .tech-showcase h2,
    .final-cta h2 {
        font-size: 2rem;
    }
    
    .intro-title {
        margin-bottom: 3rem;
    }

    .g-3 {
        grid-template-columns: 1fr;
    }
}

/* --- Download Page Additions --- */
.download-btns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
}

.btn.disabled {
    cursor: not-allowed;
    background-color: transparent;
    border-color: var(--br);
    color: var(--f-alt);
    opacity: 0.6;
}

.btn.disabled:hover {
    transform: none;
    box-shadow: none;
    background-color: transparent;
    color: var(--f-alt);
    border-color: var(--br);
}

.g-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    align-items: start;
}

.release-notes h3, .faq h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--br);
}

.version-item, .faq-item {
    margin-bottom: 2rem;
}

.version-item:last-child, .faq-item:last-child {
    margin-bottom: 0;
}

.version-item h4, .faq-item h4 {
    font-size: 1.2rem;
    color: var(--f);
    margin-bottom: 0.5rem;
}

.release-date {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--f-alt);
    margin-left: 0.5rem;
}

.version-item ul {
    list-style-position: inside;
    color: var(--f-alt);
    padding-left: 0.5rem;
}

.version-item li {
    margin-bottom: 0.25rem;
}

.faq-item p {
    color: var(--f-alt);
}


@media (max-width: 768px) {
    .release-notes h3, 
    .faq h3 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .release-notes h3, 
    .faq h3 {
        font-size: 2rem;
    }

    .g-2 {
        grid-template-columns: 1fr;
    }
}
/* --- Technology Page Additions --- */
.g-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tech-philosophy {
    text-align: center;
    border-top: 1px solid var(--br);
    position: relative;
}

.tech-philosophy h2 {
    font-size: 3rem;
}

.tech-philosophy p {
    font-size: 1.2rem;
    color: var(--f-alt);
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.philosophy-card {
    text-align: left;
}

@media (max-width: 768px) {
    .tech-philosophy h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .g-4 {
        grid-template-columns: 1fr;
    }
    .tech-philosophy h2 {
        font-size: 2rem;
    }
}

/* --- Features Page Additions --- */
.f-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--br);
}

.sub-features {
    padding-top: 0;
}

@media (max-width: 768px) {
    .f-img {
        height: 300px;
    }
}
/* --- About Page Additions --- */
.values-section {
    padding-top: 0;
}

.team-section {
    background-color: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--br);
    border-bottom: 1px solid var(--br);
}

.team-member {
    text-align: center;
}

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid var(--br);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.team-member:hover img {
    transform: scale(1.05);
}

.team-member h4 {
    font-size: 1.2rem;
    color: var(--f);
    margin-bottom: 0.25rem;
}

.team-member .role {
    color: var(--c1);
    font-weight: 500;
}
/* --- About Page Additions --- */
.values-section {
    padding-top: 0;
}

.team-section {
    background-color: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--br);
    /* border-bottom: 1px solid var(--br); */
}

.team-member {
    text-align: center;
}

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid var(--br);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.team-member:hover img {
    transform: scale(1.05);
}

.team-member h4 {
    font-size: 1.2rem;
    color: var(--f);
    margin-bottom: 0.25rem;
}

.team-member .role {
    color: var(--c1);
    font-weight: 500;
}

.join-us-section {
    text-align: center;
    position: relative;
    border-top: 1px solid var(--br);
}

.join-us-section h2 {
    font-size: 3rem;
    color: var(--f);
    margin-bottom: 1rem;
}

.join-us-section p {
    font-size: 1.2rem;
    color: var(--f-alt);
    max-width: 700px;
    margin: 0 auto 2.5rem auto;
}

@media (max-width: 768px) {
    .join-us-section h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .join-us-section h2 {
        font-size: 2rem;
    }
}
