
:root {
    --red: #e63946;
    --red-soft: #ff4d4d;
    --bg-dark: #0d0b0b;
    --bg-light: #1b1b1b;
    --text: #f2f2f2;
    --muted: #b3b3b3;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.mirror-card{
    margin-top: 1rem;
}
a{
    text-decoration: none;
    color: inherit;

}
body {
    font-family: "Inter", sans-serif;
    background: radial-gradient(circle at 20% 20%, var(--bg-light), var(--bg-dark) 80%);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}


header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(37, 37, 37, 0.11);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 5px 30px rgba(255, 146, 146, 0.1);
    transition: background 0.4s ease, box-shadow 0.4s ease;
}


header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 80%;
    height: 2px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.19), transparent);
    opacity: 0.5;
    transition: opacity 0.4s ease;
}


header.scrolled {
    background: rgba(10, 10, 10, 0.9);
    box-shadow: 0 8px 40px rgba(255, 255, 255, 0.2);
}

header.scrolled::after {
    opacity: 1;
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-shadow: 0 0 25px rgba(255, 0, 0, 0.2);
    transition: text-shadow 0.4s, transform 0.4s;
}

.logo span {
    color: var(--red-soft);
}

.logo:hover {
    transform: scale(1.05);
    text-shadow: 0 0 35px rgba(255, 0, 0, 0.5);
}


nav a {
    margin: 0 1rem;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

nav a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--red-soft);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

nav a:hover {
    color: var(--red-soft);
}

nav a:hover::after {
    width: 60%;
}


@media (max-width: 768px) {
    nav {
        display: none;
    }
    .logo {
        margin: 0 auto;
        font-size: 1.5rem;
    }
}

.hero {
    position: relative;
    height: 750px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(160deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 80%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);

}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
            linear-gradient(rgba(251, 251, 251, 0.31) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: moveGrid 20s linear infinite;
    filter: blur(1px);
    opacity: 0.25;
    z-index: 0;

}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 0, 0, 0), transparent 70%);
    mix-blend-mode: screen;
    z-index: 0;
}

@keyframes moveGrid {
    0% { background-position: 0 0, 0 0; }
    100% { background-position: 120px 120px, 120px 120px; }
}


.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    padding: 3rem;
    border-radius: 18px;
    background: rgb(27, 26, 26);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.39);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ff4d4d;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.hero p {
    color: #ccc;
    font-size: 1.15rem;
    margin-bottom: 2rem;
}

.cta-btn {
    padding: 0.9rem 2.2rem;
    border-radius: 10px;
    background: linear-gradient(90deg, rgba(158, 158, 158, 0.05), rgba(159, 159, 159, 0.05));
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.39);
}

.cta-btn:hover {

    transform: translateY(-3px);
    box-shadow: 0 0 35px rgba(255, 255, 255, 0.06);
}

.panel {
    margin: 5rem auto;
    padding: 3rem;
    max-width: 1100px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.panel:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 40px rgba(255, 255, 255, 0.04);
}

.panel h2 {
    color: var(--red-soft);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.panel p {
    color: #bbb;
}

.features-grid,
.stats-grid,
.security-grid {
    display: grid;
    gap: 1.5rem;
}

.features-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.feature-card {
    padding: 1.5rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s, background 0.3s;
}

.feature-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 0, 0, 0.1);
}

.security-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.layer {
    padding: 1.5rem;
    border-left: 3px solid var(--red-soft);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 6px;
}

.stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    text-align: center;
}

.stat-box {
    padding: 1.5rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-box h3 {
    color: var(--red-soft);
}

/* TIMELINE */
.timeline {
    position: relative;
    padding-left: 2rem;
    border-left: 2px solid rgba(255, 255, 255, 0.2);
}

.timeline-item {
    margin-bottom: 2rem;
    padding-left: 1rem;
}

.timeline-item .date {
    display: inline-block;
    font-weight: bold;
    color: var(--red-soft);
}

.timeline-item.upcoming .date {
    color: #ffcc00;
}


.faq-item {
    margin-bottom: 1.5rem;
}

.faq-item h3 {
    color: var(--red-soft);
    margin-bottom: 0.5rem;
}


footer {
    position: relative;
    text-align: center;
    padding: 3rem 1rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 0, 0, 0.05) 120%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    box-shadow: 0 -10px 40px rgba(255, 0, 0, 0.05);
    overflow: hidden;
}


footer::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 300px;
    height: 120px;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(255, 0, 0, 0.2), transparent 70%);
    filter: blur(40px);
    animation: pulseGlow 5s ease-in-out infinite alternate;
    opacity: 0.5;
}

@keyframes pulseGlow {
    0% { opacity: 0.3; transform: translateX(-50%) scale(1); }
    100% { opacity: 0.6; transform: translateX(-50%) scale(1.3); }
}

footer p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

footer p strong {
    color: var(--red-soft);
    font-weight: 600;
}

footer .small-note {
    margin-top: 0.6rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

footer:hover::before {
    opacity: 0.7;
}

/* WHY NEXUS */
#why .why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.why-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);

    border-radius: 12px;
    padding: 1.6rem;
    text-align: center;
    transition: all 0.3s ease;
}
.why-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 0, 0, 0.08);
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.2);
}
.why-card h3 {
    color: #ff4d4d;
    margin-bottom: 0.5rem;
}

/* GUIDELINES */
#guidelines ul {
    list-style: none;
    margin-top: 1rem;
    padding-left: 0;
    line-height: 1.8;
}
#guidelines li {
    background: rgba(255, 0, 0, 0.05);
    border-left: 2px solid rgba(255, 0, 0, 0.3);
    padding: 0.6rem 1rem;
    margin-bottom: 0.6rem;
    border-radius: 6px;
    color: #ddd;
}


#community .updates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.update-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);

    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}
.update-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 0, 0, 0.08);
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.2);
}
.update-card h3 {
    color: #ff4d4d;
    margin-bottom: 0.4rem;
}


#mirrors p{
    margin-top: 2rem;
}

.hero-description p{
    font-size: 0.8rem;
    margin-top: 2rem;
}

.links-wrapper{
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.8rem;
    margin-top: 0.5rem;
}

.links{
    color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .panel {
        padding: 2rem;
    }

    nav {
        display: none;
    }

    .logo {
        display: flex;
        justify-content: center;
        margin: 0 auto;
    }
}
