/* ============================================
   창주전자(주) - PCB Circuit Inspired Design
   Mobile-First Optimized v4.0 — Dynamic Renewal
   ============================================ */

:root {
    --navy: #0f2b4a;
    --navy-light: #1a3d62;
    --navy-dark: #091d33;
    --green: #00c853;
    --green-dark: #00a844;
    --green-glow: rgba(0, 200, 83, 0.3);
    --green-neon: rgba(0, 200, 83, 0.6);
    --gold: #d4a843;
    --copper: #b87333;
    --dark: #1a1a2e;
    --gray-900: #212121;
    --gray-700: #616161;
    --gray-500: #9e9e9e;
    --gray-300: #e0e0e0;
    --gray-100: #f5f5f5;
    --white: #ffffff;
    --red: #e53935;
    --blue: #1e88e5;
    --orange: #fb8c00;
    --font-kr: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-en: 'JetBrains Mono', 'Fira Code', monospace;
    --shadow: 0 2px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --shadow-glow: 0 0 24px rgba(0,200,83,0.2);
    --glass-bg: rgba(15, 43, 74, 0.75);
    --radius: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    --mobile-pad: 16px;
    --mobile-pad-sm: 12px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    overflow-x: hidden;
}
body {
    font-family: var(--font-kr);
    color: var(--gray-900);
    line-height: 1.8;
    background: var(--white);
    overflow-x: hidden;
    word-break: keep-all;
    overflow-wrap: break-word;
    word-wrap: break-word;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
a {
    color: inherit; text-decoration: none;
    transition: var(--transition);
    -webkit-tap-highlight-color: transparent;
}
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
table { word-break: keep-all; }

.br-desktop { display: inline; }
.text-mixed { word-break: break-word; overflow-wrap: anywhere; }
.text-nowrap { white-space: nowrap; }

/* ===== CONTAINER ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 900px; margin: 0 auto; padding: 0 20px; }

/* ===== HEADER / NAV — Glassmorphism ===== */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(1.8);
    -webkit-backdrop-filter: blur(20px) saturate(1.8);
    border-bottom: 1px solid rgba(0, 200, 83, 0.15);
    transition: var(--transition);
}
.site-header::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--green), var(--gold), var(--green), transparent);
    opacity: 0.6;
}
.site-header.scrolled {
    background: rgba(9, 29, 51, 0.98);
    box-shadow: 0 4px 32px rgba(0,0,0,0.4);
    border-bottom-color: rgba(0,200,83,0.3);
}
.site-header.scrolled::after {
    opacity: 1;
}
.nav-wrap {
    display: flex; align-items: center;
    justify-content: space-between; height: 60px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-img {
    height: 38px; width: auto;
    filter: drop-shadow(0 0 8px rgba(0,200,83,0.2));
    transition: all 0.3s ease;
}
.logo:hover .logo-img {
    filter: drop-shadow(0 0 18px rgba(0,200,83,0.5));
    transform: scale(1.08);
}
.logo-icon {
    width: 36px; height: 36px; background: var(--green);
    border-radius: 8px; display: flex; align-items: center; justify-content: center;
    font-weight: 900; color: var(--navy-dark); font-size: 13px;
    font-family: var(--font-en); flex-shrink: 0;
}
.logo-text {
    color: var(--white); font-size: 17px; font-weight: 700;
    letter-spacing: -0.5px; white-space: nowrap;
}
.logo-text span { color: var(--green); }

.nav-menu { display: flex; gap: 0; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
    display: block; padding: 20px 16px; color: rgba(255,255,255,0.8);
    font-size: 14px; font-weight: 500; letter-spacing: -0.3px;
    position: relative; white-space: nowrap;
}
.nav-menu > li > a::after {
    content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 2px;
    background: var(--green); transition: var(--transition); transform: translateX(-50%);
    box-shadow: 0 0 8px rgba(0,200,83,0);
}
.nav-menu > li:hover > a,
.nav-menu > li.active > a { color: var(--white); }
.nav-menu > li:hover > a::after,
.nav-menu > li.active > a::after {
    width: 80%;
    box-shadow: 0 0 12px var(--green-glow);
}

.nav-menu .dropdown {
    position: absolute; top: 100%; left: 0; min-width: 200px;
    background: var(--navy-dark); border: 1px solid rgba(0,200,83,0.1);
    border-radius: 0 0 8px 8px; padding: 8px 0;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: var(--transition); box-shadow: var(--shadow-lg);
}
.nav-menu > li:hover .dropdown {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown a {
    display: block; padding: 10px 20px; color: rgba(255,255,255,0.7);
    font-size: 14px; border-left: 2px solid transparent;
}
.dropdown a:hover {
    color: var(--green); background: rgba(0,200,83,0.05);
    border-left-color: var(--green);
}

.menu-toggle {
    display: none; background: none; border: none;
    color: var(--white); font-size: 26px; cursor: pointer;
    padding: 8px; min-width: 44px; min-height: 44px;
    align-items: center; justify-content: center;
}

.nav-overlay {
    display: none;
    position: fixed; inset: 0; z-index: 998;
    background: rgba(0,0,0,0.5);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}
.nav-overlay.active { display: block; }

/* ===== KEYFRAME ANIMATIONS ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.85); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}
@keyframes circuitFlow {
    0% { background-position: 0 0; }
    100% { background-position: 60px 60px; }
}
@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(0,200,83,0.15); }
    50% { box-shadow: 0 0 40px rgba(0,200,83,0.35); }
}
@keyframes countUp {
    from { opacity: 0; transform: translateY(20px) scale(0.8); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes borderDraw {
    from { stroke-dashoffset: 100; }
    to { stroke-dashoffset: 0; }
}
@keyframes slideInStagger {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* New dynamic keyframes */
@keyframes heroGradientShift {
    0% { background-position: 0% 50%; }
    25% { background-position: 100% 0%; }
    50% { background-position: 100% 100%; }
    75% { background-position: 0% 100%; }
    100% { background-position: 0% 50%; }
}
@keyframes particleFloat {
    0% { transform: translate(0, 0) rotate(0deg); opacity: var(--p-opacity, 0.3); }
    25% { transform: translate(var(--p-dx, 20px), var(--p-dy, -30px)) rotate(90deg); }
    50% { transform: translate(calc(var(--p-dx, 20px) * -0.5), calc(var(--p-dy, -30px) * 1.5)) rotate(180deg); opacity: calc(var(--p-opacity, 0.3) * 1.5); }
    75% { transform: translate(calc(var(--p-dx, 20px) * 0.8), calc(var(--p-dy, -30px) * 0.5)) rotate(270deg); }
    100% { transform: translate(0, 0) rotate(360deg); opacity: var(--p-opacity, 0.3); }
}
@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
@keyframes neonPulse {
    0%, 100% { text-shadow: 0 0 8px rgba(0,200,83,0.4), 0 0 20px rgba(0,200,83,0.2); }
    50% { text-shadow: 0 0 16px rgba(0,200,83,0.8), 0 0 40px rgba(0,200,83,0.4), 0 0 60px rgba(0,200,83,0.2); }
}
@keyframes rippleExpand {
    from { transform: translate(-50%, -50%) scale(0); opacity: 0.6; }
    to { transform: translate(-50%, -50%) scale(4); opacity: 0; }
}
@keyframes iconBounce {
    0%, 100% { transform: scale(1.12) rotate(-5deg) translateY(0); }
    50% { transform: scale(1.12) rotate(-5deg) translateY(-6px); }
}
@keyframes blurIn {
    from { opacity: 0; filter: blur(12px); }
    to { opacity: 1; filter: blur(0); }
}
@keyframes bounceIn {
    0% { opacity: 0; transform: scale(0.3); }
    50% { opacity: 1; transform: scale(1.05); }
    70% { opacity: 1; transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1); }
}

/* ===== SCROLL-TRIGGERED ANIMATIONS ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                filter 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* Direction variants */
.animate-on-scroll.animate-left {
    transform: translateX(-50px);
}
.animate-on-scroll.animate-left.animated {
    transform: translateX(0);
}
.animate-on-scroll.animate-right {
    transform: translateX(50px);
}
.animate-on-scroll.animate-right.animated {
    transform: translateX(0);
}
.animate-on-scroll.animate-scale {
    transform: scale(0.85);
}
.animate-on-scroll.animate-scale.animated {
    transform: scale(1);
}

/* New animation variants */
.animate-on-scroll.animate-slide-left {
    transform: translateX(-60px);
    opacity: 0;
}
.animate-on-scroll.animate-slide-left.animated {
    transform: translateX(0);
    opacity: 1;
}
.animate-on-scroll.animate-slide-right {
    transform: translateX(60px);
    opacity: 0;
}
.animate-on-scroll.animate-slide-right.animated {
    transform: translateX(0);
    opacity: 1;
}
.animate-on-scroll.animate-blur {
    filter: blur(12px);
    transform: translateY(0);
    opacity: 0;
}
.animate-on-scroll.animate-blur.animated {
    filter: blur(0);
    opacity: 1;
}
.animate-on-scroll.animate-bounce {
    transform: scale(0.3);
    opacity: 0;
}
.animate-on-scroll.animate-bounce.animated {
    animation: bounceIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.animate-on-scroll.animate-rotate {
    transform: rotate(-8deg) translateY(30px);
    opacity: 0;
}
.animate-on-scroll.animate-rotate.animated {
    transform: rotate(0) translateY(0);
    opacity: 1;
}

/* Stagger children — expanded to 12 */
.stagger-children .animate-on-scroll:nth-child(1) { transition-delay: 0.05s; }
.stagger-children .animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.stagger-children .animate-on-scroll:nth-child(3) { transition-delay: 0.15s; }
.stagger-children .animate-on-scroll:nth-child(4) { transition-delay: 0.2s; }
.stagger-children .animate-on-scroll:nth-child(5) { transition-delay: 0.25s; }
.stagger-children .animate-on-scroll:nth-child(6) { transition-delay: 0.3s; }
.stagger-children .animate-on-scroll:nth-child(7) { transition-delay: 0.35s; }
.stagger-children .animate-on-scroll:nth-child(8) { transition-delay: 0.4s; }
.stagger-children .animate-on-scroll:nth-child(9) { transition-delay: 0.45s; }
.stagger-children .animate-on-scroll:nth-child(10) { transition-delay: 0.5s; }
.stagger-children .animate-on-scroll:nth-child(11) { transition-delay: 0.55s; }
.stagger-children .animate-on-scroll:nth-child(12) { transition-delay: 0.6s; }

/* ===== HERO SECTION — 4-direction gradient shift ===== */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 25%, #0a3d2e 50%, var(--navy-light) 75%, var(--navy-dark) 100%);
    background-size: 400% 400%;
    animation: heroGradientShift 15s ease infinite;
    overflow: hidden; padding-top: 60px;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(0,200,83,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0,200,83,0.07) 0%, transparent 40%),
        radial-gradient(circle at 60% 80%, rgba(212,168,67,0.05) 0%, transparent 40%);
}
.hero::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 120%, rgba(0,200,83,0.15) 0%, transparent 60%);
    pointer-events: none;
}
.hero-circuit {
    position: absolute; inset: 0; opacity: 0.06;
    background-image:
        linear-gradient(rgba(0,200,83,0.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,200,83,0.5) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: circuitFlow 8s linear infinite;
}

/* Floating particles on hero — enhanced with individual CSS vars */
.hero-particles {
    position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.hero-particle {
    position: absolute; width: 4px; height: 4px;
    background: var(--green); border-radius: 50%;
    box-shadow: 0 0 6px var(--green-glow);
    opacity: 0; animation: particleFloat var(--p-dur, 6s) ease-in-out infinite;
}
.hero-particle:nth-child(1) { left: 10%; top: 20%; --p-dur: 7s; --p-dx: 30px; --p-dy: -40px; --p-opacity: 0.3; opacity: 0.3; }
.hero-particle:nth-child(2) { left: 25%; top: 60%; --p-dur: 8s; --p-dx: -20px; --p-dy: -25px; --p-opacity: 0.2; opacity: 0.2; width: 6px; height: 6px; animation-delay: 1.2s; }
.hero-particle:nth-child(3) { left: 70%; top: 30%; --p-dur: 6s; --p-dx: 15px; --p-dy: -35px; --p-opacity: 0.4; opacity: 0.4; width: 3px; height: 3px; animation-delay: 2.4s; }
.hero-particle:nth-child(4) { left: 85%; top: 70%; --p-dur: 9s; --p-dx: -25px; --p-dy: -20px; --p-opacity: 0.25; opacity: 0.25; width: 5px; height: 5px; animation-delay: 0.8s; }
.hero-particle:nth-child(5) { left: 50%; top: 80%; --p-dur: 7.5s; --p-dx: 20px; --p-dy: -45px; --p-opacity: 0.3; opacity: 0.3; animation-delay: 3s; }
.hero-particle:nth-child(6) { left: 40%; top: 15%; --p-dur: 10s; --p-dx: -15px; --p-dy: -20px; --p-opacity: 0.15; opacity: 0.15; width: 8px; height: 8px; animation-delay: 1.8s; }
.hero-particle:nth-child(7) { left: 15%; top: 75%; --p-dur: 8.5s; --p-dx: 25px; --p-dy: -50px; --p-opacity: 0.2; opacity: 0.2; width: 4px; height: 4px; animation-delay: 0.5s; }
.hero-particle:nth-child(8) { left: 60%; top: 10%; --p-dur: 6.5s; --p-dx: -30px; --p-dy: -15px; --p-opacity: 0.35; opacity: 0.35; width: 3px; height: 3px; animation-delay: 2s; }
.hero-particle:nth-child(9) { left: 90%; top: 45%; --p-dur: 11s; --p-dx: -20px; --p-dy: -35px; --p-opacity: 0.18; opacity: 0.18; width: 7px; height: 7px; animation-delay: 3.5s; }
.hero-particle:nth-child(10) { left: 5%; top: 50%; --p-dur: 7s; --p-dx: 35px; --p-dy: -25px; --p-opacity: 0.28; opacity: 0.28; width: 5px; height: 5px; animation-delay: 1s; }
.hero-particle:nth-child(11) { left: 75%; top: 85%; --p-dur: 9.5s; --p-dx: -10px; --p-dy: -40px; --p-opacity: 0.22; opacity: 0.22; width: 4px; height: 4px; animation-delay: 4s; }
.hero-particle:nth-child(12) { left: 35%; top: 40%; --p-dur: 8s; --p-dx: 18px; --p-dy: -30px; --p-opacity: 0.32; opacity: 0.32; width: 6px; height: 6px; animation-delay: 2.8s; }

.hero-content {
    position: relative; z-index: 2; text-align: center;
    width: 100%; padding: 40px 0;
}
.hero-badge {
    display: inline-block; padding: 6px 18px;
    border: 1px solid rgba(0,200,83,0.3);
    border-radius: 50px; color: var(--green);
    font-size: 12px; font-weight: 500;
    margin-bottom: 24px; backdrop-filter: blur(8px);
    background: rgba(0,200,83,0.05);
    letter-spacing: 1.5px; text-transform: uppercase;
    font-family: var(--font-en);
    animation: fadeInDown 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}
.hero h1 {
    font-size: clamp(28px, 6vw, 64px); font-weight: 800; color: var(--white);
    line-height: 1.3; margin-bottom: 16px; letter-spacing: -1px;
    padding: 0 8px;
    animation: fadeInUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
}
.hero h1 .highlight {
    color: var(--green);
    background: linear-gradient(90deg, var(--green), #4de89d, var(--green));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}

/* Typing cursor */
.typing-cursor {
    display: inline-block;
    color: var(--green);
    -webkit-text-fill-color: var(--green);
    animation: cursorBlink 1s step-end infinite;
    font-weight: 300;
    margin-left: 2px;
}

.hero-subtitle {
    font-size: clamp(14px, 3.5vw, 20px);
    color: rgba(255,255,255,0.6);
    margin-bottom: 36px; line-height: 1.7; padding: 0 8px;
    animation: fadeInUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.6s both;
}
.hero-actions {
    display: flex; gap: 12px;
    justify-content: center; flex-wrap: wrap; padding: 0 8px;
    animation: fadeInUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.8s both;
}

/* SVG Wave section divider */
.wave-divider {
    position: relative; width: 100%; overflow: hidden; line-height: 0;
    margin-top: -1px;
}
.wave-divider svg {
    display: block; width: 100%; height: auto;
}
.wave-divider.flip { transform: rotate(180deg); }

/* ===== BUTTONS — gradient shift + ripple ===== */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 24px; border-radius: 8px;
    font-size: 14px; font-weight: 600; cursor: pointer;
    border: none; transition: var(--transition-bounce);
    font-family: var(--font-kr); text-decoration: none;
    min-height: 44px; justify-content: center; white-space: nowrap;
    position: relative; overflow: hidden;
}
.btn-primary {
    background: linear-gradient(135deg, var(--green), var(--green-dark), var(--green));
    background-size: 200% 200%;
    color: var(--navy-dark);
    box-shadow: 0 4px 16px rgba(0,200,83,0.3);
}
.btn-primary::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.25) 50%, transparent 70%);
    transform: translateX(-100%); transition: transform 0.6s;
}
.btn-primary:hover::before { transform: translateX(100%); }
.btn-primary:hover {
    background-position: 100% 100%;
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0,200,83,0.5);
}
.btn-primary:active { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,200,83,0.3); }

/* Ripple effect for buttons */
.btn .ripple {
    position: absolute; border-radius: 50%;
    background: rgba(255,255,255,0.35);
    animation: rippleExpand 0.6s ease-out forwards;
    pointer-events: none;
    width: 20px; height: 20px;
}

.btn-outline {
    background: transparent; color: var(--white);
    border: 1px solid rgba(255,255,255,0.3);
}
.btn-outline::before {
    content: ''; position: absolute; inset: 0;
    background: rgba(0,200,83,0.08);
    transform: scaleX(0); transform-origin: right; transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn-outline:hover::before { transform: scaleX(1); transform-origin: left; }
.btn-outline:hover {
    border-color: var(--green); color: var(--green);
}
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-light); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-sm { padding: 8px 16px; font-size: 13px; min-height: 36px; }
.btn-lg { padding: 14px 32px; font-size: 15px; }
.btn-block { width: 100%; justify-content: center; }
.btn-red { background: var(--red); color: var(--white); }

/* ===== DELIVERY STATS STRIP ===== */
.delivery-strip {
    background: var(--navy-dark);
    border-top: 1px solid rgba(0,200,83,0.1);
    border-bottom: 1px solid rgba(0,200,83,0.1);
    padding: 32px 0;
    position: relative;
}
.delivery-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 16px; text-align: center;
}
.delivery-item {
    padding: 12px 8px;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    border-radius: var(--radius);
}
.delivery-item:hover {
    transform: scale(1.1) translateY(-4px);
    background: rgba(0,200,83,0.05);
}
.delivery-value {
    font-family: var(--font-en); font-size: 32px;
    font-weight: 700; color: var(--green);
    text-shadow: 0 0 30px rgba(0,200,83,0.3);
    transition: text-shadow 0.3s ease;
}
.delivery-item:hover .delivery-value {
    text-shadow: 0 0 50px rgba(0,200,83,0.6);
    animation: neonPulse 1.5s ease-in-out infinite;
}
.delivery-label {
    color: rgba(255,255,255,0.5); font-size: 13px;
    margin-top: 4px; line-height: 1.4;
}

/* ===== SECTIONS ===== */
.section { padding: 80px 0; position: relative; }
.section-dark { background: var(--gray-100); }
.section-navy { background: var(--navy); color: var(--white); }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 {
    font-size: clamp(24px, 5vw, 36px);
    font-weight: 800; color: var(--navy);
    margin-bottom: 12px; letter-spacing: -0.5px;
}
.section-navy .section-header h2 { color: var(--white); }
.section-header p {
    font-size: 15px; color: var(--gray-700);
    max-width: 600px; margin: 0 auto; line-height: 1.8; padding: 0 8px;
}
.section-navy .section-header p { color: rgba(255,255,255,0.6); }
.section-tag {
    display: inline-block; color: var(--green); font-size: 12px;
    font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
    margin-bottom: 8px; font-family: var(--font-en);
    position: relative; padding-bottom: 4px;
}
.section-tag::after {
    content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 2px;
    background: var(--green); transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1), left 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.animated .section-tag::after,
.section-tag:hover::after {
    width: 100%; left: 0;
}

/* ===== SERVICE CARDS — 3D tilt + mouse glow ===== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
    background: var(--white); border-radius: var(--radius-lg);
    padding: 32px 24px; border: 1px solid var(--gray-300);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1); position: relative; overflow: hidden;
    transform-style: preserve-3d;
    perspective: 800px;
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--green), var(--gold), var(--green));
    background-size: 200% auto;
    transform: scaleX(0); transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); transform-origin: left;
}
.service-card::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0,200,83,0.08) 0%, transparent 60%);
    opacity: 0; transition: opacity 0.4s ease;
    pointer-events: none;
}
.service-card:hover {
    transform: translateY(-8px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
    box-shadow: 0 20px 60px rgba(0,200,83,0.15), var(--shadow-glow);
    border-color: rgba(0,200,83,0.3);
}
.service-card:hover::before { transform: scaleX(1); animation: shimmer 2s linear infinite; }
.service-card:hover::after { opacity: 1; }
.service-icon {
    width: 52px; height: 52px; border-radius: 14px;
    background: linear-gradient(135deg, rgba(0,200,83,0.12), rgba(15,43,74,0.08));
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; margin-bottom: 16px; color: var(--navy);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.service-card:hover .service-icon {
    transform: scale(1.12) rotate(-5deg);
    background: linear-gradient(135deg, rgba(0,200,83,0.25), rgba(15,43,74,0.15));
    box-shadow: 0 4px 20px rgba(0,200,83,0.25);
    animation: iconBounce 0.8s ease-in-out infinite;
}
.service-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--navy); }
.service-card p { color: var(--gray-700); font-size: 14px; line-height: 1.8; }
.service-card .more-link {
    display: inline-flex; align-items: center; gap: 4px;
    color: var(--green-dark); font-size: 13px; font-weight: 600; margin-top: 14px;
}
.service-card:hover .more-link { gap: 8px; }

/* ===== DELIVERY TABLE — gradient highlight ===== */
.table-responsive {
    width: 100%; overflow-x: auto;
    -webkit-overflow-scrolling: touch; margin-bottom: 8px;
    position: relative;
}
.delivery-table {
    width: 100%; border-collapse: collapse;
    border-radius: var(--radius); overflow: hidden; min-width: 400px;
}
.delivery-table th {
    background: var(--navy); color: var(--white);
    padding: 12px 14px; font-size: 13px;
    font-weight: 600; text-align: center; white-space: nowrap;
}
.delivery-table td {
    padding: 12px 14px; text-align: center;
    border-bottom: 1px solid var(--gray-300); font-size: 14px;
    transition: all 0.3s ease;
}
.delivery-table tr:last-child td { border-bottom: none; }
.delivery-table tbody tr {
    transition: all 0.3s ease;
}
.delivery-table tbody tr:hover {
    background: linear-gradient(90deg, rgba(0,200,83,0.06), rgba(212,168,67,0.04), rgba(0,200,83,0.06));
    transform: scale(1.01);
}
.delivery-table tbody tr:hover td { border-bottom-color: rgba(0,200,83,0.15); }
.delivery-table .fast {
    color: var(--green-dark); font-weight: 700; font-family: var(--font-en);
    position: relative;
}
.delivery-table tbody tr:hover .fast {
    text-shadow: 0 0 16px rgba(0,200,83,0.4);
    animation: neonPulse 2s ease-in-out infinite;
}

/* ===== SPEC GRID ===== */
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.spec-item {
    display: flex; align-items: flex-start; gap: 12px; padding: 16px;
    background: var(--white); border-radius: var(--radius); border: 1px solid var(--gray-300);
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.spec-item:hover {
    transform: translateX(6px); border-color: rgba(0,200,83,0.3);
    box-shadow: 0 4px 16px rgba(0,200,83,0.08);
    background: linear-gradient(135deg, var(--white) 0%, rgba(0,200,83,0.02) 100%);
}
.spec-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--green); margin-top: 7px; flex-shrink: 0;
    transition: all 0.35s ease;
}
.spec-item:hover .spec-dot {
    transform: scale(1.5); box-shadow: 0 0 8px var(--green-glow);
}
.spec-item dt { font-weight: 700; font-size: 14px; color: var(--navy); margin-bottom: 4px; }
.spec-item dd { font-size: 13px; color: var(--gray-700); line-height: 1.6; }

/* ===== STATS COUNTER ===== */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-card {
    text-align: center; padding: 24px 8px;
    transition: transform 0.3s ease;
}
.stat-card:hover { transform: translateY(-6px); }
.stat-number {
    font-family: var(--font-en); font-size: clamp(32px, 6vw, 48px);
    font-weight: 800; color: var(--green);
    text-shadow: 0 0 40px rgba(0,200,83,0.3);
}
.stat-number small { font-size: clamp(16px, 3vw, 24px); color: rgba(255,255,255,0.5); }
.stat-label { color: rgba(255,255,255,0.7); font-size: 13px; margin-top: 6px; line-height: 1.4; }

/* ===== QUOTE FORM — neon focus ===== */
.quote-section { background: linear-gradient(180deg, var(--gray-100) 0%, var(--white) 100%); }
.quote-form-wrap {
    background: var(--white); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); padding: 40px;
    border: 1px solid var(--gray-300);
    position: relative;
    transition: box-shadow 0.4s ease;
}
.quote-form-wrap:hover {
    box-shadow: 0 12px 48px rgba(0,0,0,0.1);
}
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
    display: block; font-size: 14px; font-weight: 600;
    color: var(--navy); margin-bottom: 6px;
    transition: all 0.3s ease;
}
.form-group label .required { color: var(--red); margin-left: 2px; }
.form-control {
    width: 100%; padding: 12px 14px; border: 1px solid var(--gray-300);
    border-radius: var(--radius); font-size: 16px;
    font-family: var(--font-kr); transition: var(--transition);
    background: var(--white);
    -webkit-appearance: none; appearance: none;
}
.form-control:focus {
    outline: none; border-color: var(--green);
    box-shadow: 0 0 0 4px var(--green-glow), 0 0 20px rgba(0,200,83,0.15), 0 0 40px rgba(0,200,83,0.05);
    transform: translateY(-1px);
}
select.form-control {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23616161' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center;
    padding-right: 36px;
}
textarea.form-control { min-height: 120px; resize: vertical; }
.form-control-file {
    width: 100%; padding: 32px 16px; border: 2px dashed var(--gray-300);
    border-radius: var(--radius); text-align: center;
    cursor: pointer; transition: var(--transition); background: var(--gray-100);
}
.form-control-file:hover {
    border-color: var(--green); background: rgba(0,200,83,0.03);
    transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,200,83,0.1);
}
.form-control-file p { color: var(--gray-700); font-size: 13px; }
.form-control-file .icon { font-size: 28px; margin-bottom: 8px; }

/* Form focus label effect — neon */
.form-group.focused label {
    color: var(--green-dark);
    text-shadow: 0 0 8px rgba(0,200,83,0.2);
    transition: all 0.3s ease;
}

/* ===== ORDER TRACKER ===== */
.order-progress {
    display: flex; justify-content: space-between;
    padding: 32px 0; position: relative;
}
.order-progress::before {
    content: ''; position: absolute; top: 50%; left: 0; right: 0;
    height: 3px; background: var(--gray-300); transform: translateY(-18px);
}
.progress-step { text-align: center; position: relative; z-index: 1; flex: 1; }
.progress-dot {
    width: 32px; height: 32px; border-radius: 50%; background: var(--gray-300);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 8px; font-size: 12px; font-weight: 700;
    color: var(--white); transition: var(--transition);
}
.progress-step.active .progress-dot {
    background: var(--green); box-shadow: 0 0 0 5px var(--green-glow);
    animation: glowPulse 2s ease-in-out infinite;
}
.progress-step.done .progress-dot { background: var(--navy); }
.progress-step .step-label { font-size: 11px; color: var(--gray-500); }
.progress-step.active .step-label { color: var(--green-dark); font-weight: 700; }
.progress-step.done .step-label { color: var(--navy); font-weight: 600; }

/* ===== PAGE HEADER — deeper perspective ===== */
@keyframes headerGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.page-header {
    background: linear-gradient(160deg, var(--navy-dark), var(--navy), #0a3d2e, var(--navy-dark));
    background-size: 300% 300%;
    animation: headerGradient 12s ease infinite;
    padding: 120px 0 60px; text-align: center;
    position: relative; overflow: hidden;
}
.page-header::before {
    content: ''; position: absolute; inset: 0; opacity: 0.05;
    background-image:
        linear-gradient(rgba(0,200,83,0.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,200,83,0.5) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: circuitFlow 12s linear infinite;
    transform: perspective(500px) rotateX(15deg);
    transform-origin: center bottom;
}
.page-header::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 40%;
    background: linear-gradient(to top, rgba(9,29,51,0.5) 0%, transparent 100%);
    pointer-events: none;
}
.page-header h1 {
    font-size: clamp(24px, 5vw, 40px); color: var(--white);
    font-weight: 800; margin-bottom: 8px; position: relative;
    animation: fadeInUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}
.page-header .breadcrumb {
    color: rgba(255,255,255,0.5); font-size: 13px; position: relative;
    animation: fadeInUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both;
}
.page-header .breadcrumb a { color: rgba(255,255,255,0.7); }
.page-header .breadcrumb a:hover { color: var(--green); }

/* ===== CONTENT AREA — 3-color gradient bar ===== */
.content-area { padding: 60px 0; }
.content-card {
    background: var(--white); border-radius: var(--radius-lg);
    box-shadow: var(--shadow); padding: 32px; margin-bottom: 24px;
    border: 1px solid var(--gray-300);
    transition: box-shadow 0.4s ease, transform 0.4s ease, border-color 0.4s ease, background 0.4s ease;
    position: relative; overflow: hidden;
}
.content-card::after {
    content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 100%;
    background: linear-gradient(180deg, var(--green), var(--gold), var(--navy));
    transform: scaleY(0); transform-origin: top; transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.content-card:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.1); transform: translateY(-3px);
    border-color: rgba(0,200,83,0.2);
    background: linear-gradient(135deg, var(--white) 0%, rgba(0,200,83,0.01) 50%, rgba(212,168,67,0.01) 100%);
}
.content-card:hover::after { transform: scaleY(1); }
.content-card h3 {
    font-size: 20px; font-weight: 700; color: var(--navy);
    margin-bottom: 20px; padding-bottom: 14px;
    border-bottom: 2px solid var(--gray-100);
}

/* ===== TIMELINE ===== */
.timeline { position: relative; padding-left: 36px; }
.timeline::before {
    content: ''; position: absolute; left: 10px; top: 0; bottom: 0;
    width: 2px; background: linear-gradient(var(--green), var(--gold), var(--navy));
}
.timeline-item {
    position: relative; padding-bottom: 28px;
    transition: transform 0.3s ease;
}
.timeline-item:hover { transform: translateX(6px); }
.timeline-item::before {
    content: ''; position: absolute; left: -30px; top: 4px;
    width: 10px; height: 10px; border-radius: 50%; background: var(--green);
    border: 2px solid var(--white); box-shadow: 0 0 0 3px var(--green-glow);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.timeline-item:hover::before {
    box-shadow: 0 0 0 6px var(--green-glow), 0 0 16px var(--green-neon);
    transform: scale(1.3);
}
.timeline-year {
    font-family: var(--font-en); font-size: 18px;
    font-weight: 800; color: var(--navy);
}
.timeline-content { font-size: 14px; color: var(--gray-700); margin-top: 4px; line-height: 1.6; }

/* ===== BOARD LIST ===== */
.board-table { width: 100%; border-collapse: collapse; }
.board-table th {
    padding: 12px 12px; background: var(--navy); color: var(--white);
    font-size: 13px; font-weight: 600; text-align: center; white-space: nowrap;
}
.board-table td {
    padding: 12px 12px; border-bottom: 1px solid var(--gray-300); font-size: 14px;
}
.board-table tbody tr {
    transition: all 0.3s ease;
}
.board-table tbody tr:hover {
    background: linear-gradient(90deg, rgba(0,200,83,0.04), transparent, rgba(0,200,83,0.04));
}
.board-table tbody tr:hover td { background: transparent; }
.board-table tbody tr:hover .title a { color: var(--green-dark); }
.board-table .no { text-align: center; width: 50px; color: var(--gray-500); }
.board-table .title a { color: var(--gray-900); font-weight: 500; }
.board-table .title a:hover { color: var(--green-dark); }
.board-table .date {
    text-align: center; color: var(--gray-500);
    font-size: 12px; width: 90px; white-space: nowrap;
}
.board-table .views {
    text-align: center; color: var(--gray-500); font-size: 12px; width: 60px;
}
.pinned-badge {
    background: var(--red); color: var(--white); font-size: 10px;
    padding: 2px 6px; border-radius: 3px; margin-right: 4px; vertical-align: middle;
    animation: pulse 2s ease-in-out infinite;
}

/* ===== FAQ — glow + slide ===== */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
    border: 1px solid var(--gray-300); border-radius: var(--radius); overflow: hidden;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.faq-item:hover {
    border-color: rgba(0,200,83,0.2); transform: translateX(6px);
    box-shadow: 0 2px 12px rgba(0,200,83,0.06);
}
.faq-item.open {
    border-color: rgba(0,200,83,0.4);
    box-shadow: 0 4px 24px rgba(0,200,83,0.15), var(--shadow-glow);
    transform: translateX(0);
}
.faq-question {
    padding: 16px 20px; cursor: pointer;
    display: flex; justify-content: space-between;
    align-items: flex-start; gap: 12px;
    font-weight: 600; color: var(--navy); font-size: 14px;
    transition: var(--transition); min-height: 44px;
}
.faq-question:hover { background: var(--gray-100); }
.faq-question .icon {
    font-size: 20px; transition: var(--transition);
    color: var(--green); flex-shrink: 0; line-height: 1;
}
.faq-item.open .faq-question .icon { transform: rotate(45deg); }
.faq-answer {
    padding: 0 20px; color: var(--gray-700);
    font-size: 14px; line-height: 1.8;
    max-height: 0; overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1), padding 0.3s ease;
}
.faq-item.open .faq-answer {
    max-height: 500px; padding-bottom: 16px;
}
.faq-category {
    display: inline-block; font-size: 11px; padding: 2px 8px;
    border-radius: 50px; background: rgba(0,200,83,0.1);
    color: var(--green-dark); margin-bottom: 6px;
}

/* ===== STATUS BADGES ===== */
.status-badge {
    display: inline-block; padding: 3px 10px; border-radius: 50px;
    font-size: 11px; font-weight: 600; white-space: nowrap;
}
.status-received { background: #e3f2fd; color: #1565c0; }
.status-design { background: #fff3e0; color: #e65100; }
.status-manufacturing { background: #fce4ec; color: #c62828; }
.status-inspection { background: #f3e5f5; color: #7b1fa2; }
.status-shipping { background: #e8f5e9; color: #2e7d32; }
.status-delivered { background: #e8f5e9; color: #1b5e20; }
.status-cancelled { background: #ffebee; color: #c62828; }
.status-pending { background: #f5f5f5; color: #616161; }

/* ===== AUTH FORMS ===== */
.auth-wrap { max-width: 480px; margin: 0 auto; padding: 40px 0; }
.auth-card {
    background: var(--white); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); padding: 36px; border: 1px solid var(--gray-300);
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}
.auth-card:hover {
    box-shadow: 0 12px 48px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}
.auth-card h2 { text-align: center; margin-bottom: 28px; color: var(--navy); font-size: 22px; }

/* ===== FOOTER — 3-color gradient top line + neon links ===== */
.site-footer {
    background: var(--navy-dark); color: rgba(255,255,255,0.6); padding: 48px 0 0;
    position: relative;
}
.site-footer::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--green), var(--gold), var(--navy-light), var(--green));
    background-size: 200% auto;
    animation: shimmer 6s linear infinite;
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px; margin-bottom: 32px;
}
.footer-brand .footer-logo {
    font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 12px;
    display: flex; align-items: center; gap: 10px;
}
.footer-brand .footer-logo span { color: var(--green); }
.footer-logo-img {
    height: 36px; width: auto;
    filter: drop-shadow(0 0 6px rgba(0,200,83,0.15));
}
.footer-brand p { font-size: 13px; line-height: 1.8; }
.footer-col h4 { color: var(--white); font-size: 14px; margin-bottom: 14px; }
.footer-col ul li { margin-bottom: 6px; }
.footer-col ul li a {
    font-size: 13px; color: rgba(255,255,255,0.5);
    transition: all 0.3s ease; position: relative;
}
.footer-col ul li a:hover {
    color: var(--green); padding-left: 12px;
    text-shadow: 0 0 8px rgba(0,200,83,0.3);
}
.footer-col ul li a::before {
    content: ''; position: absolute; left: 0; top: 50%; width: 0; height: 1px;
    background: var(--green); transition: width 0.3s ease;
}
.footer-col ul li a:hover::before { width: 6px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0;
    display: flex; justify-content: space-between; align-items: center; font-size: 12px;
}
.footer-bottom .copyright { color: rgba(255,255,255,0.4); }

/* ===== MAP ===== */
.map-container { border-radius: var(--radius); overflow: hidden; height: 300px; background: var(--gray-100); position: relative; }
.map-container iframe { width: 100%; height: 100%; border: none; }
.kakao-map-link { display: block; width: 100%; height: 100%; position: relative; }
.kakao-map-link img { width: 100%; height: 100%; object-fit: cover; display: block; transition: var(--transition); }
.map-overlay {
    position: absolute; inset: 0;
    background: rgba(15, 43, 74, 0);
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
}
.map-overlay span {
    background: var(--green); color: var(--white);
    padding: 10px 24px; border-radius: 24px;
    font-size: 14px; font-weight: 600;
    opacity: 0; transform: translateY(8px);
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(0,200,83,0.3);
}
.kakao-map-link:hover .map-overlay { background: rgba(15, 43, 74, 0.4); }
.kakao-map-link:hover .map-overlay span { opacity: 1; transform: translateY(0); }

/* ===== CONTACT INFO ===== */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact-item {
    text-align: center; padding: 24px 16px; background: var(--white);
    border-radius: var(--radius); border: 1px solid var(--gray-300);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.contact-item:hover {
    transform: translateY(-6px); border-color: rgba(0,200,83,0.3);
    box-shadow: 0 12px 32px rgba(0,200,83,0.1);
}
.contact-item .icon {
    font-size: 28px; margin-bottom: 10px;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.contact-item:hover .icon { transform: scale(1.2) rotate(-8deg); }
.contact-item h4 { font-size: 13px; color: var(--navy); margin-bottom: 6px; }
.contact-item p { font-size: 13px; color: var(--gray-700); line-height: 1.6; }

/* ===== PAGINATION ===== */
.pagination { display: flex; justify-content: center; gap: 4px; padding: 28px 0; flex-wrap: wrap; }
.pagination a, .pagination span {
    display: flex; align-items: center; justify-content: center;
    min-width: 40px; height: 40px; padding: 0 8px;
    border: 1px solid var(--gray-300); border-radius: 6px;
    font-size: 14px; color: var(--gray-700);
}
.pagination a:hover { border-color: var(--green); color: var(--green-dark); transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,200,83,0.15); }
.pagination .current { background: var(--navy); color: var(--white); border-color: var(--navy); box-shadow: 0 2px 8px rgba(15,43,74,0.3); }

/* ===== LINK HOVER UNDERLINE EFFECT ===== */
.more-link {
    position: relative;
}
.more-link::after {
    content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 1.5px;
    background: var(--green-dark);
    transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.more-link:hover::after { width: 100%; }

/* ===== ALERT ===== */
.alert {
    padding: 14px 16px; border-radius: var(--radius); margin-bottom: 16px;
    font-size: 14px; display: flex; align-items: flex-start; gap: 8px; line-height: 1.6;
}
.alert-success { background: #e8f5e9; color: #2e7d32; border: 1px solid #c8e6c9; }
.alert-error { background: #ffebee; color: #c62828; border: 1px solid #ffcdd2; }
.alert-info { background: #e3f2fd; color: #1565c0; border: 1px solid #bbdefb; }


/* ===========================================================
   TABLET (1024px 이하)
   =========================================================== */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
    .delivery-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .spec-grid { grid-template-columns: 1fr; }
    .nav-menu > li > a { padding: 20px 12px; font-size: 13px; }
}


/* ===========================================================
   MOBILE (768px 이하)
   =========================================================== */
@media (max-width: 768px) {
    body { line-height: 1.75; font-size: 15px; }
    .container, .container-narrow { padding: 0 var(--mobile-pad); }
    .br-desktop { display: none; }

    /* 전체 텍스트 줄바꿈 최적화 */
    p, dd, li, td, th, .faq-answer, .timeline-content, .alert,
    .service-card p, .content-card p, .footer-brand p, .contact-item p,
    .hero-subtitle, .section-header p {
        word-break: keep-all;
        overflow-wrap: break-word;
        -webkit-hyphens: auto;
        hyphens: auto;
    }
    /* 영문 혼합 영역 글자 단위 줄바꿈 허용 */
    .service-card p, .spec-item dd, .faq-answer {
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    /* 헤더 / 모바일 메뉴 */
    .nav-wrap { height: 56px; }
    .logo-img { height: 28px; }
    .logo-text { font-size: 14px; }
    .menu-toggle { display: flex; }
    .nav-menu {
        position: fixed; top: 56px; left: 0; right: 0; bottom: 0;
        background: var(--navy-dark); flex-direction: column;
        padding: 16px 20px env(safe-area-inset-bottom, 20px);
        overflow-y: auto; -webkit-overflow-scrolling: touch;
        transform: translateX(100%); transition: var(--transition); z-index: 999;
    }
    .nav-menu.open { transform: translateX(0); }
    .nav-menu > li > a {
        padding: 14px 0; font-size: 16px;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        min-height: 48px; display: flex; align-items: center;
    }
    .nav-menu > li:last-child > a { border-bottom: none; }
    .nav-menu .dropdown {
        position: static; opacity: 1; visibility: visible; transform: none;
        background: transparent; border: none; box-shadow: none; padding: 4px 0 8px 16px;
    }
    .dropdown a {
        padding: 12px 0; font-size: 15px; border-left: none;
        min-height: 44px; display: flex; align-items: center;
    }
    .nav-menu .btn.btn-sm {
        margin-left: 0 !important; margin-top: 8px;
        width: 100%; justify-content: center; padding: 14px;
    }

    /* 히어로 */
    .hero { min-height: auto; padding: 80px 0 48px; }
    .hero-content { padding: 24px 0; }
    .hero-badge { font-size: 10px; padding: 5px 14px; margin-bottom: 20px; }
    .hero h1 {
        font-size: 26px; line-height: 1.4; letter-spacing: -0.5px;
        padding: 0 var(--mobile-pad); word-break: keep-all;
    }
    .hero h1 br { display: none; }
    .hero-subtitle {
        font-size: 14px; line-height: 1.9; margin-bottom: 28px;
        padding: 0 var(--mobile-pad); word-break: keep-all;
    }
    .hero-subtitle br { display: none; }
    .hero-actions {
        flex-direction: column; align-items: stretch;
        gap: 10px; padding: 0 var(--mobile-pad);
    }
    .hero-actions .btn {
        width: 100%; max-width: none; justify-content: center;
        white-space: normal;
    }
    .btn-lg { padding: 14px 24px; font-size: 15px; }

    /* 납기 스트립 */
    .delivery-strip { padding: 24px 0; }
    .delivery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .delivery-item { padding: 16px 8px; }
    .delivery-value { font-size: 28px; }
    .delivery-label { font-size: 12px; line-height: 1.5; word-break: keep-all; }

    /* 섹션 공통 */
    .section { padding: 48px 0; }
    .section-header { margin-bottom: 32px; }
    .section-header h2 { font-size: 22px; }
    .section-header p { font-size: 14px; line-height: 1.8; padding: 0 4px; }

    /* 서비스 카드 */
    .services-grid { grid-template-columns: 1fr; gap: 14px; }
    .service-card { padding: 24px 20px; }
    .service-card:hover { transform: none; }
    .service-icon { width: 44px; height: 44px; font-size: 20px; margin-bottom: 12px; }
    .service-card h3 { font-size: 17px; margin-bottom: 8px; }
    .service-card p { font-size: 14px; line-height: 1.85; }

    /* 통계 카운터 */
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .stat-card { padding: 20px 8px; }
    .stat-number { font-size: 32px; }
    .stat-number small { font-size: 18px; }
    .stat-label { font-size: 12px; word-break: keep-all; }

    /* 테이블 가로 스크롤 */
    .table-responsive { border-radius: var(--radius); position: relative; }
    .table-responsive::before {
        content: '← 좌우 스크롤 →';
        display: block; text-align: center;
        font-size: 11px; color: var(--gray-500);
        padding: 6px 0; margin-bottom: 4px;
    }
    .delivery-table { min-width: 320px; }
    .delivery-table th { padding: 10px 8px; font-size: 12px; }
    .delivery-table td { padding: 10px 8px; font-size: 13px; }
    .delivery-table td strong { font-size: 12px; }

    /* 게시판 모바일 카드 뷰 */
    .board-table thead { display: none; }
    .board-table, .board-table tbody, .board-table tr, .board-table td {
        display: block; width: 100%;
    }
    .board-table tr {
        padding: 14px 0; border-bottom: 1px solid var(--gray-300);
    }
    .board-table td { padding: 2px 0; border-bottom: none; text-align: left; }
    .board-table .no { display: none; }
    .board-table .title {
        font-size: 15px; font-weight: 600; margin-bottom: 4px;
        line-height: 1.6; word-break: keep-all;
    }
    .board-table .date, .board-table .views {
        display: inline-block; width: auto; text-align: left;
        font-size: 12px; color: var(--gray-500); margin-right: 12px;
    }

    /* 스펙 */
    .spec-grid { grid-template-columns: 1fr; gap: 10px; }
    .spec-item { padding: 14px; gap: 10px; }
    .spec-item dt { font-size: 14px; }
    .spec-item dd { font-size: 13px; line-height: 1.7; }

    /* 폼 */
    .form-grid { grid-template-columns: 1fr; gap: 12px; }
    .form-group { margin-bottom: 12px; }
    .form-group label { font-size: 13px; margin-bottom: 8px; }
    .quote-form-wrap { padding: 24px var(--mobile-pad); }
    .quote-form-wrap h2 { font-size: 20px !important; }
    .quote-form-wrap h4 { font-size: 15px; }
    .form-control { padding: 14px 12px; font-size: 16px; border-radius: 10px; }
    textarea.form-control { min-height: 100px; }
    .form-control-file { padding: 24px 12px; }
    .form-control-file p { font-size: 13px; }
    .form-group div[style*="display:flex"][style*="gap:24px"] {
        flex-direction: column; gap: 12px !important;
    }

    /* 콘텐츠 */
    .content-area { padding: 40px 0; }
    .content-card { padding: 24px var(--mobile-pad); margin-bottom: 16px; border-radius: var(--radius); }
    .content-card h3 { font-size: 18px; margin-bottom: 16px; padding-bottom: 12px; }
    .content-card p { font-size: 14px; line-height: 1.85; }
    .content-card p[style*="font-size:16px"] {
        font-size: 14px !important; line-height: 1.9 !important;
    }

    /* 페이지 헤더 */
    .page-header { padding: 80px 0 36px; }
    .page-header h1 { font-size: 24px; }
    .page-header .breadcrumb { font-size: 12px; }

    /* 주문 진행 3x2 그리드 */
    .order-progress {
        display: grid; grid-template-columns: repeat(3, 1fr);
        gap: 16px; padding: 24px 0;
    }
    .order-progress::before { display: none; }
    .progress-dot { width: 32px; height: 32px; font-size: 12px; margin-bottom: 6px; }
    .progress-step .step-label { font-size: 11px; word-break: keep-all; }

    /* 연락처 */
    .contact-grid { grid-template-columns: 1fr; gap: 10px; }
    .contact-item { padding: 20px 16px; }
    .contact-item p { word-break: break-all; }

    /* FAQ */
    .faq-question { padding: 14px 16px; font-size: 14px; min-height: 48px; }
    .faq-answer { padding: 0 16px 14px; font-size: 14px; line-height: 1.85; }

    /* 타임라인 */
    .timeline { padding-left: 28px; }
    .timeline-item::before { left: -22px; width: 8px; height: 8px; }
    .timeline-year { font-size: 16px; }
    .timeline-content { font-size: 14px; line-height: 1.7; }

    /* 인증 폼 */
    .auth-wrap { padding: 24px 0; }
    .auth-card { padding: 28px 20px; }
    .auth-card h2 { font-size: 20px; margin-bottom: 24px; }

    /* 푸터 */
    .site-footer { padding: 36px 0 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .footer-brand p { font-size: 13px; line-height: 1.9; word-break: break-all; }
    .footer-col h4 { font-size: 14px; margin-bottom: 10px; }
    .footer-col ul { display: flex; flex-wrap: wrap; gap: 8px 16px; }
    .footer-col ul li { margin-bottom: 0; }
    .footer-col ul li a { font-size: 14px; padding: 4px 0; display: inline-block; }
    .footer-bottom {
        flex-direction: column; gap: 8px; text-align: center;
        padding: 16px var(--mobile-pad); font-size: 11px;
    }
    .footer-bottom .copyright { word-break: break-word; line-height: 1.7; }

    /* 지도 */
    .map-container { height: 220px; }

    /* 페이지네이션 */
    .pagination a, .pagination span { min-width: 40px; height: 40px; font-size: 13px; }

    /* 알럿 */
    .alert { font-size: 14px; padding: 14px 14px; flex-direction: column; gap: 4px; }

    /* CTA 섹션 인라인 오버라이드 */
    .section .hero-actions[style*="padding:0"] {
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 0 var(--mobile-pad) !important;
    }
    .section .hero-actions .btn { white-space: normal; }

    /* 견적 성공 화면 */
    .auth-wrap[style*="max-width:600px"] { max-width: 100% !important; }

    /* Wave divider mobile */
    .wave-divider svg { height: 30px; }
}


/* ===========================================================
   SMALL MOBILE (480px 이하)
   =========================================================== */
@media (max-width: 480px) {
    :root { --mobile-pad: 12px; --mobile-pad-sm: 8px; }
    body { font-size: 14px; }
    .container, .container-narrow { padding: 0 var(--mobile-pad); }
    .logo-img { height: 24px; }
    .logo-text { font-size: 13px; }

    .hero h1 { font-size: 22px; line-height: 1.45; padding: 0 var(--mobile-pad-sm); }
    .hero-subtitle { font-size: 13px; line-height: 1.9; padding: 0 var(--mobile-pad-sm); }
    .hero-badge { font-size: 9px; letter-spacing: 1px; }
    .hero-actions { padding: 0 var(--mobile-pad-sm); }

    .delivery-value { font-size: 24px; }
    .delivery-label { font-size: 11px; }
    .stats-grid { gap: 4px; }
    .stat-number { font-size: 28px; }
    .stat-label { font-size: 11px; }
    .section-header h2 { font-size: 20px; }
    .section-header p { font-size: 13px; padding: 0 4px; }
    .section { padding: 40px 0; }

    .service-card { padding: 20px 14px; }
    .service-card h3 { font-size: 16px; }
    .service-card p { font-size: 13px; line-height: 1.85; }

    .content-card { padding: 20px var(--mobile-pad); }
    .content-card h3 { font-size: 16px; }
    .content-card p { font-size: 13px; }
    .content-card p[style*="font-size:16px"] { font-size: 13px !important; }

    .quote-form-wrap { padding: 20px var(--mobile-pad); }
    .form-control { padding: 13px 12px; }
    .auth-card { padding: 20px var(--mobile-pad); }

    .page-header { padding: 72px 0 28px; }
    .page-header h1 { font-size: 20px; }

    .order-progress { gap: 10px; }
    .progress-dot { width: 28px; height: 28px; font-size: 11px; }
    .progress-step .step-label { font-size: 10px; }

    .btn { padding: 12px 18px; font-size: 14px; }
    .btn-lg { padding: 13px 20px; font-size: 14px; }
    .footer-brand p { font-size: 12px; }
    .footer-col ul li a { font-size: 13px; }
    .faq-question { padding: 14px var(--mobile-pad); font-size: 14px; }
    .faq-answer { padding: 0 var(--mobile-pad) 14px; font-size: 13px; }
    .spec-item dt { font-size: 13px; }
    .spec-item dd { font-size: 12px; }
    .board-table .title { font-size: 14px; }
    .alert { font-size: 13px; padding: 12px var(--mobile-pad); }
    .contact-item { padding: 16px 12px; }
    .contact-item h4 { font-size: 13px; }
    .contact-item p { font-size: 13px; }
    .timeline-year { font-size: 15px; }
    .timeline-content { font-size: 13px; }
}


/* ===========================================================
   EXTRA SMALL (360px 이하) — SE, 구형 기기
   =========================================================== */
@media (max-width: 360px) {
    .hero h1 { font-size: 20px; }
    .hero-subtitle { font-size: 12px; }
    .delivery-grid { grid-template-columns: repeat(2, 1fr); gap: 4px; }
    .delivery-value { font-size: 22px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-number { font-size: 24px; }
    .section-header h2 { font-size: 18px; }
    .content-card { padding: 16px 12px; }
    .order-progress { grid-template-columns: repeat(2, 1fr); }
}


/* ===========================================================
   유틸리티 & 접근성
   =========================================================== */

/* iOS Safe Area */
@supports (padding: max(0px)) {
    .site-header {
        padding-left: max(0px, env(safe-area-inset-left));
        padding-right: max(0px, env(safe-area-inset-right));
    }
    .site-footer { padding-bottom: max(0px, env(safe-area-inset-bottom)); }
}

/* 포커스 가시성 */
*:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

/* 모션 감소 선호 */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .animate-on-scroll { opacity: 1; transform: none; filter: none; }
    .hero { animation: none; background-size: 100% 100%; }
    .hero-particle { display: none; }
    #particles-js { display: none; }
    .typed-cursor { animation: none; }
    .process-swiper { overflow: visible; }
    .swiper-wrapper { transform: none !important; flex-wrap: wrap; gap: 16px; }
    .swiper-slide { flex: 0 0 auto; width: calc(33.333% - 12px) !important; }
    [data-aos] { opacity: 1 !important; transform: none !important; }
}

/* ===========================================================
   PLUGIN CUSTOM THEMES
   =========================================================== */

/* ===== Swiper 커스텀 ===== */
.process-swiper {
    padding-bottom: 48px;
}
.process-swiper .swiper-pagination-bullet {
    background: var(--green);
    opacity: 0.3;
    width: 10px; height: 10px;
    transition: var(--transition);
}
.process-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    width: 28px;
    border-radius: 5px;
}
.process-swiper .swiper-button-prev,
.process-swiper .swiper-button-next {
    color: var(--green);
    background: rgba(255,255,255,0.9);
    width: 40px; height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    transition: var(--transition);
}
.process-swiper .swiper-button-prev:hover,
.process-swiper .swiper-button-next:hover {
    background: var(--green);
    color: var(--white);
    box-shadow: var(--shadow-glow);
}
.process-swiper .swiper-button-prev::after,
.process-swiper .swiper-button-next::after {
    font-size: 16px;
    font-weight: 700;
}
.process-card {
    background: var(--navy);
    border: 1px solid rgba(0,200,83,0.2);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.process-card:hover {
    background: var(--navy-dark);
    border-color: var(--green);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,200,83,0.25);
}
.process-number {
    position: absolute;
    top: 12px; right: 16px;
    font-family: var(--font-en);
    font-size: 36px; font-weight: 800;
    color: rgba(0,200,83,0.15);
    line-height: 1;
}
.process-card:hover .process-number {
    color: rgba(0,200,83,0.4);
}
.process-icon {
    font-size: 36px;
    margin-bottom: 12px;
    display: block;
}
.process-card h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 700;
}
.process-card p {
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    line-height: 1.7;
}

/* ===== Tippy.js 커스텀 테마 ===== */
.tippy-box[data-theme~='changju'] {
    background: var(--navy);
    color: var(--white);
    border: 1px solid rgba(0,200,83,0.3);
    border-radius: 8px;
    font-size: 13px;
    padding: 4px 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3), 0 0 12px rgba(0,200,83,0.15);
}
.tippy-box[data-theme~='changju'] .tippy-arrow {
    color: var(--navy);
}
.tippy-box[data-theme~='changju'] .tippy-content {
    padding: 6px 10px;
}

/* ===== SweetAlert2 커스텀 ===== */
.swal-changju {
    border-radius: var(--radius-lg) !important;
    border-top: 3px solid var(--green) !important;
}
.swal-changju .swal2-title {
    font-family: var(--font-kr) !important;
    color: var(--navy) !important;
    font-size: 22px !important;
}
.swal-changju .swal2-html-container {
    font-family: var(--font-kr) !important;
    color: var(--gray-700) !important;
    font-size: 15px !important;
}
.swal2-confirm.swal2-styled {
    border-radius: 8px !important;
    font-family: var(--font-kr) !important;
    font-weight: 600 !important;
    padding: 12px 32px !important;
}

/* ===== Vanilla Tilt 글래어 오버라이드 ===== */
.service-card .js-tilt-glare {
    border-radius: var(--radius-lg);
}

/* ===== Particles.js 캔버스 ===== */
#particles-js canvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}

/* ===== 드래그앤드롭 파일 업로드 ===== */
.form-control-file {
    cursor: pointer;
    transition: all 0.3s ease;
}
.form-control-file.drag-over {
    border-color: var(--green) !important;
    background: rgba(0,200,83,0.06) !important;
    box-shadow: 0 0 0 4px var(--green-glow), 0 0 24px rgba(0,200,83,0.12);
    transform: scale(1.01);
}
.form-control-file.drag-over .icon {
    transform: scale(1.3) translateY(-4px);
    transition: var(--transition-bounce);
}
.drop-file-info {
    margin-top: 8px;
}
.drop-file-name {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--green);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    animation: bounceIn 0.4s ease;
}
.drop-file-name span {
    font-size: 11px;
    opacity: 0.8;
}

/* ===== Typed.js 커서 ===== */
.typed-cursor {
    color: var(--green);
    font-weight: 100;
    animation: cursorBlink 1s infinite;
}

/* ===== GLightbox 오버라이드 ===== */
.glightbox-clean .gclose {
    background: var(--navy) !important;
}

/* ===== AOS 커스텀 ===== */
[data-aos] {
    pointer-events: auto !important;
}

/* ===== 모바일 Swiper 조정 ===== */
@media (max-width: 768px) {
    .process-swiper .swiper-button-prev,
    .process-swiper .swiper-button-next {
        display: none;
    }
    .process-card {
        padding: 24px 16px;
        min-height: 180px;
    }
    .process-card h4 { font-size: 14px; }
    .process-card p { font-size: 12px; }
    .process-number { font-size: 28px; }
    .process-icon { font-size: 28px; }
}

@media (max-width: 480px) {
    .process-card {
        padding: 20px 12px;
        min-height: 160px;
    }
}

/* 인쇄 */
@media print {
    .site-header, .site-footer, .menu-toggle, .hero-circuit,
    .btn, .pagination, .nav-overlay, .hero-particles, .wave-divider,
    .process-swiper, #particles-js { display: none !important; }
    body { color: #000; background: #fff; }
    .page-header { background: none; color: #000; padding: 20px 0; }
    .page-header h1 { color: #000; }
}
