:root {
    /* Colors */
    --bg-dark: #0a0a0a;
    --bg-card: #141414;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --accent-primary: #00f2ff;
    /* Cyan */
    --accent-secondary: #7000ff;
    /* Purple */
    --accent-glow: rgba(0, 242, 255, 0.5);

    /* Typography */
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Header */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: var(--spacing-sm) 0;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 80px;
    /* Increased to 80px */
    width: auto;
    object-fit: contain;
}

/* Removed text logo styles as they are replaced by image */
/* .logo .highlight { ... } */

.nav-links {
    display: flex;
    gap: var(--spacing-md);
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

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

/*
.cta-button {
    background: transparent;
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
    padding: 0.5rem 1.5rem;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.cta-button:hover {
    background: var(--accent-primary);
    color: var(--bg-dark);
    box-shadow: 0 0 15px var(--accent-glow);
}
*/
/* Hero Section */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    /* Header height */
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--accent-secondary) 0%, transparent 70%);
    opacity: 0.2;
    filter: blur(80px);
    z-index: -1;
}

.hero-content {
    flex: 1;
    z-index: 1;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: var(--spacing-sm);
}

.hero-title .glitch {
    color: var(--accent-primary);
    position: relative;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: var(--spacing-md);
}

.hero-actions {
    display: flex;
    gap: var(--spacing-sm);
}

.btn {
    padding: 0.8rem 2rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn.primary {
    background: var(--accent-primary);
    color: var(--bg-dark);
    border: none;
}

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

.btn.secondary {
    background: transparent;
    border: 1px solid var(--text-muted);
    color: var(--text-main);
}

.btn.secondary:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.hero-visual {
    flex: 1;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image {
    max-width: 80%;
    max-height: 60vh;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(0, 242, 255, 0.3));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Image Marquee */
.marquee-container {
    background: var(--bg-dark);
    padding: var(--spacing-md) 0;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.marquee-track {
    display: flex;
    gap: var(--spacing-md);
    width: max-content;
    animation: scroll 20s linear infinite;
}

.marquee-track img {
    height: 150px;
    width: auto;
    border-radius: 10px;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.marquee-track img:hover {
    filter: grayscale(0%);
}

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

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

/* Features Section */
#features {
    padding: var(--spacing-lg) 0;
    background: var(--bg-dark);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.feature-card {
    background: var(--bg-card);
    padding: var(--spacing-md);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
}

.icon-box {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
    color: var(--accent-primary);
}

.feature-card h3 {
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

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

/* Showcase Section */
#showcase {
    padding: var(--spacing-lg) 0;
    background: #0f0f0f;
    /* Slightly lighter than bg-dark */
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-md);
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 300px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: var(--spacing-md);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    transform: translateY(100px);
    transition: transform 0.3s ease;
    opacity: 0;
}

.gallery-item:hover .overlay {
    transform: translateY(0);
    opacity: 1;
}

.gallery-item h3 {
    font-family: var(--font-heading);
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

.gallery-item p {
    font-size: 0.9rem;
    color: var(--text-main);
}

/* Video Showcase Section */
#video-showcase {
    padding: var(--spacing-lg) 0;
    background: var(--bg-dark);
}

.video-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    max-width: 900px;
    margin: 0 auto;
}

.video-item {
    background: var(--bg-card);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.video-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
}

.video-item video {
    width: 100%;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.video-caption {
    padding: var(--spacing-sm);
    text-align: center;
}

.video-caption h3 {
    font-family: var(--font-heading);
    color: var(--accent-primary);
    font-size: 1.2rem;
}

/* Contact Section */
#contact {
    padding: var(--spacing-lg) 0;
    background: var(--bg-dark);
}

.contact-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.contact-info {
    background: var(--bg-card);
    padding: var(--spacing-md);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.contact-info h3 {
    font-family: var(--font-heading);
    color: var(--accent-primary);
    margin-bottom: var(--spacing-md);
    font-size: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    color: var(--text-muted);
}

.info-item .icon {
    font-size: 1.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon svg {
    width: 24px;
    height: 24px;
}

.social-icon:hover {
    transform: translateY(-5px);
    background: var(--accent-primary);
    color: var(--bg-dark);
    box-shadow: 0 0 15px var(--accent-glow);
    border-color: var(--accent-primary);
}

/* Footer */
footer {
    padding: var(--spacing-md) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    #hero {
        flex-direction: column;
        padding-top: 100px;
        height: auto;
        padding-bottom: var(--spacing-lg);
    }

    .hero-visual {
        margin-top: var(--spacing-md);
        width: 100%;
    }

    .robot-placeholder {
        width: 100%;
        height: 300px;
    }
}