/* Base Styles */
:root {
    /* Refined Color Palette: Deeper, richer tones for a mature cyberpunk aesthetic */
    --primary-deep: #4A0099;
    /* Deeper Purple */
    --secondary-accent: #00A3BF;
    /* Sophisticated Teal/Cyan */
    --tertiary-glow: #A30066;
    /* Rich Magenta/Pink */
    --dark-void: #030308;
    /* Near Black */
    --deep-space: #080810;
    /* Darker Blue-Black */
    --light-subtle: #D0D0E0;
    /* Soft off-white for primary text */
    --gray-muted: #777;
    /* Professional muted gray */

    /* Subtler Neon Glow Effects */
    --glow-primary: 0 0 5px var(--primary-deep), 0 0 10px var(--primary-deep);
    --glow-secondary: 0 0 5px var(--secondary-accent), 0 0 10px var(--secondary-accent);
    --glow-tertiary: 0 0 5px var(--tertiary-glow), 0 0 10px var(--tertiary-glow);

    /* Refined Glassmorphism Effect */
    --glass-background: rgba(15, 15, 30, 0.7);
    /* Slightly less transparent */
    --glass-border: rgba(0, 163, 191, 0.08);
    /* Muted teal border */
    --card-shadow-subtle: 0 5px 20px rgba(0, 0, 0, 0.3);
    /* Softer card shadow */
}

/* Universal box-sizing for consistent layout */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body styling: background gradient, font, text color, and overflow handling */
body {
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle at center, var(--deep-space) 0%, var(--dark-void) 100%);
    color: var(--light-subtle);
    line-height: 1.8;
    overflow-x: hidden;
    /* Prevents horizontal scroll */
    -webkit-font-smoothing: antialiased;
    /* Smoother font rendering */
    -moz-osx-font-smoothing: grayscale;
    /* Smoother font rendering */
}

/* Headings styling: futuristic font, uppercase, letter spacing, and subtle text shadow */
h1,
h2,
h3,
h4 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    /* Slightly reduced letter spacing */
    color: var(--light-subtle);
    text-shadow: var(--glow-primary);
    /* Use refined primary glow */
}

/* Highlighted text styling: distinct color and subtle glow for emphasis */
.highlight {
    color: var(--secondary-accent);
    text-shadow: var(--glow-secondary);
    /* Use refined secondary glow */
    position: relative;
    display: inline-block;
}

/* Underline effect for highlighted text with a subtle glow. */
.highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    /* Slightly thinner underline */
    background: var(--secondary-accent);
    box-shadow: var(--glow-secondary);
    transform: scaleX(0);
    /* Initially hidden */
    transform-origin: right;
    transition: transform 0.4s ease-out;
}

/* Anchor tag styling: no underline, inherit color, smooth transition */
a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Cyber Grid Background: Fixed position grid with subtle animation for a futuristic backdrop. */
#cyber-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(to right, rgba(0, 163, 191, 0.03) 1px, transparent 1px),
        /* Muted vertical lines */
        linear-gradient(to bottom, rgba(0, 163, 191, 0.03) 1px, transparent 1px);
    /* Muted horizontal lines */
    background-size: 60px 60px;
    /* Slightly larger grid cells for less density */
    opacity: 0.08;
    /* Reduced opacity */
    z-index: -1;
    /* Ensures it stays behind content */
    animation: grid-pulse 12s infinite alternate;
    /* Slower, more subtle pulse */
}

/* Animation for the cyber grid opacity */
@keyframes grid-pulse {
    0% {
        opacity: 0.08;
    }

    100% {
        opacity: 0.12;
    }
}

/* Neon Card Effect: Applies glassmorphism, rounded corners, border, and shadow with hover effects. */
.neon-card {
    background: var(--glass-background);
    backdrop-filter: blur(15px);
    /* Blurs content behind the card */
    -webkit-backdrop-filter: blur(15px);
    /* Safari support */
    border-radius: 16px;
    /* Slightly less rounded */
    border: 1px solid var(--glass-border);
    box-shadow: var(--card-shadow-subtle), var(--glow-secondary);
    /* Initial shadow and border glow */
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    /* Smooth transition for all properties */
    position: relative;
    overflow: hidden;
    /* Ensures internal elements don't spill out */
}

/* Inner glow effect for neon cards on hover */
.neon-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    padding: 1.5px;
    /* Thinner glow */
    background: linear-gradient(45deg, var(--primary-deep), var(--secondary-accent), var(--tertiary-glow));
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    /* Initially hidden */
    transition: opacity 0.4s ease-in-out;
    pointer-events: none;
}

/* Neon card hover effects: lift, scale, and enhanced shadow/glow */
.neon-card:hover {
    transform: translateY(-6px) scale(1.01);
    /* Less aggressive lift and scale */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), var(--glow-secondary);
    /* More subtle hover shadow */
}

/* Show inner glow on hover */
.neon-card:hover::before {
    opacity: 0.7;
    /* Subtler glow on hover */
}

/* Neon Buttons: Shared styles for all buttons, including shape, text, and hover effects. */
.neon-button {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    /* Slightly smaller padding */
    border-radius: 40px;
    /* Slightly less rounded */
    font-weight: 600;
    /* Slightly less bold */
    text-transform: uppercase;
    letter-spacing: 0.8px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
    font-family: 'Orbitron', sans-serif;
    text-shadow: none;
    /* Remove text shadow for cleaner look */
}

/* Primary Neon Button: Gradient background and primary neon glow. */
.primary-neon {
    background: linear-gradient(45deg, var(--primary-deep), var(--tertiary-glow));
    color: var(--light-subtle);
    box-shadow: var(--glow-primary);
}

/* Primary Neon Button hover effects */
.primary-neon:hover {
    background: linear-gradient(45deg, var(--tertiary-glow), var(--primary-deep));
    box-shadow: var(--glow-tertiary);
    transform: translateY(-3px) scale(1.01);
    /* Less aggressive lift and scale */
}

/* Secondary Neon Button: Transparent background with a neon border and glow. */
.secondary-neon {
    background: transparent;
    color: var(--secondary-accent);
    border: 1.5px solid var(--secondary-accent);
    /* Thinner border */
    box-shadow: var(--glow-secondary);
}

/* Secondary Neon Button hover effects */
.secondary-neon:hover {
    background: rgba(0, 163, 191, 0.1);
    /* Muted background on hover */
    color: var(--light-subtle);
    box-shadow: var(--glow-secondary), 0 0 15px rgba(0, 163, 191, 0.3);
    /* Softer hover shadow */
    transform: translateY(-3px) scale(1.01);
}

/* Navigation Bar: Fixed position, glassmorphism, and bottom border with shadow. */
.neon-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-background);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
    /* Softer shadow */
    direction: ltr;
    /* Ensure LTR direction for header */
}

/* Navigation container: flex layout for logo and links, centered with max-width. */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    /* Slightly reduced padding */
    max-width: 1600px;
    margin: 0 auto;
}

/* Logo container: flex layout for image and text. */
.logo-container {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

/* Logo Image Styling: For Logo.png */
.logo {
    height: 40px;
    /* Adjust size as needed */
    width: auto;
    filter: drop-shadow(0 0 4px var(--primary-deep));
    /* Subtle glow for the image logo */
    transition: filter 0.3s ease;
}

.logo:hover {
    filter: drop-shadow(0 0 8px var(--secondary-accent));
    /* Slightly more glow on hover */
}

/* Logo text styling: futuristic font, size, color, and subtle neon glow. */
.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1.6rem;
    /* Slightly smaller font size */
    color: var(--light-subtle);
    text-shadow: var(--glow-primary);
    display: flex;
    /* Added to align tagline */
    align-items: center;
    /* Added to align tagline */
    gap: 0.5rem;
    /* Space between VEIORAI and tagline */
}

/* AI text within logo: distinct color and subtle neon glow. */
.ai-text {
    color: var(--secondary-accent);
    text-shadow: var(--glow-secondary);
}

/* Tagline next to logo */
.tagline {
    font-family: 'Inter', sans-serif;
    /* Use Inter for tagline */
    font-size: 0.9rem;
    /* Smaller font size for tagline */
    color: var(--gray-muted);
    text-shadow: none;
    text-transform: none;
    /* Remove uppercase for tagline */
    letter-spacing: normal;
    /* Reset letter spacing for tagline */
}


/* Navigation links: flex layout, spacing, and text styling. */
.nav-links {
    display: flex;
    gap: 2rem;
    /* Slightly reduced gap */
    align-items: center;
}

/* Individual navigation link styling: relative position for hover effect, font, and text transform. */
.nav-links a {
    position: relative;
    padding: 0.4rem 0;
    font-weight: 500;
    color: var(--light-subtle);
    text-transform: uppercase;
    font-family: 'Share Tech Mono', monospace;
    letter-spacing: 0.3px;
    /* Reduced letter spacing */
}

/* Underline hover effect for navigation links with subtle glow. */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    /* Slightly higher */
    left: 0;
    width: 0;
    /* Initially hidden */
    height: 1.5px;
    /* Thinner line */
    background: var(--secondary-accent);
    box-shadow: var(--glow-secondary);
    transition: width 0.3s ease-out;
}

/* Expand underline on hover */
.nav-links a:hover::after {
    width: 100%;
}

/* Specific style for the contact neon-button in the nav-links when active/focused */
.neon-nav .nav-links a.neon-button:active,
.neon-nav .nav-links a.neon-button:focus {
    box-shadow: var(--glow-secondary);
    /* Ensure the underline/glow color is consistent with other underlines */
    outline: none;
    /* Remove default focus outline */
}


/* Mobile menu icon: hidden by default, shown on smaller screens. */
.mobile-menu {
    display: none;
    font-size: 1.6rem;
    /* Slightly smaller icon */
    cursor: pointer;
    color: var(--secondary-accent);
    text-shadow: var(--glow-secondary);
}

/* Language Switcher Button */
.language-switcher {
    margin-left: 2rem;
    /* Space from nav links */
}

.language-switcher .neon-button {
    padding: 0.6rem 1.2rem;
    /* Smaller button for language toggle */
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    border-radius: 30px;
}

/* Hero Section: Full viewport height, flex layout, padding, and subtle background gradients. */
#hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 5% 4rem;
    /* Adjusted padding */
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at top left, rgba(74, 0, 153, 0.08) 0%, transparent 50%),
        /* Muted gradient */
        radial-gradient(circle at bottom right, rgba(0, 163, 191, 0.08) 0%, transparent 50%);
}

/* Hero container: flex layout for content and visual, centered with max-width. */
.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1600px;
    margin: 0 auto;
    gap: 3rem;
    /* Slightly reduced gap */
}

/* Hero content area: flex item, max-width for text alignment. */
.hero-content {
    flex: 1;
    max-width: 700px;
}

/* Glitch text styling: large font, line height, subtle glow, and refined glitch animation. */
.glitch-text {
    font-size: 4rem;
    /* Slightly smaller font size */
    line-height: 1.15;
    /* Slightly increased line height */
    margin-bottom: 1.8rem;
    position: relative;
    color: var(--light-subtle);
    text-shadow: var(--glow-primary);
    animation: text-flicker-subtle 4s infinite alternate;
    /* Slower, more subtle glitch */
}

/* Refined Glitch animation keyframes (more subtle) */
@keyframes text-flicker-subtle {

    0%,
    10%,
    12%,
    14%,
    16%,
    30%,
    32%,
    100% {
        text-shadow: var(--glow-primary);
        opacity: 1;
    }

    11%,
    15%,
    31% {
        text-shadow: none;
        opacity: 0.9;
        /* Less dramatic opacity change */
    }
}

/* Hero subtext styling: font size, margin, color, and font family. */
.hero-subtext {
    font-size: 1.2rem;
    /* Slightly smaller font */
    margin-bottom: 2.5rem;
    color: var(--gray-muted);
    max-width: 600px;
    font-family: 'Inter', sans-serif;
}

/* Hero buttons container: flex layout for spacing. */
.hero-buttons {
    display: flex;
    gap: 1.5rem;
    /* Slightly reduced gap */
    margin-top: 2.5rem;
}

/* Hero visual area: flex item, centered content, minimum height. */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 350px;
    /* Slightly smaller min-height */
}

/* Floating AI Sphere: Represents the AI, with background, shadows, and animations. */
.floating-ai-sphere {
    position: relative;
    width: 320px;
    /* Slightly smaller */
    height: 320px;
    /* Slightly smaller */
    border-radius: 50%;
    background: radial-gradient(circle, rgba(74, 0, 153, 0.2) 0%, rgba(0, 163, 191, 0.08) 70%, transparent 100%);
    /* Muted gradients */
    box-shadow: 0 0 40px rgba(74, 0, 153, 0.3), 0 0 60px rgba(0, 163, 191, 0.2);
    /* Muted shadows */
    animation: sphere-float 10s ease-in-out infinite, sphere-pulse 5s ease-in-out infinite;
    /* Slower animations */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* AI Core: The central glowing element of the AI sphere. */
.ai-core {
    width: 70px;
    /* Slightly smaller */
    height: 70px;
    /* Slightly smaller */
    border-radius: 50%;
    background: radial-gradient(circle, #fff 0%, var(--secondary-accent) 50%, var(--primary-deep) 100%);
    box-shadow: 0 0 15px var(--secondary-accent), 0 0 30px var(--primary-deep);
    /* Muted glows */
    animation: core-glow 4s infinite alternate;
    /* Slower animation */
}

/* AI Rings: Decorative rings around the AI core with rotation animations. */
.ai-rings {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.ai-rings::before,
.ai-rings::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    border: 1.5px dashed var(--secondary-accent);
    /* Thinner, muted border */
    opacity: 0.2;
    /* Reduced opacity */
}

.ai-rings::before {
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    animation: rotate-ring-cw 18s linear infinite;
    /* Slower rotation */
}

.ai-rings::after {
    width: 120%;
    height: 120%;
    top: -10%;
    left: -10%;
    border: 1.5px dotted var(--tertiary-glow);
    /* Thinner, muted border */
    animation: rotate-ring-ccw 22s linear infinite;
    /* Slower rotation */
}

/* AI Particles: Small glowing particles orbiting the AI sphere. */
.ai-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
}

.ai-particles::before,
.ai-particles::after {
    content: '';
    position: absolute;
    background: var(--secondary-accent);
    border-radius: 50%;
    box-shadow: 0 0 3px var(--secondary-accent);
    /* Muted glow */
}

.ai-particles::before {
    width: 6px;
    /* Smaller particles */
    height: 6px;
    top: 20%;
    left: 50%;
    animation: particle-orbit 12s linear infinite;
    /* Slower orbit */
}

.ai-particles::after {
    width: 5px;
    /* Smaller particles */
    height: 5px;
    bottom: 30%;
    right: 40%;
    animation: particle-orbit-reverse 14s linear infinite;
    /* Slower orbit */
}

/* Scrolling Indicator: Animated arrow at the bottom of the hero section. */
.scrolling-indicator {
    position: absolute;
    bottom: 2.5rem;
    /* Slightly higher */
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.6rem;
    /* Slightly smaller icon */
    color: var(--secondary-accent);
    text-shadow: var(--glow-secondary);
    animation: bounce 2.5s infinite;
    /* Slower bounce */
    cursor: pointer;
}

/* Common Section Styles: Dark background, padding, and subtle borders. */
.section-dark {
    background: linear-gradient(to bottom, var(--deep-space) 0%, var(--dark-void) 100%);
    padding: 7rem 5%;
    /* Slightly reduced padding */
    position: relative;
    border-top: 1px solid rgba(0, 163, 191, 0.04);
    /* Muted border */
    border-bottom: 1px solid rgba(74, 0, 153, 0.04);
    /* Muted border */
}

/* Section Header: Centered text with large headings and descriptive paragraphs. */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    /* Slightly reduced margin */
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.8rem;
    /* Slightly smaller font size */
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-header p {
    font-size: 1.1rem;
    /* Slightly smaller font */
    color: var(--gray-muted);
    font-family: 'Inter', sans-serif;
}

/* About Us Section Styles */
#about {
    padding: 7rem 5%;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Styling for the new about-logo-visual */
.about-logo-visual {
    max-width: 250px;
    /* Adjust size as needed */
    height: auto;
    border-radius: 50%;
    /* Make it circular */
    /* Enhanced glow for a softer look */
    box-shadow: 0 0 30px rgba(74, 0, 153, 0.5), 0 0 60px rgba(0, 163, 191, 0.4);
    transition: all 0.3s ease;
    /* Keep transition for other properties if needed */
    cursor: default;
    /* Changed cursor to default as there's no hover interaction */
}

/* Removed the .about-logo-visual:hover effect as requested */


.about-text {
    flex: 1.5;
    max-width: 700px;
}

.about-text h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    text-shadow: var(--glow-primary);
}

.about-text p {
    font-size: 1.1rem;
    color: var(--gray-muted);
    margin-bottom: 1.5rem;
    font-family: 'Inter', sans-serif;
}

.about-text .neon-button {
    margin-top: 1rem;
}


/* Solutions Grid: Responsive grid layout for solution cards. */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    /* Slightly reduced gap */
    max-width: 1400px;
    margin: 0 auto;
}

/* Solution Card: Padding, centered text, and smooth transitions. */
.solution-card {
    padding: 2.2rem;
    /* Slightly reduced padding */
    text-align: center;
    transition: all 0.4s ease;
}

/* Solution Icon: Large font size, distinct color, and subtle glow. */
.solution-icon {
    font-size: 3rem;
    /* Slightly smaller icon */
    color: var(--secondary-accent);
    margin-bottom: 1.8rem;
    text-shadow: var(--glow-secondary);
}

/* Solution Card Heading: Font size, margin, color, and subtle glow. */
.solution-card h3 {
    font-size: 1.6rem;
    /* Slightly smaller font size */
    margin-bottom: 1rem;
    color: var(--light-subtle);
    text-shadow: var(--glow-primary);
}

/* Solution Card Paragraph: Color and font family. */
.solution-card p {
    color: var(--gray-muted);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
}

/* Demo Section: Padding and background gradient. */
#demo {
    padding: 7rem 5%;
    /* Slightly reduced padding */
    background: linear-gradient(to bottom, var(--dark-void) 0%, var(--deep-space) 100%);
}

/* Demo container: Max-width and centered. */
.demo-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Comparison Slider: Flex layout for side-by-side comparison. */
.comparison-slider {
    display: flex;
    gap: 2.5rem;
    /* Slightly reduced gap */
    margin-bottom: 3.5rem;
}

/* Before and After Sections: Flex items with padding. */
.before-section,
.after-section {
    flex: 1;
    padding: 2.2rem;
    /* Slightly reduced padding */
}

/* Before and After Section Headings: Font size, margin, and text alignment. */
.before-section h4,
.after-section h4 {
    font-size: 1.6rem;
    /* Slightly smaller font size */
    margin-bottom: 1.2rem;
    text-align: center;
    font-family: 'Orbitron', sans-serif;
}

/* Styling for 'Traditional Support' heading */
.before-section h4 {
    color: #CC4444;
    /* Muted Red for 'Legacy' */
    text-shadow: 0 0 8px rgba(204, 68, 68, 0.4);
}

/* Styling for 'VeiorAI Solution' heading */
.after-section h4 {
    color: var(--secondary-accent);
    text-shadow: var(--glow-secondary);
}

/* Chat Window: Fixed height, rounded corners, padding, and custom scrollbar. */
.chat-window {
    height: 380px;
    /* Increased height from 300px to 380px */
    border-radius: 16px;
    /* Slightly less rounded */
    padding: 1.8rem;
    /* Slightly reduced padding */
    margin-bottom: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    /* Slightly reduced gap */
    overflow-y: hidden;
    /* Changed from auto to hidden to disable scrolling */
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.9rem;
    /* Slightly smaller font */
    position: relative;
    border: 2px solid red;
    /* Added red frame */
}

/* Custom scrollbar styling for WebKit browsers */
.chat-window::-webkit-scrollbar {
    width: 6px;
    /* Thinner scrollbar */
}

.chat-window::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    /* More muted track */
    border-radius: 10px;
}

.chat-window::-webkit-scrollbar-thumb {
    background: var(--primary-deep);
    border-radius: 10px;
    box-shadow: var(--glow-primary);
}

.chat-window::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-accent);
    box-shadow: var(--glow-secondary);
}

/* Old Style Chat Window: Dark background and subtle red inner shadow. */
.old-style {
    background: #101018;
    /* Darker background */
    border: 1px solid #222;
    box-shadow: inset 0 0 8px rgba(204, 68, 68, 0.15);
    /* Muted inner shadow */
}

/* Modern Style Chat Window: Gradient background and primary neon inner shadow/glow. */
.modern-style {
    background: linear-gradient(to bottom, #0A0A12, #151520);
    /* Muted gradient */
    border: 1px solid var(--primary-deep);
    box-shadow: inset 0 0 12px rgba(74, 0, 153, 0.2), var(--glow-primary);
    /* Muted inner shadow/glow */
}

/* Chat Message: Max-width, padding, rounded corners, and shadow. */
.message {
    max-width: 85%;
    padding: 0.8rem 1rem;
    /* Slightly smaller padding */
    border-radius: 16px;
    /* Slightly less rounded */
    position: relative;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    /* Softer shadow */
}

/* Received Message: Background, alignment, and color. */
.received {
    background: #202028;
    /* Muted background */
    align-self: flex-start;
    border-bottom-left-radius: 6px;
    /* Slightly less rounded */
    color: var(--light-subtle);
}

/* Sent Message: Gradient background, alignment, color, and text shadow. */
.sent {
    background: linear-gradient(45deg, var(--primary-deep), var(--tertiary-glow));
    align-self: flex-end;
    border-bottom-right-radius: 6px;
    /* Slightly less rounded */
    color: var(--light-subtle);
    text-shadow: none;
    /* Removed text shadow for cleaner look */
}

/* Delayed Message Animation */
.delayed {
    animation: fadeIn 1.8s ease-in-out forwards;
    /* Slower fade in */
}

/* Instant Message Animation */
.instant {
    animation: fadeIn 0.5s ease-in-out forwards;
}

/* Message Time Stamp: Font size, opacity, and alignment. */
.time {
    display: block;
    font-size: 0.7rem;
    margin-top: 0.4rem;
    opacity: 0.5;
    /* Slightly less opaque */
    text-align: right;
    font-family: 'Share Tech Mono', monospace;
}

/* Typing Indicator: Background, padding, rounded corners, and animation. */
.typing-indicator {
    background: #202028;
    /* Muted background */
    padding: 0.6rem 1rem;
    /* Slightly smaller padding */
    border-radius: 16px;
    /* Slightly less rounded */
    align-self: flex-start;
    font-size: 0.85rem;
    /* Slightly smaller font */
    color: var(--gray-muted);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    animation: pulse-dots 1.8s infinite;
    /* Slower pulse */
}

/* Typing indicator dot pulse animation */
@keyframes pulse-dots {

    0%,
    100% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }

    /* Less dramatic pulse */
}

/* Typing indicator ellipsis animation */
.typing-indicator span::after {
    content: '...';
    animation: dot-flash 1.8s infinite steps(3, end);
    /* Slower flash */
}

@keyframes dot-flash {

    0%,
    20% {
        content: '.';
    }

    40% {
        content: '..';
    }

    60%,
    100% {
        content: '...';
    }
}

/* Pain Points and Benefits Lists: Flex layout and spacing. */
.pain-points,
.benefits {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    /* Slightly reduced gap */
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.95rem;
    /* Slightly smaller font */
}

/* Pain Points List Item: Red color and subtle text shadow. */
.pain-points p {
    color: #CC4444;
    /* Muted Red */
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-shadow: 0 0 4px rgba(204, 68, 68, 0.2);
    /* Muted shadow */
}

/* Benefits List Item: Cyan color and subtle glow. */
.benefits p {
    color: var(--secondary-accent);
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-shadow: var(--glow-secondary);
}

/* Demo Call to Action: Centered text and margin. */
.demo-cta {
    text-align: center;
    margin-top: 4rem;
    /* Slightly reduced margin */
}

.demo-cta h3 {
    font-size: 2rem;
    /* Slightly smaller font size */
    margin-bottom: 1.8rem;
    text-shadow: var(--glow-primary);
}

/* Pricing Section (Removed from HTML, but keeping styles for reference if needed later) */
/* .pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2.5rem; max-width: 1400px; margin: 0 auto; } .pricing-card { padding: 2.5rem; position: relative; transition: all 0.4s ease; text-align: center; padding-top: 3.5rem; } .pricing-card.featured { border: 1.5px solid var(--secondary-accent); box-shadow: var(--glow-secondary), 0 0 40px rgba(0, 163, 191, 0.2); transform: scale(1.05); z-index: 10; } .pricing-card.featured::before { opacity: 0.8; } */
/* Popular Tag: Positioned at the top right of the featured card with gradient background and glow. */
/* This style is now for a non-existent element as pricing is removed, but kept for future reference if pricing is re-added */
.popular-tag {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(45deg, var(--secondary-accent), var(--tertiary-glow));
    color: var(--dark-void);
    padding: 0.6rem 1.5rem;
    /* Increased padding to ensure text fits */
    border-bottom-left-radius: 16px;
    /* Rounded only on bottom-left for a clean corner */
    font-size: 0.85rem;
    /* Slightly larger font */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    box-shadow: var(--glow-secondary);
    font-family: 'Orbitron', sans-serif;
    white-space: nowrap;
    /* Prevent text wrapping */
    overflow: visible;
    /* Ensure content is not clipped */
    margin-top: -1px;
    /* Overlap the top border slightly */
    margin-right: -1px;
    /* Overlap the right border slightly */
    z-index: 11;
    text-align: center;
    /* Center the text within the tag */
}

/* Pricing Card Heading (Removed from HTML, but keeping styles for reference if needed later) */
/* .pricing-card h3 { font-size: 1.8rem; margin-bottom: 1.2rem; text-align: center; text-shadow: var(--glow-primary); } .price { font-size: 3rem; font-weight: 700; text-align: center; margin-bottom: 1.8rem; color: var(--light-subtle); text-shadow: var(--glow-secondary); font-family: 'Orbitron', sans-serif; } .period { font-size: 1.1rem; color: var(--gray-muted); font-family: 'Inter', sans-serif; } .features { list-style: none; margin-bottom: 2rem; text-align: left; } .features li { margin-bottom: 0.8rem; display: flex; align-items: flex-start; gap: 0.8rem; color: var(--light-subtle); font-family: 'Share Tech Mono', monospace; font-size: 1rem; } .features i { color: var(--secondary-accent); font-size: 1.1rem; text-shadow: var(--glow-secondary); margin-top: 2px; } .pricing-button { display: block; text-align: center; padding: 0.9rem 1.8rem; font-size: 1rem; } */
/* Contact Section: Form and contact information for inquiries. */
#contact {
    padding: 7rem 5%;
    /* Slightly reduced padding */
    background: linear-gradient(to bottom, var(--deep-space) 0%, var(--dark-void) 100%);
}

/* Contact Container: Flex layout for form and info, spacing, and max-width. */
.contact-container {
    display: flex;
    gap: 3.5rem;
    /* Slightly reduced gap */
    max-width: 1400px;
    margin: 0 auto;
}

/* Contact Form: Flex item with padding. */
.contact-form {
    flex: 2;
    padding: 2.5rem;
    /* Slightly reduced padding */
}

/* Form Group: Margin for spacing between form fields. */
.form-group {
    margin-bottom: 1.8rem;
    /* Slightly reduced margin */
    position: relative;
}

/* Input, Select, Textarea: Full width, padding, rounded corners, border, background, and color. */
input,
select,
textarea {
    width: 100%;
    padding: 1rem;
    /* Slightly reduced padding */
    border-radius: 10px;
    /* Slightly less rounded */
    border: 1px solid rgba(0, 163, 191, 0.15);
    /* Muted border */
    background: rgba(255, 255, 255, 0.04);
    /* More muted background */
    color: var(--light-subtle);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: inset 0 0 4px rgba(0, 163, 191, 0.08);
    /* Muted inner shadow */
}

/* Input, Select, Textarea focus states: Enhanced background, border, and subtle glow. */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 1.5px var(--primary-deep), var(--glow-primary);
    /* Thinner border, muted glow */
}

/* Textarea specific height and resize property. */
textarea {
    min-height: 160px;
    /* Slightly smaller min-height */
    resize: vertical;
}

/* Placeholder styling for input and textarea. */
input::placeholder,
textarea::placeholder {
    color: var(--gray-muted);
    opacity: 0.6;
    /* Slightly more transparent */
}

/* Custom dropdown arrow for select element */
select {
    -webkit-appearance: none;
    /* Remove default arrow for WebKit browsers */
    -moz-appearance: none;
    /* Remove default arrow for Mozilla browsers */
    appearance: none;
    /* Remove default arrow */
    background-image: url('data:image/svg+xml;utf8,<svg fill="%2300A3BF" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
    /* Muted arrow color */
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    /* Adjusted position */
    background-size: 1.1em;
    /* Slightly smaller arrow */
}

/* Contact Information: Flex item, padding, and glassmorphism effect. */
.contact-info {
    flex: 1;
    padding: 2.5rem;
    /* Slightly reduced padding */
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--glass-background);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 16px;
    /* Slightly less rounded */
    border: 1px solid var(--glass-border);
    box-shadow: var(--card-shadow-subtle), var(--glow-secondary);
}

/* Contact Info Heading: Font size, margin, color, and subtle glow. */
.contact-info h3 {
    font-size: 1.8rem;
    /* Slightly smaller font size */
    margin-bottom: 2rem;
    color: var(--light-subtle);
    text-shadow: var(--glow-primary);
}

/* Follow Us Heading: Added margin-top to move it down */
.social-follow-heading {
    margin-top: 2rem;
    /* Adjust this value to move it further down */
    margin-bottom: 1rem;
    /* Space between heading and icons */
    font-size: 1.6rem;
    /* Slightly smaller than main h3, but still prominent */
    color: var(--secondary-accent);
    /* Use a distinct color for this heading */
    text-shadow: var(--glow-secondary);
}

/* Info Item (email, phone): Flex layout for icon and text, spacing, and font. */
.info-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    /* Slightly reduced gap */
    margin-bottom: 1.5rem;
    /* Slightly reduced margin */
    color: var(--light-subtle);
    font-family: 'Share Tech Mono', monospace;
    font-size: 1rem;
    /* Slightly smaller font */
}

/* Info Item Icon: Font size, color, and subtle glow. */
.info-item i {
    font-size: 1.6rem;
    /* Slightly smaller icon */
    color: var(--secondary-accent);
    text-shadow: var(--glow-secondary);
}

/* Social Links: Flex layout, spacing, and margin. */
.social-links {
    display: flex;
    gap: 1.5rem;
    /* Slightly reduced gap */
    margin-top: -2rem;
    /* Slightly reduced margin */
}

/* Social Link Icon: Font size, color, and hover effects with subtle glow. */
.social-links a {
    font-size: 1.8rem;
    /* Slightly smaller icon */
    color: var(--gray-muted);
    transition: all 0.3s ease;
    text-shadow: 0 0 4px rgba(255, 255, 255, 0.1);
    /* Muted shadow */
}

.social-links a:hover {
    color: var(--secondary-accent);
    transform: translateY(-3px) scale(1.05);
    /* Less aggressive lift and scale */
    text-shadow: var(--glow-secondary);
}

/* Footer: Background, padding, top border with animated glow. */
footer {
    background: var(--dark-void);
    padding: 4rem 5% 2.5rem;
    /* Reduced padding */
    border-top: 1px solid rgba(0, 163, 191, 0.06);
    /* Muted border */
    position: relative;
    overflow: hidden;
    direction: ltr;
    /* Ensure LTR direction for footer */
}

/* Footer top border animated glow */
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    /* Thinner line */
    background: linear-gradient(to right, transparent, var(--secondary-accent), transparent);
    box-shadow: var(--glow-secondary);
    animation: footer-glow 6s infinite alternate;
    /* Slower animation */
}

@keyframes footer-glow {
    0% {
        opacity: 0.4;
    }

    100% {
        opacity: 0.8;
    }
}

/* Footer Content: Flex layout for logo and links, spacing, and wrapping. */
.footer-content {
    display: flex;
    justify-content: space-between;
    max-width: 1600px;
    margin: 0 auto;
    gap: 3.5rem;
    /* Slightly reduced gap */
    flex-wrap: wrap;
}

/* Footer Logo: Flex layout for image and text. */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

/* Footer Logo Image: Styling for Logo.png in footer */
.footer-logo .logo {
    height: 35px;
    /* Slightly smaller than nav logo */
    filter: drop-shadow(0 0 3px var(--secondary-accent));
    /* Subtle glow */
}

/* Footer Links: Flex layout for link groups, spacing, and wrapping. */
.footer-links {
    display: flex;
    gap: 2.5rem;
    /* Reduced gap */
    flex-wrap: wrap;
}

/* Link Group Heading: Font size, margin, color, and subtle glow. */
.link-group h4 {
    font-size: 1.2rem;
    /* Slightly smaller font size */
    margin-bottom: 1.2rem;
    color: var(--light-subtle);
    text-shadow: var(--glow-primary);
}

/* Individual Footer Link: Block display, margin, color, and hover effects. */
.link-group a {
    display: block;
    margin-bottom: 0.8rem;
    color: var(--gray-muted);
    transition: all 0.3s ease;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.9rem;
    /* Slightly smaller font */
}

.link-group a:hover {
    color: var(--secondary-accent);
    transform: translateX(6px);
    /* Less aggressive slide */
    text-shadow: var(--glow-secondary);
}

/* Footer Bottom: Centered text, top border, and flex layout for copyright and design info. */
.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    /* Slightly reduced margin */
    padding-top: 2rem;
    /* Slightly reduced padding */
    border-top: 1px solid rgba(74, 0, 153, 0.08);
    /* Muted border */
    color: var(--gray-muted);
    display: flex;
    justify-content: space-between;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.85rem;
    /* Slightly smaller font */
}

/* Neon Heart Icon in Footer: Accent color and heart beat animation. */
.footer-bottom i.neon-heart {
    color: var(--tertiary-glow);
    text-shadow: var(--glow-tertiary);
    animation: heart-beat 1.8s infinite;
    /* Slower heart beat */
}

/* Keyframe Animations */
/* Sphere float animation */
@keyframes sphere-float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    /* Less vertical movement */
    100% {
        transform: translateY(0px);
    }
}

/* Sphere pulse animation */
@keyframes sphere-pulse {
    0% {
        transform: scale(0.99);
    }

    50% {
        transform: scale(1.01);
    }

    /* Less dramatic pulse */
    100% {
        transform: scale(0.99);
    }
}

/* AI core glow animation */
@keyframes core-glow {

    0%,
    100% {
        box-shadow: 0 0 15px var(--secondary-accent), 0 0 30px var(--primary-deep);
    }

    50% {
        box-shadow: 0 0 20px var(--secondary-accent), 0 0 40px var(--primary-deep);
    }

    /* Muted intensity */
}

/* Clockwise ring rotation */
@keyframes rotate-ring-cw {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Counter-clockwise ring rotation */
@keyframes rotate-ring-ccw {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}

/* Particle orbit animation */
@keyframes particle-orbit {
    0% {
        transform: rotate(0deg) translateX(130px) translateY(0px);
    }

    /* Smaller orbit radius, muted opacity */
    25% {
        transform: rotate(90deg) translateX(130px) translateY(0px);
    }

    50% {
        transform: rotate(180deg) translateX(130px) translateY(0px);
    }

    75% {
        transform: rotate(270deg) translateX(130px) translateY(0px);
    }

    100% {
        transform: rotate(360deg) translateX(130px) translateY(0px);
    }
}

/* Reverse particle orbit animation */
@keyframes particle-orbit-reverse {
    0% {
        transform: rotate(0deg) translateX(-150px) translateY(0px);
    }

    /* Smaller orbit radius, muted opacity */
    25% {
        transform: rotate(-90deg) translateX(-150px) translateY(0px);
    }

    50% {
        transform: rotate(-180deg) translateX(-150px) translateY(0px);
    }

    75% {
        transform: rotate(-270deg) translateX(-150px) translateY(0px);
    }

    100% {
        transform: rotate(-360deg) translateX(-150px) translateY(0px);
    }
}

/* Bounce animation for scrolling indicator */
@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-12px) translateX(-50%);
    }

    /* Less bounce height */
    60% {
        transform: translateY(-6px) translateX(-50%);
    }
}

/* Fade in animation for messages and other elements */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    /* Less vertical movement */
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Heart beat animation for footer icon */
@keyframes heart-beat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }

    /* Less aggressive beat */
}

/* Responsive Design */
/* Adjustments for larger tablets and small desktops */
@media (max-width: 1200px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        align-items: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .glitch-text {
        font-size: 3.2rem;
        /* Adjusted font size */
    }

    .hero-visual {
        margin-top: 3.5rem;
    }

    .comparison-slider {
        flex-direction: column;
    }

    .contact-container {
        flex-direction: column;
    }

    .contact-info {
        margin-top: 2.5rem;
    }
}

/* Adjustments for tablets and smaller screens */
@media (max-width: 900px) {
    .nav-links {
        display: none;
        /* Hide desktop nav links */
    }

    .mobile-menu {
        display: block;
        /* Show mobile menu icon */
    }

    .glitch-text {
        font-size: 2.5rem;
        /* Adjusted font size */
    }

    .hero-subtext {
        font-size: 1rem;
        /* Adjusted font size */
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1.2rem;
    }

    .neon-button {
        width: 100%;
        text-align: center;
    }

    .section-header h2 {
        font-size: 2.2rem;
        /* Adjusted font size */
    }

    .solutions-grid {
        grid-template-columns: 1fr;
        /* Single column layout */
    }

    /* Pricing grid styles are commented out as the section is removed */
    /*
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: none;
    }
    */

    .footer-content {
        flex-direction: column;
        gap: 2.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.2rem;
    }
}

/* Adjustments for mobile phones */
@media (max-width: 600px) {
    .glitch-text {
        font-size: 1.8rem;
        /* Adjusted font size */
    }

    .section-header h2 {
        font-size: 1.8rem;
        /* Adjusted font size */
    }

    /* .pricing-card,  This rule is now for a non-existent element */
    .contact-form,
    .contact-info {
        padding: 1.8rem;
        /* Reduced padding */
    }

    /* .price { This rule is now for a non-existent element
        font-size: 2.5rem;
    } */

    .footer-bottom {
        font-size: 0.8rem;
    }
}

/* Mobile Menu Overlay: Full screen overlay for mobile navigation. */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 3, 8, 0.95);
    /* Darker overlay */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    /* Start off-screen */
    transition: transform 0.4s ease-out;
}

/* Active state for mobile menu overlay */
.mobile-nav-overlay.active {
    transform: translateX(0);
}

/* Mobile Nav Overlay Links: Large font, neon colors, and hover effects. */
.mobile-nav-overlay a {
    font-size: 1.8rem;
    /* Slightly smaller font size */
    color: var(--light-subtle);
    margin: 1.2rem 0;
    /* Reduced margin */
    text-transform: uppercase;
    font-family: 'Orbitron', sans-serif;
    text-shadow: var(--glow-primary);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.mobile-nav-overlay a:hover {
    color: var(--secondary-accent);
    text-shadow: var(--glow-secondary);
}

/* Mobile Nav Close Button: Positioned at top right with large size and accent color. */
.mobile-nav-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 2rem;
    color: var(--secondary-accent);
    cursor: pointer;
    text-shadow: var(--glow-secondary);
}

/* Message Box for Form Submission: Overlay for custom alerts. */
.message-box-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    /* Slightly less opaque */
    backdrop-filter: blur(4px);
    /* Slightly less blur */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    opacity: 0;
    /* Initially hidden */
    visibility: hidden;
    /* Initially hidden */
    transition: opacity 0.25s ease, visibility 0.25s ease;
    /* Slightly faster transition */
}

/* Active state for message box overlay */
.message-box-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Message Box Content: Dark background, neon border, shadow, and centered text. */
.message-box {
    background: var(--dark-void);
    border: 1.5px solid var(--secondary-accent);
    /* Thinner border */
    border-radius: 12px;
    /* Slightly less rounded */
    padding: 2rem;
    /* Slightly reduced padding */
    box-shadow: var(--glow-secondary), 0 0 20px rgba(0, 163, 191, 0.3);
    /* Muted shadow */
    text-align: center;
    max-width: 400px;
    /* Slightly smaller max-width */
    width: 90%;
    transform: translateY(-15px);
    /* Less vertical movement */
    opacity: 0;
    /* Initial opacity for animation */
    transition: transform 0.25s ease, opacity 0.25s ease;
    /* Slightly faster transition */
}

/* Active state for message box content */
.message-box-overlay.active .message-box {
    transform: translateY(0);
    opacity: 1;
}

/* Message Box Heading: Neon color and glow. */
.message-box h3 {
    color: var(--secondary-accent);
    font-size: 1.6rem;
    /* Slightly smaller font size */
    margin-bottom: 1.2rem;
    text-shadow: var(--glow-secondary);
}

/* Message Box Paragraph: Color and margin. */
.message-box p {
    color: var(--light-subtle);
    font-size: 1rem;
    /* Slightly smaller font */
    margin-bottom: 1.5rem;
}

/* Message Box Button: Gradient background, color, padding, and hover effects. */
.message-box button {
    background: linear-gradient(45deg, var(--primary-deep), var(--tertiary-glow));
    color: var(--light-subtle);
    padding: 0.7rem 1.8rem;
    /* Slightly smaller padding */
    border: none;
    border-radius: 40px;
    /* Slightly less rounded */
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--glow-primary);
}

.message-box button:hover {
    background: linear-gradient(45deg, var(--tertiary-glow), var(--primary-deep));
    box-shadow: var(--glow-tertiary);
    transform: translateY(-1px);
    /* Less aggressive lift */
}

/* Responsive Design Adjustments */

/* Tablet and Mobile adjustments (e.g., screens smaller than 1024px) */
@media (max-width: 1024px) {

    /* General adjustments for larger mobile/tablet screens */
    .nav-container {
        padding: 0.8rem 4%;
        /* Slightly reduced padding */
    }

    .logo-text {
        font-size: 1.4rem;
        /* Slightly smaller logo text */
    }

    .nav-links {
        gap: 1.5rem;
        /* Reduced gap between nav links */
    }

    /* Hero Section adjustments */
    #hero {
        padding: 6rem 4% 3rem;
        /* Adjusted padding for hero section */
    }

    .hero-container {
        flex-direction: column;
        /* Stack hero content and visual vertically */
        text-align: center;
        gap: 2rem;
        /* Reduced gap */
    }

    .hero-content {
        max-width: 100%;
        /* Allow content to take full width */
    }

    .glitch-text {
        font-size: 3.5rem;
        /* Smaller font size for hero heading */
        line-height: 1.2;
    }

    .hero-subtext {
        font-size: 1.1rem;
        /* Smaller font for hero subheading */
        max-width: 90%;
        /* Constrain width for readability */
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
        /* Center buttons */
        gap: 1rem;
        /* Reduced gap */
    }

    .hero-visual {
        min-height: 300px;
        /* Adjust min-height for visual */
    }

    .floating-ai-sphere {
        width: 280px;
        /* Smaller AI sphere */
        height: 280px;
    }

    .ai-core {
        width: 60px;
        /* Smaller AI core */
        height: 60px;
    }

    /* Section Headers */
    .section-header h2 {
        font-size: 2.5rem;
        /* Smaller font for section headers */
    }

    .section-header p {
        font-size: 1rem;
        /* Smaller font for section subtext */
    }

    /* Solutions Section */
    .solutions-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        /* Adjust grid for solutions cards */
        gap: 1.5rem;
    }

    /* About Section */
    .about-content {
        flex-direction: column;
        /* Stack about content vertically */
        gap: 2rem;
        text-align: center;
    }

    .about-text {
        max-width: 100%;
    }

    .about-image {
        margin-bottom: 1.5rem;
        /* Space between image and text */
    }

    .about-text h3 {
        font-size: 1.8rem;
    }

    /* Demo Section */
    .demo-container {
        flex-direction: column;
        /* Stack demo content vertically */
        gap: 2rem;
    }

    .comparison-slider {
        width: 100%;
        /* Full width for slider */
    }

    .demo-content {
        text-align: center;
    }

    /* Contact Section */
    .contact-container {
        flex-direction: column;
        /* Stack contact form and info vertically */
        gap: 3rem;
    }

    .contact-form,
    .contact-info {
        max-width: 100%;
        /* Full width for contact elements */
    }

    .contact-info {
        text-align: center;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        /* Stack footer elements vertically */
        text-align: center;
        gap: 2rem;
    }

    .footer-links {
        flex-direction: column;
        /* Stack link groups */
        gap: 1.5rem;
    }
}

/* Mobile-specific adjustments (e.g., screens smaller than 768px) */
@media (max-width: 768px) {

    /* Hide desktop nav links and show mobile menu */
    .nav-links {
        display: none;
    }

    .language-switcher {
        display: none;
        /* Hide language switcher on small mobile, move to mobile menu if desired */
    }

    .mobile-menu {
        display: block;
        /* Show mobile menu icon */
    }

    /* Adjust padding for overall content */
    body {
        padding-top: 5rem;
        /* Account for fixed header */
    }

    .neon-nav .nav-container {
        padding: 0.8rem 4%;
        /* Ensure consistent padding */
    }

    .logo-text {
        font-size: 1.2rem;
        /* Even smaller logo text on mobile */
    }

    .logo {
        height: 35px;
        /* Smaller logo image */
    }

    /* Hero Section */
    #hero {
        padding: 5rem 4% 2rem;
        /* More adjusted padding */
    }

    .glitch-text {
        font-size: 2.5rem;
        /* Smaller font for very small screens */
        margin-bottom: 1.5rem;
    }

    .hero-subtext {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        /* Stack buttons vertically */
        width: 100%;
        /* Make buttons full width */
        max-width: 300px;
        /* Max width for stacked buttons */
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons .neon-button {
        width: 100%;
        /* Full width for buttons when stacked */
        padding: 0.8rem 1.5rem;
        /* Adjusted button padding */
    }

    .scrolling-indicator {
        bottom: 1.5rem;
        /* Lower indicator for mobile */
    }

    /* Solutions grid */
    .solutions-grid {
        grid-template-columns: 1fr;
        /* Single column for solutions on small mobile */
    }

    /* About Section */
    .about-text h3 {
        font-size: 1.6rem;
    }

    /* Contact Form */
    .contact-form {
        padding: 1.5rem;
        /* Smaller padding for form */
    }

    .contact-form .form-group label {
        font-size: 0.9rem;
    }

    .contact-form .form-group input,
    .contact-form .form-group select,
    .contact-form .form-group textarea {
        font-size: 1rem;
        padding: 0.8rem;
    }

    .contact-info .info-item {
        font-size: 0.95rem;
    }

    /* Footer adjustments */
    .footer-content {
        padding: 2rem 4%;
    }

    .footer-logo .logo-text {
        font-size: 1.4rem;
    }

    .footer-bottom {
        font-size: 0.8rem;
    }
}

/* Mobile Navigation Overlay: Full screen overlay for mobile navigation. */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 3, 8, 0.95);
    /* Darker overlay */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    /* Start off-screen */
    transition: transform 0.4s ease-out;
}

/* Active state for mobile menu overlay */
.mobile-nav-overlay.active {
    transform: translateX(0);
}

/* Mobile Nav Overlay Links: Large font, neon colors, and hover effects. */
.mobile-nav-overlay a {
    font-size: 1.8rem;
    /* Slightly smaller font size */
    color: var(--light-subtle);
    margin: 1.2rem 0;
    /* Reduced margin */
    text-transform: uppercase;
    font-family: 'Orbitron', sans-serif;
    text-shadow: var(--glow-primary);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.mobile-nav-overlay a:hover {
    color: var(--secondary-accent);
    text-shadow: var(--glow-secondary);
}

/* Mobile Nav Close Button: Positioned at top right with large size and accent color. */
.mobile-nav-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 2rem;
    color: var(--secondary-accent);
    cursor: pointer;
    text-shadow: var(--glow-secondary);
}

/* Message Box for Form Submission: Overlay for custom alerts. */
.message-box-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    /* Slightly less opaque */
    backdrop-filter: blur(4px);
    /* Slightly less blur */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    opacity: 0;
    /* Initially hidden */
    visibility: hidden;
    /* Initially hidden */
    transition: opacity 0.25s ease, visibility 0.25s ease;
    /* Slightly faster transition */
}

/* Active state for message box overlay */
.message-box-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Message Box Content: Dark background, neon border, shadow, and centered text. */
.message-box {
    background: var(--dark-void);
    border: 1.5px solid var(--secondary-accent);
    /* Thinner border */
    border-radius: 12px;
    /* Slightly less rounded */
    padding: 2rem;
    /* Slightly reduced padding */
    box-shadow: var(--glow-secondary), 0 0 20px rgba(0, 163, 191, 0.3);
    /* Muted shadow */
    text-align: center;
    max-width: 400px;
    /* Slightly smaller max-width */
    width: 90%;
    transform: translateY(-15px);
    /* Less vertical movement */
    opacity: 0;
    /* Initial opacity for animation */
    transition: transform 0.25s ease, opacity 0.25s ease;
    /* Slightly faster transition */
}

/* Active state for message box content */
.message-box-overlay.active .message-box {
    transform: translateY(0);
    opacity: 1;
}

/* Message Box Heading: Neon color and glow. */
.message-box h3 {
    color: var(--secondary-accent);
    font-size: 1.6rem;
    /* Slightly smaller font size */
    margin-bottom: 1.2rem;
    text-shadow: var(--glow-secondary);
}

/* Message Box Paragraph: Color and margin. */
.message-box p {
    color: var(--light-subtle);
    font-size: 1rem;
    /* Slightly smaller font */
    margin-bottom: 1.5rem;
}

/* Message Box Button: Gradient background, color, padding, and hover effects. */
.message-box button {
    background: linear-gradient(45deg, var(--primary-deep), var(--tertiary-glow));
    color: var(--light-subtle);
    padding: 0.7rem 1.8rem;
    /* Slightly smaller padding */
    border: none;
    border-radius: 40px;
    /* Slightly less rounded */
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--glow-primary);
}

.message-box button:hover {
    background: linear-gradient(45deg, var(--tertiary-glow), var(--primary-deep));
    box-shadow: var(--glow-tertiary);
    transform: translateY(-1px);
    /* Less aggressive lift */
}

/* Responsive Design Adjustments */

/* Tablet and Mobile adjustments (e.g., screens smaller than 1024px) */
@media (max-width: 1024px) {

    /* General adjustments for larger mobile/tablet screens */
    .nav-container {
        padding: 0.8rem 4%;
        /* Slightly reduced padding */
    }

    .logo-text {
        font-size: 1.4rem;
        /* Slightly smaller logo text */
    }

    .nav-links {
        gap: 1.5rem;
        /* Reduced gap between nav links */
    }

    /* Hero Section adjustments */
    #hero {
        padding: 6rem 4% 3rem;
        /* Adjusted padding for hero section */
    }

    .hero-container {
        flex-direction: column;
        /* Stack hero content and visual vertically */
        text-align: center;
        gap: 2rem;
        /* Reduced gap */
    }

    .hero-content {
        max-width: 100%;
        /* Allow content to take full width */
    }

    .glitch-text {
        font-size: 3.5rem;
        /* Smaller font size for hero heading */
        line-height: 1.2;
    }

    .hero-subtext {
        font-size: 1.1rem;
        /* Smaller font for hero subheading */
        max-width: 90%;
        /* Constrain width for readability */
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
        /* Center buttons */
        gap: 1rem;
        /* Reduced gap */
    }

    .hero-visual {
        min-height: 300px;
        /* Adjust min-height for visual */
    }

    .floating-ai-sphere {
        width: 280px;
        /* Smaller AI sphere */
        height: 280px;
    }

    .ai-core {
        width: 60px;
        /* Smaller AI core */
        height: 60px;
    }

    /* Section Headers */
    .section-header h2 {
        font-size: 2.5rem;
        /* Smaller font for section headers */
    }

    .section-header p {
        font-size: 1rem;
        /* Smaller font for section subtext */
    }

    /* Solutions Section */
    .solutions-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        /* Adjust grid for solutions cards */
        gap: 1.5rem;
    }

    /* About Section */
    .about-content {
        flex-direction: column;
        /* Stack about content vertically */
        gap: 2rem;
        text-align: center;
    }

    .about-text {
        max-width: 100%;
    }

    .about-image {
        margin-bottom: 1.5rem;
        /* Space between image and text */
    }

    .about-text h3 {
        font-size: 1.8rem;
    }

    /* Demo Section */
    .demo-container {
        flex-direction: column;
        /* Stack demo content vertically */
        gap: 2rem;
    }

    .comparison-slider {
        width: 100%;
        /* Full width for slider */
    }

    .demo-content {
        text-align: center;
    }

    /* Contact Section */
    .contact-container {
        flex-direction: column;
        /* Stack contact form and info vertically */
        gap: 3rem;
    }

    .contact-form,
    .contact-info {
        max-width: 100%;
        /* Full width for contact elements */
    }

    .contact-info {
        text-align: center;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        /* Stack footer elements vertically */
        text-align: center;
        gap: 2rem;
    }

    .footer-links {
        flex-direction: column;
        /* Stack link groups */
        gap: 1.5rem;
    }
}

/* Mobile-specific adjustments (e.g., screens smaller than 768px) */
@media (max-width: 768px) {

    /* Hide desktop nav links and show mobile menu */
    .nav-links {
        display: none;
    }

    .language-switcher {
        display: none;
        /* Hide language switcher on small mobile, move to mobile menu if desired */
    }

    .mobile-menu {
        display: block;
        /* Show mobile menu icon */
    }

    /* Adjust padding for overall content */
    body {
        padding-top: 5rem;
        /* Account for fixed header */
    }

    .neon-nav .nav-container {
        padding: 0.8rem 4%;
        /* Ensure consistent padding */
    }

    .logo-text {
        font-size: 1.2rem;
        /* Even smaller logo text on mobile */
    }

    .logo {
        height: 35px;
        /* Smaller logo image */
    }

    /* Hero Section */
    #hero {
        padding: 5rem 4% 2rem;
        /* More adjusted padding */
    }

    .glitch-text {
        font-size: 2.5rem;
        /* Smaller font for very small screens */
        margin-bottom: 1.5rem;
    }

    .hero-subtext {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        /* Stack buttons vertically */
        width: 100%;
        /* Make buttons full width */
        max-width: 300px;
        /* Max width for stacked buttons */
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons .neon-button {
        width: 100%;
        /* Full width for buttons when stacked */
        padding: 0.8rem 1.5rem;
        /* Adjusted button padding */
    }

    .scrolling-indicator {
        bottom: 1.5rem;
        /* Lower indicator for mobile */
    }

    /* Solutions grid */
    .solutions-grid {
        grid-template-columns: 1fr;
        /* Single column for solutions on small mobile */
    }

    /* About Section */
    .about-text h3 {
        font-size: 1.6rem;
    }

    /* Contact Form */
    .contact-form {
        padding: 1.5rem;
        /* Smaller padding for form */
    }

    .contact-form .form-group label {
        font-size: 0.9rem;
    }

    .contact-form .form-group input,
    .contact-form .form-group select,
    .contact-form .form-group textarea {
        font-size: 1rem;
        padding: 0.8rem;
    }

    .contact-info .info-item {
        font-size: 0.95rem;
    }

    /* Footer adjustments */
    .footer-content {
        padding: 2rem 4%;
    }

    .footer-logo .logo-text {
        font-size: 1.4rem;
    }

    .footer-bottom {
        font-size: 0.8rem;
    }
}

/* Mobile Navigation Overlay: Full screen overlay for mobile navigation. */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 3, 8, 0.95);
    /* Darker overlay */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    /* Start off-screen */
    transition: transform 0.4s ease-out;
}

/* Active state for mobile menu overlay */
.mobile-nav-overlay.active {
    transform: translateX(0);
}

/* Mobile Nav Overlay Links: Large font, neon colors, and hover effects. */
.mobile-nav-overlay a {
    font-size: 1.8rem;
    /* Slightly smaller font size */
    color: var(--light-subtle);
    margin: 1.2rem 0;
    /* Reduced margin */
    text-transform: uppercase;
    font-family: 'Orbitron', sans-serif;
    text-shadow: var(--glow-primary);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.mobile-nav-overlay a:hover {
    color: var(--secondary-accent);
    text-shadow: var(--glow-secondary);
}

/* Mobile Nav Close Button: Positioned at top right with large size and accent color. */
.mobile-nav-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 2rem;
    color: var(--secondary-accent);
    cursor: pointer;
    text-shadow: var(--glow-secondary);
}