/* Core Styling Variables & Resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #003465;     /* corporate gray */
    --accent-color: #980101;      /* secondary red */
    --badge-color: #303030;      /* badge gray */
    --dark-bg: #111827;           /* Deep slate navigation/footer */
    --light-bg: #f9fafb;          /* Minimal section off-white */
    --text-main: #2d3748;         /* Highly legible gray-dark text */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-main);
    line-height: 1.6;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 80px 20px;
}
.container.compact { max-width: 650px; padding: 60px 20px; }

/* sticky top navigation bar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 40px;
    z-index: 9999;
    border-bottom: 1px solid var(--primary-color);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.2s ease;
    padding: 0;
    margin: 0;
}

.logo-svg {
    display: block;
    max-width: 100%;
    height: auto;
}


.logo {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}
.logo span { color: var(--accent-color); }

.nav-links {
    display: flex;
    list-style: none;
}
.nav-links li { margin-left: 25px; }
.nav-links a {
    color: #334155;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 750;
    letter-spacing: -0.2px;
    transition: var(--transition);
}
.nav-links a:hover { 
    color: var(--primary-color); 
}

.parallax-wrapper {
    perspective: 1px;
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    scroll-behavior: smooth;
}

.hero-group {
    position: relative;
    height: 95vh;
    transform-style: preserve-3d;
    z-index: -1;
}

.parallax-layer {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.layer-background {
    background-color: #0f172a;
    background-image: linear-gradient(rgba(15, 23, 42, 0.55), rgba(15, 23, 42, 0.55)), url('TOC_WWW_BACKGROUND_01.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: translateZ(-1px) scale(2);
    z-index: 1;
}

.layer-foreground {
    transform: translateZ(0);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding-top: 80px;
}

.main-content-block {
    position: relative;
    z-index: 10;
    background: #ffffff;
}

.hero-content {
    max-width: 850px;
    margin: 0 auto;
    padding: 0 20px;
    font-size: 1.4rem;
}
.badge {
    background: rgba(255, 200, 200, 0.6);
    border: 1px solid var(--badge-color);
    color: var(--badge-color);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 1.0rem;
    font-weight: bold;
    text-transform: uppercase;
}
.hero-section h1 {
    font-size: 4rem;
    margin-top: 15px;
    font-weight: 800;
}
.hero-section h2 {
    font-size: 1.8rem;
    color: #93c5fd;
    font-weight: 400;
    margin-bottom: 20px;
}
.hero-section p {
    font-size: 1.15rem;
    color: #e2e8f0;
    margin-bottom: 35px;
}

/* Button Schemas */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}
.btn-primary { background: var(--accent-color); color: white; margin-right: 15px; }
.btn-primary:hover { background: #fff; color: #111827; transform: translateY(-2px); }
.btn-secondary { border: 2px solid #fff; color: white; }
.btn-secondary:hover { background: #fff; color: #111827; }

/* General Layout Utilities */
.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 12px auto 0;
}
.section-subtitle { text-align: center; margin-top: -25px; margin-bottom: 40px; color: #64748b; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 13fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }

/* Feature Cards & Tables */
.features-section { background: var(--light-bg); }
.card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-top: 4px solid var(--primary-color);
}
.card .icon { font-size: 2.5rem; margin-bottom: 15px; }
.card h4 { font-size: 1.25rem; margin-bottom: 10px; }

.table-container { overflow-x: auto; background: white; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.specs-section { background: var(--light-bg); }
.specs-table { width: 100%; border-collapse: collapse; text-align: left; }
.specs-table th, .specs-table td { padding: 18px 24px; border-bottom: 1px solid #e2e8f0; }
.specs-table th { background: #f8fafc; font-weight: 700; color: var(--primary-color); }

.ind-item { background: #1e293b; color: white; padding: 20px; border-radius: 6px; font-weight: 600; }

/* Contact Form Configuration */
.contact-section { background: var(--light-bg); border-top: 1px solid #e2e8f0; }
.contact-form .form-group { margin-bottom: 15px; }
.contact-form input, .contact-form select {
    width: 100%;
    padding: 14px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 1rem;
    outline: none;
}
.contact-form input:focus, .contact-form select:focus { border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(0,90,156,0.1); }
.btn-submit { background: var(--primary-color); color: white; width: 100%; border: none; font-size: 1.1rem; }
.btn-submit:hover { background: #004475; }

.hidden-message { display: none; padding: 15px; margin-top: 15px; border-radius: 6px; font-weight: 600; text-align: center; }
.hidden-message.success { display: block; background: #d1fae5; color: #065f46; }

footer { background: var(--dark-bg); color: #94a3b8; font-size: 0.9rem; padding: 30px 20px; border-top: 4px solid var(--accent-color); }
.footer-grid { display: flex; justify-content: space-between; max-width: 1140px; margin: 0 auto; }

/* Responsive Adaptations */
@media(max-width: 768px) {

    /* 1. Remove the restrictive height limits and allow natural expansion */
    .hero-group {
        height: auto;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
    }
    
    .layer-foreground {
        position: relative; /* Take it out of absolute positioning positioning flow */
        height: auto;
        min-height: 100vh;
        padding: 120px 20px 60px; /* Ample padding: top accommodates the fixed navbar */
    }

    /* 2. Scale down the product logo for tight mobile screens */
    .hero-logo-img {
        max-width: 260px; /* Safely downsizes the SVG asset bounds */
        margin-bottom: 10px;
    }

    /* 3. Drop typography sizes proportionally */
    .hero-content h2 {
        font-size: 1.3rem; 
        line-height: 1.4;
        margin-bottom: 15px;
    }

    .hero-content p {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 25px;
        padding: 0 10px; /* Keep text safely away from edge of the screen */
    }

    /* 4. Stack button links vertically for natural thumb taps */
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        margin-right: 0; /* Clear out desktop left margins */
        padding: 14px;  /* Slightly taller target areas for touch targets */
    }

    /*
    .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .footer-grid { flex-direction: column; text-align: center; gap: 10px; }
    .navbar { flex-direction: column; padding: 15px; background: #ffffff; }
    .nav-links { margin-top: 10px; }
    .hero-section h1 { font-size: 0.8rem; }
    */
}

