:root {
    --bg-dark: #0A0A0A;
    --glass: rgba(255, 255, 255, 0.12);
    --glass-border: rgba(255, 255, 255, 0.2);
    --soft-blue: #66B2FF;
    --soft-purple: #A78BFA;
    --text-light: #F5F5F5;
    --text-muted: #D0D0D0;
    --shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    --blur: blur(10px);
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--glass);
    backdrop-filter: var(--blur);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    padding: 0.8rem 0; /* make bar smaller */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    color: var(--soft-blue);
    letter-spacing: 1px;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    position: relative;
    flex-wrap: nowrap;
}

.nav-menu li {
    position: relative;
}

.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
}

.dropdown-toggle::after {
    content: '▼';
    font-size: 0.8rem;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--glass);
    backdrop-filter: var(--blur);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1rem;
    min-width: 300px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Mobile dropdown open state */
/* Mobile styles moved to mobile.css */

.dropdown-item {
    margin-bottom: 0.5rem;
}

.dropdown-item:last-child {
    margin-bottom: 0;
}

.dropdown-item a {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    border-radius: 8px;
    transition: background 0.3s ease;
    text-decoration: none;
    color: var(--text-light);
}

.dropdown-item a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.robot-thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 1rem;
    border: 1px solid var(--glass-border);
}

.robot-info h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 600;
}

.robot-info p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.3;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-menu a:hover {
    color: var(--soft-purple);
}

.hamburger {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-light);
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.hamburger:hover {
    background: var(--glass);
    color: var(--soft-blue);
}

.hamburger.active {
    color: var(--soft-purple);
}

.language-switcher { position: relative; }
.language-switcher select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: rgba(20, 24, 35, 0.6);
    border: 1px solid var(--glass-border);
    color: var(--text-light);
    padding: 0.4rem 1.5rem 0.4rem 0.6rem;
    border-radius: 10px;
    cursor: pointer;
    backdrop-filter: var(--blur);
    box-shadow: var(--shadow), inset 0 0 0 1px rgba(255,255,255,0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    color-scheme: dark;
    font-size: 0.85rem;
}
.language-switcher select:focus {
    outline: none;
    border-color: var(--soft-blue);
    box-shadow: 0 0 0 4px rgba(102,178,255,0.15), var(--shadow);
    background: rgba(24, 28, 42, 0.7);
}
.language-switcher::after {
    content: '▼';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--soft-blue);
    font-size: 0.8rem;
    pointer-events: none;
}
.language-switcher select option {
    background-color: #0f1320;
    color: var(--text-light);
}
@supports selector(option:checked) {
    .language-switcher select option:checked { background-color: #1a2133; }
}

.cta-btn {
    background: var(--soft-blue);
    color: var(--text-light);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 0.9rem;
    white-space: nowrap;
}

.cta-btn:hover {
    background: var(--soft-purple);
}

.index-hero {
    height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 2rem;
    overflow: hidden;
}

.video-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.video-carousel video,
.video-carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.index-hero-content {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 2rem 1rem;
    text-align: center;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.index-hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.index-hero p {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 1rem auto;
}

.index-hero .disclaimer {
    font-size: 0.8rem;
    margin-top: 2rem;
}

.section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.glass-card {
    background: var(--glass);
    backdrop-filter: var(--blur);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1rem 0;
    box-shadow: var(--shadow);
}

/* Soft UI NeoGlass 2025 styling */
.neoglass-2025 {
    position: relative;
    border-radius: 12px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
    backdrop-filter: var(--blur);
    animation: none;
}
.neoglass-2025 h3 {
    font-weight: 700;
    letter-spacing: 0.3px;
    text-shadow: 0 0 16px rgba(102,178,255,0.18);
}
.neoglass-2025 ul { margin-top: 0.75rem; list-style: disc; padding-left: 1.25rem; }
.neoglass-2025 li { display: list-item; padding: 0.2rem 0; }
.neoglass-2025 li::before { content: none; }
.neoglass-2025 h3 { line-height: 1.25; word-break: normal; hyphens: auto; }

.carousel {
    display: flex;
    overflow-x: visible;
    gap: 1.5rem;
    padding: 2rem 0;
    justify-content: center;
    flex-wrap: wrap;
}

.carousel .glass-card {
    flex: 0 0 auto;
    min-width: 300px;
    max-width: 350px;
    text-align: center;
}

.carousel .glass-card .cta-btn {
    margin: 0.5rem;
    display: inline-block;
}

.carousel img {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: 10px;
    margin: 0 auto 1rem auto;
    display: block;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--glass);
    border-radius: 10px;
    overflow: hidden;
}

th, td {
    padding: 0.8rem;
    text-align: left;
    border-bottom: 1px solid var(--glass-border);
}

th {
    background: var(--soft-purple);
    color: var(--text-light);
    font-weight: 600;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

input, textarea, select {
    padding: 0.75rem;
    border: 1px solid var(--glass-border);
    background: var(--glass);
    color: var(--text-light);
    border-radius: 8px;
}

button {
    background: var(--soft-blue);
    cursor: pointer;
    transition: background 0.3s ease;
}

button:hover {
    background: var(--soft-purple);
}

.contact-info p {
    margin: 0.5rem 0;
}

footer {
    background: linear-gradient(135deg, 
        rgba(10, 10, 10, 0.95) 0%,
        rgba(15, 18, 28, 0.9) 25%,
        rgba(20, 25, 35, 0.85) 50%,
        rgba(15, 18, 28, 0.9) 75%,
        rgba(10, 10, 10, 0.95) 100%
    );
    backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid rgba(102, 178, 255, 0.2);
    border-image: linear-gradient(90deg, 
        transparent 0%,
        rgba(102, 178, 255, 0.3) 25%,
        rgba(167, 139, 250, 0.3) 50%,
        rgba(102, 178, 255, 0.3) 75%,
        transparent 100%
    ) 1;
    padding: 4rem 2rem 2rem;
    text-align: center;
    color: var(--text-muted);
    opacity: 0;
    animation: fadeInUp 1.5s ease forwards 0.5s;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(102, 178, 255, 0.6) 25%,
        rgba(167, 139, 250, 0.6) 50%,
        rgba(102, 178, 255, 0.6) 75%,
        transparent 100%
    );
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-info {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(102, 178, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.contact-info p {
    margin: 0.8rem 0;
    font-size: 1.1rem;
    color: var(--text-light);
}

.contact-info a {
    color: var(--text-light);
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    padding: 0.2rem 0.5rem;
    border-radius: 8px;
}

.contact-info a:hover {
    color: var(--soft-blue);
    background: rgba(102, 178, 255, 0.1);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 178, 255, 0.2);
}

.contact-info a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 50%;
    background: linear-gradient(90deg, var(--soft-blue), var(--soft-purple));
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 1px;
}

.contact-info a:hover::after {
    width: 100%;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px solid rgba(102, 178, 255, 0.08);
    backdrop-filter: blur(15px);
}

.social-icon {
    color: var(--text-light);
    font-size: 2rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 0.8rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(102, 178, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(102, 178, 255, 0.1) 0%,
        rgba(167, 139, 250, 0.1) 100%
    );
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    color: var(--soft-blue);
    text-shadow: 0 0 20px var(--soft-blue);
    box-shadow: 
        0 10px 30px rgba(102, 178, 255, 0.3),
        0 0 0 1px rgba(102, 178, 255, 0.2);
}

.social-icon:hover::before {
    opacity: 1;
}

.footer-links {
    margin: 2rem 0;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(102, 178, 255, 0.06);
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 1.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--soft-blue);
    background: rgba(102, 178, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 178, 255, 0.15);
}

.footer-credits {
    text-align: center;
    margin-top: 2rem;
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(102, 178, 255, 0.2);
    color: var(--text-muted);
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px 16px 0 0;
    position: relative;
    backdrop-filter: blur(10px);
}

.footer-credits::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%,
        var(--soft-blue) 50%,
        transparent 100%
    );
    border-radius: 1px;
}

.footer-credits a {
    color: var(--soft-blue);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.3rem 0.8rem;
    border-radius: 8px;
    font-weight: 600;
    position: relative;
}

.footer-credits a:hover {
    color: var(--soft-purple);
    background: rgba(167, 139, 250, 0.1);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(167, 139, 250, 0.2);
}

.disclaimer {
    font-size: 0.9rem;
    margin: 1.5rem 0;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(102, 178, 255, 0.06);
    color: var(--text-muted);
    font-style: italic;
}

/* R1/G1 shared robot page base styles */
.robot-hero {
    padding: 6rem 2rem 2rem 2rem;
}

.robot-showcase {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.robot-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.robot-carousel {
    position: relative;
    width: 100%;
    max-width: 560px;
}

.robot-main-image {
    width: 100%;
    max-width: 560px;
    height: auto;
    object-fit: contain;
    transition: opacity 0.5s ease;
}

.robot-details h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.robot-details .robot-tagline {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.robot-details .price-section .price {
    display: inline-block;
    margin-right: 1rem;
}

/* R1 Videos Section */
.r1-videos {
    background: linear-gradient(135deg, var(--bg-dark) 0%, rgba(102, 178, 255, 0.05) 100%);
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.video-card {
    background: var(--glass);
    backdrop-filter: var(--blur);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.r1-video {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.video-card h3 {
    color: var(--soft-blue);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.video-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

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

/* UNITREE styles moved to g1.html to avoid conflicts */

/* Features Section */
.features-section {
    padding: 6rem 2rem;
    background: var(--bg-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    margin-bottom: 4rem;
    padding: 3rem;
    background: var(--glass);
    backdrop-filter: var(--blur);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.feature-content h3 {
    font-size: 2rem;
    color: var(--soft-blue);
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-content h4 {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: 500;
}

.feature-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Specifications Section */
.specifications-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--bg-dark) 0%, rgba(102, 178, 255, 0.05) 100%);
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    color: var(--soft-blue);
    text-align: center;
    margin-bottom: 4rem;
    text-shadow: 0 0 20px rgba(102, 178, 255, 0.3);
}

.spec-category {
    margin-bottom: 4rem;
}

.spec-category h3 {
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-weight: 600;
}

.spec-table-wrapper {
    background: var(--glass);
    backdrop-filter: var(--blur);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
}

.spec-table th {
    background: var(--soft-purple);
    color: var(--text-light);
    padding: 1rem;
    font-weight: 600;
    text-align: left;
}

.spec-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--glass-border);
    color: var(--text-muted);
}

.spec-table tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Contact Section */
.contact-section {
    padding: 6rem 2rem;
    background: var(--bg-dark);
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: var(--glass);
    backdrop-filter: var(--blur);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 3rem;
}

.contact-content h2 {
    font-size: 2.5rem;
    color: var(--soft-blue);
    margin-bottom: 1rem;
}

.contact-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-buttons .cta-btn {
    flex: 1;
    min-width: 150px;
    max-width: 200px;
}

.contact-info {
    margin-top: 2rem;
}

.contact-info p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

.contact-info a {
    color: var(--soft-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--soft-purple);
}

/* Mobile styles moved to mobile.css for consistency */

/* Mobile styles moved to mobile.css */

/* Mobile-only image section shown right after hero */
.mobile-hero-image {
    display: none;
}

/* Mobile-only hero text - hidden on desktop */
.mobile-hero-text {
    display: none;
}

/* Mobile-only full-screen robots showcase - hidden on desktop */
.mobile-robots-full { 
    display: none; 
}

/* Mobile styles moved to mobile.css */