:root {
    --bg: #0b0f19;
    --card-bg: #161c2d;
    --nav-bg: #0b0f19;
    --text-main: #e0e0e0;
    --text-muted: #94a3b8;
    --primary: #00a1ff;
    --accent: #4cc3ff;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

[data-theme="light"] {
    --bg: #f8f9fa;
    --card-bg: #ffffff;
    --nav-bg: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --primary: #002e6e;
    --accent: #00a1ff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { 
    font-family: 'Inter', sans-serif; 
    background: var(--bg); 
    color: var(--text-main); 
    transition: var(--transition);
    overflow-x: hidden;
}

.main-header { 
    background: var(--nav-bg); 
    border-bottom: 1px solid rgba(255,255,255,0.05); 
    position: sticky; top: 0; z-index: 1000; 
}
.top-nav { display: flex; justify-content: space-between; align-items: center; max-width: 1400px; margin: 0 auto; padding: 1rem 5%; }

.logo { display: flex; align-items: center; text-decoration: none; gap: 10px; color: var(--text-main); }
.logo-text { font-weight: 800; font-size: 1.4rem; }
.logo-text span { color: var(--primary); font-weight: 300; }

.nav-links { display: flex; list-style: none; gap: 2rem; }
.nav-links a { text-decoration: none; color: var(--text-main); font-weight: 500; font-size: 0.95rem; }

.has-submenu { position: relative; }
.mega-menu { 
    position: absolute; top: 100%; left: -50%; width: 640px; background: var(--card-bg); 
    display: none; padding: 2rem; border-top: 3px solid var(--primary); 
    box-shadow: 0 10px 25px rgba(0,0,0,0.3); border-radius: 0 0 8px 8px;
    grid-template-columns: 1fr 1fr; gap: 1.5rem;
}
.has-submenu:hover .mega-menu { display: grid; }
.menu-col h3 { color: var(--primary); font-size: 0.85rem; margin-bottom: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }
.nav-links .menu-detail { display: block; padding: 0.8rem 0; border-bottom: 1px solid rgba(255,255,255,0.07); }
.nav-links .menu-detail:last-child { border-bottom: 0; }
.menu-detail strong { display: block; color: var(--text-main); font-size: 0.95rem; margin-bottom: 0.25rem; }
.menu-detail span { display: block; color: var(--text-muted); font-size: 0.8rem; line-height: 1.45; font-weight: 400; }
.menu-detail:hover strong { color: var(--primary); }

.breadcrumb-container { background: rgba(255,255,255,0.02); padding: 0.7rem 5%; border-bottom: 1px solid rgba(255,255,255,0.05); }
.breadcrumbs { list-style: none; display: flex; gap: 10px; font-size: 0.8rem; }
.breadcrumbs li::after { content: "/"; margin-left: 10px; color: var(--text-muted); }
.breadcrumbs li:last-child::after { content: ""; }
.breadcrumbs a { text-decoration: none; color: var(--primary); }

.hero-v2 { 
    height: 70vh; background: url('https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1920&q=80') center/cover;
    position: relative; display: flex; align-items: center; padding: 0 10%; color: white;
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,15,25,0.95) 0%, rgba(11,15,25,0.4) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 650px; }
.hero-content h1 { font-size: 4rem; line-height: 1; margin: 1rem 0; }
.badge { background: var(--primary); padding: 4px 12px; border-radius: 4px; font-size: 0.75rem; font-weight: 700; }
.btn-primary { background: var(--primary); color: white; padding: 12px 30px; text-decoration: none; border-radius: 4px; font-weight: 600; display: inline-block; margin-top: 1rem; }

/* VVM Section Styles */
.vvm-section { background: rgba(255,255,255,0.02); }
.vvm-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 3rem; text-align: center; max-width: 1200px; margin: 0 auto; }
.vvm-item h3 { font-size: 1.5rem; margin: 1rem 0; color: var(--primary); text-transform: uppercase; letter-spacing: 1px; }
.vvm-item p { color: var(--text-muted); line-height: 1.6; }
.vvm-icon { font-size: 3rem; margin-bottom: 0.5rem; }

.content-block { padding: 5rem 10%; }
.section-title { text-align: center; margin-bottom: 3rem; }
.line { width: 40px; height: 3px; background: var(--primary); margin: 10px auto; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.feature-card { background: var(--card-bg); border-radius: 12px; overflow: hidden; transition: var(--transition); border: 1px solid rgba(255,255,255,0.05); }
.feature-card:hover { transform: translateY(-10px); border-color: var(--primary); }
.card-img { height: 200px; background-size: cover; background-position: center; }
.card-body { padding: 2rem; }
.read-more-btn { background: none; border: none; color: var(--primary); font-weight: 600; cursor: pointer; font-family: inherit; font-size: 1rem; margin-top: 1rem; display: block; }

.careers-preview { background: var(--primary); padding: 5rem 10%; text-align: center; color: white; }
.btn-apply { background: white; color: var(--primary); border: none; padding: 12px 30px; border-radius: 4px; font-weight: 700; cursor: pointer; }

.modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.85); backdrop-filter: blur(8px); z-index: 2000; }
.modal-content { background: var(--card-bg); margin: 5% auto; padding: 3rem; width: 90%; max-width: 500px; border-radius: 12px; position: relative; border: 1px solid rgba(255,255,255,0.1); }
.close-btn { position: absolute; right: 20px; top: 15px; font-size: 2rem; cursor: pointer; color: var(--text-muted); }
.close-btn:hover { color: var(--white); }

.input-group { margin-bottom: 1.2rem; }
.input-group label { display: block; font-size: 0.9rem; margin-bottom: 5px; color: var(--text-muted); }
.input-group input, .input-group select { width: 100%; padding: 12px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 6px; color: white; }
.submit-btn { width: 100%; padding: 12px; background: var(--primary); color: white; border: none; border-radius: 6px; font-weight: 700; cursor: pointer; }

#theme-toggle { background: none; border: 1px solid var(--primary); color: var(--primary); padding: 5px 10px; border-radius: 20px; cursor: pointer; }

.detail-hero { padding: 7rem 10% 5rem; background: linear-gradient(120deg, rgba(0,161,255,0.18), rgba(11,15,25,0.2)); }
.detail-hero .badge { display: inline-block; margin-bottom: 1rem; }
.detail-hero h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1; max-width: 780px; }
.detail-hero p { color: var(--text-muted); line-height: 1.7; max-width: 760px; margin-top: 1.25rem; font-size: 1.05rem; }
.detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.detail-card { background: var(--card-bg); border: 1px solid rgba(255,255,255,0.07); border-radius: 12px; padding: 1.5rem; }
.detail-card h3 { color: var(--primary); margin-bottom: 0.8rem; }
.detail-card p, .detail-card li { color: var(--text-muted); line-height: 1.6; }
.detail-card ul { padding-left: 1.1rem; }

@media (max-width: 768px) {
    .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background: var(--nav-bg); padding: 2rem; border-bottom: 2px solid var(--primary); z-index: 999; }
    .nav-links.nav-active { display: flex; }
    .mega-menu { position: static; left: auto; width: 100%; padding: 1rem 0 0; box-shadow: none; grid-template-columns: 1fr; }
    .hamburger { display: block; cursor: pointer; }
    .hamburger span { display: block; width: 25px; height: 3px; background: var(--text-main); margin: 5px 0; transition: var(--transition); }
    .toggle-icon span:nth-child(1) { transform: rotate(-45deg) translate(-5px, 6px); }
    .toggle-icon span:nth-child(2) { opacity: 0; }
    .toggle-icon span:nth-child(3) { transform: rotate(45deg) translate(-5px, -6px); }
    .bottom-nav { display: flex; position: fixed; bottom: 0; left: 0; width: 100%; background: var(--card-bg); justify-content: space-around; padding: 12px 0; z-index: 1001; }
    .b-nav-item { text-decoration: none; color: var(--text-muted); font-size: 0.7rem; display: flex; flex-direction: column; align-items: center; }
    body { padding-bottom: 70px; }
}
