/* =============================================================
   ====== Global Color Palette & Variables ======
   ============================================================= */
:root {

    --primary-gradient: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-blue) 100%);
    /* Core Colors */
    --bg-primary: #000;
    --accent-blue: #3b82f6;
    --accent-purple: #8b5cf6;
    --accent-cyan: #06b6d4;
    --error-color: red;


    /* Text Colors */
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;

    /* Borders & Glows */
    --border-subtle: rgba(59, 130, 246, 0.15);
    --border-bright: rgba(59, 130, 246, 0.4);
    --glow-accent: rgba(59, 130, 246, 0.3);

    /* Terminal */
    --terminal-bg: var(--bg-primary);
    --terminal-header: #1e293b;
    --terminal-border: var(--terminal-header);
    --terminal-text: #e2e8f0;
    --terminal-prompt: #60a5fa;
    --terminal-command: var(--accent-blue);
    --terminal-cursor: #ffffff;
}

/* =============================================================
   ====== Loading Screen ======
   ============================================================= */
.loading-screen {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    width: 100%;
    height: 100vh;
    background: var(--bg-primary);
    z-index: 9999;
}

.terminal-link {
    color: #3b82f6;
    text-decoration: underline;
}


.loading-block {
    width: 12px;
    height: 40px;
    background: var(--primary-gradient);
    animation: bounce 1s ease-in-out infinite;
    border-radius: 2px;
}

.loading-block:nth-child(n) {
    animation-delay: calc(0.1s * (var(--i, 0)));
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-20px);
        opacity: 1;
    }
}

body.loaded .loading-screen {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease;
}


/* =============================================================
   ====== GlitchLabs Overlay Modal ======
   ============================================================= */

/* Overlay container */
.notification-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7); /* semi-transparent black */
    backdrop-filter: blur(6px);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Show the modal */
.notification-modal.show {
    opacity: 1;
    pointer-events: all;
}

/* Inner content box */
.modal-content {
    background: var(--bg-primary); /* dark navy panel */
    border: 1px solid var(--border-bright);
    border-radius: 1rem;
    padding: 2rem 2.5rem;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 0 25px var(--glow-accent);
    text-align: center;
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.notification-modal.show .modal-content {
    transform: scale(1);
    opacity: 1;
}

/* Title & subtitle */
.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

/* Email input */
.email-input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-bright);
    border-radius: 0.5rem;
    background: var(--terminal-bg);
    color: var(--text-primary);
    font-size: 0.95rem;
    outline: none;
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

.email-input::placeholder {
    color: var(--text-muted);
}

.email-input:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 10px var(--glow-accent);
}

/* Buttons */
.modal-buttons {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.5rem;
}

.modal-button {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

.modal-button.primary {
    background: var(--accent-blue);
    color: #fff;
    box-shadow: 0 0 12px var(--glow-accent);
}

.modal-button:not(.primary) {
    background: var(--terminal-header);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
}

.modal-button:not(.primary):hover {
    background: var(--terminal-bg);
    border-color: var(--accent-blue);
}

/* Feedback messages */
.success-message,
.error-message {
    display: none;
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.success-message {
    color: var(--accent-cyan);
}

.error-message {
    color: var(--error-color);
}



/* =============================================================
   ====== General Reset ======
   ============================================================= */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-primary);
    color: var(--text-primary);
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* =============================================================
   ====== Navbar ======
   ============================================================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 40px;
    background: var(--bg-primary);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.navbar::after {
    content: "";
    position: absolute;
    inset: 0;
    border-bottom: 1px solid var(--border-bright);
    pointer-events: none;
    opacity: 0.3;
}

.nav-start, .nav-center, .nav-end {
    display: flex;
    align-items: center;
    gap: 25px;
}

.logo img {
    display: block;
    filter: brightness(0.95);
    transition: filter 0.3s ease;
}
.logo img:hover { filter: brightness(1.1); }

.nav-center a,
.nav-end a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.8px;
    position: relative;
    padding: 8px 3px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.nav-center a::after,
.nav-end a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--text-primary);
    transition: width 0.3s ease;
}

.nav-center a:hover,
.nav-end a:hover {
    color: var(--text-primary);
}

.nav-center a:hover::after,
.nav-end a:hover::after {
    width: 100%;
}

/* =============================================================
   ====== Mobile Menu ======
   ============================================================= */
.menu-icon {
    display: none;
    font-size: 1.8rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: transform 0.3s ease;
}
.menu-icon:hover { transform: scale(1.1); }

.mobile-menu {
    display: none;
    flex-direction: column;
    background: var(--bg-primary);
    backdrop-filter: blur(10px);
    text-align: center;
    border-top: 1px solid var(--border-subtle);
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-radius: 0 0 12px 12px;
}

.mobile-menu a {
    padding: 15px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-subtle);
}

.mobile-menu a:hover {
    background: rgba(59, 130, 246, 0.1);
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .nav-center, .nav-end { display: none; }
    .menu-icon { display: block; }
    .mobile-menu.show {
        display: flex;
        animation: fadeIn 0.3s ease;
    }
}

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

/* =============================================================
   ====== Shared Hero Base ======
   ============================================================= */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6rem;
    padding: 0 8%;
    padding-bottom: 120px;
    min-height: 80vh;
    overflow: hidden;
    background: var(--bg-primary);
    border-top: 1px solid transparent;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: transparent;
    opacity: 0.15;
    pointer-events: none;
}

/* =============================================================
   ====== Hero Content ======
   ============================================================= */
.hero-content {
    max-width: 550px;
    z-index: 2;
    flex-shrink: 0;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    position: relative;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 480px;
}

/* =============================================================
   ====== Terminal Hero Block ======
   ============================================================= */
.hero-terminal {
    flex: 1;
    display: flex;
    flex-direction: column;
    border: 2px solid var(--terminal-border);
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    min-width: 420px;
    max-width: 640px;
    background: var(--terminal-bg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.hero-terminal::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
    opacity: 0.15;
    z-index: -1;
}

/* =============================================================
   ====== Terminal Body & Lines ======
   ============================================================= */
.terminal-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: var(--terminal-header);
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent-blue);
}

.terminal-title {
    margin-left: auto;
    font-family: "JetBrains Mono", "Fira Code", monospace;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.terminal-body {
    padding: 24px 28px;
    font-family: "JetBrains Mono", "Fira Code", monospace;
    font-size: 0.95rem;
    line-height: 1.8;
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: 320px;
    background: var(--terminal-bg);
}

.terminal-output {
    flex: 1;
    max-height: 240px;
    overflow-y: auto;
    padding-right: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.terminal-output::-webkit-scrollbar {
    width: 6px;
}
.terminal-output::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 12px;
}
.terminal-output::-webkit-scrollbar-thumb {
    background: var(--accent-blue);
    border-radius: 12px;
}

.terminal-line {
    position: relative;
    padding-left: 18px;
    color: var(--terminal-text);
    opacity: 0;
    transform: translateY(6px);
    animation: revealLine 0.7s ease forwards;
    white-space: pre-wrap;
}

.terminal-line::before {
    content: ">";
    position: absolute;
    left: 0;
    color: var(--terminal-prompt);
}

.terminal-line .prompt { color: var(--terminal-prompt); margin-right: 8px; }
.terminal-line .prompt.user { color: var(--accent-cyan); }
.terminal-line .prompt.success { color: var(--accent-blue); }
.terminal-line .command { color: var(--terminal-command); font-weight: 600; }

.terminal-line.delay-1 { animation-delay: 0.3s; }
.terminal-line.delay-2 { animation-delay: 0.6s; }
.terminal-line.delay-3 { animation-delay: 0.9s; }
.terminal-line.delay-4 { animation-delay: 1.2s; }
.terminal-line.delay-5 { animation-delay: 1.5s; }

@keyframes revealLine {
    to { opacity: 1; transform: translateY(0); }
}

.cursor {
    display: inline-block;
    width: 10px;
    background: var(--terminal-cursor);
    animation: blink 1s steps(1) infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* =============================================================
   ====== Terminal Input ======
   ============================================================= */
.terminal-input-row {
    display: flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: none;
    z-index: 2;
}

.terminal-input-row .prompt { white-space: nowrap; color: var(--terminal-prompt); }
.terminal-input-row input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--terminal-text);
    font-family: inherit;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    caret-color: var(--terminal-cursor);
}
.terminal-input-row input::placeholder { color: var(--text-muted); }
.terminal-input-row input:disabled { opacity: 0.55; cursor: not-allowed; }

/* =============================================================
   ====== Arrow Button ======
   ============================================================= */
.arrow-button {
    margin-top: 40px;
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.button-hero-1 {
    background: transparent;
    border: 2px solid var(--border-bright);
    color: var(--text-primary);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: bounce 2s ease-in-out infinite;
}

.button-hero-1:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: var(--accent-blue);
    transform: translateY(-5px);
}

.button-hero-1 svg { width: 24px; height: 24px; }

/*/ =============================================================
   ====== Links ======
   ============================================================= */
   .links {
    color: var(--accent-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}






/* =============================================================
   ====== Hero 2 Section ======
   ============================================================= */
.hero-2 {
    display: flex;
    align-items: flex-start;
    gap: 4rem;
    padding: 6rem 8%;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-subtle);
}

.hero-2-content {
    flex: 1;
    max-width: 640px;
    z-index: 2;
}

.hero-2-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-2-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.3rem;
}

.hero-2-motto {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.6;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-2-visual {
    flex: 1;
    max-width: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-2-visual img {
    width: 100%;
    max-width: 420px;
    border-radius: 22px;
    border: 1px solid var(--border-bright);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
    background: var(--terminal-bg);
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.hero-3-visual {
    margin-top: 20%;
    flex: 1;
    max-width: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-3-visual img {
    width: 100%;
    max-width: none;
    border-radius: 22px;
    border: 1px solid var(--border-bright);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
    background: var(--terminal-bg);
    object-fit: cover;
    position: relative;
    z-index: 1;
}




/* =============================================================
   ====== Hero 4 / Team Section ======
   ============================================================= */
.hero-4 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: 8rem 2rem;
    text-align: center;
    border-top: 1px solid var(--border-subtle);
    position: relative;
    overflow: hidden;
}

.hero-4-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-4-subtitle {
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Glitch "COMING SOON_" display */
.coming-soon-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

.glitch-frame {
    position: relative;
    display: inline-block;
    padding: 2rem 3rem;
    border: 1px solid var(--border-bright);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.02);
    box-shadow: 0 0 25px var(--glow-accent);
    animation: flicker 3s infinite;
}

.glitch-text {
    position: relative;
    font-family: "JetBrains Mono", monospace;
    font-size: 2rem;
    font-weight: 600;
    color: var(--accent-cyan);
    text-shadow:
        0 0 5px var(--accent-cyan),
        0 0 15px var(--accent-blue),
        0 0 30px var(--accent-blue);
    animation: glitch 1.5s infinite;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.7;
}

.glitch-text::before {
    color: var(--accent-purple);
    transform: translate(-2px, -2px)


}



/* =============================================================
   ====== About Section Carousel ======
   ============================================================= */
.carousel {
    margin-left: 10%;
    position: relative;
    flex: 1;
    max-width: 400px;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid var(--border-bright);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
    background: var(--terminal-bg);
}

/* Track + Images */
.carousel-track {
    display: flex;
    transition: transform 0.7s ease-in-out;
}

.carousel-track img {
    margin-right: 30px;
    display: block;
    width: 100%;
    border-radius: 22px;
}

/* =============================================================
   ====== Carousel Buttons (Hover Show)
   ============================================================= */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-bright);
    color: var(--text-primary);
    font-size: 2rem;
    padding: 0.3rem 0.8rem;
    cursor: pointer;
    z-index: 2;
    border-radius: 8px;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease, opacity 0.4s ease;
    
    /* Initially hidden */
    opacity: 0;
    pointer-events: none;
}

/* Hover state: fade buttons in */
.carousel:hover .carousel-btn {
    opacity: 1;
    pointer-events: auto;
}

.carousel-btn:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: #fff;
    box-shadow: 0 0 15px var(--glow-accent);
}

/* Button placement */
.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

/* Mobile adjustments */
@media (max-width: 768px) {
    .carousel-btn {
        font-size: 1.5rem;
        padding: 0.2rem 0.6rem;
    }
}
/* =============================================================
   ====== Contact Section ======
   ============================================================= */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    width: 100%;
    max-width: 600px;
    margin: 2rem auto 0;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 1px solid var(--border-bright);
    border-radius: 0.6rem;
    background: var(--terminal-bg);
    color: var(--text-primary);
    font-size: 1rem;
    outline: none;
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-muted);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 10px var(--glow-accent);
}

.contact-button {
    background: var(--accent-blue);
    color: #fff;
    padding: 1rem;
    border: none;
    border-radius: 0.6rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-button:hover {
    background: var(--accent-cyan);
    transform: translateY(-2px);
}

.form-status {
    margin-top: 0.8rem;
    font-size: 0.95rem;
    color: var(--accent-cyan);
}

/* =============================================================
   ====== Footer ======
   ============================================================= */
.footer {
    background: var(--terminal-header);
    color: var(--text-secondary);
    border-top: 1px solid var(--border-subtle);
    padding: 2rem 1rem;
    text-align: center;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-blue);
}





























/* =============================================================
   ====== Responsive Design ======
   ============================================================= */
@media (max-width: 1024px) {
    .hero, .hero-2 {
        flex-direction: column;
        justify-content: center;
        gap: 3rem;
        padding: 4rem 5%;
    }

    .arrow-button {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin: 40px auto 0;
        display: flex;
        justify-content: center;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
    }

    .hero-terminal {
        width: 100%;
        min-width: auto;
    }
}

@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.5rem; }
    .hero-content p { font-size: 1.1rem; }
    .hero-2-content h1 { font-size: 2.4rem; }
    .hero-2-content p { font-size: 1rem; }
}

@media (max-width: 560px) {
    .navbar { padding: 16px 24px; }
    .hero { padding: 3.5rem 6%; gap: 2.5rem; }
    .hero-content h1 { font-size: 2.1rem; }
    .hero-terminal { border-radius: 14px; }
    .terminal-body { padding: 20px; font-size: 0.9rem; }
    .terminal-input-row { gap: 8px; }
    .terminal-input-row .prompt { font-size: 0.85rem; }
    .terminal-input-row input { font-size: 0.9rem; }
    .hero-2 { padding: 4rem 6%; }
}
/* =============================================================
   ====== End of Styles ======
   ============================================================= */


