:root {
    --primary-color: #ECEFF1;
    /* Light Grey/White */
    --secondary-color: #ff6600;
    /* Safety Orange */
    --accent-color: #2c3e50;
    /* Dark Slate Blue */
    --dark-bg: #121212;
    --darker-bg: #0a0a0a;
    --card-bg: #1e1e1e;
    --text-main: #e0e0e0;
    --text-muted: #a0a0a0;
    --font-heading: 'Teko', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --metallic-gradient: linear-gradient(145deg, #2c3e50, #1a252f);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--dark-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: rgba(10, 10, 10, 0.95);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--secondary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.logo-sub {
    font-size: 0.7rem;
    color: var(--secondary-color);
    letter-spacing: 4px;
    text-transform: uppercase;
}

nav ul {
    display: flex;
    gap: 30px;
}

nav a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-color);
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

/* Hero Section - Upgrade */
.hero {
    height: 100vh;
    background: url('hero_bg.png') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    /* Parallax Effect base */
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border-left: 5px solid var(--secondary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero h1 {
    font-size: 6rem;
    line-height: 0.9;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.hero .highlight {
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    max-width: 700px;
    color: #ccc;
    font-weight: 300;
}

/* Glitch Animation Keyframes */
@keyframes glitch-skew {
    0% {
        transform: skew(0deg);
    }

    20% {
        transform: skew(-2deg);
    }

    40% {
        transform: skew(2deg);
    }

    60% {
        transform: skew(-1deg);
    }

    80% {
        transform: skew(1deg);
    }

    100% {
        transform: skew(0deg);
    }
}

.glitch-effect:hover {
    animation: glitch-skew 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both infinite;
    color: var(--secondary-color);
}


/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 35px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 1px;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: #e65c00;
    transform: translateY(-2px);
}

.btn-outline {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.btn-outline:hover {
    background-color: var(--secondary-color);
    color: #fff;
}

/* Section Common */
section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
    text-align: center;
}

.section-header h2 {
    font-size: 3rem;
    color: var(--primary-color);
}

.section-header .divider {
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 15px auto 0;
}

.dark-text h2 {
    color: var(--accent-color);
}

/* Tech Specs Table */
.tech-specs {
    margin-top: 60px;
    width: 100%;
}

.specs-intro {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.table-container {
    overflow-x: auto;
    border: 1px solid #333;
    border-radius: 4px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #1e1e1e;
    min-width: 600px;
}

th,
td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #333;
    color: var(--text-main);
}

th {
    background-color: #2c2c2c;
    color: var(--secondary-color);
    text-transform: uppercase;
    font-size: 0.9rem;
}

tr:hover {
    background-color: #252525;
}

/* Capabilities (Gray Section) */
.section-gray {
    background-color: #1a1a1a;
    color: var(--text-main);
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.cap-card {
    background: #252525;
    padding: 30px;
    border-radius: 4px;
    text-align: center;
    transition: transform 0.3s;
}

.cap-card:hover {
    transform: translateY(-5px);
}

.cap-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.cap-card h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.cap-card p {
    color: #aaa;
    font-size: 0.95rem;
}

/* News Section */
.section-news {
    background-color: var(--dark-bg);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.news-card {
    background: #1e1e1e;
    /* Dark styling for news */
    padding: 25px;
    border-left: 3px solid var(--secondary-color);
    transition: background 0.3s;
}

.news-card:hover {
    background: #2c2c2c;
}

.news-card h4 {
    margin: 10px 0;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.news-date {
    font-size: 0.8rem;
    color: var(--secondary-color);
    font-family: monospace;
}

.news-card p {
    color: #aaa;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.news-card a {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

/* Enhanced Contact Footer */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.company-name {
    font-size: 1.2rem;
    margin-bottom: 20px !important;
    color: var(--primary-color) !important;
}

.info-item {
    margin-bottom: 10px;
    color: #ccc;
    display: flex;
    align-items: center;
}

.social-links {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.social-links span {
    padding: 5px 10px;
    border: 1px solid #444;
    border-radius: 4px;
    font-size: 0.8rem;
    color: #888;
    cursor: pointer;
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

input,
textarea {
    width: 100%;
    padding: 12px;
    background: #252525;
    border: 1px solid #444;
    color: #fff;
    border-radius: 2px;
    font-family: var(--font-body);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.submit-btn {
    border: none;
    cursor: pointer;
    font-size: 1rem;
    padding: 12px;
}

.footer-bottom {
    border-top: 1px solid #222;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 768px) {

    .contact-layout,
    .footer-bottom {
        grid-template-columns: 1fr;
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .logo.large {
        font-size: 3rem;
    }
}

.section-dark {
    background-color: var(--darker-bg);
}

.product-showcase {
    display: flex;
    /* Changed to flex for better column layout */
    flex-direction: column;
    gap: 60px;
    align-items: center;
}

@media (min-width: 992px) {
    .product-showcase {
        display: grid;
        grid-template-columns: 1fr 1fr;
        /* Side by side on large screens */
    }
}

.product-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.product-card {
    background: #1e1e1e;
    border: 1px solid #333;
    padding: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.2);
    border-color: var(--secondary-color);
}

.product-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    margin-bottom: 10px;
    border-radius: 4px;
}

.product-card h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-top: 10px;
}

/* Old container styles removed/replaced above */

.product-info h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.product-desc {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.feature-list .icon {
    margin-right: 15px;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* Light Section (About) */
.section-light {
    background-color: var(--primary-color);
    color: var(--accent-color);
}

.about-content {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    align-items: start;
}

.stat-card {
    background: var(--metallic-gradient);
    color: white;
    padding: 30px;
    text-align: center;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.2);
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
    color: var(--secondary-color);
}

.stat-label {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.about-text p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

/* Footer */
footer {
    background-color: #050505;
    padding: 80px 0 30px;
    border-top: 1px solid #222;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.footer-col h4 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.footer-col p {
    color: var(--text-muted);
    margin-bottom: 10px;
}

.branding {
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.logo.large {
    font-family: var(--font-heading);
    font-size: 5rem;
    color: #222;
    font-weight: 700;
}

.copyright {
    font-size: 0.8rem;
    color: #444;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Utilities */
@media (max-width: 768px) {
    .container {
        padding: 0 30px;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .product-showcase,
    .about-content,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .branding {
        text-align: left;
        margin-top: 40px;
    }
}