/* ========================================
   SOPHIA MOM - Pixel Art Theme
   소피아그룹 연구소 | 유한책임회사 빛살
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Noto+Sans+KR:wght@300;400;500;700;900&family=DotGothic16&display=swap');

/* --- CSS Variables --- */
:root {
    --pixel-black: #0a0a0a;
    --pixel-dark: #1a1a2e;
    --pixel-navy: #16213e;
    --pixel-blue: #0f3460;
    --pixel-cyan: #00d4ff;
    --pixel-green: #39ff14;
    --pixel-magenta: #ff00ff;
    --pixel-yellow: #ffe600;
    --pixel-orange: #ff6600;
    --pixel-red: #ff0040;
    --pixel-white: #e8e8e8;
    --pixel-gray: #888;
    --pixel-border: #333;
    --pixel-card-bg: rgba(22, 33, 62, 0.85);
    --pixel-glow-cyan: 0 0 10px rgba(0, 212, 255, 0.5), 0 0 20px rgba(0, 212, 255, 0.3);
    --pixel-glow-green: 0 0 10px rgba(57, 255, 20, 0.5), 0 0 20px rgba(57, 255, 20, 0.3);
    --pixel-glow-magenta: 0 0 10px rgba(255, 0, 255, 0.5), 0 0 20px rgba(255, 0, 255, 0.3);
    --font-pixel: 'Press Start 2P', 'DotGothic16', cursive;
    --font-gothic: 'Noto Sans KR', sans-serif;
    --font-body: 'Noto Sans KR', sans-serif;
    --pixel-size: 4px;
}

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

html {
    scroll-behavior: smooth;
    image-rendering: pixelated;
}

body {
    font-family: var(--font-body);
    background-color: var(--pixel-black);
    color: var(--pixel-white);
    overflow-x: hidden;
    line-height: 1.8;
    font-size: 16px;
}

/* --- Pixel Border Utility --- */
.pixel-border {
    border: var(--pixel-size) solid var(--pixel-cyan);
    box-shadow: 
        inset calc(-1 * var(--pixel-size)) calc(-1 * var(--pixel-size)) 0 0 var(--pixel-blue),
        var(--pixel-size) var(--pixel-size) 0 0 rgba(0,0,0,0.5);
}

.pixel-border-green {
    border: var(--pixel-size) solid var(--pixel-green);
    box-shadow: 
        inset calc(-1 * var(--pixel-size)) calc(-1 * var(--pixel-size)) 0 0 #1a5c0a,
        var(--pixel-size) var(--pixel-size) 0 0 rgba(0,0,0,0.5);
}

.pixel-border-magenta {
    border: var(--pixel-size) solid var(--pixel-magenta);
    box-shadow: 
        inset calc(-1 * var(--pixel-size)) calc(-1 * var(--pixel-size)) 0 0 #5c0a5c,
        var(--pixel-size) var(--pixel-size) 0 0 rgba(0,0,0,0.5);
}

/* --- Scanline Overlay --- */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.03) 2px,
        rgba(0, 0, 0, 0.03) 4px
    );
}

/* --- CRT Flicker Animation --- */
@keyframes flicker {
    0%, 100% { opacity: 1; }
    92% { opacity: 1; }
    93% { opacity: 0.8; }
    94% { opacity: 1; }
    96% { opacity: 0.9; }
    97% { opacity: 1; }
}

/* --- Pixel Blink --- */
@keyframes pixelBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* --- Glow Pulse --- */
@keyframes glowPulse {
    0%, 100% { text-shadow: 0 0 5px var(--pixel-cyan), 0 0 10px var(--pixel-cyan); }
    50% { text-shadow: 0 0 15px var(--pixel-cyan), 0 0 30px var(--pixel-cyan), 0 0 45px var(--pixel-cyan); }
}

/* --- Float Animation --- */
@keyframes pixelFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* --- Slide In --- */
@keyframes slideInLeft {
    from { transform: translateX(-60px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRight {
    from { transform: translateX(60px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

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

@keyframes typeWriter {
    from { width: 0; }
    to { width: 100%; }
}

/* --- Pixel Grid Background --- */
.pixel-grid-bg {
    background-image: 
        linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* ========================================
   HEADER / NAVIGATION
   ======================================== */
.pixel-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.98) 0%, rgba(26, 26, 46, 0.95) 100%);
    border-bottom: 3px solid var(--pixel-cyan);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.2);
    backdrop-filter: blur(10px);
}

.header-top-bar {
    background: var(--pixel-dark);
    padding: 4px 0;
    border-bottom: 2px solid var(--pixel-border);
    font-family: var(--font-pixel);
    font-size: 8px;
    color: var(--pixel-green);
    text-align: center;
    letter-spacing: 2px;
    animation: flicker 5s infinite;
}

.header-top-bar .status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--pixel-green);
    margin-right: 8px;
    animation: pixelBlink 1s infinite;
    vertical-align: middle;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-pixel-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--pixel-cyan), var(--pixel-magenta));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-pixel);
    font-size: 18px;
    color: var(--pixel-black);
    border: 3px solid var(--pixel-cyan);
    box-shadow: var(--pixel-glow-cyan);
    animation: pixelFloat 3s ease-in-out infinite;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .main-name {
    font-family: var(--font-pixel);
    font-size: 14px;
    color: var(--pixel-cyan);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
    letter-spacing: 2px;
}

.logo-text .sub-name {
    font-family: var(--font-pixel);
    font-size: 7px;
    color: var(--pixel-green);
    letter-spacing: 1px;
    margin-top: 2px;
}

/* --- Main Navigation --- */
.main-nav {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-link {
    font-family: var(--font-gothic);
    font-size: 13px;
    font-weight: 700;
    color: var(--pixel-white);
    text-decoration: none;
    padding: 10px 14px;
    position: relative;
    transition: all 0.2s;
    letter-spacing: 1px;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--pixel-cyan);
    text-shadow: var(--pixel-glow-cyan);
    background: rgba(0, 212, 255, 0.08);
}

.nav-link.active {
    color: var(--pixel-cyan);
    text-shadow: var(--pixel-glow-cyan);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--pixel-cyan);
    transition: all 0.3s;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

/* --- Dropdown --- */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .dropdown-toggle {
    cursor: pointer;
}

.nav-dropdown .dropdown-toggle::before {
    content: '▼';
    font-size: 6px;
    margin-left: 4px;
    vertical-align: middle;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: rgba(10, 10, 10, 0.97);
    border: 3px solid var(--pixel-cyan);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.8), var(--pixel-glow-cyan);
    z-index: 2000;
    padding: 8px 0;
}

.nav-dropdown:hover .dropdown-menu {
    display: block;
    animation: slideInUp 0.2s ease-out;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    font-family: var(--font-gothic);
    font-size: 13px;
    font-weight: 600;
    color: var(--pixel-white);
    text-decoration: none;
    transition: all 0.2s;
    letter-spacing: 1px;
}

.dropdown-menu a i {
    width: 20px;
    text-align: center;
    color: var(--pixel-cyan);
    font-size: 12px;
}

.dropdown-menu a:hover {
    background: rgba(0, 212, 255, 0.1);
    color: var(--pixel-cyan);
    padding-left: 24px;
}

/* --- Mobile Menu --- */
.mobile-toggle {
    display: none;
    background: none;
    border: 2px solid var(--pixel-cyan);
    color: var(--pixel-cyan);
    font-size: 20px;
    padding: 8px 12px;
    cursor: pointer;
    font-family: var(--font-pixel);
}

.mobile-toggle:hover {
    background: rgba(0, 212, 255, 0.1);
    box-shadow: var(--pixel-glow-cyan);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.3) saturate(0.8);
    transition: transform 10s ease;
}

.hero-section:hover .hero-bg {
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(180deg, 
            rgba(10,10,10,0.7) 0%, 
            rgba(10,10,10,0.3) 40%, 
            rgba(10,10,10,0.3) 60%, 
            rgba(10,10,10,0.8) 100%
        );
}

.hero-pixel-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 212, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.04) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 0 30px;
}

.hero-badge {
    display: inline-block;
    font-family: var(--font-pixel);
    font-size: 9px;
    color: var(--pixel-green);
    border: 2px solid var(--pixel-green);
    padding: 6px 16px;
    margin-bottom: 24px;
    letter-spacing: 2px;
    animation: glowPulse 3s ease-in-out infinite;
    text-shadow: var(--pixel-glow-green);
}

.hero-badge .badge-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--pixel-green);
    margin-right: 8px;
    animation: pixelBlink 1s infinite;
    vertical-align: middle;
}

.hero-title {
    font-family: var(--font-gothic);
    font-size: 52px;
    font-weight: 900;
    color: var(--pixel-white);
    text-shadow: 
        4px 4px 0 var(--pixel-black),
        0 0 20px rgba(0, 212, 255, 0.5);
    margin-bottom: 16px;
    line-height: 1.4;
    animation: slideInUp 0.8s ease-out;
}

.hero-title .highlight {
    color: var(--pixel-cyan);
    text-shadow: 
        4px 4px 0 var(--pixel-black),
        var(--pixel-glow-cyan);
}

.hero-subtitle {
    font-family: var(--font-gothic);
    font-size: 15px;
    font-weight: 500;
    color: var(--pixel-gray);
    margin-bottom: 40px;
    letter-spacing: 2px;
    line-height: 2;
    animation: slideInUp 0.8s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: slideInUp 0.8s ease-out 0.4s both;
}

.pixel-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-gothic);
    font-size: 14px;
    font-weight: 700;
    padding: 14px 28px;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    position: relative;
}

.pixel-btn-primary {
    background: var(--pixel-cyan);
    color: var(--pixel-black);
    border: 3px solid var(--pixel-cyan);
    box-shadow: 
        6px 6px 0 rgba(0, 0, 0, 0.5),
        var(--pixel-glow-cyan);
}

.pixel-btn-primary:hover {
    transform: translate(2px, 2px);
    box-shadow: 
        4px 4px 0 rgba(0, 0, 0, 0.5),
        0 0 30px rgba(0, 212, 255, 0.6);
}

.pixel-btn-secondary {
    background: transparent;
    color: var(--pixel-cyan);
    border: 3px solid var(--pixel-cyan);
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.5);
}

.pixel-btn-secondary:hover {
    background: rgba(0, 212, 255, 0.1);
    transform: translate(2px, 2px);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.5);
}

.pixel-btn-green {
    background: var(--pixel-green);
    color: var(--pixel-black);
    border: 3px solid var(--pixel-green);
    box-shadow: 
        6px 6px 0 rgba(0, 0, 0, 0.5),
        var(--pixel-glow-green);
}

.pixel-btn-green:hover {
    transform: translate(2px, 2px);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.5);
}

/* --- Scroll Indicator --- */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
}

.scroll-indicator span {
    display: block;
    font-family: var(--font-pixel);
    font-size: 8px;
    color: var(--pixel-gray);
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.scroll-indicator i {
    color: var(--pixel-cyan);
    font-size: 20px;
    animation: pixelFloat 2s ease-in-out infinite;
}

/* ========================================
   PAGE CONTENT SECTIONS
   ======================================== */
.page-content {
    padding-top: 0;
}

.content-section {
    padding: 80px 0;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

/* --- Section Title --- */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .pixel-label {
    font-family: var(--font-pixel);
    font-size: 9px;
    color: var(--pixel-green);
    letter-spacing: 3px;
    display: block;
    margin-bottom: 16px;
}

.section-header h2 {
    font-family: var(--font-gothic);
    font-size: 32px;
    font-weight: 900;
    color: var(--pixel-cyan);
    text-shadow: 3px 3px 0 var(--pixel-black);
    margin-bottom: 16px;
    line-height: 1.6;
}

.section-header p {
    font-size: 15px;
    color: var(--pixel-gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.section-divider {
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, var(--pixel-cyan), var(--pixel-magenta));
    margin: 20px auto;
}

/* ========================================
   SERVICE CARDS (Home Page)
   ======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.service-card {
    background: var(--pixel-card-bg);
    border: 3px solid var(--pixel-border);
    padding: 32px 24px;
    position: relative;
    transition: all 0.3s;
    text-decoration: none;
    display: block;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--pixel-cyan), var(--pixel-magenta));
    transform: scaleX(0);
    transition: transform 0.4s;
}

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

.service-card:hover {
    border-color: var(--pixel-cyan);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.15);
}

.service-card .card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--pixel-cyan);
    border: 3px solid var(--pixel-cyan);
    margin-bottom: 20px;
    transition: all 0.3s;
    background: rgba(0, 212, 255, 0.05);
}

.service-card:hover .card-icon {
    background: rgba(0, 212, 255, 0.15);
    box-shadow: var(--pixel-glow-cyan);
    animation: pixelFloat 2s ease-in-out infinite;
}

.service-card .card-title {
    font-family: var(--font-gothic);
    font-size: 16px;
    font-weight: 800;
    color: var(--pixel-white);
    margin-bottom: 12px;
    letter-spacing: 1px;
    line-height: 1.8;
}

.service-card .card-desc {
    font-size: 13px;
    color: var(--pixel-gray);
    line-height: 1.8;
}

.service-card .card-arrow {
    position: absolute;
    bottom: 16px;
    right: 16px;
    font-family: var(--font-pixel);
    font-size: 12px;
    color: var(--pixel-cyan);
    opacity: 0;
    transition: all 0.3s;
}

.service-card:hover .card-arrow {
    opacity: 1;
    transform: translateX(4px);
}

/* ========================================
   SERVICE DETAIL PAGE
   ======================================== */
.service-detail-content {
    padding: 80px 0;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.detail-text h3 {
    font-family: var(--font-gothic);
    font-size: 22px;
    font-weight: 800;
    color: var(--pixel-cyan);
    margin-bottom: 20px;
    line-height: 1.8;
}

.detail-text p {
    font-size: 15px;
    color: var(--pixel-gray);
    margin-bottom: 20px;
    line-height: 2;
}

.feature-list {
    list-style: none;
    margin: 30px 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 14px;
    color: var(--pixel-white);
    line-height: 1.8;
}

.feature-list li i {
    color: var(--pixel-green);
    font-size: 12px;
    margin-top: 4px;
    flex-shrink: 0;
}

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

.tech-tag {
    font-family: var(--font-gothic);
    font-size: 11px;
    font-weight: 700;
    color: var(--pixel-cyan);
    border: 2px solid var(--pixel-cyan);
    padding: 6px 12px;
    letter-spacing: 1px;
    transition: all 0.2s;
}

.tech-tag:hover {
    background: rgba(0, 212, 255, 0.15);
    box-shadow: var(--pixel-glow-cyan);
}

/* --- Stats Box --- */
.stats-box {
    background: var(--pixel-card-bg);
    border: 3px solid var(--pixel-border);
    padding: 32px;
}

.stats-box .stat-item {
    text-align: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.stats-box .stat-item:last-child {
    border-bottom: none;
}

.stats-box .stat-number {
    font-family: var(--font-pixel);
    font-size: 28px;
    color: var(--pixel-cyan);
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
}

.stats-box .stat-label {
    font-family: var(--font-pixel);
    font-size: 8px;
    color: var(--pixel-gray);
    margin-top: 8px;
    letter-spacing: 2px;
}

/* --- Process Steps --- */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.step-card {
    background: var(--pixel-card-bg);
    border: 3px solid var(--pixel-border);
    padding: 28px 20px;
    text-align: center;
    position: relative;
    transition: all 0.3s;
}

.step-card:hover {
    border-color: var(--pixel-green);
    box-shadow: var(--pixel-glow-green);
}

.step-number {
    font-family: var(--font-pixel);
    font-size: 24px;
    color: var(--pixel-green);
    margin-bottom: 16px;
    text-shadow: var(--pixel-glow-green);
}

.step-card h4 {
    font-family: var(--font-gothic);
    font-size: 16px;
    font-weight: 800;
    color: var(--pixel-white);
    margin-bottom: 12px;
    letter-spacing: 1px;
    line-height: 1.6;
}

.step-card p {
    font-size: 13px;
    color: var(--pixel-gray);
    line-height: 1.8;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0, 212, 255, 0.03) 50%, rgba(0,0,0,0) 100%);
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--pixel-cyan), transparent);
}

.cta-section h2 {
    font-family: var(--font-gothic);
    font-size: 30px;
    font-weight: 900;
    color: var(--pixel-white);
    margin-bottom: 16px;
    line-height: 1.6;
}

.cta-section p {
    font-size: 15px;
    color: var(--pixel-gray);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   FOOTER
   ======================================== */
.pixel-footer {
    background: linear-gradient(180deg, var(--pixel-dark) 0%, var(--pixel-black) 100%);
    border-top: 3px solid var(--pixel-cyan);
    padding: 60px 0 0;
    position: relative;
}

.pixel-footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.footer-brand .footer-logo {
    font-family: var(--font-pixel);
    font-size: 16px;
    color: var(--pixel-cyan);
    text-shadow: var(--pixel-glow-cyan);
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 13px;
    color: var(--pixel-gray);
    line-height: 1.8;
    margin-bottom: 8px;
}

.footer-col h4 {
    font-family: var(--font-gothic);
    font-size: 14px;
    font-weight: 800;
    color: var(--pixel-green);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 13px;
    color: var(--pixel-gray);
    text-decoration: none;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li a i {
    font-size: 10px;
    color: var(--pixel-cyan);
    width: 16px;
}

.footer-col ul li a:hover {
    color: var(--pixel-cyan);
    padding-left: 4px;
}

.footer-company-info {
    border-top: 2px solid var(--pixel-border);
    margin-top: 50px;
    padding: 30px;
}

.company-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.company-card {
    background: rgba(255,255,255,0.02);
    border: 2px solid var(--pixel-border);
    padding: 20px;
}

.company-card h5 {
    font-family: var(--font-gothic);
    font-size: 14px;
    font-weight: 800;
    color: var(--pixel-cyan);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.company-card p {
    font-size: 12px;
    color: var(--pixel-gray);
    line-height: 1.8;
}

.footer-bottom {
    text-align: center;
    padding: 20px 30px;
    border-top: 1px solid var(--pixel-border);
    font-family: var(--font-pixel);
    font-size: 8px;
    color: var(--pixel-gray);
    letter-spacing: 1px;
}

.footer-bottom .pixel-heart {
    color: var(--pixel-magenta);
    animation: pixelBlink 2s infinite;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .nav-link {
        font-size: 8px;
        padding: 10px 10px;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .detail-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .header-container {
        height: 60px;
    }
    
    .logo-text .main-name {
        font-size: 11px;
    }
    
    .main-nav {
        display: none;
        position: fixed;
        top: 90px;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.98);
        border-bottom: 3px solid var(--pixel-cyan);
        flex-direction: column;
        padding: 16px 0;
        max-height: 70vh;
        overflow-y: auto;
    }
    
    .main-nav.active {
        display: flex;
    }
    
    .nav-link {
        font-size: 14px;
        padding: 14px 24px;
        width: 100%;
    }
    
    .nav-dropdown .dropdown-menu {
        position: static;
        display: none;
        border: none;
        border-left: 3px solid var(--pixel-cyan);
        margin-left: 24px;
        min-width: auto;
    }
    
    .nav-dropdown.open .dropdown-menu {
        display: block;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 9px;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .company-cards {
        grid-template-columns: 1fr;
    }
    
    .pixel-btn {
        font-size: 9px;
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 26px;
    }
    
    .hero-badge {
        font-size: 7px;
    }
    
    .container {
        padding: 0 16px;
    }
}

/* ========================================
   ANIMATION ON SCROLL
   ======================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   ADDITIONAL PIXEL DECORATIONS
   ======================================== */
.pixel-corner-tl::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    width: 12px;
    height: 12px;
    border-top: 3px solid var(--pixel-cyan);
    border-left: 3px solid var(--pixel-cyan);
}

.pixel-corner-br::after {
    content: '';
    position: absolute;
    bottom: -3px;
    right: -3px;
    width: 12px;
    height: 12px;
    border-bottom: 3px solid var(--pixel-cyan);
    border-right: 3px solid var(--pixel-cyan);
}

/* --- Loading Screen --- */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--pixel-black);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: loaderFadeOut 0.5s ease 2s forwards;
    pointer-events: auto;
}

@keyframes loaderFadeOut {
    0% { opacity: 1; visibility: visible; pointer-events: auto; }
    99% { opacity: 0; visibility: visible; pointer-events: none; }
    100% { opacity: 0; visibility: hidden; pointer-events: none; }
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-bar-container {
    width: 300px;
    height: 20px;
    border: 3px solid var(--pixel-cyan);
    padding: 3px;
    margin-top: 24px;
}

.loading-bar {
    height: 100%;
    background: var(--pixel-cyan);
    width: 0%;
    animation: loadProgress 1.5s ease-out forwards;
    box-shadow: var(--pixel-glow-cyan);
}

@keyframes loadProgress {
    0% { width: 0; }
    30% { width: 40%; }
    60% { width: 70%; }
    100% { width: 100%; }
}

.loading-text {
    font-family: var(--font-pixel);
    font-size: 10px;
    color: var(--pixel-cyan);
    margin-top: 12px;
    letter-spacing: 2px;
    animation: pixelBlink 0.8s infinite;
}
