/* Subpage Specific Styles */

/* =========================================
   Animation Keyframes & Classes
   ========================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Base Reveal Class */
.reveal-on-scroll {
    opacity: 0;
    will-change: transform, opacity;
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
    /* fast-out-slow-in */
}

/* Active State (Triggered by JS) */
.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* Animation Types (Pre-state) */
.reveal-fade-up {
    transform: translateY(60px);
}

.reveal-slide-left {
    transform: translateX(-60px);
}

.reveal-slide-right {
    transform: translateX(60px);
}

.reveal-scale-in {
    transform: scale(0.9);
}

/* Delays */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}


/* =========================================
   Common Subpage Elements
   ========================================= */
.sub-visual {
    height: auto;
    padding: 160px 0 60px;
    /* Space for fixed header + layout */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 0;
    /* Header is fixed, padding handles it */
    color: #111;
    /* Dark text */
    overflow: hidden;
    background-color: #fff;
}

.sub-visual-bg {
    display: none;
    /* Hide background image */
}

/* Hide Gradient Overlay */
.sub-visual::after {
    display: none;
}

.sub-visual.loaded .sub-visual-bg {
    transform: scale(1);
}

.sub-visual-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.sub-visual-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -2px;
    text-shadow: none;
    /* Remove shadow */
    color: #111;
    /* Solid dark color */
    background: none;
    -webkit-background-clip: border-box;
    -webkit-text-fill-color: initial;
    display: inline-block;
}

.sub-visual-desc {
    font-size: 1.2rem;
    font-weight: 500;
    color: #666;
    /* Darker gray for readability */
    letter-spacing: -0.5px;
    opacity: 0;
    animation: fadeInUp 1s ease 0.3s forwards;
    max-width: 700px;
    margin: 0 auto;
}


/* Local Navigation (LNB) */
.lnb-wrapper {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    /* position: sticky removed */
    /* top: var(--header-height) removed */
    z-index: 99;
}

.lnb {
    display: flex;
    justify-content: center;
}

.lnb ul {
    display: flex;
}

.lnb a {
    display: block;
    padding: 20px 50px;
    color: #666;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 1.05rem;
    position: relative;
}

.lnb a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
    transform: translateX(-50%);
}

.lnb a:hover,
.lnb a.active {
    color: var(--primary-color);
}

.lnb a:hover::after,
.lnb a.active::after {
    width: 80%;
}


/* =========================================
   Content Layouts
   ========================================= */
.sub-content {
    /* Padding is handled by individual sections now */
    padding: 0;
}

/* Section Utilities */
.section-wrapper {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.section-wrapper.bg-gray {
    background-color: #f8f9fa;
    border-top: 1px solid #ebebeb;
    border-bottom: 1px solid #ebebeb;
}

.page-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 80px;
    text-align: center;
    position: relative;
    color: #111;
    letter-spacing: -1px;
}

.page-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 25px auto 0;
    border-radius: 2px;
}


/* 1. Split Layout (Mission) */
/* 1. Split Layout (Mission) */
.split-layout {
    display: flex;
    align-items: center;
    gap: 120px;
    /* Increased gap */
}

.split-text {
    flex: 1;
}

.split-text h3 {
    font-size: 2.8rem;
    /* Larger font */
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 40px;
    color: #1a1a1a;
    letter-spacing: -1.5px;
}

.split-text h3 span {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

/* Underline accent for emphasis */
.split-text h3 span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 15px;
    background: rgba(197, 48, 60, 0.1);
    /* Primary color low opacity */
    z-index: -1;
    border-radius: 4px;
}

.split-text p {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 24px;
    font-weight: 500;
    text-align: justify;
}

.split-image {
    flex: 1.2;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
    /* Allocated space for 3D */
    perspective: 1000px;
}

/* Remove old pseudo-element */
.split-image::before {
    display: none;
}

/* 3D Cube Styles */
.threed-stage {
    width: 200px;
    height: 200px;
    position: relative;
    perspective: 1000px;
}

.threed-cube {
    width: 100%;
    height: 100%;
    position: absolute;
    transform-style: preserve-3d;
    transform: rotateX(-20deg) rotateY(-20deg);
    animation: rotateCube 10s infinite linear;
}

.face {
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(197, 48, 60, 0.5);
    /* Primary color border */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(197, 48, 60, 0.1);
    backdrop-filter: blur(2px);
    transition: all 0.5s;
}

/* Cube Geometry */
.face.front {
    transform: translateZ(100px);
}

.face.back {
    transform: rotateY(180deg) translateZ(100px);
}

.face.right {
    transform: rotateY(90deg) translateZ(100px);
}

.face.left {
    transform: rotateY(-90deg) translateZ(100px);
}

.face.top {
    transform: rotateX(90deg) translateZ(100px);
}

.face.bottom {
    transform: rotateX(-90deg) translateZ(100px);
}

/* Inner Core (Data Block) */
.inner-core {
    position: absolute;
    width: 100px;
    height: 100px;
    top: 50px;
    left: 50px;
    background: var(--primary-color);
    transform-style: preserve-3d;
    box-shadow: 0 0 50px rgba(197, 48, 60, 0.8);
    opacity: 0.8;
    animation: pulseCore 3s infinite alternate ease-in-out;
    transform: translateZ(0);
    /* Center anchor */
}

/* Animations */
@keyframes rotateCube {
    0% {
        transform: rotateX(-20deg) rotateY(0deg);
    }

    100% {
        transform: rotateX(-20deg) rotateY(360deg);
    }
}

@keyframes pulseCore {
    0% {
        transform: scale3d(0.8, 0.8, 0.8) rotate3d(1, 1, 1, 0deg);
        opacity: 0.6;
    }

    100% {
        transform: scale3d(1.1, 1.1, 1.1) rotate3d(1, 1, 1, 180deg);
        opacity: 0.9;
    }
}

/* Hover Effect */
.threed-stage:hover .face {
    border-color: var(--primary-color);
    box-shadow: 0 0 30px rgba(197, 48, 60, 0.4);
    background: rgba(197, 48, 60, 0.05);
}


/* 2. Vertical Timeline */
.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 0;
}

/* The central line (Background Track) */
.timeline-container::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: #e0e0e0;
    /* Gray track */
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 4px;
    z-index: 0;
}

/* Red Progress Line */
.timeline-progress {
    position: absolute;
    width: 4px;
    background-color: var(--primary-color);
    top: 0;
    height: 0;
    /* JS will update this */
    left: 50%;
    margin-left: -2px;
    border-radius: 4px;
    z-index: 1;
}

/* Moving Red Dot (Single Caret) */
.timeline-caret {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border: 4px solid #fff;
    border-radius: 50%;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    /* JS will update this */
    z-index: 3;
    box-shadow: 0 0 10px rgba(197, 48, 60, 0.5);
    transition: transform 0.1s linear;
    /* Smooth movement */
}

.timeline-row {
    padding: 20px 50px;
    position: relative;
    background-color: inherit;
    width: 50%;
    box-sizing: border-box;
}

/* Left side */
.timeline-row.left {
    left: 0;
    text-align: right;
}

/* Right side */
.timeline-row.right {
    left: 50%;
    text-align: left;
}

/* Static Markers (Removed per user request) */
.timeline-row::after {
    content: none;
    /* Hide static dots */
}

.timeline-row.right::after {
    /* No content needed */
}

/* Hover effect for static markers removed */
.timeline-row:hover::after,
.timeline-row.is-visible::after {
    /* No styles needed */
}

.timeline-content-box {
    padding: 35px;
    background-color: white;
    position: relative;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #f0f0f0;
    transition: transform 0.4s, box-shadow 0.4s;
    text-align: left;
    /* Align text inside box left for readability */
}

/* Arrows */
.timeline-row.left .timeline-content-box::before {
    content: " ";
    position: absolute;
    top: 26px;
    right: -10px;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent #fff;
    border-style: solid;
    filter: drop-shadow(2px 0 1px rgba(0, 0, 0, 0.05));
    z-index: 1;
}

.timeline-row.right .timeline-content-box::before {
    content: " ";
    position: absolute;
    top: 26px;
    left: -10px;
    border-width: 10px 10px 10px 0;
    border-color: transparent #fff transparent transparent;
    border-style: solid;
    filter: drop-shadow(-2px 0 1px rgba(0, 0, 0, 0.05));
    z-index: 1;
}


.timeline-content-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.timeline-date {
    font-size: 3rem;
    font-weight: 900;
    color: #f0f0f0;
    margin-bottom: 5px;
    line-height: 1;
    transition: color 0.4s;
    position: absolute;
    top: 20px;
    right: 25px;
    z-index: 0;
}

.timeline-row:hover .timeline-date {
    color: rgba(197, 48, 60, 0.1);
    /* Primary color very fade */
}

.timeline-content-box h4 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #111;
    position: relative;
    z-index: 1;
}

.timeline-content-box p {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.6;
    position: relative;
    z-index: 1;
    margin: 0;
}


/* 3. Grid Cards (Core Values) */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.value-card {
    background: #fff;
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid transparent;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    /* Soft shadow */
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.value-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border-color: rgba(0, 0, 0, 0.05);
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-icon {
    width: 90px;
    height: 90px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 35px;
    color: var(--primary-color);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.value-card:hover .value-icon {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 20px 25px -5px rgba(220, 50, 60, 0.4);
}

.value-icon svg {
    width: 44px;
    height: 44px;
    stroke-width: 1.5;
}

.value-card h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: #111;
}

.value-card p {
    color: #666;
    line-height: 1.7;
    font-size: 1.05rem;
}


/* Responsive Adjustments */
@media (max-width: 768px) {
    .sub-visual-title {
        font-size: 2.8rem;
    }

    .section-wrapper {
        padding: 80px 0;
    }

    .split-layout {
        flex-direction: column;
        gap: 50px;
    }

    /* Timeline becomes single column */
    .timeline-container::after {
        left: 31px;
    }

    .timeline-row {
        width: 100%;
        padding-left: 80px;
        padding-right: 0;
        /* Box goes to edge */
    }

    .timeline-row.left {
        text-align: left;
    }

    .timeline-row.left .timeline-content-box::before {
        left: -10px;
        right: auto;
        border-width: 10px 10px 10px 0;
        border-color: transparent #fff transparent transparent;
    }

    .timeline-row::after {
        /* all dots on left */
        left: 22px;
    }

    .timeline-row.right::after {
        left: 22px;
    }

    .timeline-date {
        font-size: 2.5rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }
}



/* Dynamic Theme Styles */
body {
    transition: background-color 0.8s ease, color 0.8s ease;
}

body.theme-light {
    background-color: #fff;
    color: #333;
}

body.theme-gray {
    background-color: #f7f9fc;
    color: #333;
}

body.theme-dark {
    background-color: #111;
    color: #f0f0f0;
}

/* Theme-specific overrides */
body.theme-dark .timeline::before {
    background: #333;
}

body.theme-dark .timeline-content {
    background: #222;
    border-color: #333;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

body.theme-dark .timeline-content h4 {
    color: #e53935;
    /* Brighter red for dark mode */
}

body.theme-dark .timeline-content p {
    color: #bbb;
}

body.theme-dark .timeline-year {
    box-shadow: 0 0 0 5px #222;
}

body.theme-dark .page-title {
    color: #fff;
    border-bottom-color: #555;
}

body.theme-dark .about-text h3 {
    color: #e53935;
}

body.theme-dark .about-text p {
    color: #ccc;
}


/* Legacy styles removed to fix white header issue */

/* Local Navigation (LNB) */
.lnb-wrapper {
    background: #f4f4f4;
    border-bottom: 1px solid #ddd;
}

.lnb {
    display: flex;
    justify-content: center;
}

.lnb ul {
    display: flex;
}

.lnb li {
    position: relative;
}

.lnb a {
    display: block;
    padding: 20px 40px;
    color: #555;
    font-weight: 500;
    transition: all 0.3s;
    font-size: 1rem;
}

.lnb a:hover,
.lnb a.active {
    color: #fff;
    background-color: var(--primary-color);
}

/* Subpage Content Area */
.sub-content {
    padding: 80px 0 120px;
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #333;
    color: #000;
}

/* Specific Page Styles */

/* About Page */
.about-section {
    display: flex;
    gap: 50px;
    align-items: center;
    align-items: center;
    margin-bottom: 80px;
}

/* Timeline/History Section */
.history-section {
    padding-bottom: 80px;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: #eee;
    top: 0;
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 50%;
    position: relative;
    margin-bottom: 40px;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50%;
}

.timeline-year {
    position: absolute;
    top: 0;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 0 0 5px #fff;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-content {
    width: 80%;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    text-align: right;
    transition: transform 0.3s;
}

.timeline-item:nth-child(even) .timeline-content {
    text-align: left;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.timeline-content h4 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.timeline-content p {
    color: #666;
    font-size: 0.95rem;
}

/* Mobile Timeline Fix (Corrected) */
/* Mobile Timeline Fix (Corrected) */
@media (max-width: 768px) {

    /* The Line (Track) and Progress */
    .timeline-container::after,
    .timeline-progress {
        left: 20px !important;
        margin-left: 0 !important;
        transform: none !important;
        width: 4px !important;
    }

    /* The Red Dot (Caret) */
    .timeline-caret {
        /* Line Center is 20px + 2px = 22px. 
           Caret Width is 20px. Half is 10px.
           Left = 22px - 10px = 12px. */
        left: 12px !important;
        margin-left: 0 !important;
        transform: none !important;

        /* Ensure top is handled by JS but left is fixed here */
    }

    /* The Items Container */
    .timeline-row {
        width: 100% !important;
        padding-left: 60px !important;
        /* Increased space */
        padding-right: 0 !important;
    }

    /* Unset left/right alignments */
    .timeline-row.left,
    .timeline-row.right {
        left: 0 !important;
        text-align: left !important;
    }

    .timeline-content-box {
        text-align: left !important;
    }

    /* Reset Arrow positions */
    .timeline-row.left .timeline-content-box::before,
    .timeline-row.right .timeline-content-box::before {
        left: -10px !important;
        right: auto !important;
        border-width: 10px 10px 10px 0 !important;
        border-color: transparent #fff transparent transparent !important;
    }

    .timeline-date {
        font-size: 2.5rem;
    }
}

/* Interactive Cards */
.feature-card.interactive-card {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.feature-card.interactive-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-card.interactive-card .icon-box svg {
    width: 48px;
    height: 48px;
    stroke: var(--primary-color);
    stroke-width: 1.5;
    transition: all 0.4s ease;
}

.feature-card.interactive-card:hover .icon-box svg {
    stroke: #c5303c;
    transform: scale(1.2) rotate(5deg);
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 700;
}

.about-text p {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.8;
}

.about-image {
    flex: 0 0 45%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 2. Certifications Grid (Redesigned) */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.cert-item {
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 24px;
    padding: 50px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
}

/* Glass/Gradient Effect on Hover */
.cert-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(197, 48, 60, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.cert-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.1);
    border-color: rgba(197, 48, 60, 0.2);
}

.cert-item:hover::before {
    opacity: 1;
}

.cert-icon-box {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 50%;
    color: var(--primary-color);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cert-item:hover .cert-icon-box {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 20px rgba(197, 48, 60, 0.3);
}

/* Certification Image Placeholder */
.cert-img-area {
    width: 100%;
    height: 180px;
    /* Rectangular height */
    background: #f5f5f5;
    border: 2px dashed #ddd;
    /* Dashed border to indicate placeholder */
    border-radius: 12px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s;
}

.cert-item:hover .cert-img-area {
    border-color: var(--primary-color);
    background: rgba(197, 48, 60, 0.05);
    /* Slight tint on hover */
    color: var(--primary-color);
}

.cert-icon-box svg {
    display: none;
    /* Hide old icons if present */
}

.cert-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.cert-item p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    word-break: keep-all;
    position: relative;
    z-index: 1;
}

/* News List */
.news-list {
    border-top: 2px solid #333;
}

.news-item {
    display: flex;
    padding: 25px 0;
    border-bottom: 1px solid #eee;
    transition: background 0.3s;
}

.news-item:hover {
    background-color: #fafafa;
}

.news-date {
    flex: 0 0 120px;
    color: #888;
    font-size: 0.9rem;
    padding-top: 5px;
}

.news-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.news-content p {
    color: #666;
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Product Detail */
.product-detail-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 50px;
}

/* =========================================
   Location Page (Visit Us)
   ========================================= */

.location-visual {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
}

.map-container {
    width: 100%;
    height: 500px;
    background: #f0f0f0;
    margin-top: -80px;
    position: relative;
    z-index: 10;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 60px;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    position: relative;
}

.map-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    pointer-events: none;
}

.location-badge {
    background: var(--primary-color);
    color: #fff;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.location-info-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 100px;
}

.info-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.main-address h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #222;
}

.address-text {
    font-size: 1.15rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 10px;
    font-weight: 600;
}

.address-sub {
    font-size: 0.95rem;
    color: #777;
    margin-bottom: 30px;
}

.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: #f5f5f5;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: all 0.2s;
}

.action-btn:hover {
    background: #eee;
    transform: translateX(5px);
}

.action-btn i {
    color: var(--primary-color);
}

/* Transport List */
.transport-info h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 30px;
    color: #222;
}

.transport-list {
    list-style: none;
    padding: 0;
}

.transport-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.transport-list li:last-child {
    margin-bottom: 0;
}

.trans-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.trans-icon.subway {
    background: rgba(46, 204, 113, 0.1);
    color: #27ae60;
}

.trans-icon.bus {
    background: rgba(52, 152, 219, 0.1);
    color: #2980b9;
}

.trans-icon.car {
    background: rgba(155, 89, 182, 0.1);
    color: #8e44ad;
}

.trans-desc strong {
    display: block;
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 5px;
}

.trans-desc p {
    color: #666;
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 900px) {
    .location-info-grid {
        grid-template-columns: 1fr;
    }

    /* Footer responsive styles removed */
}

.product-sidebar ul {
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.product-sidebar li {
    border-bottom: 1px solid #eee;
}

.product-sidebar li:last-child {
    border-bottom: none;
}

.product-sidebar a {
    display: block;
    padding: 15px 20px;
    font-weight: 500;
    color: #555;
}

.product-sidebar a.active,
.product-sidebar a:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* 3. Product Landing Page Styles */

/* Product Intro / Hero */
.product-intro {
    padding-bottom: 80px;
}

.product-hero-split {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
}

.product-hero-text {
    flex: 1;
}

.product-hero-text h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: #111;
    line-height: 1.2;
}

.product-hero-text p {
    font-size: 1.15rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 40px;
}

.product-hero-visual {
    flex: 1.2;
    position: relative;
    /* border-radius, overflow, box-shadow removed for floating effect */
    height: 500px;
    /* Fixed height for 3D canvas */
}

.product-hero-visual img {
    width: 100%;
    display: block;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.product-hero-visual:hover img {
    transform: scale(1.05);
}

/* Premium Feature Cards (Reusing Cert Item Logic) */
.premium-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 120px;
}

.feature-card-premium {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 24px;
    padding: 50px 40px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card-premium:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.1);
    border-color: rgba(197, 48, 60, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(159, 42, 42, 0.05);
    /* Very light primary color */
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.feature-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--primary-color);
    stroke-width: 1.5;
    transition: all 0.3s ease;
}

.feature-card-premium:hover .feature-icon {
    background: var(--primary-color);
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 10px 20px rgba(159, 42, 42, 0.2);
}

.feature-card-premium:hover .feature-icon svg {
    stroke: #fff;
    stroke-width: 2;
}

.feature-card-premium h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #111;
}

.feature-card-premium p {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.7;
}

/* Specs & Details */
.spec-section {
    background: #fcfcfc;
    border-radius: 30px;
    padding: 80px 60px;
    margin-bottom: 100px;
}

.spec-title {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
}

.spec-item h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color);
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    display: inline-block;
}

.spec-item ul {
    list-style: none;
}

.spec-item li {
    margin-bottom: 10px;
    color: #555;
    position: relative;
    padding-left: 20px;
}

.spec-item li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 0;
}

/* Product CTA */
.product-cta {
    background: #111;
    color: #fff;
    border-radius: 20px;
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.product-cta h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.product-cta p {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.product-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, #333 0%, #111 70%);
    opacity: 0.5;
    z-index: 1;
}

.btn-white {
    background: #fff;
    color: #111;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    position: relative;
    z-index: 2;
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}

.product-hero {
    margin-bottom: 40px;
}

.product-hero h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 800;
}

.product-hero p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}

.key-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.key-feature {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.key-feature h4 {
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* Contact Form */
.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border 0.3s;
}

.form-control:focus {
    border-color: var(--primary-color);
    outline: none;
}

textarea.form-control {
    height: 150px;
    resize: vertical;
}

/* Responsive Sub */
@media (max-width: 768px) {
    .product-detail-container {
        grid-template-columns: 1fr;
    }

    .product-sidebar {
        margin-bottom: 30px;
    }

    .about-section {
        flex-direction: column;
    }

    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lnb a {
        padding: 15px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {

    .cert-grid,
    .key-features-grid {
        grid-template-columns: 1fr;
    }

    .lnb ul {
        display: flex;
        white-space: nowrap;
    }

    .lnb a {
        padding: 10px;
        font-size: 0.8rem;
    }
}



/* =========================================
   Immersive Dark Tech Page
   ========================================= */

body.tech-body {
    background-color: #050505;
    color: #fff;
    overflow-x: hidden;
}

/* Full Screen Backgrounds */
.immersive-bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: #000;
}

.bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 10s ease-out;
    /* Slow zoom effect */
    transform: scale(1.1);
}

.bg-layer.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.bg-layer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    /* Darken images slightly */
    z-index: 2;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.3) 0%, #000 100%);
}

/* Header Section */
.tech-header-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.tech-main-title {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(to right, #fff, #999);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    animation: fadeInUp 1s 0.5s forwards;
}

.tech-sub-title {
    font-size: 1.5rem;
    color: #ccc;
    font-weight: 300;
    opacity: 0;
    animation: fadeInUp 1s 0.8s forwards;
}

.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
}

.scroll-indicator span {
    font-size: 0.8rem;
    letter-spacing: 3px;
}

.scroll-indicator .line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, #fff, transparent);
}

/* Scroll Sections */
.scroll-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0;
    position: relative;
    z-index: 10;
}

/* Dark Glass Card */
.tech-card {
    max-width: 600px;
    padding: 60px;
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    margin: 0;
    transition: transform 0.6s ease-out, opacity 0.6s ease-out;
    opacity: 0;
    transform: translateY(50px);
}

.scroll-section.active .tech-card {
    opacity: 1;
    transform: translateY(0);
}

/* Alternating Layout */
.tech-card.reversed {
    margin-left: auto;
    /* Push to right */
    border-right: 4px solid var(--primary-color);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.tech-card:not(.reversed) {
    border-left: 4px solid var(--primary-color);
}

.tech-card.center-align {
    margin: 0 auto;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Card Content */
.card-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.number {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.1);
    line-height: 0.8;
    font-family: 'Montserrat', sans-serif;
}

.tech-card h3 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    margin: 0;
}

.highlight {
    color: var(--primary-color);
}

.description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 40px;
}

.dark-list {
    list-style: none;
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.dark-list li {
    font-size: 1.1rem;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.dark-list li::before {
    content: '>';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Stats */
.stats-row {
    display: flex;
    gap: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.stat strong {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
}

.stat span {
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Neon Button */
.neon-btn {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s;
    background: transparent;
    margin-top: 30px;
}

.neon-btn:hover {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 0 20px var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .tech-main-title {
        font-size: 3rem;
    }

    .tech-card {
        padding: 30px;
        margin: 0 !important;
        width: 100%;
        border-width: 1px !important;
    }

    .scroll-section {
        padding: 50px 0;
        min-height: auto;
    }

    .bg-layer img {
        object-position: center;
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   Customer Support Page Styles
   ========================================= */

/* Search Section */
.support-search-section {
    background: #f8f9fa;
    padding: 100px 20px;
    border-radius: 30px;
    text-align: center;
    margin-bottom: 100px;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.02);
}

.support-search-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 40px;
    color: #111;
    letter-spacing: -1px;
}

.support-search-container {
    max-width: 640px;
    margin: 0 auto;
}

.support-search-form {
    display: flex;
    gap: 12px;
}

.search-input-wrapper {
    position: relative;
    flex: 1;
}

.search-input-wrapper i {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 1.2rem;
}

.support-search-input {
    width: 100%;
    height: 64px;
    padding: 0 24px 0 54px;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    font-size: 1.1rem;
    outline: none;
    transition: all 0.3s;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    font-family: var(--font-main);
}

.support-search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(159, 42, 42, 0.15);
}

.search-btn {
    height: 64px;
    padding: 0 48px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(159, 42, 42, 0.3);
}

.search-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(159, 42, 42, 0.4);
}

/* Quick Links Grid */
.support-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* Stack vertically as per request */
    gap: 30px;
    margin-top: 60px;
}

.support-card {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 20px;
    padding: 50px 30px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-align: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.support-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.support-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.4s;
    transform-origin: left;
}

.support-card:hover::before {
    transform: scaleX(1);
}

.support-card-icon {
    width: 90px;
    height: 90px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 2.2rem;
    color: var(--primary-color);
    transition: all 0.4s;
}

.support-card:hover .support-card-icon {
    background: var(--primary-color);
    color: #fff;
    transform: rotateY(180deg);
}

/* Footer styles override removed to use layout.css defaults */

/* FAQ Section */
.faq-section {
    margin-bottom: 120px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 60px;
    text-align: center;
    letter-spacing: -0.5px;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
    border-top: 2px solid #111;
}

.faq-item {
    border-bottom: 1px solid #eee;
    background: #fff;
    transition: background 0.3s;
}

.faq-item:hover {
    background: #fcfcfc;
}

.faq-icon-space {
    width: 24px;
    /* fixed width for alignment if needed */
}

.faq-question {
    padding: 30px 20px;
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    transition: color 0.3s;
    position: relative;
}

.faq-question:hover {
    color: var(--primary-color);
}

.q-mark {
    color: var(--primary-color);
    font-weight: 900;
    margin-right: 20px;
    font-size: 1.4rem;
}

.toggle-icon {
    margin-left: auto;
    color: #ccc;
    font-size: 1rem;
    transition: transform 0.3s, color 0.3s;
}

.faq-item.active .toggle-icon {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.faq-answer {
    padding: 0 40px 40px 65px;
    color: #555;
    line-height: 1.8;
    display: none;
    font-size: 1.05rem;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-item.active .faq-answer {
    display: block;
}

/* =========================================
   Responsive Styles
   ========================================= */

@media (max-width: 1024px) {
    .sub-visual-title {
        font-size: 2.5rem;
    }

    .lnb a {
        padding: 15px 30px;
        font-size: 1rem;
    }

    .support-grid {
        gap: 20px;
    }

    .support-card {
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {

    /* Sub Visual */
    .sub-visual {
        height: 300px;
        padding-top: 60px;
        /* Offset for header */
    }

    .sub-visual-title {
        font-size: 2.2rem;
        margin-bottom: 15px;
        word-break: keep-all;
        padding: 0 20px;
    }

    .sub-visual-desc {
        font-size: 1rem;
        padding: 0 20px;
        line-height: 1.5;
        word-break: keep-all;
    }

    /* LNB (Scrollable) */
    .lnb-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .lnb-wrapper::-webkit-scrollbar {
        display: none;
        /* Hide scrollbar */
    }

    .lnb {
        justify-content: flex-start;
        min-width: max-content;
        /* Ensure items don't wrap */
        padding: 0 20px;
    }

    .lnb a {
        padding: 15px 20px;
        font-size: 0.95rem;
        white-space: nowrap;
    }

    /* Product Pages (Endpoint, Network, etc.) */
    .product-hero {
        flex-direction: column;
        padding: 40px 0;
        text-align: center;
        gap: 30px;
    }

    .product-text {
        order: 2;
    }

    .product-text h2 {
        font-size: 2rem;
        word-break: keep-all;
    }

    .product-image {
        order: 1;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .feature-grid,
    .spec-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .feature-item,
    .spec-item {
        padding: 25px;
    }

    /* Technology Page */
    .tech-main-title {
        font-size: 2.5rem;
        word-break: keep-all;
    }

    .tech-card {
        padding: 30px;
        margin: 0 0 30px 0 !important;
        width: 100%;
    }

    .stats-row {
        gap: 20px;
        flex-wrap: wrap;
    }

    .stat {
        flex: 1 1 40%;
        /* 2 per row */
    }

    .stat strong {
        font-size: 1.8rem;
    }

    /* Support Search */
    .support-search-section {
        padding: 60px 20px;
        margin-bottom: 60px;
        border-radius: 20px;
    }

    .support-search-title {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }

    .support-search-form {
        flex-direction: column;
        height: auto;
    }

    .support-search-input {
        height: 54px;
        font-size: 1rem;
    }

    .search-btn {
        width: 100%;
        height: 54px;
        margin-top: 10px;
        padding: 0;
    }

    /* Support Cards */
    .support-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 60px;
    }

    .support-card {
        padding: 30px;
    }

    /* FAQ */
    .faq-section {
        margin-bottom: 80px;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

    .faq-question {
        padding: 20px;
        font-size: 1.05rem;
    }

    .q-mark {
        font-size: 1.2rem;
        margin-right: 15px;
    }

    .faq-answer {
        padding: 0 20px 30px 20px;
        /* Reduced left padding */
    }

    /* Location Map */
    .map-container {
        height: 450px;
    }
}

.sub-visual-title {
    font-size: 2rem;
    margin-bottom: 15px;
}

.sub-visual-desc {
    font-size: 1rem;
    padding: 0 20px;
    line-height: 1.5;
}

/* LNB (Scrollable) */
.lnb-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.lnb-wrapper::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar */
}

.lnb {
    justify-content: center;
    /* Changed from flex-start to center as requested */
    min-width: 100%;
    /* Ensure it spans full width if content is small */
    padding: 0 20px;
    display: flex;
}

.lnb a {
    padding: 15px 20px;
    font-size: 0.95rem;
    white-space: nowrap;
}

/* Support Contact Info (Replaces Search) */
.support-contact-section {
    padding: 60px 20px;
    margin-bottom: 60px;
    text-align: center;
    background: #f8f9fa;
    border-radius: 20px;
}

.support-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: #222;
}

.contact-info-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.contact-main {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-label {
    font-size: 1.2rem;
    color: #555;
    font-weight: 600;
}

.contact-phone {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 800;
    line-height: 1;
}

.contact-sub {
    margin-top: 10px;
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

.contact-sub p {
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

@media (max-width: 768px) {
    .contact-main {
        flex-direction: column;
        gap: 5px;
    }

    .contact-phone {
        font-size: 2rem;
    }
}

/* Support Search */
.support-search-section {
    padding: 60px 20px;
    margin-bottom: 60px;
    border-radius: 20px;
}

.support-search-title {
    font-size: 1.6rem;
    margin-bottom: 30px;
}

.support-search-form {
    flex-direction: column;
    height: auto;
}

.support-search-input {
    height: 54px;
    font-size: 1rem;
}

.search-btn {
    width: 100%;
    height: 54px;
    margin-top: 10px;
    padding: 0;
}

/* Grid Stacking */
.support-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 60px;
}

.support-card {
    padding: 30px;
}

/* FAQ */
.faq-section {
    margin-bottom: 80px;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 40px;
}

.faq-question {
    padding: 20px;
    font-size: 1.05rem;
}

.q-mark {
    font-size: 1.2rem;
    margin-right: 15px;
}

.faq-answer {
    padding: 0 20px 30px 20px;
    /* Reduced left padding */
}

/* Location Map */
.map-container {
    height: 300px;
}
}

/* Mobile Overflow Fixes (Global & Technology) */
/* Mobile Overflow Fixes (Global & Technology) */
@media (max-width: 1024px) {

    /* Prevent global horizontal scroll */
    body,
    html {
        overflow-x: hidden;
        width: 100%;
    }

    /* Technology Page Title Fix - Broadened to Tablet */
    .tech-header-section {
        height: auto;
        min-height: 80vh;
        padding-top: 100px;
    }

    .tech-main-title {
        font-size: 3rem !important;
        /* Force smaller size */
        line-height: 1.1;
        word-break: break-word;
        /* Allow breaking long words if needed */
        width: 100%;
        padding: 0 10px;
    }

    .tech-sub-title {
        font-size: 1.1rem !important;
        padding: 0 20px;
        word-break: keep-all;
        /* Natural Korean breaks */
        line-height: 1.5;
        width: 100%;
        box-sizing: border-box;
    }

    /* Ensure images don't overflow */
    img {
        max-width: 100%;
        height: auto;
    }

    /* Technology Card Fixes */
    .tech-card h3 {
        font-size: 2rem !important;
        word-wrap: break-word;
        word-break: break-all;
        /* More aggressive break for long english words like Ransomware */
        hyphens: auto;
        line-height: 1.2;
    }

    .number {
        font-size: 3rem !important;
        /* Reduce background number size */
    }
}

@media (max-width: 768px) {
    .tech-main-title {
        font-size: 2.2rem !important;
        /* Even smaller for mobile */
    }

    .tech-card h3 {
        font-size: 1.8rem !important;
    }

    /* Contact grid in support */
    .contact-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-item {
        width: 100%;
    }
}

/* =========================================
   Product Page Universal Responsiveness
   ========================================= */

@media (max-width: 900px) {

    /* Product Hero Split */
    .product-hero-split {
        flex-direction: column;
        gap: 40px;
        margin-bottom: 60px;
        text-align: center;
    }

    /* Fix for header overlap on mobile */
    .sub-visual {
        padding-top: 180px;
    }

    .sub-visual-title {
        font-size: 2.8rem;
        /* Slightly reduce main title on tablet */
    }

    .product-hero-text,
    .product-hero-visual {
        flex: auto;
        width: 100%;
    }

    .product-hero-text span {
        justify-content: center;
        display: block;
    }

    .product-hero-text h2 {
        font-size: 2rem;
        /* Reduced from 2.2rem */
        line-height: 1.3;
        word-break: keep-all;
    }

    .product-hero-text p {
        font-size: 1rem;
        padding: 0 10px;
    }

    .product-hero-visual {
        height: 350px;
        /* Adjusted height */
    }

    /* Premium Features Grid */
    .premium-features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 80px;
    }

    .feature-card-premium {
        padding: 40px 30px;
    }

    .feature-card-premium h3 {
        font-size: 1.4rem;
    }

    /* Specs Section */
    .spec-section {
        padding: 60px 30px;
    }

    .spec-title {
        font-size: 1.6rem;
        margin-bottom: 40px;
    }

    .spec-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Product CTA */
    .product-cta {
        padding: 60px 30px;
    }

    .product-cta h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {

    .sub-visual-title {
        font-size: 2rem;
        /* Smaller for mobile */
        margin-bottom: 15px;
    }

    .sub-visual-desc {
        font-size: 1rem;
        padding: 0 20px;
        word-break: keep-all;
    }

    .product-hero-text h2 {
        font-size: 1.8rem;
    }

    .product-hero-visual {
        height: 250px;
        border-radius: 12px;
    }

    .lnb a {
        padding: 15px 25px;
        font-size: 0.95rem;
    }
}