
/* ==========================================================================
   MEGA HERO DARK EDITION - THEME VARIABLES
   ========================================================================== */
:root {
    /* Brand & Background Palette */
    --v4-bg-dark: #02040f;
    --v4-accent: #007bff;
    --v4-overlay-gradient: rgba(2, 4, 15, 0.5);
    
    /* Typography Colors */
    --v4-text-main: #ffffff;
    --v4-text-dim: rgba(255, 255, 255, 0.7);
    
    /* Animation & Motion Config */
    --v4-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --v4-reveal-speed: 1.2s;
}

/* ==========================================================================
   START OF HERO INFO SECTION STYLES
   ========================================================================== */

/**
 * 1. CORE SECTION CONTAINER
 * Full-screen viewport height with centralized content placement.
 */
.mega-hero_d {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--v4-bg-dark);
}

/**
 * 2. VISUAL ENGINE (Background, Gradients, Effects)
 * Handles cinematic camera focus and vignette overlays.
 */
.mega-hero_d-visual-wrapper {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.mega-hero_d-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* Cinematic Camera Focus Effect */
    filter: blur(20px) brightness(0.2);
    transform: scale(1.2);
    animation: mega-hero_d-cameraFocus 3s var(--v4-ease) forwards;
}

.mega-hero_d-side-gradient {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(90deg, 
        var(--v4-bg-dark) 0%, 
        var(--v4-overlay-gradient) 25%, 
        transparent 65%);
}

.mega-hero_d-vignette {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 35vh; 
    z-index: 3;
    background: linear-gradient(to top, var(--v4-bg-dark), transparent);
}

/**
 * 3. CONTENT BOX & LAYOUT
 */
.mega-hero_d-content-box {
    position: relative;
    z-index: 10;
    width: 90%;
    max-width: 1600px;
}

.mega-hero_d-layout-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

/**
 * 4. TYPOGRAPHY & TITLE ANIMATIONS
 */
.mega-hero_d-huge-title {
    font-size: clamp(50px, 8vw, 130px);
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: -3px;
    text-transform: uppercase;
    margin: 0;
    color: var(--v4-text-main);
    clip-path: inset(0 100% 0 0); /* Used for the scanning reveal effect */
    opacity: 0;
    animation: mega-hero_d-textScan 2s var(--v4-ease) forwards 0.8s;
}

.mega-hero_d-accent-bar {
    width: 0;
    height: 4px;
    background: var(--v4-accent);
    margin-top: 25px;
    animation: mega-hero_d-lineExtend 1.5s ease forwards 1.2s;
}

/**
 * 5. DATA PANELS & DETAILS
 */
.mega-hero_d-details {
    max-width: 480px;
}

.mega-hero_d-id-code {
    font-family: monospace;
    font-size: 22px;
    letter-spacing: 8px;
    color: var(--v4-accent);
    font-weight: bold;
}

.mega-hero_d-details h3 {
    font-size: 2.2rem;
    margin: 15px 0;
    font-weight: 700;
    color: var(--v4-text-main);
}

.mega-hero_d-details p {
    color: var(--v4-text-dim);
    line-height: 1.6;
    font-size: 1.1rem;
}

/* Technical Specifications Row */
.mega-hero_d-specs-row {
    display: flex;
    gap: 40px;
    margin: 30px 0;
}

.mega-hero_d-spec-label { 
    display: block; 
    font-size: 10px; 
    color: var(--v4-accent); 
    font-weight: 800; 
    letter-spacing: 1px;
}

.mega-hero_d-spec-value { 
    font-weight: bold; 
    font-size: 16px; 
    font-family: monospace; 
    color: var(--v4-text-main);
}

/* Call to Action (CTA) Link */
.mega-hero_d-action-link {
    display: inline-block;
    color: var(--v4-text-main);
    text-decoration: none;
    font-weight: bold;
    font-size: 12px;
    letter-spacing: 2px;
    border-bottom: 2px solid var(--v4-accent);
    padding-bottom: 5px;
    transition: 0.3s ease;
}

.mega-hero_d-action-link:hover {
    color: var(--v4-accent);
    padding-left: 10px;
}

/**
 * 6. AUTOMATIC SEQUENTIAL REVEAL LOGIC
 * Elements fade in and slide up in a timed sequence.
 */
.reveal-node {
    opacity: 0;
    transform: translateY(30px);
    animation: mega-hero_d-itemUp var(--v4-reveal-speed) var(--v4-ease) forwards;
}

/* Reveal Delays for Fluid Sequential Motion */
.mega-hero_d-details .reveal-node:nth-child(1) { animation-delay: 1.0s; } /* Code */
.mega-hero_d-details .reveal-node:nth-child(2) { animation-delay: 1.2s; } /* H3 */
.mega-hero_d-details .reveal-node:nth-child(3) { animation-delay: 1.4s; } /* P */
.mega-hero_d-details .reveal-node:nth-child(4) { animation-delay: 1.6s; } /* Specs Row */
.mega-hero_d-details .reveal-node:nth-child(5) { animation-delay: 1.8s; } /* Action Link */

/**
 * 7. ANIMATION KEYFRAMES
 */
@keyframes mega-hero_d-cameraFocus {
    to { filter: blur(0px) brightness(0.6); transform: scale(1); }
}

@keyframes mega-hero_d-textScan {
    to { clip-path: inset(0 0 0 0); opacity: 1; }
}

@keyframes mega-hero_d-lineExtend {
    to { width: 100px; }
}

@keyframes mega-hero_d-itemUp {
    to { opacity: 1; transform: translateY(0); }
}

/**
 * 8. RESPONSIVE ADAPTATION (TABLET & MOBILE)
 * Adjusts layout to vertical stack for smaller screens.
 */
@media (max-width: 992px) {
    .mega-hero_d { 
        height: auto; 
        min-height: 100vh; 
        padding: 100px 0 60px; 
    }
    .mega-hero_d-layout-grid { 
        flex-direction: column; 
        align-items: flex-start; 
        gap: 50px; 
    }
    .mega-hero_d-huge-title { 
        font-size: 50px !important; 
    }
}

/* ==========================================================================
   END OF HERO SECTION STYLES
   ========================================================================== */




/* ==========================================================================
   PRODUCT ISLAND - FULL RESPONSIVE & MOBILE OPTIMIZED
   Theme: Obsidian Glassmorphism / Cyber-Industrial
   Features: Hardware Glow, Technical Typography, Scroll Reveal
   ========================================================================== */

:root {
    /* Brand Palette */
    --fw-cyan: #00D4FF;         /* Neon Cyan highlight */
    --fw-blue: #2962FF;         /* Deep Electric Blue */
    --fw-obsidian: #132c61;     /* Deep dark grey-blue */
    --fw-white: #ffffff;
    --text-muted: #94a3b8;
    
    /* Background & Surfaces */
    --island-bg: rgba(13, 18, 29, 0.7);
    --island-border: rgba(0, 212, 255, 0.1);
    
    /* Animation Curve */
    --smooth-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ==========================================================================
   1. THE ISLAND CONTAINER
   ========================================================================== */

.product-island {
    box-sizing: border-box;
    width: 92%;
    max-width: 1400px;
    min-height: 60vh; 
    margin: 100px auto;
    border-radius: 40px;
    
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(40px, 8vw, 80px);
    
    /* Technical Glassmorphism */
    background: var(--island-bg); 
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    
    /* Cyber Border & Shadow System */
    border: 1px solid var(--island-border);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.5),
        inset 0 0 20px rgba(0, 212, 255, 0.02);
    
    /* Entrance State */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s var(--smooth-ease), 
                transform 1.2s var(--smooth-ease);
}

.product-island.active-scroll {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   2. LAYOUT CONTENT
   ========================================================================== */

.island-content {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: clamp(30px, 5vw, 100px);
}

/* ==========================================================================
   3. TEXT SECTION
   ========================================================================== */

.island-text {
    flex: 1.2;
}

.fw-badge {
    color: var(--fw-cyan);
    text-transform: uppercase;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 4px;
    display: block;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px rgba(0, 212, 255, 0.3));
}

.island-text h2 {
    font-size: clamp(2.2rem, 5vw, 4.2rem); 
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin: 0 0 25px 0;
    color: var(--fw-white);
}

.island-text p {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 40px;
}

/* ==========================================================================
   4. VISUAL SECTION (IMAGE)
   ========================================================================== */

.island-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.island-visual img {
    width: 100%;
    max-width: 520px;
    height: auto;
    object-fit: contain;
    
    /* Hardware Glow Effect */
    filter: drop-shadow(0 20px 40px rgba(41, 98, 255, 0.25));
    
    /* Image Entrance Animation */
    opacity: 0;
    transform: scale(0.9) translateX(30px);
    transition: opacity 1.5s var(--smooth-ease) 0.3s, 
                transform 1.5s var(--smooth-ease) 0.3s;
}

.product-island.active-scroll .island-visual img {
    opacity: 1;
    transform: scale(1) translateX(0);
}

/* ==========================================================================
   5. CALL TO ACTION BUTTON
   ========================================================================== */

.fw-btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--fw-blue), #1a44c2);
    color: #ffffff;
    padding: 16px 40px;
    border-radius: 4px; /* Hard industrial edges */
    text-decoration: none;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s var(--smooth-ease);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 25px rgba(41, 98, 255, 0.3);
}

.fw-btn-primary:hover {
    background: var(--fw-cyan); 
    color: #050a15; /* Dark contrast on hover */
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 212, 255, 0.5);
    border-color: transparent;
}

/* ==========================================================================
   6. RESPONSIVE ADAPTATION
   ========================================================================== */

@media (max-width: 1024px) {
    .island-content {
        flex-direction: column-reverse; 
        text-align: center;
    }
    
    .product-island {
        background: rgba(13, 18, 29, 0.9); /* High contrast for mobile */
        padding: 40px 20px;
    }

    .island-text h2 {
        font-size: 2rem;
    }
}

/* ==========================================================================
   END OF PRODUCT ISLAND STYLES
   ========================================================================== */


   /* ==========================================================================
   PRODUCT ISLAND - CUSTOMIZED FOR YOUR HTML
   Theme: Obsidian Glass / Tech-Glow
   ========================================================================== */

:root {
    --fw-cyan: #00D4FF;
    --fw-blue: #2962FF;
    --fw-white: #ffffff;
    --text-muted: #94a3b8;
    --v4-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --- 1. THE ISLAND CONTAINER --- */
.product-island {
    box-sizing: border-box;
    width: 94%;
    max-width: 1400px;
    margin: 100px auto;
    border-radius: 40px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: clamp(40px, 6vw, 100px);
    
    background: rgba(10, 15, 25, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(0, 212, 255, 0.15);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);

    /* Animation Entrance */
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.4s var(--v4-ease);
}

.product-island.active-scroll {
    opacity: 1;
    transform: translateY(0);
}

/* --- 2. LAYOUT --- */
.island-content {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    z-index: 2;
}

/* --- 3. TEXT & TYPOGRAPHY --- */
.island-text { flex: 1.2; }

.fw-badge {
    color: var(--fw-cyan);
    text-transform: uppercase;
    font-weight: 900;
    font-size: 11px;
    letter-spacing: 5px;
    margin-bottom: 25px;
    display: block;
}

.island-text h2 {
    font-size: clamp(2.5rem, 5vw, 4.2rem); 
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 25px 0;

    /* 1. Set the background gradient first */
    background-image: linear-gradient(180deg, #ffffff 0%, #a5b4fc 100%);

    /* 2. Clip it to the text (Webkit is still required for most browsers) */
    -webkit-background-clip: text;
    background-clip: text;

    /* 3. Make the actual font color transparent so the gradient shows through */
    -webkit-text-fill-color: transparent;

    /* 4. Fallback for very old browsers that don't support clipping */
    color: #ffffff; 
}

/* Optional: Clean fix for the 'color' warning */
@supports (background-clip: text) or (-webkit-background-clip: text) {
    .island-text h2 {
        color: transparent;
    }
}

.island-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 520px;
}

/* --- 4. BUTTON GROUP & BUTTONS (LASER STYLE) --- */
.fw-btn-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.fw-btn-primary, .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    
    padding: 16px 40px;
    background: var(--fw-blue);
    color: #ffffff !important;
    
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 8px; /* Industrial rounded-square */
    border: none;
    transition: all 0.5s var(--v4-ease);
    z-index: 1;
    box-shadow: 0 10px 20px rgba(41, 98, 255, 0.2);
}

/* Laser Sweep Effect */
.fw-btn-primary::before, .btn-primary::before {
    content: "";
    position: absolute;
    top: 0; left: -150%;
    width: 100%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: all 0.7s var(--v4-ease);
}

/* Darker Blue Hover Layer */
.fw-btn-primary::after, .btn-primary::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #0039cb;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.fw-btn-primary:hover, .btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(41, 98, 255, 0.3);
}

.fw-btn-primary:hover::before, .btn-primary:hover::before { left: 150%; }
.fw-btn-primary:hover::after, .btn-primary:hover::after { opacity: 1; }

/* --- 5. IMAGE & VISUAL --- */
.island-visual { flex: 1; display: flex; justify-content: center; }

.island-visual img {
    width: 100%;
    max-width: 500px;
    filter: drop-shadow(0 0 40px rgba(41, 98, 255, 0.2));
    opacity: 0;
    transform: perspective(1000px) rotateY(-15deg) translateX(40px);
    transition: all 1.6s var(--v4-ease) 0.2s;
}

.product-island.active-scroll .island-visual img {
    opacity: 1;
    transform: perspective(1000px) rotateY(0deg) translateX(0);
}

/* --- 6. MOBILE OPTIMIZATION --- */
@media (max-width: 768px) {
    .product-island { padding: 40px 25px; width: 92%; border-radius: 30px; }
    .island-content { flex-direction: column-reverse; text-align: center; gap: 40px; }
    .island-text h2 { font-size: 2.2rem; }
    .fw-btn-group { flex-direction: column; width: 100%; }
    .fw-btn-primary, .btn-primary { width: 100%; }
    .island-visual img { max-width: 280px; }
}
/* ==========================================================================
   THEME MODIFIER: DARK (CYBER)
   Visuals: Outline typography, neon accents, high contrast.
   ========================================================================== */
/* ==========================================================================
   PURE-WIDE SECTION SYSTEM
   Architecture: 12-Column Rigid Grid (Content-Invariant)
   Style: Industrial / Professional Light
   ========================================================================== */
/* ==========================================================================
   PURE SECTION - LOCKED GEOMETRY + YOUR COLORS (V10)
   Right block anchored at 520px | High-end animations included.
   ========================================================================== */

:root {
    --bg-white: #ffffff;
    --accent-blue: #2962FF;     /* Strong Professional Blue */
    --text-white: #ffffff; 
    --text-whitep: #7d7bec36;     /* White Text (Ensure background is dark) */
    --text-muted: #64748b;      /* Balanced Grey */
    --ghost-grey: #cecece33;    /* Lowered opacity for better depth */
    --v4-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

.pure-wide {
    padding: clamp(80px, 12vw, 160px) 6%;
    background: transparent;
    display: flex;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.pure-container {
    width: 100%;
    max-width: 1300px; /* Compact container to keep elements closer */
    position: relative;
}

/* --- 1. THE LOCKED GRID (Ensures no "drifting") --- */
.pure-flex-wrapper {
    display: grid;
    /* Left side flexible | Right side LOCKED at 520px */
    grid-template-columns: 1fr 520px; 
    align-items: end; 
    gap: 40px; /* Brought closer together as requested */
    position: relative;
    z-index: 2;
}

/* --- 2. LARGE BOLD TITLE --- */
.pure--title {
    font-size: clamp(80px, 10vw, 180px);
    font-weight: 900;
    color: var(--text-whitep);
    margin: 0;
    line-height: 0.9;
    letter-spacing: -6px;
    z-index: 0;
    
    /* Animation: Slide-up Clip */
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    transition: transform 0.6s var(--v4-ease), color 0.4s ease;
}

.pure--title:hover {
    color: var(--accent-blue);
    transform: translateX(10px);
}

/* --- 3. INFO CONTENT BLOCK (STABLE) --- */
.pure-info {
    width: 520px; /* Hard-coded lock */
    padding-bottom: 10px;
}

.pure-line-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    overflow: hidden;
}

/* Premium Accent Line Animation */
.pure-line-header::before {
    content: '';
    width: 35px;
    height: 2px;
    background: var(--accent-blue);
    margin-right: 15px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.8s var(--v4-ease) 0.2s;
}

.active-scroll .pure-line-header::before {
    transform: scaleX(1);
}

.pure-tech-tag {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--text-muted);
    
    /* Entrance Animation */
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s var(--v4-ease) 0.4s;
}

.active-scroll .pure-tech-tag {
    opacity: 1;
    transform: translateY(0);
}

/* --- 4. H3 WITH SHIMMER REVEAL --- */
.pure-info h3 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    margin: 0 0 20px 0;
    color: var(--text-white);
    letter-spacing: -1.5px;
    line-height: 1.1;
    
    /* Shimmer Effect */
    background: linear-gradient(90deg, var(--text-white), var(--accent-blue), var(--text-white));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    
    /* Entrance Animation */
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.6s var(--v4-ease) 0.5s, background-position 0.8s ease;
}

.pure-info h3:hover {
    background-position: right center;
}

.active-scroll .pure-info h3 {
    opacity: 1;
    transform: translateY(0);
}

/* --- 5. PARAGRAPH --- */
.pure-info p {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 45px;
    font-weight: 450;
    
    /* Entrance Animation */
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.6s var(--v4-ease) 0.7s;
}

.active-scroll .pure-info p {
    opacity: 1;
    transform: translateY(0);
}


/* --- 6. BACKGROUND GHOST TEXT --- */
.pure-bg-index {
    position: absolute;
    top: -20px;
    left: -2%;
    font-size: 22vw;
    font-weight: 900;
    color: var(--ghost-grey);
    z-index: 1;
    line-height: 0.8;
    pointer-events: none;
    text-transform: uppercase;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.05);
}

/* --- 8. RESPONSIVE (Switch to stack) --- */
@media (max-width: 1100px) {
    .pure-flex-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .pure-info {
        width: 100%;
    }
    .pure--title {
        font-size: clamp(60px, 15vw, 120px);
        letter-spacing: -3px;
    }
}