/* =============== VARIABLES =============== */
:root {
    --bg-dark: #050814; /* Midnight Velvet Blue-Black */
    --bg-panel: rgba(10, 15, 30, 0.75); /* Rich dark glassmorphic slate */
    --primary-gold: #b9ff00; /* Champagne Gold */
    --accent-gold-dark: #88cc00; /* Deep Metallic Gold/Bronze */
    --accent-blue: #00d2ff; /* Ice Aqua Blue */
    --text-main: #f3f4f6; /* Premium light grey */
    --text-muted: #9ca3af; /* Muted cool grey */
    --font-heading: 'Outfit', sans-serif;
    --font-mono: 'Fira Code', monospace;
}

/* =============== RESET & BASE =============== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-heading);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* High-end velvet dark gradient overlay */
    background-image: linear-gradient(rgba(10, 15, 30, 0.75), rgba(5, 8, 20, 0.92)), url('assets/shark_tank_bg.png');
    background-size: cover;
    background-position: center;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-gold-dark);
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 900;
    letter-spacing: 1px;
}

p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-weight: 400;
    font-size: 1.05rem;
}

a {
    text-decoration: none;
    color: inherit;
}

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

.Code-comment {
    text-transform: uppercase;
}

/* =============== NAVIGATION =============== */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 15, 30, 0.6);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(185, 255, 0, 0.3);
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -1px;
}

.logo .highlight {
    color: var(--primary-gold);
    text-shadow: 0 0 12px rgba(185, 255, 0, 0.6);
}

.logo-dot-img {
    height: 1.25em;
    width: 1.25em;
    border-radius: 50%;
    object-fit: cover;
    vertical-align: baseline;
    margin: 0 4px;
    box-shadow: 0 0 8px rgba(185, 255, 0, 0.6);
    background-color: var(--primary-gold);
}
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
    cursor: pointer;
    z-index: 1001; /* Above mobile menu */
}

.hamburger span {
    width: 100%;
    height: 2px;
    background-color: var(--primary-gold);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hamburger active transformation */
.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    transition: color 0.3s ease;
    font-weight: 600;
}

.nav-links a:hover {
    color: var(--accent-gold-dark);
    text-shadow: 0 0 8px rgba(136, 204, 0, 0.6);
}

.btn-primary {
    border: 1px solid var(--primary-gold);
    padding: 0.5rem 1.25rem;
    color: var(--primary-gold);
    text-shadow: 0 0 8px rgba(185, 255, 0, 0.5);
    box-shadow: 0 0 10px rgba(185, 255, 0, 0.2) inset;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.btn-primary:hover {
    background: var(--primary-gold);
    color: #000;
    box-shadow: 0 0 20px rgba(185, 255, 0, 0.6);
}

.mobile-chat-icon {
    display: none;
    color: var(--primary-gold);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
}

.mobile-chat-icon svg {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 0 5px rgba(185, 255, 0, 0.5));
}

.mobile-chat-text {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.mobile-chat-icon:hover {
    color: #fff;
}

/* =============== HERO SECTION =============== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    position: relative;
    padding-top: 80px;
}

.hero-content {
    max-width: 900px;
    z-index: 2;
}

.sys-status {
    font-family: var(--font-mono);
    color: var(--accent-gold-dark);
    margin-bottom: 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-shadow: 0 0 8px rgba(136, 204, 0, 0.6);
}

.blink {
    animation: blink 1.5s infinite alternate;
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0.4;
    }
}

/* Smooth Glow Title instead of offensive glitch */
.glow-title {
    font-size: 5.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.glow-title .accent-text {
    background: linear-gradient(90deg, var(--accent-blue), var(--primary-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    position: relative;
    display: inline-block;
}

.glow-title .accent-text::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gold);
    box-shadow: 0 0 15px var(--primary-gold);
}

.subtitle {
    font-size: 1.35rem;
    max-width: 750px;
    margin-bottom: 3.5rem;
    color: #dfe2ea;
}

.btn-neon {
    display: inline-block;
    padding: 1.25rem 2.5rem;
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 1.1rem;
    color: #111;
    background: var(--primary-gold);
    box-shadow: 0 0 25px rgba(185, 255, 0, 0.5);
    text-transform: uppercase;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.btn-neon:hover {
    box-shadow: 0 0 40px rgba(185, 255, 0, 0.9), 0 0 15px rgba(185, 255, 0, 0.5) inset;
    transform: translateY(-3px);
}

.btn-neon .arrow {
    margin-left: 10px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.btn-neon:hover .arrow {
    transform: translateY(5px);
}

/* =============== VISION & SERVICES SECTIONS =============== */
.section-vision,
.section-services {
    padding: 6rem 5%;
    position: relative;
}

.section-vision {
    background: linear-gradient(180deg, rgba(10, 15, 30, 0.1) 0%, rgba(8, 12, 24, 0.9) 100%);
    border-top: 1px solid rgba(0, 210, 255, 0.2);
}

.section-services {
    background: rgba(8, 12, 24, 0.9);
    border-top: 1px solid rgba(185, 255, 0, 0.15);
}

.section-container {
    max-width: 1000px;
}

.section-title {
    margin-bottom: 4rem;
}

.code-comment {
    font-family: var(--font-mono);
    color: var(--accent-blue);
    font-size: 1rem;
    font-weight: 600;
}

.section-title h2 {
    font-size: 3.5rem;
    color: #fff;
    margin-top: 0.5rem;
    line-height: 1.2;
}

.text-content .lead {
    font-size: 1.5rem;
    color: var(--primary-gold);
    margin-bottom: 2rem;
    font-weight: 500;
}

.cards-container {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.cyber-card {
    flex: 1;
    min-width: 320px;
    background: var(--bg-panel);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2.5rem;
    position: relative;
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
    border-top: 4px solid var(--accent-gold-dark);
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.cyber-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-blue);
    box-shadow: 0 15px 40px rgba(0, 210, 255, 0.15);
    border-top-color: var(--accent-blue);
}

.card-icon {
    font-family: var(--font-mono);
    color: var(--accent-blue);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.cyber-card h3 {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: #fff;
}

/* =============== MONTH TOGGLES =============== */
.month-toggle {
    margin-top: 2rem;
    background: rgba(10, 15, 30, 0.4);
    border: 1px solid rgba(0, 210, 255, 0.2);
    border-radius: 6px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.month-toggle:hover {
    border-color: rgba(0, 210, 255, 0.5);
    background: rgba(10, 15, 30, 0.6);
}

.month-summary {
    cursor: pointer;
    font-family: var(--font-mono);
    color: var(--accent-blue);
    font-size: 1.5rem;
    font-weight: 600;
    list-style: none;
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
}

.month-summary::-webkit-details-marker {
    display: none;
}

.month-summary::before {
    content: '[+]';
    display: inline-block;
    margin-right: 15px;
    color: var(--accent-gold-dark);
    font-weight: 900;
    transition: transform 0.3s ease;
}

.month-toggle[open] .month-summary::before {
    content: '[-]';
}

.month-toggle[open] .month-summary {
    margin-bottom: 2rem;
    border-bottom: 1px dashed rgba(0, 210, 255, 0.3);
    padding-bottom: 1rem;
}

.month-toggle .cyber-card {
    margin-bottom: 2rem;
}

.month-toggle .cyber-card:last-child {
    margin-bottom: 0;
}

/* =============== CHAT SECTION =============== */
.section-chat {
    padding: 6rem 5%;
    display: flex;
    justify-content: center;
    border-top: 1px solid rgba(185, 255, 0, 0.2);
    position: relative;
    background: linear-gradient(180deg, rgba(8, 12, 24, 0.9) 0%, rgba(5, 8, 20, 1) 100%);
}

.chat-wrapper {
    width: 100%;
    max-width: 800px;
    background: rgba(10, 15, 30, 0.95);
    border: 1px solid var(--primary-gold);
    box-shadow: 0 10px 40px rgba(185, 255, 0, 0.15);
    display: flex;
    flex-direction: column;
    height: 550px;
    border-radius: 8px;
    overflow: hidden;
}

.chat-header {
    padding: 1.25rem 2rem;
    border-bottom: 1px solid rgba(185, 255, 0, 0.4);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(185, 255, 0, 0.05);
}

.chat-header h3 {
    font-size: 1.2rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 12px;
}

.status-indicator {
    width: 12px;
    height: 12px;
    background-color: var(--primary-gold);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--primary-gold);
    animation: blink 2s infinite;
}

.chat-box {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.chat-message {
    max-width: 85%;
    padding: 1.25rem;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    position: relative;
    border-radius: 6px;
    line-height: 1.5;
}

.chat-message.bot {
    align-self: flex-start;
    background: rgba(185, 255, 0, 0.12);
    border-left: 3px solid var(--primary-gold);
    color: #f0f0f0;
}

.chat-message.user {
    align-self: flex-end;
    background: rgba(185, 255, 0, 0.12);
    border-right: 3px solid var(--primary-gold);
    color: var(--primary-gold);
}

.chat-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 20px;
    justify-content: flex-start;
}

.btn-chat-option {
    background: rgba(10, 15, 30, 0.8);
    border: 1px solid var(--primary-gold);
    color: var(--text-main);
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: capitalize;
}

.btn-chat-option:hover {
    background: var(--primary-gold);
    color: #000;
    box-shadow: 0 0 15px rgba(185, 255, 0, 0.4);
}

.typing-indicator {
    font-family: var(--font-mono);
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-left: 1rem;
    margin-bottom: 1rem;
}

.chat-input-area {
    display: flex;
    padding: 1.5rem;
    border-top: 1px solid rgba(185, 255, 0, 0.4);
    background: #050811;
}

#chat-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    padding: 0.5rem;
    outline: none;
}

#chat-input::placeholder {
    color: #666;
}

.btn-send {
    background: rgba(185, 255, 0, 0.1);
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
    padding: 0.75rem 1.5rem;
    font-family: var(--font-mono);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 4px;
}

.btn-send:hover {
    background: var(--primary-gold);
    color: #000;
    box-shadow: 0 0 20px rgba(185, 255, 0, 0.6);
}

/* =============== FOOTER =============== */
footer {
    text-align: center;
    padding: 3rem 2rem;
    background: #050508;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Responsive */

@media (max-width: 768px) {
    .glow-title {
        font-size: 3.5rem;
    }

    .subtitle {
        padding-right: 15px;
    }

    .section-title h2 {
        font-size: 2.5rem;
    }

    nav {
        justify-content: space-between;
        padding: 1rem 5%;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 15, 30, 0.98);
        flex-direction: column;
        padding: 2rem 0;
        backdrop-filter: blur(12px);
        border-bottom: 2px solid var(--accent-gold-dark);
        gap: 1.5rem;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-chat-icon {
        display: none !important;
    }

    .hero-content {
        padding-top: 2rem;
    }
}