:root {
    /* Synexus Core Palette */
    --background: #07040a;
    --surface: #100b16;
    --surface-glass: rgba(20, 15, 30, 0.6);
    --glass-border: rgba(140, 0, 255, 0.2);

    --primary: #ff7b00;
    --primary-glow: rgba(255, 123, 0, 0.4);
    --secondary: #8c00ff;
    --secondary-glow: rgba(140, 0, 255, 0.4);
    --gold: #ffd700;
    --danger: #ff4444;

    --text-main: #ffffff;
    --text-muted: #b3a8c4;

    /* Typography */
    --font-headline: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Manrope', sans-serif;
    --font-code: 'JetBrains Mono', monospace;
}

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

body {
    background-color: var(--background);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography & Colors */
.code-font {
    font-family: var(--font-code);
}

.text-primary {
    color: var(--primary);
}

.text-purple {
    color: var(--secondary);
}

.text-gold {
    color: var(--gold);
}

.text-danger {
    color: var(--danger);
}

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

.text-blue {
    color: #00d2ff;
}

.text-green {
    color: #00e676;
}

.text-orange {
    color: #ff9100;
}

.bg-gradient-text {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.text-outline {
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
    color: transparent;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.small-container {
    max-width: 800px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

/* Ambient Backgrounds */
.background-blobs {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

.kinetic-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    transition: transform 0.5s ease-out;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: var(--secondary);
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 40vw;
    height: 40vw;
    background: var(--primary);
}

/* Components */
.glass-card {
    background: var(--surface-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 30px;
    border: 1px solid rgba(255, 123, 0, 0.3);
    background: rgba(255, 123, 0, 0.1);
    color: var(--primary);
    font-family: var(--font-code);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

/* Buttons */
button,
.btn-primary,
.btn-secondary,
.btn-ghost {
    font-family: var(--font-headline);
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    outline: none;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary), #e65c00);
    color: white;
    padding: 14px 28px;
    font-size: 1rem;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    box-shadow: 0 8px 25px var(--primary-glow);
    transform: translateY(-2px);
}

.btn-primary.large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 14px 28px;
    font-size: 1rem;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-cta {
    background: var(--text-main);
    color: var(--background);
    padding: 10px 20px;
    font-size: 0.9rem;
    border-radius: 6px;
}

.btn-cta:hover {
    background: var(--primary);
    color: white;
}

.btn-ghost {
    background: transparent;
    color: var(--text-muted);
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-ghost:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.03);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(7, 4, 10, 0.8);
    backdrop-filter: blur(20px);
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    font-family: var(--font-headline);
    letter-spacing: -1px;
}

.nav-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.navbar-line {
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding-top: 80px;
}

.hero .container {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-tag {
    color: var(--primary);
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
    display: inline-block;
    padding: 5px 15px;
    border: 1px solid var(--primary-glow);
    border-radius: 4px;
    background: rgba(255, 123, 0, 0.05);
}

.hero-title {
    font-family: var(--font-headline);
    font-size: clamp(4rem, 8vw, 7rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -2px;
}

.hero-tagline {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 40px auto;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Infinite Tech Marquee */
.tech-marquee-container {
    width: 100%;
    overflow: hidden;
    position: absolute;
    bottom: 50px;
    left: 0;
    padding: 20px 0;
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tech-marquee {
    display: flex;
    width: max-content;
    animation: marquee 80s linear infinite; /* Increased to 80s for smooth scrolling */
}

.tech-marquee span {
    font-family: var(--font-code);
    font-size: 1.2rem;
    font-weight: 700;
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Terminal Section */
.terminal-section {
    padding: 60px 0;
}

.terminal-window {
    border-color: rgba(140, 0, 255, 0.15);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border-top: 2px solid rgba(140, 0, 255, 0.4);
}

.terminal-header {
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background: #ff5f57;
}

.dot.yellow {
    background: #febc2e;
}

.dot.green {
    background: #28c840;
}

.terminal-title {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.terminal-body {
    padding: 30px;
    font-size: 0.95rem;
    color: var(--text-main);
    min-height: 250px;
}

.terminal-body p {
    margin-bottom: 10px;
    line-height: 1.4;
}

.terminal-input-line {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.prompt {
    color: var(--secondary);
    font-weight: bold;
}

#terminalInput {
    background: transparent;
    border: none;
    outline: none;
    color: var(--primary);
    font-family: var(--font-code);
    font-size: 0.95rem;
    flex: 1;
}

.cursor {
    animation: blink 1s infinite;
    color: var(--primary);
}

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

/* Sections */
section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-headline);
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -1px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.stat-card {
    padding: 25px;
    text-align: center;
    border-top: 2px solid transparent;
}

.stat-card:hover {
    border-top-color: var(--primary);
    background: rgba(255, 123, 0, 0.03);
    transform: scale(1.02);
}

.stat-value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-main);
    font-family: var(--font-headline);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 3D Hologram Visual */
.hologram-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.holo-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed var(--secondary);
    opacity: 0.5;
}

.holo-ring.outer {
    width: 320px;
    height: 320px;
    animation: spinRight 20s linear infinite;
}

.holo-ring.inner {
    width: 220px;
    height: 220px;
    border: 2px solid var(--primary);
    border-style: dashed solid;
    animation: spinLeft 15s linear infinite;
    opacity: 0.7;
}

.center-logo {
    width: 130px;
    height: auto;
    filter: drop-shadow(0 0 25px var(--primary));
    animation: pulseGlow 2s infinite alternate;
    z-index: 10;
    object-fit: contain;
}

@keyframes spinRight {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes spinLeft {
    100% {
        transform: rotate(-360deg);
    }
}

@keyframes pulseGlow {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.05);
        opacity: 1;
    }
}

/* Philosophy Panels */
.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 50px;
}

.philosophy-panel {
    padding: 50px 40px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.panel-tag {
    color: var(--secondary);
    font-size: 0.85rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.panel-title {
    font-family: var(--font-headline);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
}

.panel-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    position: relative;
    z-index: 2;
}

.abstract-bg-icon {
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 15rem;
    color: var(--text-main);
    opacity: 0.03;
    transform: rotate(-15deg);
    z-index: 1;
    pointer-events: none;
}

/* Glowing Vertical Timeline */
.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline-line {
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary), transparent);
    opacity: 0.3;
}

.timeline-item {
    position: relative;
    padding-left: 100px;
    margin-bottom: 50px;
}

.timeline-dot {
    position: absolute;
    left: 20px;
    top: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--surface);
    border: 2px solid var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
    z-index: 2;
}

.timeline-item:nth-child(even) .timeline-dot {
    border-color: var(--secondary);
    color: var(--secondary);
    box-shadow: 0 0 15px var(--secondary-glow);
}

.timeline-item:nth-child(3) .timeline-dot {
    border-color: var(--gold);
    color: var(--gold);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.timeline-content {
    padding: 30px;
    border-left: 4px solid var(--primary);
}

.timeline-item:nth-child(even) .timeline-content {
    border-left-color: var(--secondary);
}

.timeline-item:nth-child(3) .timeline-content {
    border-left-color: var(--gold);
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Matrix Recruitment Grid */
.matrix-section {
    padding: 100px 0;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.matrix-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.matrix-item {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-decoration: none;
    border-color: var(--glass-border);
    transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.matrix-item:hover {
    border-color: var(--primary);
    background: rgba(255, 123, 0, 0.05);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.matrix-item:nth-child(even):hover {
    border-color: var(--secondary);
    background: rgba(140, 0, 255, 0.05);
}

.matrix-item:last-child:hover {
    border-color: var(--secondary);
}

.matrix-icon { 
    font-size: 3rem; 
    margin-bottom: 10px; 
    display: inline-block; 
}

.matrix-content h3 {
    color: var(--text-main);
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.matrix-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.matrix-action {
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--primary-glow);
    font-size: 1.1rem;
    transition: 0.3s;
}

.matrix-item:hover .matrix-action {
    color: var(--primary);
    transform: scale(1.1);
}

.matrix-item:nth-child(even):hover .matrix-action {
    color: var(--secondary);
}

/* FAQ Accordion */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 40px;
}

.faq-item {
    padding: 25px;
    cursor: pointer;
    border-color: var(--glass-border);
}

.faq-item:hover {
    border-color: var(--primary);
    background: rgba(255, 123, 0, 0.05);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 1.1rem;
}

.toggle-icon {
    transition: transform 0.3s ease;
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    color: var(--text-muted);
    transition: all 0.4s ease;
    font-size: 0.95rem;
}

.faq-answer.active {
    max-height: 200px;
    opacity: 1;
    margin-top: 15px;
}

.faq-item.active .toggle-icon {
    transform: rotate(45deg);
    color: var(--secondary);
}

/* Final CTA */
.final-cta {
    padding: 150px 0;
    position: relative;
}

.cta-title {
    font-size: clamp(3rem, 6vw, 5rem);
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

/* Footer */
.footer {
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 0 30px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-headline);
    margin-bottom: 10px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-copy {
    text-align: center;
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

/* Registration Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    max-width: 500px;
    width: 100%;
    padding: 40px;
    transform: scale(0.95);
    transition: 0.3s;
    border-top: 4px solid var(--primary);
    border-radius: 16px;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: 0.2s;
}

.modal-close:hover {
    color: white;
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-header h2 {
    font-family: var(--font-headline);
    font-size: 2rem;
    margin-bottom: 10px;
}

.modal-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.registration-email {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 123, 0, 0.1);
    border-radius: 8px;
    border: 1px dashed var(--primary-glow);
    margin-bottom: 30px;
}

.registration-email a {
    color: var(--primary);
    text-decoration: none;
    font-weight: bold;
}

.process-flow {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.process-flow li {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.flow-icon {
    width: 35px;
    height: 35px;
    border-radius: 8px;
    background: rgba(140, 0, 255, 0.1);
    color: var(--secondary);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    border: 1px solid rgba(140, 0, 255, 0.2);
}

.flow-text strong {
    display: block;
    font-family: var(--font-headline);
    font-size: 1.05rem;
    margin-bottom: 5px;
    color: var(--text-main);
}

.flow-text span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Animation Utilities */
.reveal-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.reveal-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.tilt-element {
    transition: transform 0.1s ease-out;
    will-change: transform;
    transform-style: preserve-3d;
}

/* ========================================== */
/* SYNEXUS FLOATING CHATBOT                   */
/* ========================================== */
.chatbot-trigger {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 5px 20px rgba(140, 0, 255, 0.4);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chatbot-trigger:hover {
    transform: scale(1.1) rotate(5deg);
}

.glow-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--primary);
    animation: pulseRing 2s infinite;
    pointer-events: none;
}

@keyframes pulseRing {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0; }
}

.chatbot-window {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 380px; /* Expanded from 350px */
    height: 600px; /* Expanded from 500px */
    background: rgba(16, 11, 22, 0.85); 
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    
    /* Animation states */
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform-origin: bottom right;
}

.chatbot-window.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.chatbot-header {
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bot-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bot-avatar {
    width: 35px;
    height: 35px;
    background: rgba(140, 0, 255, 0.2);
    border: 1px solid var(--secondary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--secondary);
}

.chatbot-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    transition: 0.2s;
}

.chatbot-close:hover {
    color: white;
    transform: rotate(90deg);
}

.chatbot-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Custom Scrollbar for Chat */
.chatbot-messages::-webkit-scrollbar { width: 5px; }
.chatbot-messages::-webkit-scrollbar-track { background: transparent; }
.chatbot-messages::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 10px; }

.message {
    max-width: 85%;
    padding: 12px 16px;
    font-size: 0.9rem;
    line-height: 1.5;
    word-wrap: break-word;
}

.bot-message {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2px 16px 16px 16px;
    color: var(--text-main);
}

.user-message {
    align-self: flex-end;
    background: linear-gradient(135deg, rgba(255, 123, 0, 0.2), rgba(140, 0, 255, 0.2));
    border: 1px solid var(--glass-border);
    border-radius: 16px 2px 16px 16px;
    color: white;
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 5px 0;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out both;
}
.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

.chatbot-input-area {
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    gap: 10px;
}

#chatbotInput {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px 15px;
    color: white;
    font-family: var(--font-body);
    outline: none;
    transition: 0.3s;
}

#chatbotInput:focus {
    border-color: var(--primary);
    background: rgba(0, 0, 0, 0.5);
}

#chatbotSend {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
}

#chatbotSend:hover {
    background: var(--secondary);
    transform: scale(1.05);
}

/* ========================================== */
/* CHATBOT TEASER HINTS                       */
/* ========================================== */
.chat-hint-wrapper {
    position: fixed;
    bottom: 105px; /* Hovers perfectly above the robot icon */
    right: 30px;
    z-index: 9998;
    pointer-events: none; /* Prevents invisible block from stealing clicks */
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.chat-hint {
    background: rgba(16, 11, 22, 0.85);
    border: 1px solid var(--primary);
    box-shadow: 0 5px 20px rgba(255, 123, 0, 0.2);
    color: white;
    padding: 12px 18px;
    border-radius: 16px 16px 4px 16px; /* Gives it a chat bubble tail on the bottom right */
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    pointer-events: auto; /* Re-enable clicks for the actual bubble */
    
    /* Animation defaults */
    opacity: 0;
    transform: translateY(15px) scale(0.9);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: bottom right;
}

.chat-hint.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.chat-hint-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: 0.2s;
}

.chat-hint-close:hover {
    color: var(--danger);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .chatbot-window {
        width: calc(100% - 40px);
        right: 20px;
        bottom: 90px;
    }
}

/* Responsive Layouts for Mobile & PWA */
@media (max-width: 992px) {
    .about-grid, .philosophy-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    
    /* Matrix Grid drops to 2 columns on tablets */
    .matrix-grid { grid-template-columns: repeat(2, 1fr); }
    .matrix-item:last-child { grid-column: span 2; }
    
    .timeline-line { left: 20px; }
    .timeline-item { padding-left: 60px; }
    .timeline-dot { left: 0; }
    .hero-title { font-size: 3.5rem; }
}

@media (max-width: 768px) {
    /* Hide specific text to save space on mobile */
    .hide-mobile { display: none; }
    
    /* Matrix Grid drops to 1 column on phones */
    .matrix-grid { grid-template-columns: 1fr; }
    .matrix-item:last-child { grid-column: span 1; }
    
    .hero-tagline { font-size: 1rem; }
    .section-title { font-size: 2.5rem; }
    
    /* Shrink the navbar to fit both buttons */
    .navbar-content { padding: 1rem; }
    .logo { font-size: 1.4rem; }
    .btn-cta, .btn-ghost { padding: 8px 14px; font-size: 0.85rem; }
    .nav-actions { gap: 5px; }
}