/* RESET */

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

body {
font-family: 'Rajdhani', sans-serif;
background: #020305;
color: #e6ecff;
overflow-x: hidden;
padding-top: 100px;
}

/* CANVAS BACKGROUND */
#senthron-canvas {
position: fixed;
top: 0;
left: 0;
z-index: -1;
}

/* NAVBAR */
.nav {
position: fixed;
width: 100%;
top: 0;
padding: 1.2rem 3rem;

display: grid; /* CHANGE */
grid-template-columns: auto 1fr auto; /* ADD */
align-items: center;
gap: 20px;

background: rgba(10, 15, 25, 0.6);
backdrop-filter: blur(12px);
border-bottom: 1px solid rgba(0, 255, 200, 0.1);
z-index: 100;

}

.logo {
font-size: 1.3rem;
font-weight: 700;
letter-spacing: 4px;
}

/* STATUS */
.status-indicator {
font-family: 'Space Mono', monospace;
font-size: 0.7rem;
color: #00ffc3;
display: flex;
align-items: center;
gap: 8px;
justify-content: center; /* ADD */
justify-self: center; /* ADD THIS */
}

.dot {
width: 8px;
height: 8px;
background: #00ffc3;
border-radius: 50%;
box-shadow: 0 0 10px #00ffc3;
animation: pulse 1.5s infinite;
}

@keyframes pulse {
0%,100% { opacity: 1; }
50% { opacity: 0.3; }
}

/* NAV LINKS */
.nav-links {
display: flex;
gap: 25px;
}

.nav-links a {
text-decoration: none;
color: #9aa4c7;
font-size: 0.9rem;
transition: 0.3s;
}

.nav-links a:hover {
color: #00ffc3;
}

/* HERO */
.hero {
text-align: center;
padding-top: 140px;
padding-bottom: 80px;
}

.glitch {
font-size: clamp(3rem, 8vw, 5rem);
letter-spacing: 10px;
font-weight: 700;
margin-bottom: 10px;
}

.hero-subtext {
max-width: 600px;
margin: 0 auto 20px;
color: #9aa4c7;
font-size: 1rem;
}

/* BUTTON */
.cta-btn {
padding: 12px 30px;
border: none;
background: linear-gradient(90deg, #0088ff, #00ffc3);
color: #000;
font-weight: 700;
cursor: pointer;
border-radius: 6px;
transition: 0.3s;
}

.cta-btn:hover {
transform: translateY(-2px);
box-shadow: 0 0 20px #00ffc3;
}

/* TERMINAL */
.terminal {
margin-top: 40px;
max-width: 650px;
margin-left: auto;
margin-right: auto;

background: rgba(10, 15, 30, 0.7);
border: 1px solid rgba(0, 255, 200, 0.2);
border-radius: 8px;
overflow: hidden;

}

.terminal-header {
padding: 10px;
font-size: 0.8rem;
color: #00ffc3;
border-bottom: 1px solid rgba(0,255,200,0.2);
}

.terminal-body {
padding: 15px;
font-family: 'Space Mono', monospace;
font-size: 0.85rem;
color: #aab4d6;
min-height: 120px;
}

/* SECTIONS */
.section {
text-align: center;
max-width: 800px;
margin: 80px auto;
padding: 0 20px;
border-top: 1px solid rgba(255,255,255,0.03); /* ADD */
scroll-margin-top: 100px;
}

.section h2 {
margin-bottom: 15px;
font-size: 1.8rem;
}

.section p {
color: #9aa4c7;
line-height: 1.6;
}

/* MODULES */
.modules {
display: flex;
justify-content: center;
gap: 20px;
flex-wrap: wrap;
margin: 60px auto;
max-width: 1100px;
}

.glass-card {
background: rgba(20, 25, 45, 0.3);
backdrop-filter: blur(10px);
padding: 25px;
border-radius: 10px;
width: 300px;
transition: 0.3s;
}

.glass-card:hover {
transform: translateY(-5px);
border: 1px solid #00ffc3;
box-shadow: 0 0 20px rgba(0,255,200,0.15); /* ADD */
}

.glass-card h3 {
margin-bottom: 10px;
color: #00ffc3;
}

.glass-card p {
font-size: 0.9rem;
color: #9aa4c7;
}

/* STEPS */
.steps {
display: flex;
gap: 15px;
flex-wrap: wrap;
justify-content: center;
}

.step {
padding: 15px 20px;
border: 1px solid rgba(0,255,200,0.2);
background: rgba(255,255,255,0.02);
backdrop-filter: blur(6px);
border-radius: 6px;
font-size: 0.9rem;
}

/* SUBSCRIBE */
.subscribe-section {
text-align: center;
padding: 60px 20px;
}

.input-group {
margin-top: 20px;
display: flex;
justify-content: center;
gap: 10px;
flex-wrap: wrap;
}

input {
padding: 12px;
width: 100%;
max-width: 250px;
background: #0a0f1a;
border: 1px solid #0088ff;
color: #fff;
border-radius: 5px;
}

button {
    padding: 12px 20px;
    background: linear-gradient(90deg, #0088ff, #00ffc3);
    border: none;
    color: black;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px #00ffc3;
}

/* FOOTER */
footer {
text-align: center;
padding: 30px;
border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-links {
margin-bottom: 10px;
}

.footer-links a {
margin: 0 10px;
color: #9aa4c7;
text-decoration: none;
}

.footer-links a:hover {
color: #00ffc3;
}

.footer-brand {
margin-bottom: 10px;
font-size: 0.9rem;
}

.copyright {
font-size: 0.7rem;
color: #666;
}

/* MODAL */
.modal {
    display: none;
    z-index: 999; /* ADD THIS */
}

.modal.active {
display: flex;
justify-content: center;
align-items: center;
position: fixed;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.8);
}

.modal-content {
    background: #0a0f1a;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #00ffc3;   /* ADD */
    box-shadow: 0 0 20px rgba(0,255,200,0.2); /* ADD */
}

/* MOBILE */
@media (max-width: 768px) {

    .nav {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 10px;
        gap: 8px;
    }

    .logo {
        margin-bottom: 5px;
    }

    .status-indicator {
        font-size: 0.65rem;
        margin-bottom: 8px;
    }

    .nav-links {
        display: none;
    }

    body {
        padding-top: 120px;
    }

    .hero {
        padding-top: 10px;
        padding-bottom: 60px;
    }

    .hero-subtext {
        font-size: 0.9rem;
        padding: 0 10px;
    }

    .cta-btn {
        width: 80%;
        max-width: 280px;
    }

    .terminal {
        width: 90%;
    }

    .terminal-body {
        font-size: 0.75rem;
        line-height: 1.4;
    }

    .section {
        margin: 60px auto;
        padding: 0 15px;
    }

    .section p {
        font-size: 0.9rem;
    }

    .glass-card {
        width: 90%;
    }

    .steps {
        gap: 10px;
    }

    .step {
        width: 90%;
        margin: 5px auto;
    }

    .input-group button {
        width: 100%;
        max-width: 280px;
    }

    .footer-brand {
        padding: 0 15px;
        line-height: 1.4;
    }
}


input:focus {
    outline: none;
    border-color: #00ffc3;
    box-shadow: 0 0 10px rgba(0,255,200,0.3);
}

html {
    scroll-behavior: smooth;
}

/* POPUP */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.popup.active {
    display: flex;
}

.popup-content {
    background: #0a0f1a;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    border: 1px solid #00ffc3;
}

.popup-content input {
    width: 100%;
    margin: 10px 0;
}

.close-btn {
    margin-top: 10px;
    background: rgba(255,255,255,0.05);
    color: #ccc;
    border-radius: 5px;
    padding: 8px;
}

.close-btn:hover {
    background: rgba(0,255,200,0.1);
    color: #00ffc3;
}

.hero,
.section,
.modules,
.subscribe-section {
    animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
