/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #141414;
    /* Netflix Dark Background */
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 800;
    letter-spacing: -0.02em;
}

p {
    font-weight: 400;
    color: #b3b3b3;
    /* Netflix Light Gray */
}

a {
    text-decoration: none;
    color: inherit;
}

/* Sticky Header */
/* Sticky Header - Transparent as requested */
.sticky-header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    background: transparent;
    /* Removed dark background */
    /* backdrop-filter: blur(10px); Removed blur */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    z-index: 1000;
    border-bottom: none;
    /* Removed border */
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    /* Space between logo and text */
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.05em;
}

.header-logo {
    height: 50px;
    /* Fit within 80px header */
    width: auto;
    object-fit: contain;
}

.pulse-btn {
    background: #e50914;
    /* Netflix Red for visibility/CTA */
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    font-size: 0.9rem;
    animation: heartbeat 2s infinite;
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }

    5% {
        transform: scale(1.1);
    }

    10% {
        transform: scale(1);
    }

    15% {
        transform: scale(1.1);
    }

    50% {
        transform: scale(1);
    }

    100% {
        transform: scale(1);
    }
}

/* Hero Section - Netflix Style Cinematic */
/* Netflix Video Hero Section */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    color: #fff;
    display: flex;
    align-items: flex-end;
    /* Align content to bottom */
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Cinematic Vignette Overlay */
.hero-vignette {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top,
            #141414 0%,
            transparent 50%,
            rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

/* Hero Content - Left Aligned "Title Card" */
.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    /* Ensure full width for responsiveness */
    padding-left: 4%;
    padding-bottom: 25vh;
    /* Push up from bottom like Netflix */
    text-align: left;
    display: flex;
    /* Use flexbox for alignment control */
    flex-direction: column;
    align-items: flex-start;
}

/* Metadata Row */
.hero-metadata {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.match-score {
    color: #46d369;
    /* Netflix Match Green */
}

.rating {
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 0 5px;
    font-size: 0.9rem;
}

/* Massive Title */
.hero h1 {
    font-size: 5rem;
    line-height: 0.9;
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
    opacity: 0;
    animation: reveal-up 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 0.2s;
    text-transform: uppercase;
}

.hero-desc {
    font-size: 1.4rem;
    line-height: 1.4;
    max-width: 600px;
    margin-bottom: 30px;
    text-shadow: none;
    /* Removed for black text readability */
    opacity: 0;
    animation: reveal-up 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 0.4s;
    font-weight: 600;
    /* Increased weight for black text visibility */
    color: #000000;
    /* User Request: Black Font */
}

/* Netflix Style Buttons */
.hero-buttons {
    display: flex;
    gap: 15px;
    opacity: 0;
    animation: reveal-up 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 0.6s;
}

.btn-hero-play,
.btn-hero-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 30px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-hero-play {
    background-color: #ffffff;
    color: #000000;
}

.btn-hero-play:hover {
    background-color: rgba(255, 255, 255, 0.75);
}

.btn-hero-info {
    background-color: rgba(255, 255, 255, 0.5);
    /* Lightened background for black text contrast */
    color: #000000;
    /* User Request: Black Font */
    backdrop-filter: blur(10px);
}

.btn-hero-info:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

@keyframes reveal-up {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero-content {
        padding-left: 5%;
        padding-right: 5%;
        padding-bottom: 120px;
    }

    .hero-buttons {
        flex-direction: row;
        width: 100%;
    }

    .btn-hero-play,
    .btn-hero-info {
        flex: 1;
        padding: 10px 15px;
        /* Adjust padding for smaller screens */
    }
}

/* Scroll Reveal Animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform, opacity;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered transition for grid items handled in JS, but base style here */
.unit-wrapper {
    /* Existing styles remain, ensuring transition property doesn't conflict */
    transition: transform 0.3s ease, opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Mission Section Update for Dark Theme consistency if needed, but keeping white for contrast */
.mission {
    padding: 100px 5%;
    background: #141414;
    color: #fff;
    border-bottom: 1px solid #333;
}

.mission-header h2 {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    line-height: 1.1;
    background: linear-gradient(to right, #fff, #999);
    -webkit-background-clip: text;
    background-clip: text;
    /* Standard property */
    -webkit-text-fill-color: transparent;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.mission-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #e50914;
    /* Netflix Red Accent for headers */
    border-left: 3px solid #e50914;
    padding-left: 15px;
}

.mission-item p {
    font-size: 1.1rem;
    color: #b3b3b3;
    line-height: 1.6;
}

.mission-list {
    list-style: none;
    padding: 0;
}

.mission-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #b3b3b3;
    line-height: 1.5;
}

.mission-list strong {
    color: #fff;
    display: block;
    /* Make titles sit on their own line or start strongly */
    margin-bottom: 5px;
}

/* Product Grid Layout */
.products {
    padding: 20px;
    background: #141414;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1600px;
    margin: 0 auto;
}

/* Unit Wrapper (Apple Style) */
.unit-wrapper {
    position: relative;
    /* Context for absolute positioning */
    overflow: hidden;
    background: #181818;
    /* Dark Product Card */
    border: 1px solid #333;
    /* Subtle Border */
    /* Default Apple gray */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: default;
    transition: all 0.3s ease;
    height: 580px;
    /* Standard Grid Height */
}

/* Hero Unit (Spans 2 columns) */
.unit-wrapper.hero-unit {
    grid-column: span 2;
    height: 692px;
    /* Apple Standard Hero Height */
    background: #000;
    /* Fallback for dark hero */
}

/* Copy Wrapper - Floating on Top */
.unit-copy-wrapper {
    position: relative;
    z-index: 2;
    /* Sits above image */
    margin-top: 55px;
    padding: 0 40px;
    max-width: 600px;
    /* Prevent text from spanning too wide */
    pointer-events: none;
    /* Let clicks pass through to container */
}

.cta-links {
    pointer-events: auto;
    /* Re-enable clicks for buttons */
}

/* Typography */
.headline {
    font-size: 32px;
    /* Standard Grid Headline */
    font-weight: 600;
    margin-bottom: 6px;
    color: #ffffff;
    letter-spacing: -0.005em;
    line-height: 1.1;
}

.subhead {
    font-size: 19px;
    font-weight: 400;
    color: #a6a6a6;
    margin-bottom: 14px;
    line-height: 1.2;
}

/* Hero Typography Overrides */
.hero-unit .headline {
    font-size: 56px;
    font-weight: 600;
    letter-spacing: -0.015em;
    margin-bottom: 8px;
}

.hero-unit .subhead {
    font-size: 24px;
    margin-bottom: 20px;
}

/* Theme Support (Dark Mode) */
.theme-dark .headline,
.theme-dark .subhead {
    color: #f5f5f7;
}

/* Unit Image - Full Bleed Background */
.unit-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* Below text */
    display: flex;
    justify-content: center;
    align-items: center;
}

.unit-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* This makes it full bleed */
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.unit-wrapper:hover .unit-image {
    transform: scale(1.03);
    /* Subtle zoom */
}

/* Buttons (Apple Style Pills) */
.cta-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 0.8em;
}

.button {
    display: inline-block;
    padding: 11px 21px;
    border-radius: 980px;
    /* Pill shape */
    font-size: 17px;
    font-weight: 400;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    min-width: 28px;
}

/* Button Colors */
.button-primary {
    background-color: #0071e3;
    color: #fff;
    border: 1px solid #0071e3;
}

.button-primary:hover {
    background-color: #0077ed;
}

/* Dark Theme Button Overrides */
.theme-dark .button-primary {
    background-color: #fff;
    color: #000;
    border-color: #fff;
}

.theme-dark .button-primary:hover {
    background-color: #f5f5f5;
}

.button-tertiary {
    background-color: transparent;
    color: #0066cc;
    border: none;
}

.theme-dark .button-tertiary {
    color: #2997ff;
}

.button-tertiary:hover {
    text-decoration: underline;
}

/* Responsive adjustment */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: 1fr;
        /* Stack everything */
        gap: 15px;
    }

    .unit-wrapper.hero-unit {
        grid-column: span 1;
        height: 540px;
    }

    .unit-wrapper {
        height: 500px;
    }

    .headline {
        font-size: 28px;
    }

    .hero-unit .headline {
        font-size: 36px;
    }

    .unit-copy-wrapper {
        margin-top: 45px;
        padding: 0 5%;
    }
}

/* Premium Netflix-Style Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
    /* Heavy blur for premium feel */
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Modal Card - Styled like Netflix Info Card */
.modal-content {
    background: #141414;
    /* Netflix Dark Background */
    width: 95%;
    max-width: 850px;
    padding: 0;
    /* Removing padding to allow full-bleed image */
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    color: #fff;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

/* Modal Hero Image Container */
.modal-hero {
    position: relative;
    height: 350px;
    width: 100%;
    overflow: hidden;
}

.modal-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Vignette Gradient overlay on the image */
.modal-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(20, 20, 20, 0) 0%,
            rgba(20, 20, 20, 0.2) 60%,
            rgba(20, 20, 20, 1) 100%);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.close-modal:hover {
    background: #fff;
    color: #000;
    transform: scale(1.1);
}

/* Modal Body Content */
.modal-body {
    padding: 0 40px 40px 40px;
    margin-top: -20px;
    /* Pull text up into the gradient slightly */
    position: relative;
}

.modal-body h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.modal-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #d2d2d2;
    margin-bottom: 30px;
    max-width: 90%;
}

/* Specs Grid - Modern Metadata Layout */
.modal-specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    border-top: 1px solid #404040;
    padding-top: 30px;
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.spec-label {
    font-size: 0.85rem;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.spec-value {
    font-size: 1rem;
    color: #fff;
    font-weight: 500;
}

/* Scrollbar styling for modal */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: #141414;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #404040;
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #606060;
}

/* Footer & Contact */
.footer {
    background: #111;
    color: #fff;
    padding: 80px 5% 40px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 60px;
}

.contact-info h3,
.inquiry-form-container h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: #888;
}

.inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 400px;
}

.inquiry-form input,
.inquiry-form textarea {
    padding: 12px;
    background: #222;
    border: 1px solid #333;
    color: #fff;
    font-family: inherit;
}

.inquiry-form button {
    background: #fff;
    color: #111;
    padding: 12px;
    border: none;
    font-weight: 700;
    cursor: pointer;
}

.copyright {
    border-top: 1px solid #333;
    padding-top: 40px;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
    }
}
/* Floating WhatsApp Lead Gen */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(100px);
    opacity: 0;
}

.whatsapp-float.active {
    transform: translateY(0);
    opacity: 1;
}

.whatsapp-float:hover {
    transform: scale(1.05) translateY(-5px);
    background: #20ba5c;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    text-decoration: none;
}

.whatsapp-float span {
    font-size: 16px;
}

/* Form Success State */
.inquiry-form.success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 1px solid #ff0000;
    color: #fff;
    text-align: center;
}

.inquiry-form.success h4 {
    color: #ff0000;
    margin-bottom: 10px;
    font-size: 1.5rem;
}


/* Updated Footer Content Styling */
.footer-advantage {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid #333;
}

.footer-advantage h3 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 10px;
}

.advantage-lead {
    color: #e50914; /* Netflix Red accent */
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 40px;
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.advantage-item h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 10px;
    border-bottom: 2px solid #e50914;
    display: inline-block;
}

.advantage-item p {
    color: #b3b3b3;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-legal {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #222;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: rgba(255, 255, 255, 0.02);
    padding: 30px;
    border-radius: 8px;
}

.legal-notice h4 {
    font-size: 1rem;
    color: #888;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.legal-notice p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .footer-legal {
        grid-template-columns: 1fr;
    }
    .footer-advantage h3 {
        font-size: 1.5rem;
    }
}


/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: rgba(40, 40, 40, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid #333;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #e50914;
    border-color: #e50914;
    transform: translateY(-5px);
}
