:root {
    --bg-dark: #0f172a;
    --bg-card: #1e293b;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --accent-nuclear: #4ade80;
    /* Neon Green */
    --accent-fire: #fb923c;
    /* Orange */
    --border-color: #334155;
    --font-main: 'Inter', 'Noto Sans SC', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--text-primary);
}

.logo-en {
    font-weight: 300;
    color: var(--accent-nuclear);
    font-size: 0.9rem;
    margin-left: 0.5rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-nuclear);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 0 2rem;
    /* Fallback gradient since image generation failed */
    background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(45deg, transparent 48%, var(--border-color) 49%, var(--border-color) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, var(--border-color) 49%, var(--border-color) 51%, transparent 52%);
    background-size: 60px 60px;
    opacity: 0.05;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--accent-nuclear) 0%, transparent 60%);
    opacity: 0.05;
    animation: pulse 10s infinite;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--accent-nuclear);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    border: 1px solid var(--accent-nuclear);
    color: var(--accent-nuclear);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    background: var(--accent-nuclear);
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(74, 222, 128, 0.4);
}

/* Section Styles */
.section {
    padding: 6rem 5%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-fire);
    margin: 1rem auto 0;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.about-card {
    background: var(--bg-card);
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: transform 0.3s;
}

.about-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-fire);
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.about-card p {
    color: var(--text-secondary);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-nuclear);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.card-image {
    height: 200px;
    width: 100%;
    background-color: #000;
    position: relative;
    overflow: hidden;
}

/* CSS Placeholders for Images */
.placeholder-fuse {
    background: radial-gradient(circle at 50% 50%, #14532d, #000);
}

.placeholder-fuse::after {
    content: '☢';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: var(--accent-nuclear);
    opacity: 0.5;
}

.placeholder-ignition {
    background: linear-gradient(45deg, #000, #451a03);
}

.placeholder-ignition::after {
    content: '⚡';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: var(--accent-fire);
    opacity: 0.5;
}

.placeholder-fireworks {
    background: radial-gradient(circle at bottom, #7c2d12, #000);
}

.placeholder-fireworks::after {
    content: '✨';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: #fbbf24;
    opacity: 0.5;
}

.placeholder-line {
    background: repeating-linear-gradient(90deg, #1e293b, #1e293b 10px, #0f172a 10px, #0f172a 20px);
}

.placeholder-line::after {
    content: '⚙';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: var(--text-secondary);
    opacity: 0.5;
}

.placeholder-factory {
    background: linear-gradient(to bottom, #1e293b 50%, #0f172a 50%);
}

.placeholder-factory::after {
    content: '🏭';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: var(--text-secondary);
    opacity: 0.5;
}

.placeholder-team {
    background: linear-gradient(135deg, #064e3b, #0f172a);
}

.placeholder-team::after {
    content: '🔬';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: var(--accent-nuclear);
    opacity: 0.5;
}

.card-content {
    padding: 1.5rem;
    flex-grow: 1;
}

.card-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.card-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Footer */
footer {
    background: #020617;
    padding: 3rem 5%;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

footer p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.05;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.1;
    }

    100% {
        transform: scale(1);
        opacity: 0.05;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
        /* Simple hide for now, can add mobile menu JS if needed */
    }
}