:root {
    /* Core system colors - more muted, professional palette */
    --bg-primary: #1a1f34;
    --bg-secondary: #242b45;
    --bg-tertiary: #2c3554;
    
    /* Typography colors - improved contrast */
    --text-primary: #e4e6f3;
    --text-secondary: #a9afc7;
    --text-muted: #7b85a6;
    --text-bright: #ffffff;
    
    /* Accent colors - more corporate */
    --accent-primary: #3c6ac6;
    --accent-secondary: #4f8beb;
    --accent-tertiary: #5d9cff;
    
    /* Semantic colors */
    --border-color: rgba(84, 104, 158, 0.15);
    --border-strong: rgba(84, 104, 158, 0.3);
    --shadow-soft: 0 2px 6px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 4px 12px rgba(0, 0, 0, 0.1);
    
    /* Layout */
    --container-width: 1200px;
    --spacing-unit: 8px;
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --font-heading: var(--font-sans);
}

/* Base styles */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    scrollbar-width: thin;
    scrollbar-color: var(--border-strong) var(--bg-tertiary);
    scrollbar-gutter: stable;
}

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

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 calc(var(--spacing-unit) * 4);
    position: relative;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

main {
    position: relative;
    z-index: 1;
    padding-top: 80px;
    padding-bottom: 40px;
    min-height: calc(100vh - 400px);
}

/* Text utilities */
.text-center {
    text-align: center;
}

/* Header */
header {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-strong);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    box-shadow: var(--shadow-soft);
}

nav {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--text-bright);
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: calc(var(--spacing-unit) * 1.5);
    font-size: 1.375rem;
    letter-spacing: -0.02em;
    position: relative;
    font-family: var(--font-mono);
    transition: all 0.3s ease;
}

.logo:hover {
    color: var(--accent-secondary);
    transform: scale(1.03);
}

.logo-text {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.logo i {
    color: var(--accent-primary);
    margin-right: 2px;
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.logo:hover i {
    transform: rotate(15deg);
    color: var(--accent-secondary);
}

.logo-text::after {
    content: '';
    position: absolute;
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 20px;
    background-color: var(--accent-primary);
    animation: terminal-blink 1s step-end infinite;
}

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

.nav-links {
    display: flex;
    gap: calc(var(--spacing-unit) * 5);
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    padding: calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit));
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--accent-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-bright);
}

.nav-links a.active {
    color: var(--accent-primary);
}

/* Hero Section */
.about-hero, .hero {
    min-height: 75vh;
    display: flex;
    align-items: center;
    background: var(--bg-secondary);
    position: relative;
    border-bottom: 1px solid var(--border-color);
    padding: calc(var(--spacing-unit) * 8) 0;
    margin-top: -1px;
}

.hero-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    overflow: visible;
    width: 100%;
}

.hero-content {
    max-width: 600px;
    flex: 1;
    text-align: center;
    padding: 0 calc(var(--spacing-unit) * 4) calc(var(--spacing-unit) * 5);
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: calc(var(--spacing-unit) * 4);
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: calc(var(--spacing-unit) * 8);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.cta-buttons {
    display: flex;
    gap: calc(var(--spacing-unit) * 3);
    justify-content: center;
    margin-top: calc(var(--spacing-unit) * 6);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: calc(var(--spacing-unit) * 1.5);
    padding: calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 4);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.btn-primary {
    background: var(--accent-primary);
    color: var(--text-bright);
    border: none;
    box-shadow: 0 2px 8px rgba(61, 107, 200, 0.3);
}

.btn-primary:hover {
    background: var(--accent-secondary);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(61, 107, 200, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-bright);
    border: 1px solid var(--border-strong);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-3px);
    border-color: var(--accent-secondary);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Features Section */
.features {
    padding: calc(var(--spacing-unit) * 16) 0;
    background: var(--bg-primary);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: calc(var(--spacing-unit) * 10);
    text-align: center;
    position: relative;
    letter-spacing: -0.02em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--accent-primary);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-top: calc(var(--spacing-unit) * 3);
    margin-bottom: calc(var(--spacing-unit) * 5);
    font-size: 1.125rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: calc(var(--spacing-unit) * 5);
    padding: 0 calc(var(--spacing-unit) * 3);
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--bg-secondary);
    border-radius: 6px;
    padding: calc(var(--spacing-unit) * 6);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.feature-card h3 {
    color: var(--text-bright);
    font-size: 1.375rem;
    margin-bottom: calc(var(--spacing-unit) * 3);
    font-family: var(--font-heading);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: calc(var(--spacing-unit) * 2);
}

.feature-card h3 i {
    color: var(--accent-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

/* Newsletter Section */
.newsletter {
    background: transparent;
    padding: calc(var(--spacing-unit) * 10) 0 calc(var(--spacing-unit) * 10) 0;
    border-top: 1px solid var(--border-color);
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.newsletter .section-title {
    margin-bottom: calc(var(--spacing-unit) * 4);
}

.newsletter p {
    margin-bottom: calc(var(--spacing-unit) * 4);
}

.newsletter-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: calc(var(--spacing-unit) * 3);
    padding: 0 calc(var(--spacing-unit) * 3);
    position: relative;
}

.newsletter-form input {
    flex: 1;
    padding: calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 3);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.2s ease;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent-primary);
}

/* Footer */
.footer {
    background: var(--bg-tertiary) !important;
    padding: calc(var(--spacing-unit) * 10) 0 calc(var(--spacing-unit) * 4) !important;
    border-top: 1px solid var(--border-color) !important;
    position: relative !important;
    z-index: 10 !important;
    width: 100% !important;
    display: block !important;
    clear: both !important;
    margin-top: 0 !important;
    visibility: visible !important;
    overflow: visible !important;
    height: auto !important;
    min-height: 200px !important;
}

.footer-grid {
    display: grid !important;
    grid-template-columns: 2fr 1fr 1fr !important;
    gap: calc(var(--spacing-unit) * 8) !important;
    margin-bottom: calc(var(--spacing-unit) * 8) !important;
    visibility: visible !important;
}

.footer-section h3 {
    color: var(--text-bright);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: calc(var(--spacing-unit) * 4);
    letter-spacing: -0.01em;
}

.footer-section p {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin-bottom: calc(var(--spacing-unit) * 4);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.footer-section a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
    display: inline-block;
}

.footer-section a:hover {
    color: var(--accent-primary);
}

.social-links {
    display: flex;
    gap: calc(var(--spacing-unit) * 3);
    margin-top: calc(var(--spacing-unit) * 3);
    margin-bottom: calc(var(--spacing-unit) * 4);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--bg-tertiary);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 1.25rem;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.social-links a:hover {
    background-color: var(--accent-primary);
    color: var(--text-bright);
    transform: translateY(-3px);
    border-color: var(--accent-primary);
}

.footer-bottom {
    padding-top: calc(var(--spacing-unit) * 4);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-bottom a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-bottom a:hover {
    color: var(--accent-primary);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-content {
        text-align: center;
        padding: 0 calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 4);
    }
    
    .hero .terminal-window {
        width: 100%;
        max-width: 550px;
        min-width: 0;
        margin: 0 auto;
    }
    
    .burger-menu {
        display: flex !important;
    }
    
    .nav-links {
        display: none !important;
    }
    
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .container {
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    .terminal-wrapper {
        width: 100%;
        overflow-x: hidden;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
        margin-bottom: calc(var(--spacing-unit) * 3);
    }
    
    .hero p {
        font-size: 1.125rem;
        margin-bottom: calc(var(--spacing-unit) * 5);
    }
    
    .hero {
        min-height: 60vh;
        padding: calc(var(--spacing-unit) * 6) 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features {
        padding: calc(var(--spacing-unit) * 8) 0;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: calc(var(--spacing-unit) * 4) !important;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .container {
        padding: 0 calc(var(--spacing-unit) * 3);
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: calc(var(--spacing-unit) * 2);
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .terminal-window {
        width: 100%;
        max-width: 100%;
        height: 300px;
        margin-bottom: calc(var(--spacing-unit) * 4);
        transform: none !important;
        animation: none;
    }
    
    .terminal-wrapper {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .terminal-content {
        font-size: 0.875rem;
    }
    
    .terminal-output {
        font-size: 0.875rem;
    }
    
    .terminal-line {
        font-size: 0.875rem;
    }
    
    .terminal-output {
        line-height: 1.4;
    }
    
    .newsletter {
        padding: calc(var(--spacing-unit) * 8) 0;
    }
    
    .newsletter p {
        font-size: 1rem;
    }
    
    .footer-section {
        margin-bottom: calc(var(--spacing-unit) * 6);
    }
    
    main {
        padding-top: 70px;
    }

    [data-aos-delay] {
        transition-delay: 0s !important;
    }
    
    /* Responsive mobile nav */
    .mobile-nav {
        width: 100%;
        max-width: 100vw;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .terminal-header {
        padding: 10px;
    }
    
    .terminal-title {
        font-size: 0.75rem;
    }
    
    .terminal-window {
        width: 100%;
        height: 280px;
        transform: none !important;
        margin-top: 20px;
    }
    
    .logo {
        font-size: 1.25rem;
    }
    
    .footer-bottom {
        font-size: 0.75rem;
    }
    
    .container {
        padding: 0 calc(var(--spacing-unit) * 2);
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .hero-content {
        padding: 0 calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 3);
        width: 100%;
    }
    
    nav {
        height: 70px;
    }
    
    .newsletter {
        padding: calc(var(--spacing-unit) * 6) 0;
    }
    
    .newsletter-form {
        width: 100%;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }
    
    .hero .terminal-window {
        animation: none;
        transform: none !important;
    }
    
    /* Ensure images are responsive */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Make sure tables don't cause horizontal scroll */
    table {
        display: block;
        width: 100%;
        overflow-x: auto;
    }
}

/* Landscape mode for mobile devices */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        padding: calc(var(--spacing-unit) * 2) 0;
        min-height: auto;
    }
    
    .hero-container {
        flex-direction: row;
        gap: calc(var(--spacing-unit) * 4);
    }
    
    .hero-content {
        padding: 0 calc(var(--spacing-unit) * 2);
        text-align: left;
    }
    
    .hero h1 {
        font-size: 1.75rem;
        margin-bottom: calc(var(--spacing-unit) * 2);
    }
    
    .hero p {
        font-size: 0.875rem;
        margin-bottom: calc(var(--spacing-unit) * 3);
    }
    
    .hero .terminal-window {
        margin: 0;
        max-height: 200px;
        min-width: 0;
    }
    
    .cta-buttons {
        gap: calc(var(--spacing-unit) * 2);
    }
    
    .cta-buttons .btn {
        padding: calc(var(--spacing-unit) * 1) calc(var(--spacing-unit) * 2);
        font-size: 0.875rem;
    }
}

/* This is now handled by the media queries in the Mobile Navigation section */
/* @media screen and (max-width: 992px) {
    .burger-menu {
        display: flex !important;
        z-index: 9999;
    }
    
    body nav {
        position: relative;
    }
    
    body nav .nav-links {
        display: none !important;
    }
}

@media screen and (min-width: 993px) {
    .burger-menu {
        display: none !important;
    }
    
    .nav-links {
        display: flex !important;
    }
} */

#particle-network {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.6;
    pointer-events: none;
    background-color: transparent;
}

/* Terminal styling */
.terminal-wrapper {
    position: relative;
    margin: 0 auto;
    perspective: 1000px;
    max-width: 100%;
    overflow: visible;
    width: auto;
    transform: none;
}

.terminal-window {
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 5px 15px rgba(0, 0, 0, 0.3);
    background-color: rgba(32, 36, 64, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(84, 104, 158, 0.5);
    border-radius: 10px;
    overflow: hidden;
    transform-style: preserve-3d;
    transform: translateZ(0);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform, box-shadow;
    max-width: 100%;
    width: 600px;
    height: 350px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.terminal-window:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 10px 20px rgba(0, 0, 0, 0.4);
    border-color: rgba(var(--accent-primary-rgb), 0.6);
}

.terminal-header {
    background: rgba(35, 41, 70, 0.9);
    border-bottom: 1px solid rgba(84, 104, 158, 0.4);
    border-radius: 10px 10px 0 0;
    height: 36px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    position: relative;
}

.terminal-buttons {
    display: flex;
    gap: 8px;
    margin-left: 12px;
}

.terminal-circle {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 6px;
    position: relative;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1) inset;
    transition: all 0.3s ease;
}

.terminal-circle.red {
    background-color: #ff5f57;
}

.terminal-circle.yellow {
    background-color: #ffbd2e;
}

.terminal-circle.green {
    background-color: #28ca41;
}

.terminal-window:hover .terminal-circle.red {
    background-color: #ff3b30;
    box-shadow: 0 0 8px rgba(255, 59, 48, 0.4);
}

.terminal-window:hover .terminal-circle.yellow {
    background-color: #ffcc00;
    box-shadow: 0 0 8px rgba(255, 204, 0, 0.4);
}

.terminal-window:hover .terminal-circle.green {
    background-color: #34c759;
    box-shadow: 0 0 8px rgba(52, 199, 89, 0.4);
}

.terminal-title {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    letter-spacing: -0.02em;
}

.terminal-content {
    background-color: rgba(22, 26, 48, 0.97);
    color: #f8f8f2;
    padding: 15px;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    line-height: 1.5;
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    position: relative;
}

.terminal-content::-webkit-scrollbar {
    width: 6px;
}

.terminal-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

.terminal-content::-webkit-scrollbar-thumb {
    background: rgba(84, 104, 158, 0.3);
    border-radius: 10px;
}

.terminal-line {
    display: flex;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.terminal-prompt {
    color: #00ff9c;
    margin-right: 8px;
    user-select: none;
    font-weight: 500;
    text-shadow: 0 0 8px rgba(0, 255, 156, 0.4);
}

.terminal-command {
    color: #ffffff;
    position: relative;
}

.terminal-output {
    color: #a9afc1;
    padding-left: 20px;
    margin-bottom: 0.75rem;
    white-space: pre-wrap;
    line-height: 1.4;
    font-size: 0.8125rem;
}

.terminal-cursor {
    display: inline-block;
    width: 8px;
    height: 16px;
    background-color: #00ff9c;
    vertical-align: middle;
    margin-left: 2px;
    animation: blink-cursor 1.06s step-end infinite;
}

@keyframes blink-cursor {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

/* Terminal Additional Styling */
.typewriter {
    overflow: hidden;
    white-space: nowrap;
    margin: 0;
    display: inline-block;
    position: relative;
    min-width: 10px;
}

.typewriter.typing-complete::after {
    animation: blink-caret 0.75s step-end infinite;
}

.terminal-wrapper {
    overflow: visible;
    flex: 1;
    min-width: auto;
    max-width: 600px;
    margin: 0;
    position: relative;
    padding-bottom: 20px; /* Extra space for animation */
}

.hero .terminal-window {
    flex: 1;
    min-width: auto;
    max-width: 100%;
    margin: 0;
    animation: float 6s ease-in-out infinite;
    box-sizing: border-box;
    height: 350px;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Mobile Navigation */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: 1000;
    position: relative;
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    border: none;
    transition: all 0.3s ease;
    box-shadow: none;
    margin-right: 5px;
}

.burger-menu span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-secondary);
    border-radius: 2px;
    transition: all 0.3s ease;
    box-shadow: none;
}

.burger-menu:hover span {
    background-color: var(--text-bright);
}

.burger-menu.active {
    background-color: transparent;
}

/* Burger animation */
.burger-menu.active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
    background-color: var(--accent-primary);
}

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

.burger-menu.active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
    background-color: var(--accent-primary);
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 300px;
    height: 100vh;
    background: var(--bg-secondary);
    z-index: 99;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: right 0.3s ease;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
    border-left: 1px solid var(--border-strong);
    overflow-y: auto;
    padding-top: 0;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-header {
    height: 80px;
    display: flex;
    align-items: center;
    padding: 0 25px;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-tertiary);
    position: relative;
}

/* Remove pseudo-elements that create an X */
.mobile-nav-header::before, 
.mobile-nav-header::after {
    display: none;
}

/* Style the close area */
.mobile-nav-header .close-area {
    position: absolute;
    top: 25px;
    right: 15px;
    width: 30px;
    height: 30px;
    background-color: transparent;
    border-radius: 50%;
    z-index: 101;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-nav-header .close-area:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

/* Create the X using the close-area's pseudo elements */
.mobile-nav-header .close-area::before,
.mobile-nav-header .close-area::after {
    content: '';
    position: absolute;
    top: 14px;
    left: 7px;
    width: 16px;
    height: 2px;
    background-color: var(--text-secondary);
    transition: all 0.3s ease;
}

.mobile-nav-header .close-area::before {
    transform: rotate(45deg);
}

.mobile-nav-header .close-area::after {
    transform: rotate(-45deg);
}

.mobile-nav-header .close-area:hover::before,
.mobile-nav-header .close-area:hover::after {
    background-color: var(--accent-primary);
}

.mobile-nav-logo {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: var(--text-bright);
    font-size: 1.2rem;
    text-decoration: none;
    font-family: var(--font-mono);
}

.mobile-nav-logo i {
    color: var(--accent-primary);
    margin-right: 10px;
    font-size: 1.1rem;
}

.mobile-nav-close {
    display: none !important;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    margin-top: 0;
}

.mobile-nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: calc(var(--spacing-unit) * 2.5) calc(var(--spacing-unit) * 4);
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--border-color);
    display: block;
    letter-spacing: -0.01em;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
    color: var(--text-bright);
    background-color: rgba(60, 106, 198, 0.1);
}

.mobile-nav-links a.active {
    border-left: 3px solid var(--accent-primary);
    padding-left: calc(var(--spacing-unit) * 3.5);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 90;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

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

.subscription-message {
    margin-top: calc(var(--spacing-unit) * 4);
    padding: calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 3);
    border-radius: 4px;
    text-align: center;
    display: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.subscription-message.success {
    background-color: rgba(39, 174, 96, 0.15);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.subscription-message.error {
    background-color: rgba(231, 76, 60, 0.15);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

/* Custom scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

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

::-webkit-scrollbar-thumb {
    background-color: var(--border-strong);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--text-muted);
}

/* Fix loading on scroll issues - restore animations */
[data-aos] {
    pointer-events: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
}

[data-aos].aos-animate {
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
}

[data-aos-delay] {
    transition-delay: 0s !important;
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background-color: var(--bg-secondary);
}

.team-section .section-title {
    text-align: center;
    margin-bottom: 10px;
    color: var(--text-bright);
}

.team-section .section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-top: calc(var(--spacing-unit) * 3);
    margin-bottom: calc(var(--spacing-unit) * 5);
    font-size: 1.125rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Support both team-card (existing in about.html) and team-member (from our added styles) */
.team-card, .team-member {
    background-color: var(--bg-primary);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover, .team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.team-image, .member-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.team-image img, .member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-image img,
.team-member:hover .member-image img {
    transform: scale(1.05);
}

.member-info {
    padding: 20px;
}

.team-card h3,
.member-info h3 {
    color: var(--accent-primary);
    margin-bottom: 5px;
    font-size: 1.2rem;
    padding: 20px 20px 5px 20px;
}

.team-card .job-title,
.member-title {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 15px;
    padding: 0 20px;
}

.team-card p:not(.job-title),
.member-bio {
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.5;
    padding: 0 20px 20px 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
    
    .team-image, .member-image {
        height: 220px;
    }
}

/* Logo blinking cursor effect */
.logo {
    color: var(--text-bright);
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: calc(var(--spacing-unit) * 1.5);
    font-size: 1.375rem;
    letter-spacing: -0.02em;
    position: relative;
    font-family: var(--font-mono);
    transition: all 0.3s ease;
}

.logo span::after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 18px;
    background-color: var(--accent-primary);
    margin-left: 4px;
    animation: cursor-blink 1s step-end infinite;
    vertical-align: middle;
}

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

/* Admin panel header fix */
.admin-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--bg-secondary);
    box-shadow: var(--shadow-soft);
}

/* Add floating animation for terminals */
@keyframes glow {
    0% {
        box-shadow: 0 0 10px rgba(var(--accent-primary-rgb), 0.3), 
                    0 0 20px rgba(var(--accent-primary-rgb), 0.1);
    }
    50% {
        box-shadow: 0 0 15px rgba(var(--accent-primary-rgb), 0.5), 
                    0 0 30px rgba(var(--accent-primary-rgb), 0.2);
    }
    100% {
        box-shadow: 0 0 10px rgba(var(--accent-primary-rgb), 0.3), 
                    0 0 20px rgba(var(--accent-primary-rgb), 0.1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -100% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Add scroll reveal animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -30px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translate3d(-30px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translate3d(30px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale3d(0.8, 0.8, 0.8);
    }
    to {
        opacity: 1;
        transform: scale3d(1, 1, 1);
    }
}

.scroll-reveal {
    opacity: 0;
}

.scroll-reveal.visible {
    animation-duration: 0.8s;
    animation-fill-mode: both;
    opacity: 1;
}

.scroll-reveal.fadeInUp.visible {
    animation-name: fadeInUp;
}

.scroll-reveal.fadeInDown.visible {
    animation-name: fadeInDown;
}

.scroll-reveal.fadeInLeft.visible {
    animation-name: fadeInLeft;
}

.scroll-reveal.fadeInRight.visible {
    animation-name: fadeInRight;
}

.scroll-reveal.zoomIn.visible {
    animation-name: zoomIn;
}

/* Adjusted mobile media queries to maintain floating on smaller screens */
@media (max-width: 768px) {
    .terminal-window {
        animation: float 6s ease-in-out infinite !important;
        transform: translateY(0) !important;
        height: 300px;
        width: 100%;
    }
    
    .terminal-content {
        font-size: 0.8125rem;
    }
    
    .terminal-output {
        font-size: 0.75rem;
    }
}

/* Add these media queries to your style.css file */
@media (max-width: 767px) {
  .hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 10px;
  }
  
  .hero-content {
    text-align: center;
    width: 100%;
    margin-bottom: 20px;
  }
  
  .terminal-wrapper {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
  
  .terminal-window {
    width: 100%;
    transform: none !important;
  }
}

/* Fix gap between about section and footer */
.footer {
    padding-top: calc(var(--spacing-unit) * 8) !important; /* Slightly reduced padding */
}

/* Ensure the last section before footer has proper spacing */
main > section:last-of-type {
    padding-bottom: 0; /* Remove bottom padding from the last section */
    margin-bottom: 0; /* Remove bottom margin from the last section */
}

/* About page specific fixes */
.about-hero + section:last-of-type,
.team-section:last-of-type {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}

/* Fix the footer positioning */
.footer {
    position: relative !important;
}

/* Fix Values Section in About page */
.values-section {
    background: transparent !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* Make value cards stand out against transparent background */
.value-card {
    background-color: rgba(36, 43, 69, 0.7) !important;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.value-card:hover {
    background-color: rgba(44, 53, 84, 0.8) !important;
    transform: translateY(-5px);
    border-color: var(--accent-primary);
}

/* Create a seamless transition to footer */
.values-section + .footer,
section.values-section:last-of-type + .footer {
    margin-top: 0 !important;
    border-top: none !important;
}

/* Error Pages */
.error-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--spacing-unit) * 8) 0;
}

.error-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.error-content h1 {
    font-size: 3rem;
    margin-bottom: calc(var(--spacing-unit) * 2);
    font-weight: 700;
    color: var(--text-bright);
    font-family: var(--font-mono);
    position: relative;
    display: inline-block;
}

.error-content p {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: calc(var(--spacing-unit) * 5);
    color: var(--text-secondary);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.error-page .terminal-wrapper {
    margin: 0 auto calc(var(--spacing-unit) * 6);
    max-width: 700px;
}

.error-page .terminal-window {
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    animation: float 4s ease-in-out infinite;
}

.error-actions {
    display: flex;
    gap: calc(var(--spacing-unit) * 3);
    justify-content: center;
    margin-top: calc(var(--spacing-unit) * 4);
}

@media (max-width: 768px) {
    .error-content h1 {
        font-size: 2.5rem;
    }
    
    .error-content p {
        font-size: 1rem;
        margin-bottom: calc(var(--spacing-unit) * 4);
    }
    
    .error-actions {
        flex-direction: column;
        gap: calc(var(--spacing-unit) * 2);
    }
    
    .error-page .terminal-window {
        max-width: 90%;
        min-width: unset;
    }
}

@media (max-width: 480px) {
    .error-content h1 {
        font-size: 2rem;
    }
    
    .error-content p {
        font-size: 0.875rem;
    }
    
    .error-page {
        padding: calc(var(--spacing-unit) * 4) 0;
    }
} 
