/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --dark-bg: #1a1a1a;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-secondary: 'Poppins', sans-serif;
    --font-mono: 'Fira Code', 'Courier New', monospace;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 250ms ease;
    --transition-slow: 350ms ease;
}

/* Base Typography */
body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--space-md);
}

h1 { font-size: clamp(2rem, 4vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.75rem); }
h5 { font-size: clamp(1.125rem, 1.5vw, 1.5rem); }
h6 { font-size: clamp(1rem, 1.25vw, 1.25rem); }

p {
    margin-bottom: var(--space-md);
    font-size: 1.1rem;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-color);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    height: 50px;
    position: relative;
}

/* Add a subtle pulse effect when page loads */
.nav-logo.loading .logo-img {
    animation: logoPulse 1.5s ease-in-out;
}

@keyframes logoPulse {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Add a cool reflection effect */
.logo-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.3) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.8s ease;
}

.logo-img:hover::after {
    transform: translateX(100%);
}

.logo-img {
    height: 40px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    transition: all var(--transition-normal);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    position: relative;
}

.logo-img:hover {
    transform: scale(1.08) rotate(2deg);
    filter: drop-shadow(0 4px 8px rgba(52, 152, 219, 0.3)) brightness(1.1);
    animation: logoGlow 0.6s ease-in-out;
}

@keyframes logoGlow {
    0%, 100% {
        filter: drop-shadow(0 4px 8px rgba(52, 152, 219, 0.3)) brightness(1.1);
    }
    50% {
        filter: drop-shadow(0 6px 12px rgba(52, 152, 219, 0.5)) brightness(1.2);
    }
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-link {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    font-weight: 500;
    position: relative;
}

.nav-link:hover {
    background-color: var(--gray-100);
    transform: translateY(-2px);
}

.nav-link.active {
    background-color: var(--secondary-color);
    color: var(--white);
}

.nav-link.active:hover {
    background-color: var(--primary-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: all var(--transition-fast);
    border-radius: var(--radius-sm);
}

/* Main Content */
.main-content {
    margin-top: 70px;
    min-height: calc(100vh - 70px);
}

/* Hero Section */
.hero {
    background:
        linear-gradient(135deg, #3498db 0%, #2980b9 50%, #1abc9c 100%);
    color: var(--white);
    padding: var(--space-3xl) 0;
    text-align: center;
    position: relative;
}


.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.02) 2px, transparent 2px),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.02) 2px, transparent 2px),
        radial-gradient(circle at 40% 40%, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px, 80px 80px, 40px 40px;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
    min-height: 50vh;
    display: flex;
    align-items: center;
    animation: heroGradientShift 12s ease-in-out infinite;
    perspective: 1000px;
    transition: all 0.3s ease;
}


@keyframes heroGradientShift {
    0%, 100% {
        background:
            radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 2px, transparent 2px),
            radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 2px, transparent 2px),
            radial-gradient(circle at 40% 40%, rgba(255,255,255,0.15) 1px, transparent 1px),
            linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.05) 31%, rgba(255,255,255,0.05) 32%, transparent 33%),
            linear-gradient(-45deg, transparent 30%, rgba(255,255,255,0.05) 31%, rgba(255,255,255,0.05) 32%, transparent 33%),
            linear-gradient(135deg, #3498db 0%, #2980b9 50%, #1abc9c 100%);
    }
    50% {
        background:
            radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 2px, transparent 2px),
            radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 2px, transparent 2px),
            radial-gradient(circle at 40% 40%, rgba(255,255,255,0.15) 1px, transparent 1px),
            linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.05) 31%, rgba(255,255,255,0.05) 32%, transparent 33%),
            linear-gradient(-45deg, transparent 30%, rgba(255,255,255,0.05) 31%, rgba(255,255,255,0.05) 32%, transparent 33%),
            linear-gradient(135deg, #2980b9 0%, #3498db 50%, #16a085 100%);
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%),
        linear-gradient(0deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
    background-size: 200px 100%, 100% 200px;
    animation: networkPulse 8s ease-in-out infinite;
    z-index: 1;
}


/* Enterprise Animation */

@keyframes enterpriseLeftToRight {
    0% {
        left: -100px;
        top: 50%;
        transform: translateY(-50%) scale(0.3);
    }
    100% {
        left: calc(100% + 50px);
        top: 50%;
        transform: translateY(-50%) scale(1.5);
    }
}

/* Floating particles effect */
.hero .particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.hero .particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: float 6s infinite ease-in-out;
}

.hero .particle:nth-child(1) { width: 4px; height: 4px; top: 20%; left: 10%; animation-delay: 0s; }
.hero .particle:nth-child(2) { width: 6px; height: 6px; top: 60%; left: 20%; animation-delay: 1s; }
.hero .particle:nth-child(3) { width: 3px; height: 3px; top: 40%; left: 70%; animation-delay: 2s; }
.hero .particle:nth-child(4) { width: 5px; height: 5px; top: 80%; left: 60%; animation-delay: 3s; }
.hero .particle:nth-child(5) { width: 4px; height: 4px; top: 30%; left: 80%; animation-delay: 4s; }
.hero .particle:nth-child(6) { width: 7px; height: 7px; top: 70%; left: 40%; animation-delay: 5s; }

/* Network animations for internet theme */
@keyframes networkPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

@keyframes expandCircle {
    0%, 100% {
        transform: scale(1);
        opacity: 0.1;
    }
    50% {
        transform: scale(2.0);
        opacity: 0.3;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px) scale(1);
        opacity: 0.4;
    }
    25% {
        transform: translateY(-20px) translateX(10px) scale(2.0);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-40px) translateX(-5px) scale(0.8);
        opacity: 1;
    }
    75% {
        transform: translateY(-20px) translateX(-10px) scale(1.1);
        opacity: 0.6;
    }
}


.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    animation: heroContentSlideIn 1.2s ease-out forwards;
    opacity: 1;
    transform: translateY(0);
}

.hero h1 {
    margin-bottom: var(--space-lg);
    opacity: 1;
    animation: fadeInUp 1s ease 0.5s both;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: var(--space-xl);
    opacity: 1;
    animation: fadeInUp 1s ease 0.7s both;
}

.hero-buttons {
    display: flex;
    gap: var(--space-lg);
    justify-content: center;
    flex-wrap: wrap;
    opacity: 1;
    animation: fadeInUp 1s ease 0.9s both;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    border: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-normal);
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left var(--transition-slow);
}

.btn:hover::before {
    left: 100%;
}

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

.btn-primary:hover {
    background-color: var(--gray-100);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Features Section */
.features {
    padding: var(--space-3xl) 0;
    background-color: var(--gray-100);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-header h2 {
    color: var(--primary-color);
    margin-bottom: var(--space-md);
}

.section-header p {
    font-size: 1.2rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.feature-card {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    font-size: 2rem;
    color: var(--white);
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: var(--space-md);
}

.feature-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* Chat Integration */
.chat-container {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
}

.chat-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: var(--space-lg);
    text-align: center;
}

.chat-content {
    height: 600px;
    border: none;
    width: 100%;
    background: transparent;
}

/* Tools Section */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.tool-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border-left: 4px solid var(--secondary-color);
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--accent-color);
}

.tool-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: var(--space-md);
}

.tool-card h3 {
    margin-bottom: var(--space-sm);
    color: var(--primary-color);
}

.tool-card p {
    color: var(--gray-600);
    margin-bottom: var(--space-md);
    font-size: 0.95rem;
}

/* Tutorials Section */
.tutorials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.tutorial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.tutorial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.tutorial-image {
    height: 200px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--white);
}

.tutorial-content {
    padding: var(--space-lg);
}

.tutorial-category {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.tutorial-card h3 {
    margin-bottom: var(--space-md);
    color: var(--primary-color);
}

.tutorial-meta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-top: var(--space-md);
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: var(--gray-300);
    padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-section h3,
.footer-section h4 {
    color: var(--white);
    margin-bottom: var(--space-lg);
}

.footer-section h4 {
    font-size: 1.2rem;
}

.footer-logo {
    margin-bottom: var(--space-lg);
}

.footer-logo-img {
    height: 60px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    transition: all var(--transition-normal);
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.2));
    position: relative;
}

.footer-logo-img:hover {
    transform: scale(1.05) translateY(-3px);
    filter: drop-shadow(0 8px 16px rgba(255,255,255,0.3)) contrast(1.1);
    animation: footerLogoFloat 2s ease-in-out infinite;
}

@keyframes footerLogoFloat {
    0%, 100% {
        transform: scale(1.05) translateY(-3px);
    }
    25% {
        transform: scale(1.06) translateY(-5px) rotate(1deg);
    }
    50% {
        transform: scale(1.05) translateY(-4px);
    }
    75% {
        transform: scale(1.06) translateY(-5px) rotate(-1deg);
    }
}

/* Add a subtle glow effect around the footer logo */
.footer-logo {
    position: relative;
}

.footer-logo:hover::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: logoAura 2s ease-in-out infinite;
}

@keyframes logoAura {
    0%, 100% {
        opacity: 0;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(2.0);
    }
}

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

.footer-section ul li {
    margin-bottom: var(--space-sm);
}

.footer-section ul li a {
    color: var(--gray-400);
    transition: color var(--transition-fast);
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gray-700);
    border-radius: var(--radius-full);
    color: var(--gray-300);
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.newsletter-form {
    display: flex;
    margin-top: var(--space-md);
}

.newsletter-form input {
    flex: 1;
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--gray-600);
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    background: var(--gray-800);
    color: var(--white);
    border-right: none;
}

.newsletter-form button {
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--secondary-color);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    background: var(--secondary-color);
    color: var(--white);
    cursor: pointer;
    transition: background var(--transition-fast);
}

.newsletter-form button:hover {
    background: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid var(--gray-700);
    padding-top: var(--space-lg);
    text-align: center;
    color: var(--gray-500);
}

.footer-bottom a {
    color: var(--gray-400);
}

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

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity var(--transition-slow);
}

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

.loading-content i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: var(--space-lg);
}

.loading-content p {
    color: var(--gray-600);
    font-size: 1.1rem;
}

.loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: left var(--transition-normal);
        box-shadow: var(--shadow-lg);
        padding: var(--space-lg) 0;
        border-top: 1px solid var(--gray-200);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero {
        padding: var(--space-2xl) 0;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .tutorials-grid {
        grid-template-columns: 1fr;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .scroll-to-top,
    .loading-screen {
        display: none !important;
    }

    .main-content {
        margin-top: 0 !important;
    }

    body {
        background: white !important;
        color: black !important;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
.nav-link:focus,
.btn:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000000;
        --secondary-color: #0066cc;
        --accent-color: #cc0000;
    }
}

/* Enterprise starship animations */
.enterprise-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.enterprise {
    position: absolute;
    width: 80px;
    height: auto;
    opacity: 0;
    filter: brightness(0) invert(1);
    transform-origin: center center;
    transition: transform 0.3s ease;
}

.enterprise.animating {
    opacity: 0.5;
}

/* Enterprise flight animations */
@keyframes enterpriseLeftToRightAndBack {
    0% {
        left: -80px;
        top: 40%;
        transform: scale(0.8);
        opacity: 1;
    }
    25% {
        left: 50%;
        top: 40%;
        transform: scale(1.2);
        opacity: 1;
    }
    50% {
        left: calc(100% + 80px);
        top: 40%;
        transform: scale(0.8);
        opacity: 1;
    }
    51% {
        left: calc(100% + 80px);
        top: 60%;
        transform: scale(0.8);
        opacity: 1;
    }
    75% {
        left: 50%;
        top: 60%;
        transform: scale(1.2);
        opacity: 1;
    }
    100% {
        left: -80px;
        top: 60%;
        transform: scale(0.8);
        opacity: 1;
    }
}

@keyframes enterpriseLeftToRight {
    0% {
        left: -50px;
        top: 25%;
        transform: scale(0.3);
    }
    100% {
        left: calc(100% + 50px);
        top: 35%;
        transform: scale(2.0);
    }
}

@keyframes enterpriseRightToLeft {
    0% {
        right: -50px;
        top: 45%;
        transform: scale(2.0);
    }
    100% {
        right: calc(100% + 50px);
        top: 55%;
        transform: scale(0.3);
    }
}

@keyframes enterpriseTopToBottom {
    0% {
        left: 30%;
        top: -100px;
        transform: scale(0.3);
    }
    100% {
        left: 40%;
        top: calc(100% + 100px);
        transform: scale(2.0);
    }
}

@keyframes enterpriseBottomToTop {
    0% {
        left: 60%;
        bottom: -100px;
        transform: scale(2.0);
    }
    100% {
        left: 70%;
        bottom: calc(100% + 100px);
        transform: scale(0.3);
    }
}

@keyframes enterpriseDiagonal1 {
    0% {
        left: -100px;
        top: -100px;
        transform: scale(0.3);
    }
    100% {
        left: calc(100% + 100px);
        top: calc(100% + 100px);
        transform: scale(2.0);
    }
}

@keyframes enterpriseDiagonal2 {
    0% {
        right: -100px;
        bottom: -100px;
        transform: scale(2.0);
    }
    100% {
        right: calc(100% + 100px);
        bottom: calc(100% + 100px);
        transform: scale(0.3);
    }
}

/* Chat Popup Button Styles */
.popup-btn {
    margin-left: 15px;
    padding: 8px 12px;
    font-size: 0.9rem;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.popup-btn:hover {
    background: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.popup-btn i {
    font-size: 0.8rem;
}

/* Chat status banner adjustments */
.chat-status-banner {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 12px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.status-left, .status-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.tech-badge {
    background: rgba(255,255,255,0.2);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

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