@charset "UTF-8";

/* ==========================================================================
   NURIZ.COM Premium Tech Noir Design System
   ========================================================================== */

:root {
    /* Color Palette */
    --color-bg-deep: #050608;
    --color-bg-surface: #0a0c10;
    --color-bg-card: #12141a;
    --color-cyan-electric: #00e5ff;
    --color-cyan-dim: rgba(0, 229, 255, 0.15);
    --color-text-main: #f8fafc;
    --color-text-muted: #8b9bb4;
    --color-border: rgba(255, 255, 255, 0.08);
    
    /* Typography */
    --font-primary: 'Pretendard', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    
    /* Spacing */
    --space-sm: 0.5rem;
    --space-md: 1.5rem;
    --space-lg: 3rem;
    --space-xl: 6rem;
    --space-xxl: 10rem;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg-deep);
    color: var(--color-text-main);
    font-family: var(--font-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.text-gradient {
    background: linear-gradient(90deg, #fff, var(--color-cyan-electric));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-cyan {
    color: var(--color-cyan-electric);
}

.section-title {
    font-size: 3.5rem;
    margin-bottom: var(--space-md);
    position: relative;
    display: inline-block;
    letter-spacing: -0.01em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -24px;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: var(--color-cyan-electric);
    box-shadow: 0 0 15px var(--color-cyan-electric);
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-desc {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    font-weight: 300;
    max-width: 800px;
    margin-top: 2rem;
    margin-bottom: var(--space-xl);
}

/* ==========================================================================
   Layout Components
   ========================================================================== */
/* 가로 100% 지향 (Fluid Layout 2% 여백) */
.container {
    width: 100%;
    max-width: 100% !important; /* Override Bootstrap max-width */
    padding: 0 2% !important; /* 화면 비율에 맞춘 2% 유동 여백 */
    margin: 0 auto;
}

.section {
    padding: var(--space-xxl) 0;
    position: relative;
}

.section-header {
    margin-bottom: var(--space-xl);
}

.text-center {
    text-align: center;
}
.mx-auto {
    margin-left: auto;
    margin-right: auto;
}
.d-block {
    display: block;
}
.mb-2 {
    margin-bottom: 0.5rem;
}
.mt-5 {
    margin-top: 3rem;
}
.fw-bold {
    font-weight: 700;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    background: rgba(5, 6, 8, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.header-inner {
    width: 100%;
    max-width: 100% !important;
    padding: 0 2% !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    z-index: 1001; /* Above mobile menu */
    position: relative;
}

.logo span {
    color: var(--color-cyan-electric);
}

/* GNB PC Layout */
.nav-gnb {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--color-text-main);
    padding: 10px 0;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--color-cyan-electric);
}

/* Blinking Dot for Realtime Build Menu */
.blink-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--color-cyan-electric);
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 8px var(--color-cyan-electric);
    animation: blink 1.5s infinite ease-in-out;
    vertical-align: middle;
}

@keyframes blink {
    0% { opacity: 0.3; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.2); }
    100% { opacity: 0.3; transform: scale(0.9); }
}

/* Dropdown Menu (Glassmorphism) */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(18, 20, 26, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    min-width: 220px;
    padding: 10px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.nav-item.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: block;
    padding: 12px 20px;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    color: var(--color-cyan-electric);
    background: rgba(0, 229, 255, 0.05);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--color-text-main);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
}

.header-action {
    display: flex;
}

.mobile-contact-area {
    display: none; /* Hide on PC */
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    letter-spacing: 0.05em;
}

.btn-primary {
    background-color: transparent;
    color: var(--color-cyan-electric);
    border: 1px solid var(--color-cyan-electric);
    box-shadow: 0 0 15px var(--color-cyan-dim) inset;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background-color: var(--color-cyan-electric);
    color: var(--color-bg-deep);
    box-shadow: 0 0 25px var(--color-cyan-dim);
}

/* ==========================================================================
   TFA Section (Infographic Flow)
   ========================================================================== */
.tfa-section {
    background: var(--color-bg-surface);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.tfa-flow {
    position: relative;
    max-width: 1600px;
    margin: 0 auto;
    padding: 40px 0;
}

.tfa-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: var(--color-border);
    transform: translateX(-50%);
    z-index: 0;
}

.tfa-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -1px;
    width: 4px;
    height: 100px;
    background: var(--color-cyan-electric);
    box-shadow: 0 0 15px var(--color-cyan-electric);
    animation: flowDown 3s ease-in-out infinite;
}

@keyframes flowDown {
    0% { top: 0; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

.tfa-step {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    justify-content: center;
}

.tfa-step.step-left { justify-content: flex-start; padding-right: 50%; }
.tfa-step.step-right { justify-content: flex-end; padding-left: 50%; }

.tfa-box {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    padding: 30px;
    border-radius: 8px;
    width: 95%;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tfa-step.step-left .tfa-box { margin-right: 40px; }
.tfa-step.step-right .tfa-box { margin-left: 40px; }

/* Connection dots */
.tfa-step.step-left .tfa-box::after,
.tfa-step.step-right .tfa-box::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 16px;
    height: 16px;
    background: var(--color-bg-deep);
    border: 2px solid var(--color-cyan-electric);
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 10px var(--color-cyan-electric);
}

.tfa-step.step-left .tfa-box::after { right: -48px; }
.tfa-step.step-right .tfa-box::after { left: -48px; }

.tfa-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.15);
}

.tfa-box.highlight-box {
    border-color: var(--color-cyan-dim);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.05) inset;
}

.tfa-icon {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--color-text-muted);
}

.tfa-box.highlight-box .tfa-icon {
    color: var(--color-cyan-electric);
    text-shadow: 0 0 15px var(--color-cyan-dim);
}

.tfa-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.tfa-content p {
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* ==========================================================================
   Portfolio Section (Premium Grid)
   ========================================================================== */
.portfolio-section {
    background: var(--color-bg-deep);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 2rem;
    width: 100%;
}

.portfolio-card {
    position: relative;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    cursor: pointer;
    group: card;
}

.portfolio-card .card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(0, 240, 255, 0.08), transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.portfolio-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--color-cyan-dim);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px var(--color-cyan-dim) inset;
}

.portfolio-card:hover .card-bg {
    opacity: 1;
}

.card-content {
    position: relative;
    z-index: 1;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--color-bg-deep);
    touch-action: pan-y;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

.hero-slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    touch-action: pan-y;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-slide.active {
    z-index: 2;
    pointer-events: auto;
}

/* Background Patterns */
.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active .slide-bg {
    opacity: 0.4;
}

.custom-bg {
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active .custom-bg {
    opacity: 0.85;
}

.pattern-1 {
    background: url('../../images/pic04-nocode.jpg') center/cover no-repeat;
}

.pattern-2 {
    background: url('../../images/pic03-smartstore.jpg') center/cover no-repeat;
}

.pattern-3 {
    background: url('../../images/maintenance.jpg') center/cover no-repeat;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 3;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 4;
}

.hero-content {
    max-width: 800px;
    padding-top: 80px;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: all 0.5s ease-out;
}

.hero-slide.active .hero-content {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.3s;
}

.text-left { text-align: left; }
.text-right { text-align: right; }

.hero-badge {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid var(--color-cyan-dim);
    color: var(--color-cyan-electric);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    border-radius: 4px;
    margin-bottom: 24px;
    background: rgba(0, 240, 255, 0.05);
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
}

.hero-desc {
    font-size: 1.2rem;
    color: #ffffff !important;
    max-width: 650px;
    margin-bottom: 40px;
    line-height: 1.7;
}

/* Slide Controls */
.hero-controls {
    position: absolute;
    bottom: 50px;
    left: 0;
    width: 100%;
    z-index: 5;
}

.hero-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.hero-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #f7f7f7;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.hero-dot.active {
    background: var(--color-cyan-electric);
    border-color: var(--color-cyan-electric);
    box-shadow: 0 0 10px var(--color-cyan-dim);
}

.tech-stack-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.tech-stack-tags .tag {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text-main);
    border: 1px solid var(--color-border);
    letter-spacing: 0.05em;
    backdrop-filter: blur(5px);
}

.portfolio-card:hover .tech-stack-tags .tag:last-child {
    background: rgba(0, 240, 255, 0.1);
    color: var(--color-cyan-electric);
    border-color: var(--color-cyan-electric);
}

.card-content h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.03em;
}

.card-content p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.view-btn {
    display: inline-flex;
    align-items: center;
    color: var(--color-cyan-electric);
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
    transform: translateX(0);
    transition: all 0.3s ease;
}

.view-btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.portfolio-card:hover .view-btn {
    opacity: 1;
}

.portfolio-card:hover .view-btn i {
    transform: translateX(10px);
}

/* ==========================================================================
   Responsive adjustments & Display Utilities
   ========================================================================== */
.mo-only { display: none !important; }
.pc-only { display: inline-block; }
span.pc-only, a.pc-only, strong.pc-only, em.pc-only { display: inline; }
div.pc-only, p.pc-only { display: block; }
@media (max-width: 992px) {
    /* Header & Mobile Menu */
    .mobile-toggle {
        display: block;
    }
    .header-action {
        display: none; /* Hide PC button */
    }
    .nav-gnb {
        display: block;
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        background: rgba(5, 6, 8, 0.98);
        backdrop-filter: blur(15px);
        opacity: 1;
        visibility: visible;
        transition: left 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        padding: 80px 20px 80px;
    }
    .nav-gnb::before {
        content: '';
        position: absolute;
        top: 0; left: 0; width: 100%; height: 100%;
        background-image: linear-gradient(rgba(0,240,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(0,240,255,0.05) 1px, transparent 1px);
        background-size: 30px 30px;
        opacity: 1;
        pointer-events: none;
        z-index: -1;
    }
    .nav-gnb.mobile-active {
        left: 0;
    }
    .nav-list {
        flex-direction: column;
        gap: 0.8rem;
        width: 100%;
        text-align: left;
        margin-top: 10px;
    }
    .nav-link {
        font-size: 1.25rem;
        justify-content: flex-start;
    }
    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        background: transparent;
        border: none;
        display: none; /* Handled via JS or hover on mobile */
        opacity: 1;
        visibility: visible;
        padding: 10px 0;
    }
    .nav-item.mobile-open .dropdown-menu {
        display: block;
    }
    .nav-item.has-dropdown:hover .dropdown-menu {
        transform: none;
    }
    .dropdown-item {
        font-size: 1.1rem;
        padding: 8px 0;
        text-align: left;
    }
    .mobile-contact-area {
        display: block !important;
        width: 100%;
        margin: 0;
        text-align: left;
    }

    .tfa-step.step-left, .tfa-step.step-right {
        justify-content: flex-end;
        padding-left: 40px;
        padding-right: 0;
    }
    .tfa-line { left: 20px; }
    .tfa-step.step-left .tfa-box, .tfa-step.step-right .tfa-box {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    .tfa-step.step-left .tfa-box::after, .tfa-step.step-right .tfa-box::after {
        left: -28px;
        right: auto;
    }
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    .section-title { font-size: 2.5rem; }
    
    .pc-only, span.pc-only, div.pc-only, p.pc-only, a.pc-only { display: none !important; }
    .mo-only { display: block !important; }
    span.mo-only, a.mo-only, strong.mo-only, em.mo-only { display: inline !important; }
    p.mo-only { display: block !important; }
}

@media (max-width: 576px) {
    .container { padding: 0 20px; }
    .section-title { font-size: 1.45rem !important; word-break: keep-all; letter-spacing: -0.01em; }
    .hero-title { font-size: 2.0rem !important; word-break: keep-all; }
    .mo-center-title { text-align: center !important; }
    .mo-center-title .section-title::after { left: 50% !important; transform: translateX(-50%) !important; }
}

/* ==========================================================================
   Interactive Lead Gen Section
   ========================================================================== */
.leadgen-section {
    background: var(--color-bg-deep);
    position: relative;
}

.leadgen-wrapper {
    max-width: 100%;
}

.interactive-form-container {
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.85) 0%, rgba(10, 14, 22, 0.95) 100%);
    border: 1px solid rgba(0, 229, 255, 0.22);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.form-step {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.form-step.active {
    display: block;
}

.form-step h3 {
    letter-spacing: 0 !important;
}

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

.step-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-text-muted);
    letter-spacing: 0.1em;
    margin-bottom: 15px;
}

.interactive-form-container h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: #fff;
}

.input-group {
    display: flex;
    flex-direction: column;
}

.cyber-input {
    width: 100%;
    background: #06090e;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 14px 18px;
    border-radius: 10px;
    color: var(--color-text-main);
    font-size: 0.98rem;
    font-family: var(--font-primary);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.cyber-input:focus {
    outline: none;
    background: #0b111a;
    border-color: var(--color-cyan-electric);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

.text-right {
    text-align: right;
}

.d-flex {
    display: flex;
}
.justify-content-between {
    justify-content: space-between;
}
.me-2 { margin-right: 0.5rem; }
.ms-2 { margin-left: 0.5rem; }
.mx-1 { margin-left: 0.25rem; margin-right: 0.25rem; }
.mx-2 { margin-left: 0.5rem; margin-right: 0.5rem; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mt-4 { margin-top: 1.5rem; }

.btn-secondary {
    background: transparent;
    color: var(--color-text-muted);
    border: 1px solid var(--color-border);
}
.btn-secondary:hover {
    color: #fff;
    border-color: var(--color-text-muted);
}

/* Cyber Spinner */
.cyber-spinner {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    border: 3px solid var(--color-bg-deep);
    border-top-color: var(--color-cyan-electric);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    box-shadow: 0 0 20px var(--color-cyan-dim);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.terminal-text {
    font-family: "Courier New", Courier, monospace;
    color: var(--color-cyan-electric);
    font-size: 0.9rem;
    margin-top: 15px;
    opacity: 0.8;
}

/* Footer */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--color-border);
    background: var(--color-bg-deep);
}


/* ==========================================================================
   Subpages (Vision & Competence)
   ========================================================================== */

/* Common Page Hero */
.page-hero { height: 60vh; min-height: 500px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; padding-top: 80px; }
.page-hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at 50% 50%, #13151f 0%, #050608 100%); z-index: 0; }
.tech-grid-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: linear-gradient(rgba(0,240,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(0,240,255,0.05) 1px, transparent 1px); background-size: 30px 30px; z-index: 0; }
.page-hero-title { font-size: 3.5rem; font-weight: 800; line-height: 1.2; margin-bottom: 24px; }
.page-hero-desc { font-size: 1.15rem; color: var(--color-text-muted); line-height: 1.6; }

/* Animations */
.fade-up { opacity: 0; transform: translateY(30px); animation: fadeUpAnim 0.8s forwards; }
@keyframes fadeUpAnim { to { opacity: 1; transform: translateY(0); } }

/* Problem & Solution */
.ps-card { padding: 40px; border-radius: 12px; border: 1px solid var(--color-border); background: var(--color-bg-deep); transition: all 0.3s ease; }
.solution-card { border-color: rgba(0, 240, 255, 0.3); background: linear-gradient(145deg, rgba(0, 240, 255, 0.05) 0%, transparent 100%); }
.solution-card:hover { border-color: var(--color-cyan-electric); box-shadow: 0 0 20px rgba(0, 240, 255, 0.1); }

/* Core Values */
.value-card { padding: 40px 30px; border-radius: 12px; border: 1px solid var(--color-border); background: rgba(255,255,255,0.02); transition: all 0.4s ease; position: relative; overflow: hidden; }
.value-card::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(0,240,255,0.1) 0%, transparent 70%); opacity: 0; transform: scale(0.5); transition: all 0.6s ease; pointer-events: none; }
.value-card:hover { border-color: rgba(0,240,255,0.4); transform: translateY(-5px); }
.value-card:hover::before { opacity: 1; transform: scale(1); }
.value-number { font-size: 2.5rem; font-weight: 900; opacity: 0.5; font-family: 'Courier New', Courier, monospace; }

/* Blueprint & Windows */
.blueprint-box { background: var(--color-bg-deep); border: 1px solid var(--color-border); border-radius: 16px; overflow: hidden; }
.blueprint-visual { padding: 40px; background: rgba(0,0,0,0.3); height: 100%; display: flex; align-items: center; justify-content: center; }
.diagram-ui { display: flex; align-items: center; gap: 15px; }
.d-node { padding: 12px 20px; border: 1px solid var(--color-border); border-radius: 8px; background: rgba(255,255,255,0.03); font-size: 0.9rem; font-weight: 600; }
.d-line { width: 30px; height: 2px; background: var(--color-border); }

.split-window { background: var(--color-bg-deep); border: 1px solid var(--color-border); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.code-window { width: 100%; background: #000; border-radius: 8px; border: 1px solid var(--color-border); overflow: hidden; }
.window-header { padding: 10px 15px; background: rgba(255,255,255,0.05); border-bottom: 1px solid var(--color-border); display: flex; align-items: center; gap: 6px; }
.window-header .dot { width: 10px; height: 10px; border-radius: 50%; background: #555; }
.window-header .dot:nth-child(1) { background: #ff5f56; }
.window-header .dot:nth-child(2) { background: #ffbd2e; }
.window-header .dot:nth-child(3) { background: #27c93f; }
.window-title { margin-left: 10px; font-size: 0.8rem; color: #888; font-family: monospace; }
.window-body { padding: 25px; flex-grow: 1; }
.code-preview code { color: #00f0ff; font-family: 'Courier New', Courier, monospace; font-size: 0.9rem; display: block; background: rgba(0,240,255,0.05); padding: 15px; border-radius: 6px; }
.nocode-block { background: rgba(255,255,255,0.1); padding: 15px; text-align: center; border-radius: 6px; font-weight: 600; }

/* Timeline */
.timeline-container { position: relative; padding: 40px 0; display: flex; justify-content: space-between; }
.timeline-line { position: absolute; top: 55px; left: 0; width: 100%; height: 2px; background: rgba(255,255,255,0.1); z-index: 1; }
.timeline-step { position: relative; z-index: 2; width: 30%; text-align: center; }
.step-dot { width: 30px; height: 30px; border-radius: 50%; background: var(--color-bg); border: 2px solid var(--color-cyan-electric); margin: 0 auto 25px; box-shadow: 0 0 15px rgba(0,240,255,0.4); }

/* Responsive Updates */
@media (max-width: 992px) {
    .timeline-container { flex-direction: column; padding-left: 30px; }
    .timeline-line { top: 0; left: 14px; width: 2px; height: 100%; }
    .timeline-step { width: 100%; text-align: left; margin-bottom: 40px; display: flex; gap: 20px; }
    .step-dot { margin: 0; flex-shrink: 0; }
    .diagram-ui { flex-direction: column; }
    .d-line { width: 2px; height: 20px; }
    .page-hero-title { font-size: 1.55rem; word-break: keep-all; letter-spacing: -0.01em; }
}


/* Subpage Grids */
.ps-grid, .value-grid { display: grid; gap: 24px; }
.ps-grid { grid-template-columns: 1fr 1fr; }
.value-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 991px) {
    .value-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
    .ps-grid, .value-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Light Theme (For Specific Sections)
   ========================================================================== */
.theme-light { 
    background-color: #ffffff !important; 
    position: relative;
    z-index: 1;
}
.theme-light.bg-darker { 
    background-color: #f8f9fa !important; 
}
.theme-light::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(#d1d5db 1.5px, transparent 1.5px);
    background-size: 25px 25px;
    opacity: 0.6;
    z-index: -1;
    pointer-events: none;
}
.theme-light .section-title { 
    color: #1a1a1a; 
}
.theme-light .badge-tag { 
    background: rgba(0, 156, 179, 0.1); 
    color: #009cb3; 
}
.theme-light .ps-card, .theme-light .value-card {
    background: var(--color-bg-deep);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--color-border);
}
.theme-light .ps-card:hover, .theme-light .value-card:hover {
    box-shadow: 0 20px 50px rgba(0, 240, 255, 0.15);
    transform: translateY(-5px);
}

/* Page Specific Hero Patterns */
.vision-grid-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: radial-gradient(var(--color-cyan-electric) 1.5px, transparent 1.5px); background-size: 35px 35px; opacity: 0.15; z-index: 0; }
.location-grid-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: repeating-linear-gradient(45deg, rgba(0, 240, 255, 0.05), rgba(0, 240, 255, 0.05) 1px, transparent 1px, transparent 25px); z-index: 0; }

/* Breadcrumb Navigation */
.breadcrumb-bar {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(5, 6, 8, 0.9);
    border-bottom: 1px solid var(--color-border);
    padding: 10px 0;
    z-index: 999;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

@media (max-width: 992px) {
    .breadcrumb-bar {
        display: none !important; /* 모바일에서는 숨김 처리 (또는 디자인에 따라 변경) */
    }
}

/* Active Menu States */
.dropdown-item.active-menu {
    color: var(--color-cyan-electric) !important;
    background: rgba(0, 229, 255, 0.08);
    font-weight: 700;
}

.nav-link.active-menu {
    color: var(--color-cyan-electric) !important;
}

.nav-item.active-parent > .nav-link {
    color: var(--color-cyan-electric) !important;
}

/* Floating Side Navigation */
.floating-nav {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 990;
}

.floating-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-end;
}

.floating-nav li {
    position: relative;
}

.float-dot {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    text-decoration: none;
    color: var(--color-text-muted);
}

.float-dot::after {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    margin-left: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.float-dot span {
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    font-size: 0.85rem;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.8);
    padding: 6px 12px;
    border-radius: 4px;
    border: 1px solid var(--color-border);
    white-space: nowrap;
    pointer-events: none;
}

.float-dot:hover span, .float-dot.active-dot span, .float-dot.show-span span {
    opacity: 1;
    transform: translateX(0);
    color: var(--color-text-main);
}

.float-dot:hover::after, .float-dot.active-dot::after {
    background: transparent;
    border-color: var(--color-cyan-electric);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.5);
    transform: scale(1.3);
}

.float-dot.active-dot::after {
    background: var(--color-cyan-electric);
}

/* Tab active state */
.tech-stack-tags .tag.active-tab {
    background: rgba(0, 240, 255, 0.1);
    color: var(--color-cyan-electric);
    border-color: var(--color-cyan-electric);
    font-weight: 700;
}

/* Mobile optimization for tab buttons */
@media (max-width: 576px) {
    .tech-stack-tags {
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 6px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        padding-bottom: 5px; /* Prevent scrollbar clipping */
    }
    .tech-stack-tags::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }
    .tech-stack-tags .tag {
        font-size: 0.7rem;
        padding: 5px 8px;
        white-space: nowrap;
        flex: 0 0 auto;
    }
}

/* Recent Inquiry Ticker */
.recent-inquiry-ticker {
    /* Specific positioning removed for flex layout */
    overflow: hidden;
    pointer-events: none;
    z-index: 10;
}

.ticker-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    animation: scrollTicker 50s linear infinite; /* Slower speed */
}

@keyframes scrollTicker {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

.ticker-item {
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.15);
    border-radius: 8px;
    padding: 15px 20px;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    backdrop-filter: blur(4px);
    opacity: 0.85;
}

.ticker-item strong {
    color: var(--color-cyan);
    display: block;
    margin-bottom: 6px;
    font-size: 1rem;
}

@media (max-width: 991px) {
    .recent-inquiry-ticker-column {
        display: none !important;
    }
}

/* Custom Modal */
.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}
.custom-modal-dialog {
    background-color: var(--color-bg-surface);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.custom-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid var(--color-border);
}
.custom-modal-title {
    margin: 0;
    font-size: 1.2rem;
}
.btn-close-custom {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}
.custom-modal-body {
    padding: 20px;
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}
.custom-modal-footer {
    padding: 15px 20px;
    border-top: 1px solid var(--color-border);
    text-align: right;
}

/* Custom Grid for 60/40 Layout */
.form-left-col {
    width: 60%;
    padding-right: 20px;
}
.ticker-right-col {
    width: 40%;
    padding-left: 20px;
}
@media (max-width: 991px) {
    .form-left-col {
        width: 100%;
        padding-right: 0;
    }
    .ticker-right-col {
        display: none !important;
    }
}

/* Scroll Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Portfolio Slider Card */
.portfolio-slider-wrapper {
    position: relative;
}
.portfolio-slider-wrapper .swiper-button-next,
.portfolio-slider-wrapper .swiper-button-prev {
    color: var(--color-cyan, #00e5ff);
    background: rgba(19, 21, 31, 0.8);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(0, 229, 255, 0.3);
    margin-top: -22px;
}
.portfolio-slider-wrapper .swiper-button-next:after,
.portfolio-slider-wrapper .swiper-button-prev:after {
    font-size: 1.2rem;
    font-weight: bold;
}
.portfolio-slider-wrapper .swiper-button-prev {
    left: -10px;
}
.portfolio-slider-wrapper .swiper-button-next {
    right: -10px;
}
.portfolio-slider-card {
    background: var(--color-bg-card, #13151f);
    border: 1px solid var(--color-border, rgba(255,255,255,0.08));
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.portfolio-slider-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    border-color: rgba(255,255,255,0.2);
}
.portfolio-slider-card .card-img-top {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #000;
}
.portfolio-slider-card .card-img-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.portfolio-slider-card:hover .card-img-top img {
    transform: scale(1.05);
}
.portfolio-slider-card .card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.portfolio-slider-card .card-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.portfolio-slider-card .card-meta {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-text-muted, #8b949e);
    font-size: 0.95rem;
}
.portfolio-slider-card .card-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}
.portfolio-slider-card .card-meta .like-btn:hover {
    color: #ff4757;
}
.portfolio-slider-card .card-meta .like-btn i.liked {
    color: #ff4757;
}

/* Floating Back to Top Button */
.btn-scroll-top {
    position: fixed;
    right: 28px;
    bottom: 28px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(10, 11, 16, 0.85);
    color: var(--color-cyan-electric);
    border: 1px solid rgba(0, 240, 255, 0.35);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 12px rgba(0, 240, 255, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 9999;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.btn-scroll-top:hover {
    background: var(--color-cyan-electric);
    color: #06070a;
    border-color: var(--color-cyan-electric);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.7);
    transform: translateY(-4px) scale(1.05);
}

.btn-scroll-top i {
    font-size: 0.95rem;
    line-height: 1;
    transition: transform 0.2s ease;
}

.btn-scroll-top:hover i {
    transform: translateY(-2px);
}

.btn-scroll-top .btn-top-text {
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    line-height: 1;
    margin-top: 3px;
    font-family: inherit;
}

@media (max-width: 768px) {
    .btn-scroll-top {
        right: 18px;
        bottom: 20px;
        width: 44px;
        height: 44px;
    }
    .btn-scroll-top i {
        font-size: 0.85rem;
    }
    .btn-scroll-top .btn-top-text {
        font-size: 0.55rem;
    }
}
