/* ------------------------- Global Variables ------------------------- */
:root {
    --color-bg-dark: #080808;
    --color-bg-alt: #111111;
    --color-text-main: #e0e0e0;
    --color-text-muted: #888888;
    --color-accent: #E97132;
    /* Brand Orange */
    --color-accent-subtle: #5a2810;
    --color-system: #00f0ff;
    /* Tech Blue/Cyan */
    --color-border: #333333;

    --font-heading: 'Montserrat', sans-serif;
    /* Clean Deep Tech Font */
    --font-body: 'Montserrat', sans-serif;
    /* Clean Deep Tech Font */

    --cubic-default: cubic-bezier(0.625, 0.05, 0, 1);
    --duration-default: 0.6s;

    --container-max: 1440px;
    --container-padding: 2rem;
}

/* ------------------------- Reset & Base ------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent; /* Disable the blue highlight overlay on mobile taps */
}

/* Base selection behavior: Default to none to prevent accidental tap-selection, but re-enable on text nodes */
html, body {
    -webkit-user-select: none;
    user-select: none;
}

p, span, h1, h2, h3, h4, li, a, button, input, textarea {
    -webkit-user-select: text; /* Preserves the classic long-press selection for content */
    user-select: text;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
    background-color: var(--color-bg-dark);
    color: var(--color-text-main);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

body.no-scroll {
    overflow: hidden !important;
    height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* ------------------------- Typography ------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-title-group {
    position: relative;
    /* padding-left removed since line is gone */
}

/* Accent line class can be kept for reference but is no longer used in HTML */
.hero-accent-line {
    display: none;
}

.h-hero {
    font-size: clamp(3rem, 5.5vw, 5.5rem);
    font-weight: 700;
    font-family: var(--font-body);
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.h-hero-top {
    color: var(--color-accent);
    font-weight: 400;
    font-size: 0.55em;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.1em;
}

.h-hero-accent {
    color: #ffffff;
    font-weight: 700;
    background: none;
    -webkit-text-fill-color: initial;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.15);
}

.h-large {
    font-size: clamp(2.5rem, 6vw, 5rem);
    margin-bottom: 1.5rem;
}

.h-medium {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.p-large {
    font-size: clamp(1.1rem, 1.5vw, 1.35rem);
    color: var(--color-text-muted);
    font-weight: 300;
}

.eyebrow {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-accent);
    margin-bottom: 1rem;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.deco-square {
    width: 8px;
    height: 8px;
    background-color: var(--color-accent);
    display: inline-block;
}

/* ------------------------- Utility ------------------------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: 8rem 0;
    position: relative;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.grid {
    display: grid;
    gap: 2rem;
}

/* ------------------------- Components ------------------------- */
.button-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background-color: var(--color-text-main);
    color: var(--color-bg-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.button-primary:hover {
    background-color: var(--color-accent);
    color: var(--color-text-main);
}

.button-outline {
    display: inline-flex;
    padding: 1rem 2rem;
    border: 1px solid var(--color-text-muted);
    color: var(--color-text-main);
    text-transform: uppercase;
    font-weight: 600;
    transition: all 0.3s ease;
}

.button-outline:hover {
    border-color: var(--color-text-main);
    background: rgba(255, 255, 255, 0.05);
}

/* ------------------------- Header ------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
    transition: background-color 0.3s ease, padding 0.3s ease, backdrop-filter 0.3s ease;
    background-color: transparent;
}

.header.scrolled {
    padding: 1rem 0;
    background-color: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    padding-bottom: 2px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
}

/* ------------------------- Hero Section ------------------------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: transparent;
}

.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.65;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero-sub {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    max-width: 600px;
    line-height: 1.6;
}

/* ------------------------- Intro Section ------------------------- */
.intro-text {
    /* Increased height for pin effect to feel spacious */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: transparent;

    /* Break out of container to Full Viewport Width */
    width: 100%;
    margin-left: 0;

    position: relative;
    overflow: hidden;
}

.intro-bg-wrapper {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 100%);
}

.intro-bg {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-color: #000000;

    opacity: 1;
}

.intro-stat-container {
    height: 160px;
    /* Expanded space for multiline deep tech text */
    position: relative;
    width: 100%;
    margin-bottom: 2rem;
    perspective: 2000px; /* High-end depth perspective */
}

.intro-stat {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.anim-text {
    position: absolute;
    width: 100%;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    /* Lighter weight for cleaner tech look */
    letter-spacing: -0.01em;
    
    /* 3D optimization */
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    will-change: transform, opacity, filter;
}

.anim-text-final {
    opacity: 0;
    transform: translateY(20px);
}

/* Touch & Mobile Specific: Alternative layout for all touch-primary devices */
@media (hover: none), (pointer: coarse) {
    #philosophy {
        margin-top: 0 !important;
        height: 100vh !important;
        min-height: 100vh !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 0 !important;
        overflow: visible !important; /* Changed to overflow visible to avoid clipping */
        position: relative;
        z-index: 1;
        background-color: #000; /* Ensure base black background */
    }

    .intro-text {
        width: 100% !important;
        height: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 0 2rem;
    }

    .intro-stat-container {
        height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        perspective: none;
        width: 100%;
    }
    
    .intro-stat {
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 6rem; /* Increased gap for better mobile spacing */
        transform-style: flat;
        width: 100%;
        text-align: center;
    }
    
    .anim-text {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        /* Animation properties removed to allow JS control */
        font-size: clamp(1.4rem, 5vw, 2rem);
        text-align: center;
        width: 100%;
        max-width: 90%;
        display: block;
        line-height: 1.4;
        margin: 0 auto;
        
        /* Prevent accidental selection on touch */
        -webkit-user-select: none;
        user-select: none;
        -webkit-touch-callout: none;
    }

    .anim-text.allow-select {
        -webkit-user-select: text !important;
        user-select: text !important;
        -webkit-touch-callout: default !important;
    }
}

.intro-epic-light {
    position: absolute;
    top: 55%;
    /* Match image center */
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    /* Large burst area */
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 70%);
    opacity: 0;
    z-index: 1;
    /* Below image (z-index 2) */
    pointer-events: none;
    mix-blend-mode: screen;
    /* Additive lighting */
}

.anim-image-final {
    position: absolute;
    top: 55%;
    /* Slightly lower to clear any lingering text if any */
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 100%;
    max-width: 600px;
    opacity: 0;
    z-index: 2;
}

.anim-image-final img {
    width: 100%;
    height: auto;
}

.highlight {
    color: var(--color-text-main);
    font-weight: 600;
}

/* ------------------------- Product Showcas ------------------------- */
.product-section {
    background-color: transparent;
    position: relative;
    z-index: 3;
    overflow: visible;
    padding: 0 !important; /* Lock padding to 0 to prevent responsive gap between sections */
    /* Section mask removed to allow text card to remain clear on top (layer effect) */
}

.product-card {
    position: relative;
    min-height: max(900px, 100vh);
    border-radius: 0;
    overflow: visible;
    border: none;
    box-shadow: none;
    display: flex;
    align-items: center;

    /* High-tech slanted corners */
    clip-path: polygon(40px 0, 100% 0, 100% calc(100% - 40px), calc(100% - 40px) 100%, 0 100%, 0 40px);
    -webkit-clip-path: polygon(40px 0, 100% 0, 100% calc(100% - 40px), calc(100% - 40px) 100%, 0 100%, 0 40px);
}

.product-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/Background Image NAS.jpg');
    background-size: cover;
    background-position: center right;
    z-index: 0;
}

.product-card::before {
    display: none; /* Removed the wide layout fade */
}

.product-grid {
    position: relative;
    z-index: 2;
    /* Sit above the gradient overlay */
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2rem;
    align-items: center;
    /* Vertically center content */
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.product-content {
    position: relative;
    z-index: 2;
    padding: 3rem;
    
    /* Highly sophisticated, deeper premium glass for maximum text readability */
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.5) 0%, rgba(0, 0, 0, 0.2) 100%);
    backdrop-filter: blur(24px) saturate(120%);
    -webkit-backdrop-filter: blur(24px) saturate(120%);
    
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    
    /* 3D and Hover preparation */
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform: perspective(1500px) rotateX(0deg) rotateY(0deg) translateY(0) scale(1);
    transform-style: preserve-3d;
}

/* Internal glare/shine layer */
.product-content::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(800px circle at 0% 0%, rgba(255, 255, 255, 0.08), transparent 40%);
    pointer-events: none;
    z-index: -1;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* High-End Hover States (Desktop Only) */
@media (hover: hover) {
    .product-content:hover {
        /* Card tilts backwards on X, tilts into view on Y, moves up and slightly scales */
        transform: perspective(1500px) rotateX(4deg) rotateY(6deg) translateY(-8px) scale(1.02);
        /* Deepen the tint slightly to maintain contrast during the bright glow effects */
        background: linear-gradient(135deg, rgba(20, 20, 20, 0.6) 0%, rgba(10, 10, 10, 0.25) 100%);
        /* Stronger crisp edges */
        border: 1px solid rgba(255, 255, 255, 0.25);
        /* Deep 3D drop shadow projecting backwards, with subtle brand-colored ambient light bleeding out */
        box-shadow: 
            -20px 50px 80px rgba(0, 0, 0, 0.6), 
            inset 0 1px 0 rgba(255, 255, 255, 0.4),
            inset 0 0 30px rgba(255, 255, 255, 0.05),
            -10px 10px 30px rgba(233, 113, 50, 0.15); 
    }

    /* Move the internal shine to simulate dynamic lighting change when tilted */
    .product-content:hover::after {
        background: radial-gradient(800px circle at 15% 15%, rgba(255, 255, 255, 0.15), transparent 50%);
    }

    .product-content:hover > * {
        /* Parallax pop out towards user */
        transform: translateZ(30px);
    }

    .product-content:hover .feature-icon {
        /* Icons pop out even more and enlarge */
        transform: scale(1.1) translateZ(40px);
        transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    }

    .product-content:hover .button-primary {
        /* Button swells up significantly when the card is hovered */
        transform: scale(1.08) translateZ(40px);
        transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), background-color 0.3s, color 0.3s;
    }
}

/* Base 3D properties for content (Always active for rendering consistency) */
.product-content > * {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform: translateZ(0px);
    -webkit-font-smoothing: antialiased;
    backface-visibility: hidden;
}

.product-content .feature-item {
    transform-style: preserve-3d;
}

/* Enhancing Product Content Typography for Deep Tech Feel */

.product-content .h-large {
    color: #ffffff;
    font-size: clamp(3rem, 5.5vw, 5.5rem);
    /* Matches hero title size */
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.product-content .p-large {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    line-height: 1.6;
    max-width: 90%;
    margin-bottom: 3rem;
}

.product-image-container {
    position: absolute;
    /* Anchored to center-offset, with a fixed width to prevent excessive scaling on ultra-wide */
    left: calc(50% - 160px);
    width: 1000px;
    max-width: 50vw; 
    /* Perfectly anchored to the bottom of the product-card (the section end) */
    bottom: 0px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    z-index: 10;
    pointer-events: none;
    overflow: visible;
}

.product-img {
    width: 100%;
    max-width: 2000px;
    height: auto;
    aspect-ratio: 1456 / 816;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.3));
    transform-origin: bottom center;
    display: block;
    /* Removed all masks for a crisp look */
    will-change: transform;
}

.product-content h3 {
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    /* More subtle border */
}

.feature-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent) !important;
    flex-shrink: 0;
    position: relative;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(233, 113, 50, 0.12) 0%, rgba(233, 113, 50, 0.03) 100%);
    border: 1px solid rgba(233, 113, 50, 0.4) !important;
    box-shadow:
        inset 0 0 15px rgba(233, 113, 50, 0.15),
        0 8px 20px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(233, 113, 50, 0.15);
    /* Removed backdrop-filter to prevent nesting flicker with the glass panel */
}

.feature-icon svg {
    stroke: var(--color-accent) !important;
    filter: drop-shadow(0 0 8px rgba(233, 113, 50, 0.4));
}

.feature-icon svg rect[fill="currentColor"] {
    fill: var(--color-accent) !important;
    fill-opacity: 0.3 !important;
}

.feature-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.4rem;
    letter-spacing: 0.01em;
}

.feature-item p {
    font-size: 0.95rem !important;
    /* Overriding inline style */
    color: rgba(255, 255, 255, 0.55) !important;
    /* Overriding inline style */
    font-weight: 300;
    line-height: 1.5;
}

/* ------------------------- Features Grid (Bento) ------------------------- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.bento-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 300px;
}

.bento-card:hover {
    border-color: var(--color-text-muted);
    background: rgba(255, 255, 255, 0.05);
}

.bento-card.wide {
    grid-column: span 2;
}

@media (max-width: 768px) {
    .bento-card.wide {
        grid-column: span 1;
    }
}

.card-icon {
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: var(--color-system);
}

.card-image {
    width: 100%;
    height: 150px;
    background: #222;
    margin-bottom: 1.5rem;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.bento-card:hover .card-image img {
    opacity: 1;
}

/* ------------------------- Card Swap (Core Tech) ------------------------- */
.card-swap-wrapper {
    position: relative;
    width: 100%;
    min-height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
}

.card-swap-container {
    position: relative;
    width: 320px;
    height: 480px;
    transform-style: preserve-3d;
    contain: layout style;
}

.card-swap-card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: rgba(18, 18, 20, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    will-change: transform;
}

.card-swap-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
    color: var(--color-system);
}

.card-swap-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text-main);
}

@media (max-width: 768px) {
    .card-swap-wrapper {
        min-height: 400px;
    }

    .card-swap-container {
        width: 280px;
        height: 400px;
    }
}

/* ------------------------- Marquee Partners ------------------------- */
.marquee-wrap {
    background: var(--color-bg-alt);
    padding: 3rem 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee-content {
    display: inline-flex;
    animation: marquee 20s linear infinite;
}

.partner-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-muted);
    margin: 0 3rem;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.partner-logo:hover {
    opacity: 1;
    color: var(--color-text-main);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ------------------------- News & Pilot ------------------------- */
.news-block {
    border-left: 2px solid var(--color-accent);
    padding-left: 1.5rem;
    margin-bottom: 3rem;
}

.news-date {
    font-size: 0.9rem;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
    display: block;
    font-family: var(--font-heading);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.02);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--color-border);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--color-border);
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    border-radius: 4px;
    transition: border-color 0.3s;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

/* ------------------------- Q&A Section ------------------------- */
#faq {
    padding: 0;
}

.faq-card {
    position: relative;
    min-height: max(900px, 100vh);
    border-radius: 0;
    overflow: hidden;
    border: none;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 6rem 1rem;
}

.faq-card::after {
    content: '';
    position: absolute;
    inset: 0;
    /* Use URL-encoded spaces (%20) and ampersand (%26) */
    background-image: url('../images/Background%20Image%20Q%26A.jpg');
    background-size: cover;
    background-position: center center;
    z-index: 0;
    mask-image: linear-gradient(to bottom,
            transparent 0%,
            black 15%,
            black 100%);
    -webkit-mask-image: linear-gradient(to bottom,
            transparent 0%,
            black 15%,
            black 100%);
}

.faq-card::before {
    content: '';
    position: absolute;
    inset: 0;
    /* Deep tech overlay to ensure text readability over the image */
    background: linear-gradient(180deg, rgba(8, 8, 8, 0.95) 0%, rgba(8, 8, 8, 0.6) 50%, rgba(8, 8, 8, 0.95) 100%);
    z-index: 1;
}

.qa-item-fancy {
    position: relative;
    /* Adjusted transparency to look great over the new background image */
    background: linear-gradient(145deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3rem 2rem;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
    text-align: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    will-change: transform;
}

.qa-item-fancy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(233, 113, 50, 0.6), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.qa-item-fancy:hover {
    border-color: rgba(255, 255, 255, 0.2);
    /* Increase glassmorphic contrast on hover */
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.7) 0%, rgba(10, 10, 10, 0.4) 100%);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(233, 113, 50, 0.15);
}

.qa-item-fancy:hover::before {
    opacity: 1;
}

.qa-glow {
    position: absolute;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(233, 113, 50, 0.15) 0%, transparent 70%);
    top: -75px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.qa-item-fancy:hover .qa-glow {
    opacity: 1;
}

.qa-question {
    font-size: 1.25rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 1.2rem;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 2;
}

.qa-answer {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0 auto;
    max-width: 700px;
    font-weight: 300;
    position: relative;
    z-index: 2;
}

/* ------------------------- Footer ------------------------- */
.footer {
    background-color: var(--color-bg-alt);
    padding-top: 4rem;
    padding-bottom: 2rem;
    border-top: 1px solid var(--color-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--color-text-muted);
    transition: color 0.3s ease;
}

.footer-col a:hover h4 {
    color: var(--color-text-main);
}

.footer-links li {
    list-style: none;
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--color-text-main);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

@media (max-width: 900px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .nav-links {
        display: none;
        /* simple mobile hide for now */
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ------------------------- Animations ------------------------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
}

/* ------------------------- Intro Overlay ------------------------- */
.intro-overlay {
    position: fixed;
    inset: 0;
    background-color: #ffffff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /* initial state */
}

.intro-logo-container {
    position: relative;
    width: 280px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.intro-logo {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
    opacity: 0;
    clip-path: inset(0% 100% 0% 0%);
}

/* ------------------------- Technology Section Background ------------------------- */
#technology {
    position: relative;
    overflow: visible;
    z-index: 2;
}

#technology::before {
    content: '';
    position: absolute;
    /* Dot grid starts immediately at top boundary, fades out at bottom for Pilot/FAQ transition */
    top: 0;
    left: 0;
    right: 0;
    bottom: -15vh;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.15) 1px, transparent 0);
    background-size: 24px 24px;
    pointer-events: none;
    z-index: 0;
    mask-image: linear-gradient(to bottom, black 0%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 90%, transparent 100%);
}


#technology>* {
    position: relative;
    z-index: 1;
}

/* ------------------------- Specs Grid ------------------------- */
.specs-label {
    font-size: clamp(1.1rem, 1.5vw, 1.35rem);
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.08);
    /* Deep tech 1px separator lines via background peeking through the gap */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    max-width: 440px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(145deg, rgba(15, 15, 15, 0.95) 0%, rgba(5, 5, 5, 0.98) 100%);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
}

.spec-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 2px;
    height: 0%;
    background: var(--color-accent);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.spec-item:hover {
    background: linear-gradient(145deg, rgba(25, 25, 25, 0.95) 0%, rgba(10, 10, 10, 0.98) 100%);
    box-shadow: inset 0 0 20px rgba(233, 113, 50, 0.05);
}

.spec-item:hover::before {
    opacity: 1;
    height: 100%;
}

.spec-name {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
    font-weight: 500;
}

.spec-value {
    font-size: 1.25rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.02em;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

@media (max-width: 480px) {
    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .spec-item:nth-child(3n) {
        border-right: 1px solid rgba(255, 255, 255, 0.15);
    }

    .spec-item:nth-child(2n) {
        border-right: none;
    }
}

/* ------------------------- Pilot Card ------------------------- */
.pilot-section {
    background-color: transparent;
    overflow: visible;
    padding: 0 !important; /* Lock padding to 0 to keep Pilot aligned and centered */
    /* Matches product section to align sizes perfectly */
    position: relative;
    z-index: 3;
}

.pilot-card {
    position: relative;
    min-height: max(900px, 100vh);
    border-radius: 8px;
    background: transparent;
    overflow: hidden;
    display: flex;
    align-items: center;
}

#plasma-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    mask-image: linear-gradient(to bottom,
            transparent 0%,
            black 15%,
            black 85%,
            transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom,
            transparent 0%,
            black 15%,
            black 85%,
            transparent 100%);
}

/* ------------------------- Pilot Form ------------------------- */
.pilot-form-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
    margin-bottom: 0.6rem;
    font-weight: 500;
}

.pilot-form-label .required {
    color: var(--color-accent);
    margin-left: 0.2rem;
}

.pilot-form-input {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #0e0e0e;
    border-radius: 6px;
    padding: 1.1rem 1.3rem;
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}

.pilot-form-input:hover {
    background: #161616;
    border-color: rgba(255, 255, 255, 0.25);
}

.pilot-form-input:focus {
    background: #111;
    border-color: var(--color-accent);
    box-shadow: 0 0 15px rgba(233, 113, 50, 0.15);
}

.pilot-form-input.invalid {
    border-color: #ff4d4d;
    background: rgba(255, 77, 77, 0.05);
}

.form-error {
    position: absolute;
    bottom: -1.4rem;
    left: 0;
    font-size: 0.75rem;
    color: #ff4d4d;
    font-weight: 500;
    letter-spacing: 0.02em;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-error.visible {
    opacity: 1;
    transform: translateY(0);
}

.select-wrapper {
    position: relative;
    width: 100%;
}

.select-wrapper::after {
    content: '';
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    pointer-events: none;
    opacity: 0.7;
}

select.pilot-form-input {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 3rem;
}

select.pilot-form-input:invalid {
    color: var(--color-text-muted);
}

.pilot-form-btn {
    width: 100%;
    border-radius: 4px;
    padding: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    background: var(--color-accent);
    color: #000;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.pilot-form-btn:hover {
    background: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

/* ------------------------- Card Swap ------------------------- */
.card-swap-container {
    position: absolute;
    top: 30%;
    right: 9%;
    transform: translateY(-55%);
    transform-origin: center right;

    perspective: 900px;
    overflow: visible;
    width: 650px;
    height: 430px;
}

.card {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 12px;
    border: 1px solid #fff;
    background-image: url('../images/Background%20Image%20Cards.jpg');
    background-size: cover;
    background-position: center;

    transform-style: preserve-3d;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;

    width: 650px;
    height: 430px;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
    transition: border-color 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), filter 0.4s ease;
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(8, 8, 8, 0.95) 0%, rgba(8, 8, 8, 0.6) 100%);
    transition: opacity 0.4s ease;
    z-index: 0;
}

.card:hover {
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 25px rgba(255, 255, 255, 0.15), inset 0 0 10px rgba(255, 255, 255, 0.05);
    filter: brightness(1.15);
}

.card:hover::before {
    opacity: 0.8;
}

/* Card header — title area at the very top */
.card .card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.5rem;
    border-bottom: 1px solid #fff;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    min-height: 42px;
    background: transparent;
}

.card .card-header .card-icon {
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    position: relative;
    top: 10px;
}

.card .card-header .card-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.card .card-header h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
    letter-spacing: 0.01em;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Card body — text area below separator */
.card .card-body {
    padding: 2.5rem 2rem;
    flex: 1;
    display: flex;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.card .card-body p {
    font-size: 1.1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    margin: 0;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6), 0 0 15px rgba(0, 0, 0, 0.8);
}

/* Grainient canvas covering whole card */
.grainient-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.45;
    border-radius: 12px;
    pointer-events: none;
    z-index: 0;
}

/* ========================= NEW CSS CLASSES (from migrated inline styles) ========================= */
.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2rem;
    align-items: center;
}

.tech-cards-col {
    height: 480px;
    position: relative;
}

.pilot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

/* ========================= HAMBURGER MENU ========================= */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 28px;
    cursor: pointer;
    z-index: 110;
    padding: 0;
    background: none;
    border: none;
}

.nav-hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Animated X when open */
.nav-hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ========================= RESPONSIVE: ≤ 1200px ========================= */
@media (max-width: 1200px) {
    .section {
        padding: 5rem 0;
    }

    /* Stack Technology grid earlier to prevent table/card overlap */
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 7rem; /* Further increased gap for better breathing room */
    }

    .tech-cards-col {
        height: auto; /* Managed by JS/Min-height */
        min-height: 500px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 0; /* Remove redundant margin, let grid gap handle it */
        position: relative;
        width: 100%;
        overflow: visible;
    }

    .card-swap-container {
        position: relative;
        width: 100%;
        max-width: none;
        height: 430px; /* Base, JS will override */
        top: auto;
        right: auto;
        left: auto;
        transform: none !important;
        perspective: 1500px;
        margin: 0;
        display: block;
    }

    .card {
        position: absolute !important;
        width: 100% !important;
        height: 430px; /* Base, JS will override */
        min-height: auto !important;
        left: 50% !important;
        top: 50% !important;
    }

    .card .card-body {
        padding: 2rem 1.5rem;
    }

    .card .card-body p {
        font-size: 1rem;
        line-height: 1.6;
    }

    /* --- Technology Section Override --- */
    #technology {
        min-height: auto !important;
        padding: 8rem 0 !important; /* Start with desktop padding for breathing room */
    }

    /* Pilot grid: reduce gap on narrower screens */
    .pilot-grid {
        gap: 4rem;
    }

    .specs-grid {
        max-width: none !important;
        width: 100%;
        margin: 0;
    }
}

/* ========================= RESPONSIVE: ≤ 900px ========================= */
@media (max-width: 900px) {
    :root {
        --container-padding: 1.5rem;
    }

    /* --- NAV: Hamburger + slide-down menu --- */
    .nav-hamburger {
        display: flex;
    }

    .nav-cta {
        display: none;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(8, 8, 8, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 1.5rem var(--container-padding);
        gap: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-link {
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        font-size: 1rem;
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    /* --- Hero --- */
    .hero-content {
        max-width: 100%;
    }

    .hero-canvas {
        opacity: 0.85;
    }

    .intro-text {
        width: 100%;
        margin-left: 0;
    }

    /* --- Product --- */
    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        height: auto;
        min-height: 100vh;
        padding-top: 6rem;
        padding-bottom: 0px; 
        position: relative;
        overflow: visible;
    }

    .product-content {
        padding: 2.5rem 1.5rem;
    }

    /* Disable hover animations when content stacks (Text over NAS) */
    .product-content:hover {
        transform: none !important;
        background: linear-gradient(135deg, rgba(10, 10, 10, 0.5) 0%, rgba(0, 0, 0, 0.2) 100%) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    }

    .product-content:hover::after {
        background: radial-gradient(800px circle at 0% 0%, rgba(255, 255, 255, 0.08), transparent 40%) !important;
    }

    .product-content:hover > *,
    .product-content:hover .feature-icon,
    .product-content:hover .button-primary {
        transform: none !important;
    }

    .product-image-container {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        width: 100% !important;
        max-width: none !important;
        margin-top: auto; 
        bottom: -60px !important;
        display: flex;
        justify-content: center;
        z-index: 10;
    }

    .product-img {
        width: 90%;
        max-width: 700px;
        margin: 0 auto;
    }

    /* High-end transitions must stay active globally; we ensure the background images always carry the mask */
    .faq-card::after,
    #plasma-canvas {
        mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%) !important;
        -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%) !important;
    }

    .product-card::after {
        background-image: url('../images/Background Image NAS.jpg') !important;
        background-size: cover !important;
        background-position: center right !important;
        mask-image: none !important;
        -webkit-mask-image: none !important;
    }

    .product-card::before {
        background: linear-gradient(180deg, rgba(8, 8, 8, 0.95) 0%, rgba(8, 8, 8, 0.7) 50%, rgba(8, 8, 8, 0.95) 100%);
    }

    /* --- Technology --- */
    #technology {
        padding: 6rem 0 5rem 0 !important; /* Consistent top padding for header clearance */
    }

    .tech-cards-col {
        height: auto;
        min-height: 450px;
        display: flex;
        margin-top: 0;
    }

    .card-swap-container {
        width: 100%;
        max-width: none;
        height: 380px; /* JS will override */
        top: auto !important;
        right: auto !important;
        left: auto !important;
        transform: none !important;
        perspective: 1200px;
        margin: 0;
        display: block;
    }

    .card {
        width: 100%;
        height: 100%;
    }

    .specs-grid {
        max-width: none !important;
        width: 100%;
    }

    /* --- Pilot --- */
    .pilot-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .pilot-card {
        min-height: auto;
        padding: 6rem 0 5rem 0;
    }

    /* --- FAQ --- */
    .faq-card {
        padding: 6rem 1rem 5rem 1rem;
        min-height: auto;
    }

    .qa-item-fancy {
        padding: 2rem 1.5rem;
    }

    /* --- Footer --- */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .footer-col:first-child {
        grid-column: span 2;
        margin-bottom: 1.5rem;
    }
}

/* ========================= RESPONSIVE: ≤ 600px ========================= */
@media (max-width: 600px) {
    :root {
        --container-padding: 1rem;
    }

    .section {
        padding: 3.5rem 0;
    }

    /* --- Nav --- */
    .nav-links {
        display: none;
    }

    .nav-links.open {
        display: flex;
    }

    /* --- Hero --- */
    .hero {
        padding: 2rem 0;
    }

    .hero-sub {
        font-size: 1rem;
    }

    .button-group {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .button-group .button-outline {
        margin-left: 0 !important;
    }

    .button-primary,
    .button-outline {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* --- Intro --- */
    .intro-stat-container {
        height: 100px;
    }

    .anim-text {
        font-size: clamp(1.4rem, 3.5vw, 2.5rem);
    }

    /* --- Product --- */
    .product-card {
        padding: 6rem 0 3rem 0;
    }

    .product-content .p-large {
        max-width: 100%;
    }

    .product-image-container {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        width: 100% !important;
        max-width: none !important;
        bottom: -60px !important;
    }

    .product-img {
        width: 95%;
        max-width: 500px;
    }

    .feature-item {
        gap: 0.8rem;
    }

    .feature-icon {
        width: 36px;
        height: 36px;
    }

    /* --- Technology --- */
    #technology {
        padding: 6rem 0 3.5rem 0 !important;
    }

    .tech-cards-col {
        height: auto;
        min-height: 400px;
        margin-top: 0;
        display: flex;
    }

    .card-swap-container {
        width: 100%;
        max-width: none;
        height: 300px; /* JS will override */
        top: auto !important;
        right: auto !important;
        left: auto !important;
        transform: none !important;
        perspective: 1000px;
        margin: 0;
        display: block;
    }

    .card {
        width: 100% !important;
        height: auto;
        min-height: auto !important;
    }

    .card .card-header {
        padding: 0.6rem 1rem;
        min-height: 34px;
    }

    .card .card-header h3 {
        font-size: 0.95rem;
    }

    .card .card-body {
        padding: 1rem;
    }

    .card .card-body p {
        font-size: 0.8rem;
        line-height: 1.5;
    }

    /* --- Pilot --- */
    .pilot-card {
        padding: 6rem 0 3rem 0;
    }

    .form-container {
        padding: 1.5rem !important;
    }

    /* --- FAQ --- */
    .faq-card {
        padding: 6rem 0.5rem 3rem 0.5rem;
        min-height: auto;
    }

    .qa-question {
        font-size: 1.05rem;
    }

    .qa-answer {
        font-size: 0.9rem;
    }

    /* --- Footer --- */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}