/* ==========================================================================
   START OF HERO SECTION STYLES
   ========================================================================== */
/* ==========================================================================
   SERVICE V3 - DARK THEME (V4 ENGINE + ORIGINAL CLASSES)
   ========================================================================== */
:root {
  --v3-blend-color: #02040f; 
  --v3-accent-blue: rgb(255, 255, 255);
  --v3-text-main: #ffffff;
  --v3-text-dim: rgba(255, 255, 255, 0.7);

  /* V4 Animation Timing Sync */
  --v4-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --v4-reveal-speed: 1.2s;
}

.service-v3-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--v3-blend-color);
  overflow: hidden;
}

/* --- VISUAL ENGINE (V4 DARK SPEC) --- */
.service-v3-visual-wrapper {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.service-v3-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Cinematic V4 Dark settings */
  filter: blur(20px) brightness(0.2);
  transform: scale(1.2);
  animation: focusOn 3s var(--v4-ease) forwards;
}

.service-v3-side-gradient {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(90deg, 
    var(--v3-blend-color) 0%, 
    rgba(2, 4, 15, 0.5) 25%, 
    transparent 65%);
}

.service-v3-vignette {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 35vh; 
  z-index: 3;
  background: linear-gradient(to top, var(--v3-blend-color), transparent);
}

/* --- CONTENT STRUCTURE --- */
.service-v3-content-box {
  position: relative;
  z-index: 10;
  width: 90%;
  max-width: 1600px;
}

.service-v3-layout-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-end; 
}

/* --- TITLE & SCAN EFFECT --- */
.service-v3-huge-title {
  flex: 1;
  font-size: clamp(50px, 8vw, 130px);
  font-weight: 900;
  color: var(--v3-text-main);
  line-height: 0.85;
  margin: 0;
  letter-spacing: -3px;
  text-transform: uppercase;
  clip-path: inset(0 100% 0 0);
  opacity: 0;
  animation: textScan 2s var(--v4-ease) forwards 0.8s;
}

.service-v3-accent-bar {
  width: 0;
  height: 4px;
  background: var(--v3-accent-blue);
  margin-top: 25px;
  animation: lineExtend 1.5s ease forwards 1.2s;
}

/* --- INFO PANEL & STAGGERED REVEAL --- */
.service-v3-details {
  flex: 0.8;
  max-width: 480px; 
  color: var(--v3-text-main);
}

.reveal-node {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp var(--v4-reveal-speed) var(--v4-ease) forwards;
}

/* Exact staggered delays from your Dark V4 example */
.service-v3-details .reveal-node:nth-child(1) { animation-delay: 1.0s; }
.service-v3-details .reveal-node:nth-child(2) { animation-delay: 1.2s; }
.service-v3-details .reveal-node:nth-child(3) { animation-delay: 1.4s; }
.service-v3-details .reveal-node:nth-child(4) { animation-delay: 1.6s; }
.service-v3-details .reveal-node:nth-child(5) { animation-delay: 1.8s; }

.service-v3-category-row {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.service-v3-category-row::before {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--v3-accent-blue);
  margin-right: 15px;
}

.service-v3-id-code {
  font-family: monospace;
  font-size: 22px;
  letter-spacing: 8px;
  color: var(--v3-accent-blue);
  font-weight: bold;
}

.service-v3-details h3 { font-size: 2.2rem; font-weight: 700; margin: 15px 0; }
.service-v3-details p { color: var(--v3-text-dim); line-height: 1.6; font-size: 1.1rem; }

/* --- SPECS & LINKS --- */
.service-v3-specs-row { display: flex; gap: 40px; margin: 30px 0; }
.service-v3-spec-label { font-size: 10px; color: var(--v3-accent-blue); display: block; font-weight: 800; letter-spacing: 1px; }
.service-v3-spec-value { font-size: 16px; font-family: monospace; font-weight: bold; }

.service-v3-action-link {
  display: inline-block;
  color: var(--v3-text-main);
  font-weight: bold;
  text-decoration: none;
  border-bottom: 2px solid var(--v3-accent-blue);
  padding-bottom: 5px;
  transition: 0.3s var(--v4-ease);
}

.service-v3-action-link:hover { padding-left: 10px; color: var(--v3-accent-blue); }

/* --- KEYFRAMES SYNC --- */
@keyframes focusOn { to { filter: blur(0px) brightness(0.6); transform: scale(1); } }
@keyframes textScan { to { clip-path: inset(0 0 0 0); opacity: 1; } }
@keyframes lineExtend { to { width: 100px; } }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 992px) {
  .service-v3-hero { height: auto; min-height: 100vh; padding: 100px 0 60px; }
  .service-v3-layout-grid { flex-direction: column; align-items: flex-start; gap: 50px; }
  .service-v3-huge-title { font-size: clamp(42px, 12vw, 70px) !important; width: 100%; line-height: 1.1;}
}
/* ==========================================================================
   FULL-WIDTH ISLAND: DARK INDUSTRIAL EDITION
   Theme: Midnight Obsidian & Cyber Blue
   ========================================================================== */
/* ==========================================================================
   ASEC TECHNOLOGY: DARK NEON SOFTWARE SECTION
   Palette: Obsidian Base & Neon Cyan Accent
   Features: Hover Shine FX, Glass Bento Grid, Floating Visuals
   ========================================================================== */

:root {
    --fw-blue: #00D4FF;        /* Neon Cyan */
    --fw-dark-bg: #050a15;     /* Deep Obsidian */
    --fw-card-bg: #0d121d;     /* Lighter Tech-Base */
    --fw-white: #ffffff;
    --fw-text-dim: #94a3b8;    /* Muted Slate */
    --fw-border-dark: rgba(255, 255, 255, 0.05);
    --fw-neon-glow: rgba(0, 212, 255, 0.3);
    
    /* Animation Curve */
    --fw-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- 1. SECTION WRAPPER --- */
.fw-section {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--fw-dark-bg); /* Dark base */
    overflow: hidden;
    position: relative;
}

/* Optional: Subtle technical grid overlay */
.fw-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(var(--fw-border-dark) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
}

/* --- 2. FULL-WIDTH CONTAINER --- */
.product-island.full-width-island {
    width: 100%;
    padding: 120px 8%; 
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.2s var(--fw-ease);
}

.product-island.active-scroll {
    opacity: 1;
    transform: translateY(0);
}

/* --- 3. ARCHITECTURAL LAYOUT --- */
.island-content {
    display: flex;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 100px;
}

.island-text { flex: 1.3; }

/* --- 4. TYPOGRAPHY & NEON ACCENTS --- */
.fw-badge {
    color: var(--fw-blue);
    text-transform: uppercase;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 5px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    filter: drop-shadow(0 0 8px var(--fw-neon-glow));
}

.fw-badge::before {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--fw-blue);
}

.island-text h2 {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.05;
    margin: 0;
    letter-spacing: -3px;
    color: var(--fw-white);
}

.desc-text { 
    font-size: 1.15rem; 
    line-height: 1.7; 
    color: var(--fw-text-dim);
    margin-top: 25px;
    max-width: 600px;
}

small {
    display: block;
    font-size: 11px;
    font-weight: 900;
    color: var(--fw-blue);
    margin-bottom: 12px;
    text-transform: uppercase;
}

/* --- 5. BENTO GRID & CARDS --- */
.tech-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 40px 0;
    padding-top: 40px;
    border-top: 1px solid var(--fw-border-dark);
}

.method-item {
    background: rgba(255, 255, 255, 0.02);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--fw-border-dark);
    transition: 0.4s var(--fw-ease);
}

.method-item:hover {
    background: rgba(0, 212, 255, 0.05);
    border-color: var(--fw-blue);
    transform: translateX(10px);
}

.method-item strong { 
    display: block; 
    font-size: 14px; 
    font-weight: 800;
    text-transform: uppercase; 
    color: var(--fw-white); 
}

.method-item p { 
    font-size: 14px !important; 
    color: var(--fw-text-dim) !important; 
    margin-top: 6px !important; 
    line-height: 1.5 !important; 
}

/* Technical Tags */
.software-tags span {
    font-family: 'Inter', monospace;
    background: rgba(255, 255, 255, 0.03);
    padding: 6px 16px;
    font-size: 11px;
    font-weight: 700;
    color: #e2e8f0;
    border-radius: 4px;
    margin: 0 8px 8px 0;
    display: inline-block;
    border: 1px solid var(--fw-border-dark);
    transition: 0.3s;
}

.software-tags span:hover {
    border-color: var(--fw-blue);
    color: var(--fw-blue);
    background: rgba(0, 212, 255, 0.08);
}

/* --- 6. NEON SHINE BUTTONS --- */
.fw-btn-group { display: flex; gap: 20px; margin-top: 40px;}

.fw-btn-primary {
    position: relative;
    padding: 18px 45px;
    border-radius: 4px;
    background: var(--fw-blue);
    color: var(--fw-dark-bg); /* Dark text for contrast */
    text-decoration: none;
    font-weight: 900;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    overflow: hidden;
    transition: all 0.4s var(--fw-ease);
    box-shadow: 0 0 20px var(--fw-neon-glow);
    z-index: 1;
}

/* Glossy Sweep Effect */
.fw-btn-primary::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(
        90deg, 
        transparent, 
        rgba(255, 255, 255, 0.5), 
        transparent
    );
    transition: left 0.6s var(--fw-ease);
}

.fw-btn-primary:hover {
    background: var(--fw-white);
    color: var(--fw-dark-bg);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.2);
}

.fw-btn-primary:hover::after {
    left: 100%;
}



/* Secondary Button (Outline) */
.btn-primary {
    padding: 20px 40px;
    background: transparent;
    color: var(--fw-blue);
    text-decoration: none;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 2px solid var(--fw-border);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    border-color: var(--fw-blue);
    background: var(--fw-blue);
    color: var(--fw-white);
}


/* --- 7. IMAGE VISUALS (GLOW EFFECT) --- */
.island-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}



.island-visual img {
    width: 100%;
    max-width: 580px;
    height: auto;
    filter: drop-shadow(0 20px 50px rgba(0, 212, 255, 0.2));
    
    /* Animation Entrance */
    opacity: 0;
    transform: translateX(50px) scale(0.98);
    transition: all 1.5s var(--fw-ease);
    transition-delay: 0.3s;
    
    /* Floating Effect */
    animation: cyberFloat 8s ease-in-out infinite;
}

@keyframes cyberFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.product-island.active-scroll .island-visual img {
    opacity: 1;
    transform: translateX(0) scale(1);
}

/* --- 8. SEQUENTIAL ENTRANCE --- */
.island-text h2, .fw-badge, .desc-text, .tech-main-grid, .fw-btn-group {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s var(--fw-ease);
}

.product-island.active-scroll .fw-badge { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.product-island.active-scroll h2 { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.product-island.active-scroll .desc-text { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.product-island.active-scroll .tech-main-grid { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }
.product-island.active-scroll .fw-btn-group { transition-delay: 0.6s; opacity: 1; transform: translateY(0); }

/* --- 9. MOBILE --- */
@media (max-width: 1024px) {
    .product-island.full-width-island { padding: 80px 6%; }
    .island-content { flex-direction: column-reverse; text-align: center; gap: 60px; }
    .tech-main-grid { grid-template-columns: 1fr; text-align: left; }
    .fw-btn-group { justify-content: center; }
    .fw-badge { justify-content: center; }
}
