/* NovaThrust Light Sky Blue Theme */
:root {
    --primary: #0ea5e9;
    --primary-hover: #0284c7;
    --primary-light: #e0f2fe;
    --bg: #ffffff;
    --bg-secondary: #f0f9ff;
    --bg-card: #ffffff;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --text: #0f172a;
    --text-muted: #64748b;
    --text-secondary: #94a3b8;
    --transition: all 0.3s ease;
    --shadow: 0 4px 20px rgba(14, 165, 233, 0.08);
    --shadow-hover: 0 12px 40px rgba(14, 165, 233, 0.15);
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    scroll-behavior: smooth;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-hover); }

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text) !important;
    letter-spacing: -0.02em;
}

.navbar-brand span { color: var(--primary); }

.nav-link {
    color: var(--text-muted) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary) !important;
    background: rgba(14, 165, 233, 0.06);
}

.navbar-toggler-icon {
    filter: invert(0.3);
}

/* Buttons */
.btn-primary {
    background: var(--primary);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 10px;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.35);
    color: #fff;
}

.btn-outline-light {
    border: 1px solid rgba(255,255,255,0.5);
    color: #fff;
    font-weight: 500;
    padding: 0.75rem 2rem;
    border-radius: 10px;
    transition: var(--transition);
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(4px);
}

.btn-outline-light:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

.btn-outline-primary {
    border: 1px solid var(--primary);
    color: var(--primary);
    font-weight: 500;
    padding: 0.75rem 2rem;
    border-radius: 10px;
    transition: var(--transition);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: #fff;
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

/* Hero with Video */
.hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.75) 0%, rgba(15, 23, 42, 0.5) 50%, rgba(14, 165, 233, 0.2) 100%);
    z-index: 1;
}

.hero-grid {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 2;
    pointer-events: none;
}

.hero-content { position: relative; z-index: 3; }

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    color: #fff;
}

.hero h1 .highlight { color: #7dd3fc; }

.hero .subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 3rem;
}

.hero-stat h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #7dd3fc;
    margin-bottom: 0.25rem;
}

.hero-stat p {
    color: rgba(255,255,255,0.6);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Sections */
.section { padding: 5rem 0; }

.section-header {
    margin-bottom: 3rem;
}

.section-label {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
}

/* Cards */
.card-dark {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition);
    height: 100%;
    box-shadow: var(--shadow);
}

.card-dark:hover {
    border-color: rgba(14, 165, 233, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.card-dark .icon-box {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--primary);
    font-size: 1.5rem;
}

.card-dark h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.card-dark p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Product Cards */
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
}

.product-card:hover {
    border-color: rgba(14, 165, 233, 0.3);
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.product-img-wrap {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 2rem;
    text-align: center;
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.product-img-wrap::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 150px; height: 150px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.12) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.product-img-wrap img, .product-img-wrap svg {
    position: relative;
    z-index: 1;
}

.product-info { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }

.product-info .series {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.product-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.product-info .specs {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
}

.product-info .specs span {
    display: inline-block;
    margin-right: 1rem;
}

.product-info .specs span i {
    color: var(--primary);
    margin-right: 0.25rem;
}

/* KV Badge */
.kv-badge {
    display: inline-block;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    margin: 0 0.25rem 0.5rem 0;
}

/* Product Detail */
.product-hero {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    padding: 4rem 0;
}

.product-gallery {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    border: 1px solid var(--border);
}

.breadcrumb-dark {
    background: transparent;
    padding: 0;
    margin-bottom: 1.5rem;
}

.breadcrumb-dark .breadcrumb-item + .breadcrumb-item::before {
    color: var(--text-secondary);
}

.breadcrumb-dark .breadcrumb-item a { color: var(--text-muted); }
.breadcrumb-dark .breadcrumb-item a:hover { color: var(--primary); }
.breadcrumb-dark .breadcrumb-item.active { color: var(--text-secondary); }

/* Spec Table */
.spec-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.spec-table th, .spec-table td {
    padding: 0.875rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.spec-table th {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.spec-table td {
    color: var(--text);
    font-size: 0.9rem;
}

.spec-table tr:hover td {
    background: rgba(14, 165, 233, 0.03);
}

/* Thrust Data Table */
.thrust-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.85rem;
}

.thrust-table th, .thrust-table td {
    padding: 0.6rem 0.5rem;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.thrust-table th {
    background: var(--bg-secondary);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.thrust-table td { color: var(--text-muted); }

.thrust-table tr:hover td { background: rgba(14, 165, 233, 0.03); color: var(--text); }

/* Tabs */
.nav-tabs-dark {
    border-bottom: 1px solid var(--border);
    gap: 0.5rem;
}

.nav-tabs-dark .nav-link {
    border: none;
    color: var(--text-muted);
    font-weight: 500;
    padding: 0.75rem 1.5rem !important;
    border-radius: 8px 8px 0 0;
    background: transparent;
}

.nav-tabs-dark .nav-link.active {
    color: var(--primary) !important;
    background: rgba(14, 165, 233, 0.06);
    border-bottom: 2px solid var(--primary);
}

/* KV Selector */
.kv-selector {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.kv-btn {
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-muted);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.kv-btn:hover, .kv-btn.active {
    border-color: var(--primary);
    background: rgba(14, 165, 233, 0.06);
    color: var(--primary);
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 4rem 0 2rem;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 1rem;
}

.footer-brand span { color: var(--primary); }

.footer p, .footer a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer h4 {
    color: var(--text);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.lang-switch-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    border: 1px solid var(--primary);
    background: transparent;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.02em;
}

.lang-switch-btn:hover {
    background: var(--primary);
    color: #fff;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeInUp 0.8s ease forwards;
}

/* Motor SVG Animation */
.motor-spin {
    animation: spin 8s linear infinite;
    transform-origin: center;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-stats { flex-direction: column; gap: 1.5rem; }
    .hero { min-height: auto; padding: 6rem 0 4rem; }
    .section { padding: 3rem 0; }
    .product-gallery { padding: 1.5rem; }
    .nav-tabs-dark .nav-link { padding: 0.5rem 0.75rem !important; font-size: 0.875rem; }
}

/* Utilities */
.text-primary { color: var(--primary) !important; }
.bg-dark-card { background: var(--bg-card) !important; }
.border-dark { border-color: var(--border) !important; }

/* Form controls in light theme */
.form-control, .form-select {
    background: #ffffff !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15) !important;
}

/* Video play button overlay */
.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid rgba(255,255,255,0.3);
}

.video-play-btn:hover {
    background: rgba(255,255,255,0.35);
    transform: translate(-50%, -50%) scale(1.05);
}
