/* 
================================================================
UCHANGA - PREMIUM STYLE SYSTEM (DARK MODE & TRILINGUAL)
================================================================
*/

:root {
    --bg-dark: #020617; /* Slate 950 */
    --bg-surface: #0b0f19; /* Custom premium dark blue */
    --bg-card: rgba(15, 23, 42, 0.6);
    --bg-nav: rgba(2, 6, 23, 0.85);
    
    --primary: #00f5d4; /* Vibrant Turquoise */
    --primary-hover: #0df5d9;
    --primary-glow: rgba(0, 245, 212, 0.35);
    
    --secondary: #0ea5e9; /* Sky 500 */
    --secondary-glow: rgba(14, 165, 233, 0.25);
    
    --text-main: #f8fafc; /* Slate 50 */
    --text-muted: #94a3b8; /* Slate 400 */
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-focus: rgba(0, 245, 212, 0.5);
    
    --font-outfit: 'Outfit', sans-serif;
    
    --transition-fast: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

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

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Layout Containers */
.nav-container, .hero-container, .stats-container, .product-detail-row, .tech-grid, .signup-container, .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography Defaults */
h1, h2, h3, h4, h5 {
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--text-main);
}

/* Button UI System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-fast);
    border: none;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #020617;
    box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 245, 212, 0.55);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 245, 212, 0.1);
}

.btn-nav {
    padding: 8px 20px;
    font-size: 0.85rem;
    background: transparent;
    color: var(--primary);
    border: 1px solid rgba(0, 245, 212, 0.3);
}

.btn-nav:hover {
    background: var(--primary);
    color: #020617;
    border-color: var(--primary);
    box-shadow: 0 4px 15px var(--primary-glow);
}

/* Sticky Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: var(--bg-nav);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition-fast);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: 1px;
}

.logo-accent {
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary-glow);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 32px;
}

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

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

/* Language Selector (Teal style, high contrast) */
.lang-selector {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    padding: 4px 10px;
    border-radius: 15px;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-family: var(--font-outfit);
    font-weight: 700;
    transition: var(--transition-fast);
    outline: none;
    font-size: 0.8rem;
    padding: 2px 6px;
    border-radius: 4px;
}

.lang-btn.active {
    color: var(--primary);
    background: rgba(0, 245, 212, 0.1);
}

.lang-btn:hover:not(.active) {
    color: var(--text-main);
}

.lang-separator {
    color: rgba(255, 255, 255, 0.15);
    font-size: 0.75rem;
    pointer-events: none;
}

/* Hamburger mobile menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle .bar {
    width: 22px;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 1px;
    transition: var(--transition-fast);
}

/* Hero & Centered Video Layout */
.hero {
    position: relative;
    padding-top: 150px;
    padding-bottom: 80px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -25%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 245, 212, 0.12) 0%, rgba(2, 6, 23, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 60%, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0, 245, 212, 0.08);
    color: var(--primary);
    border: 1px solid rgba(0, 245, 212, 0.15);
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 36px;
}

/* Sharing UI widget */
.share-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
}

.share-bar span {
    font-weight: 600;
}

.share-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
}

.share-icon:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(0, 245, 212, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 0 10px rgba(0, 245, 212, 0.25);
}

/* Video Player container & layout */
.hero-video-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.video-container-glow {
    position: relative;
    width: 100%;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), var(--border-glow), rgba(255, 255, 255, 0.08));
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65);
    overflow: hidden;
}

.video-placeholder-wrapper {
    position: relative;
    cursor: pointer;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 19px;
    background: #0b0f19;
}

.video-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition-slow);
}

.video-placeholder-wrapper:hover .video-thumb {
    transform: scale(1.02);
    filter: brightness(0.9);
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    pointer-events: none;
}

.play-button-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--primary);
    background: rgba(2, 6, 23, 0.6);
    backdrop-filter: blur(8px);
    box-shadow: 0 0 20px var(--primary-glow);
    transition: var(--transition-fast);
}

.video-placeholder-wrapper:hover .play-button-ring {
    transform: scale(1.08);
    background: rgba(0, 245, 212, 0.15);
}

.play-icon-main {
    position: relative;
    z-index: 3;
    font-size: 1.5rem;
    color: var(--primary);
    margin-left: 4px;
    text-shadow: 0 0 10px var(--primary-glow);
}

.video-embed-container {
    display: none;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 19px;
    overflow: hidden;
}

.video-embed-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Stats Section */
.intro-stats {
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.5), rgba(15, 23, 42, 0.1));
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.stat-card {
    text-align: center;
}

.stat-card h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 6px;
    text-shadow: 0 0 15px var(--primary-glow);
}

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

/* Section Header Styles */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #ffffff 60%, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* Products Section (The Trilogy) */
.products-section {
    padding: 100px 0;
}

.product-detail-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 120px;
}

.product-detail-row.reverse {
    direction: rtl;
}

.product-detail-row.reverse .product-detail-content {
    direction: ltr;
}

.product-detail-image {
    position: relative;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(0, 245, 212, 0.05));
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.product-img {
    width: 100%;
    height: auto;
    border-radius: 19px;
    display: block;
    transition: var(--transition-slow);
}

.product-detail-image:hover .product-img {
    transform: scale(1.02);
}

.product-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(0, 245, 212, 0.15);
    line-height: 1;
    margin-bottom: 12px;
}

.product-detail-content h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.product-detail-content .lead {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.product-detail-content ul {
    list-style: none;
}

.product-detail-content li {
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.product-detail-content li i {
    color: var(--primary);
    margin-top: 4px;
    font-size: 0.9rem;
}

.product-detail-content li strong {
    color: var(--text-main);
}

/* Technology Section */
.tech-section {
    padding: 100px 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0), rgba(15, 23, 42, 0.2));
    border-top: 1px solid var(--border-color);
}

.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.tech-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(16px);
    transition: var(--transition-fast);
}

.tech-card:hover {
    border-color: rgba(0, 245, 212, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 245, 212, 0.05);
}

.tech-card-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.tech-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.tech-card:hover .tech-card-image img {
    transform: scale(1.03);
}

.tech-card-body {
    padding: 32px;
}

.tech-card-body h4 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
}

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

/* VIP Pre-Order & Waitlist Section */
.signup-section {
    padding: 100px 0;
    position: relative;
}

.signup-container {
    position: relative;
    background: radial-gradient(circle at 50% 50%, rgba(15, 23, 42, 0.65), var(--bg-dark));
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 80px 48px;
    overflow: hidden;
    text-align: center;
    backdrop-filter: blur(20px);
}

.signup-glow {
    position: absolute;
    bottom: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 245, 212, 0.15) 0%, rgba(2, 6, 23, 0) 70%);
    pointer-events: none;
}

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

.signup-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ffffff 60%, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.signup-content p.lead {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 550px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 16px;
}

/* Beautiful form fields */
.signup-form input, .signup-form select {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid var(--border-color);
    padding: 14px 20px;
    border-radius: 12px; /* Sleeker semi-rounded design */
    color: var(--text-main);
    font-family: var(--font-outfit);
    font-size: 0.95rem;
    transition: var(--transition-fast);
    outline: none;
    width: 100%;
}

/* CRITICAL: Dropdown Options styling to prevent low contrast (white-on-white) on specific browsers */
.signup-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 14px;
    padding-right: 44px;
    cursor: pointer;
}

.signup-form select option {
    background-color: #0b1329; /* Dark high-contrast background */
    color: #f8fafc;             /* High contrast light text */
    padding: 12px;
}

.signup-form input::placeholder {
    color: #64748b; /* Slate 500 */
}

.signup-form input:focus, .signup-form select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 12px rgba(0, 245, 212, 0.2);
    background: rgba(15, 23, 42, 0.95);
}

.btn-submit {
    padding: 14px;
    font-size: 1rem;
    border-radius: 12px;
}

/* Success Card */
.form-success-msg {
    display: none;
    animation: fadeIn 0.4s ease-out forwards;
}

.form-success-msg i {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    text-shadow: 0 0 15px var(--primary-glow);
}

.form-success-msg h4 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.form-success-msg p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

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

/* Footer Section */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 80px 0 40px 0;
    background: #02040a;
}

.footer-container {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr;
    gap: 64px;
    margin-bottom: 60px;
}

.footer-brand p {
    margin-top: 16px;
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 320px;
}

.footer-links h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-main);
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }
    
    .hero-content h1 {
        font-size: 3.2rem;
    }
    
    .hero-actions {
        justify-content: center;
    }

    .share-bar {
        margin: 0 auto;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .product-detail-row, .product-detail-row.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .product-detail-row.reverse {
        direction: ltr;
    }
    
    .product-detail-content li {
        justify-content: center;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-right {
        gap: 16px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--bg-dark);
        border-bottom: 1px solid var(--border-color);
        padding: 40px 0;
        gap: 24px;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-links .btn {
        width: 80%;
    }
    
    .hero-content h1 {
        font-size: 2.6rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .signup-container {
        padding: 48px 24px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
