:root {
    --primary-color: #8A2BE2; /* Vibrant Purple */
    --secondary-color: #00BFFF; /* Deep Sky Blue */
    --accent-color: #00F0FF; /* Bright Cyan/Aqua for glows */
    --background-color: #0D0D2B; /* Deep Space Blue/Almost Black */
    --surface-color: #1A1A3D; /* Slightly lighter for cards/surfaces */
    --text-color: #E0E0E0; /* Light Grey/White for readability */
    --text-color-dark: #A0A0C0; /* Muted text for less emphasis */
    --highlight-glow: 0 0 15px var(--accent-color), 0 0 30px var(--accent-color), 0 0 45px var(--primary-color);
    --font-primary: 'Orbitron', sans-serif; /* Futuristic, techy */
    --font-secondary: 'Roboto', sans-serif; /* Clean, readable for body */
    --border-radius: 10px;
    --transition-speed: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-family: var(--font-primary);
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: 1px;
}

h2 {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
}

p {
    margin-bottom: 1rem;
    color: var(--text-color-dark);
}

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

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

.highlight {
    color: var(--accent-color);
    text-shadow: 0 0 8px var(--accent-color);
}

/* Header & Navigation */
header {
    background-color: rgba(13, 13, 43, 0.8); /* Slightly transparent */
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 240, 255, 0.2);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    text-shadow: var(--highlight-glow);
}

.hamburger-menu {
    display: none; /* Hidden by default, shown in media query */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001; /* Ensure it's above other nav elements if needed */
}

.hamburger-bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-color);
    transition: all var(--transition-speed);
}

/* Hamburger animation to 'X' */
.hamburger-menu.open .hamburger-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger-menu.open .hamburger-bar:nth-child(2) {
    opacity: 0;
}
.hamburger-menu.open .hamburger-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


#main-nav-links { /* Changed from header nav ul for specificity */
    list-style: none;
    display: flex; /* Default for desktop */
}

#main-nav-links li { /* Changed from header nav ul li */
    margin-left: 2rem;
}

header nav ul li a {
    font-family: var(--font-secondary);
    font-weight: 400;
    font-size: 1rem;
    color: var(--text-color-dark);
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

header nav ul li a:hover,
header nav ul li a.active {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
    text-shadow: 0 0 5px var(--accent-color);
}

.cta-button-nav {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: white !important;
    padding: 0.6rem 1.2rem !important;
    border-radius: var(--border-radius);
    font-weight: 700 !important;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    border-bottom: none !important;
}

.cta-button-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 191, 255, 0.4);
    color: white !important;
}


/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px; /* Account for fixed header */
    background: radial-gradient(circle at 50% 50%, rgba(13, 13, 43, 0.9) 0%, var(--background-color) 70%),
                url('https://www.transparenttextures.com/patterns/carbon-fibre.png'); /* Subtle texture */
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.hero-text {
    flex: 1;
    max-width: 50%;
    animation: fadeInFromLeft 1s ease-out;
}

.hero-text .subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--text-color-dark);
}

.hero-image-container {
    flex: 1;
    max-width: 45%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInFromRight 1s ease-out;
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.glow-behind-image {
    position: absolute;
    width: 110%;
    height: 110%;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.3) 0%, rgba(138, 43, 226, 0.2) 50%, transparent 70%);
    filter: blur(50px);
    z-index: 1;
    border-radius: 50%;
    animation: pulseGlow 4s infinite alternate;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1rem 2.5rem;
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 191, 255, 0.5);
}

/* General Section Styling */
section {
    padding: 6rem 0;
}

section:nth-child(even) {
    background-color: var(--surface-color);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-color-dark);
    max-width: 700px;
    margin: 0 auto 3rem auto;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature-card {
    background-color: rgba(26, 26, 61, 0.7); /* Slightly more transparent */
    backdrop-filter: blur(5px);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 240, 255, 0.2);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 240, 255, 0.2);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem auto;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px var(--accent-color);
}

.feature-icon svg {
    width: 30px;
    height: 30px;
    fill: white;
}

.feature-card h3 {
    margin-bottom: 0.8rem;
    font-size: 1.5rem;
}

/* Experience Section (AR Mockup) */
.experience-section {
    background: linear-gradient(rgba(13, 13, 43, 0.95), rgba(13, 13, 43, 0.95)), 
                url('https://www.transparenttextures.com/patterns/futuristic-armor.png');
}
.ar-mockup-container {
    background-color: #0A0A1E; /* Even darker for screen feel */
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 0 40px rgba(0, 191, 255, 0.3), inset 0 0 15px rgba(0, 191, 255, 0.2);
    border: 2px solid var(--accent-color);
    margin-top: 2rem;
    position: relative;
}

.ar-mockup-screen {
    background-color: var(--background-color);
    border-radius: calc(var(--border-radius) - 5px);
    padding: 1.5rem;
    min-height: 400px; /* For chat content */
}

.chat-window {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.chat-header {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    color: var(--accent-color);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 240, 255, 0.3);
    text-align: center;
}

.chat-messages {
    flex-grow: 1;
    overflow-y: auto; /* In case of many messages */
    padding-right: 10px; /* For scrollbar */
}

.message {
    display: flex;
    margin-bottom: 1.5rem;
    align-items: flex-start; /* Align avatar with top of text */
}

.message p {
    background-color: var(--surface-color);
    padding: 0.8rem 1.2rem;
    border-radius: var(--border-radius);
    max-width: 75%;
    color: var(--text-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    border: 2px solid var(--accent-color);
}

.ai-message .chat-avatar {
    order: -1; /* Puts avatar on left */
    margin-right: 10px;
    margin-left: 0;
}
.ai-message p {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-top-left-radius: 0; /* Speech bubble effect */
}

.user-message {
    justify-content: flex-end; /* Aligns message to the right */
}

.user-message p {
    background-color: #2a2a4d; /* Slightly different user bubble */
    border-top-right-radius: 0; /* Speech bubble effect */
    margin-left: auto; /* Pushes bubble to right */
}

.holographic-placeholder {
    border: 1px dashed var(--accent-color);
    padding: 1rem;
    margin-top: 0.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    font-style: italic;
    color: var(--accent-color);
    text-shadow: 0 0 5px var(--accent-color);
}

.chat-input {
    display: flex;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(0, 240, 255, 0.3);
    padding-top: 1rem;
}

.chat-input input {
    flex-grow: 1;
    padding: 0.8rem 1rem;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    border: 1px solid var(--accent-color);
    background-color: var(--surface-color);
    color: var(--text-color);
    font-family: var(--font-secondary);
    font-size: 1rem;
}

.chat-input input:focus {
    outline: none;
    box-shadow: 0 0 10px var(--accent-color);
}

.chat-input button {
    padding: 0.8rem 1.5rem;
    background: var(--accent-color);
    color: var(--background-color);
    border: none;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    font-family: var(--font-primary);
    font-weight: 700;
    cursor: pointer;
    transition: background-color var(--transition-speed);
}

.chat-input button:hover {
    background-color: var(--secondary-color);
    color: white;
}

.ar-caption {
    text-align: center;
    margin-top: 1.5rem;
    font-style: italic;
    color: var(--text-color-dark);
}

/* Why Us Section */
.why-us-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-top: 2rem;
}

.why-us-text {
    flex: 1.2; /* Give slightly more space to text */
}

.why-us-text h3 {
    margin-top: 1.5rem;
}
.why-us-text p {
    font-size: 1.1rem;
}

.why-us-visual {
    flex: 0.8;
    text-align: center;
}

.why-us-image {
    max-width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 0 30px rgba(138, 43, 226, 0.4);
    border: 2px solid var(--primary-color);
}

/* Contact Section */
.contact-section {
    background: linear-gradient(rgba(26, 26, 61, 0.9), rgba(26, 26, 61, 0.9)),
                url('https://www.transparenttextures.com/patterns/nistri.png');
}
.contact-form {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 600px;
    margin: 2rem auto 0 auto;
    gap: 1rem;
}

.contact-form input[type="email"] {
    flex-grow: 1;
    padding: 1rem 1.2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--accent-color);
    background-color: var(--surface-color);
    color: var(--text-color);
    font-family: var(--font-secondary);
    font-size: 1rem;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.3);
}

.contact-form input[type="email"]:focus {
    outline: none;
    box-shadow: 0 0 10px var(--accent-color), inset 0 1px 3px rgba(0,0,0,0.3);
}

/* Footer */
footer {
    background-color: #0A0A1E; /* Darkest part */
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid rgba(0, 240, 255, 0.1);
}

footer p {
    color: var(--text-color-dark);
    margin-bottom: 0.5rem;
}

.social-links a {
    margin: 0 0.25rem; /* Slightly reduce margin to accommodate padding */
    padding: 0.5rem; /* Added padding for better tappability */
    color: var(--text-color-dark);
    font-size: 0.9rem;
    display: inline-block; /* Ensure padding is applied correctly */
}

.social-links a:hover {
    color: var(--accent-color);
}

/* Animations */
@keyframes fadeInFromLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInFromRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes pulseGlow {
    0% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); opacity: 0.7; }
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2.2rem; }
    .hero-content { flex-direction: column; text-align: center; }
    .hero-text { max-width: 100%; margin-bottom: 2rem; }
    .hero-image-container { max-width: 70%; }
    .why-us-content { flex-direction: column; }
}

@media (max-width: 768px) {
    /* Original mobile styles for header nav might need adjustment */
    header nav {
        flex-direction: row; /* Keep logo and hamburger on same line */
        flex-wrap: wrap; /* Allow nav links to wrap below */
        position: relative; /* For absolute positioning of nav links if needed */
    }

    .hamburger-menu {
        display: block; /* Show hamburger on mobile */
        order: 1; /* Ensure it's typically to the right or after logo */
    }

    #main-nav-links {
        display: none; /* Hidden by default on mobile */
        flex-direction: column;
        width: 100%;
        background-color: rgba(13, 13, 43, 0.95); /* Match header or slightly darker */
        position: absolute;
        top: 100%; /* Position below the header */
        left: 0;
        padding: 1rem 0;
        box-shadow: 0 4px 10px rgba(0,0,0,0.3);
        border-top: 1px solid rgba(0, 240, 255, 0.2);
    }

    #main-nav-links.active {
        display: flex; /* Show when active */
    }

    #main-nav-links li {
        margin: 0; /* Reset desktop margins */
        width: 100%;
        text-align: center;
    }

    #main-nav-links li a {
        padding: 1rem; /* Larger tap target */
        display: block;
        width: 100%;
        border-bottom: 1px solid rgba(0, 240, 255, 0.1); /* Separators */
    }
    #main-nav-links li:last-child a {
        border-bottom: none;
    }

    #main-nav-links li a:hover,
    #main-nav-links li a.active {
        background-color: rgba(0, 240, 255, 0.1);
        border-bottom-color: transparent; /* Avoid double border effect on hover */
    }
    
    .cta-button-nav { /* Ensure mobile CTA is also full width or appropriately styled */
        padding: 1rem !important; /* Consistent padding */
        margin: 0.5rem 10%;
        display: block;
        width: 80%;
        text-align: center;
    }
    
    /* Adjustments from previous media query if they conflict */
    /* header nav ul { margin-top: 1rem; flex-wrap: wrap; justify-content: center;} -> Handled by #main-nav-links */
    /* header nav ul li { margin: 0.5rem; } -> Handled by #main-nav-links li */

    section { padding: 4rem 0; } /* Reduced section padding */
    h1 { font-size: 2.5rem; }
    .features-grid { grid-template-columns: 1fr; }
    .contact-form { flex-direction: column; }
    .contact-form input[type="email"], .contact-form .cta-button { width: 100%; }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    section { padding: 3rem 0; } /* Further reduced section padding */
    .feature-card { padding: 1.5rem 1rem; } /* Reduced feature card padding */
    .ar-mockup-container { padding: 1rem; } /* Reduced AR container padding */
    .ar-mockup-screen { padding: 1rem; min-height: 300px; } /* Reduced AR screen padding & min-height */
    .hero-text .subtitle { font-size: 1rem; }
    .cta-button, .cta-button-nav { padding: 0.8rem 1.5rem; font-size: 0.9rem; }
    .logo { font-size: 1.5rem; }
    .social-links a { font-size: 1rem; } /* Increased font size for footer links on small screens */
}