@charset "UTF-8";

/* ==========================================================================
   1. RESET & ROOT DEFAULTS
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: #070C16;
    color: #F8FAFC;
    font-family: var(--font-pretendard), -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    word-break: keep-all;
    overflow-x: hidden;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    background: none;
    border: none;
    cursor: pointer;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

::selection {
    background-color: #06B6D4;
    color: #04070E;
}

hypercore-header, hypercore-footer, hypercore-modals {
    display: block;
    width: 100%;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #04070E; }
::-webkit-scrollbar-thumb { background: #1A294C; }
::-webkit-scrollbar-thumb:hover { background: #06B6D4; }

.hidden { display: none !important; }

/* ==========================================================================
   2. HEADER & NAVIGATION
   ========================================================================== */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 5rem;
    z-index: 50;
    background-color: rgba(7, 12, 22, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-container {
    max-width: 80rem;
    height: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.desktop-nav {
    display: none;
    align-items: center;
    column-gap: 3.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: 0.025em;
}

.mobile-menu-btn {
    display: block;
    color: #CBD5E1;
    padding: 0.5rem;
}
.mobile-menu-btn:hover { color: #FFFFFF; }

#mobile-menu {
    background-color: rgba(4, 7, 14, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem 2rem 1.5rem;
}

.nav-link {
    color: #CBD5E1;
    position: relative;
    padding: 0.25rem 0;
    transition: color 0.2s ease;
}
.nav-link:hover { color: #FFFFFF; }

.hover-line-link {
    position: relative;
    display: inline-block;
}
.hover-line-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: #06B6D4;
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.hover-line-link:hover::after { width: 100%; }

.nav-link.active {
    color: #06B6D4 !important;
    font-weight: 700;
}
.nav-link.active::after {
    width: 100% !important;
    background-color: #06B6D4 !important;
}

/* ==========================================================================
   3. MODALS
   ========================================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background-color: rgba(4, 7, 14, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.modal-overlay.is-open { display: flex !important; }

.modal-box {
    position: relative;
    width: 100%;
    background-color: #070C16;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border-radius: 2px;
}

/* ==========================================================================
   4. CUSTOM COMPONENT STYLES
   ========================================================================== */
.contact-submit-btn {
    width: 100%;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-pretendard), sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #020617;
    background-color: #06B6D4;
    border-radius: 2px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.2s ease, transform 0.1s ease;
}
.contact-submit-btn:hover { background-color: #67E8F9; }
.contact-submit-btn:active { transform: scale(0.99); }
.contact-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.spec-card {
    background-color: #070C16;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.spec-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #FFFFFF;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
    letter-spacing: -0.01em;
}
.spec-list {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}
.spec-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 1rem;
    line-height: 1.6;
}
.spec-item:last-child { border-bottom: none; padding-bottom: 0; }
.spec-label { color: #94A3B8; font-weight: 500; flex-shrink: 0; min-width: 7.5rem; }
.spec-value { color: #F1F5F9; text-align: right; word-break: keep-all; }

.machining-card {
    background-color: #070C16;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.25rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.75rem;
}
.machining-card-alt {
    background-color: #0B1325;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.25rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.75rem;
}
.machining-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #FFFFFF;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}
.machining-desc {
    font-size: 1rem;
    line-height: 1.75;
    color: #CBD5E1;
    word-break: keep-all;
}
.machining-badge-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.machining-badge-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1.25rem;
    background-color: rgba(4, 7, 14, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.95rem;
    border-radius: 2px;
}
.machining-badge-label { color: #F1F5F9; font-weight: 500; }
.machining-badge-tag {
    color: #06B6D4;
    font-family: ui-monospace, SFMono-Regular, monospace;
    font-size: 0.875rem;
    font-weight: 600;
}

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.25rem;
}
.workflow-card {
    background-color: #070C16;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.25rem;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.workflow-card:hover {
    border-color: rgba(6, 182, 212, 0.4);
    transform: translateY(-2px);
}
.workflow-num {
    font-family: ui-monospace, SFMono-Regular, monospace;
    font-size: 1.35rem;
    font-weight: 800;
    color: #06B6D4;
}
.workflow-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #FFFFFF;
}
.workflow-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: #CBD5E1;
    word-break: keep-all;
}

/* ==========================================================================
   5. UTILITIES, LAYOUT & MEDIA QUERIES
   ========================================================================== */
.max-w-7xl { max-width: 80rem; margin-left: auto; margin-right: auto; }
.max-w-5xl { max-width: 64rem; margin-left: auto; margin-right: auto; }
.max-w-3xl { max-width: 48rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-xl  { max-width: 36rem; }
.max-w-md  { max-width: 28rem; }
.max-w-sm  { max-width: 24rem; }
.mx-auto   { margin-left: auto; margin-right: auto; }
.w-full    { width: 100%; }
.h-full    { height: 100%; }
.h-20      { height: 5rem; }
.min-h-\[45vh\] { min-height: 45vh; }
.min-h-\[50vh\] { min-height: 50vh; }
.min-h-\[55vh\] { min-height: 55vh; }
.min-h-\[calc\(100vh-5rem\)\] { min-height: calc(100vh - 5rem); }
.min-h-\[380px\] { min-height: 380px; }
.aspect-\[16\/20\] { aspect-ratio: 16 / 20; }
.aspect-\[16\/10\] { aspect-ratio: 16 / 10; }
.aspect-\[4\/3\] { aspect-ratio: 4 / 3; }
.aspect-square { aspect-ratio: 1 / 1; }

.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
.px-16 { padding-left: 4rem; padding-right: 4rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.py-28 { padding-top: 7rem; padding-bottom: 7rem; }
.py-32 { padding-top: 8rem; padding-bottom: 8rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-8 { padding-top: 2rem; }
.pt-20 { padding-top: 5rem; }
.pb-3 { padding-bottom: 0.75rem; }
.pb-4 { padding-bottom: 1rem; }
.pb-6 { padding-bottom: 1.5rem; }
.pb-8 { padding-bottom: 2rem; }
.ml-2 { margin-left: 0.5rem; }
.mt-1 { margin-top: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }

.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { inset: 0; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.bottom-8 { bottom: 2rem; }
.left-1\/2 { left: 50%; }
.-translate-x-1\/2 { transform: translateX(-50%); }
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }
.overflow-hidden { overflow: hidden; }
.overflow-y-auto { overflow-y: auto; }

.flex { display: flex; }
.inline-flex { display: inline-flex; }
.block { display: block; }
.grid { display: grid; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-stretch { align-items: stretch; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.flex-col { flex-direction: column; }
.text-center { text-align: center; }
.text-left { text-align: left; }

.gap-2 { gap: 0.5rem; }
.gap-2\.5 { gap: 0.625rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }
.space-x-6 > * + * { margin-left: 1.5rem; }
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-1\.5 > * + * { margin-top: 0.375rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }
.space-y-10 > * + * { margin-top: 2.5rem; }
.space-y-12 > * + * { margin-top: 3rem; }
.space-y-16 > * + * { margin-top: 4rem; }
.space-y-20 > * + * { margin-top: 5rem; }

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }

/* Colors */
.bg-navy-950 { background-color: #04070E; }
.bg-navy-950\/40 { background-color: rgba(4, 7, 14, 0.4); }
.bg-navy-900 { background-color: #070C16; }
.bg-navy-800 { background-color: #0B1325; }
.bg-navy-800\/80 { background-color: rgba(11, 19, 37, 0.8); }
.bg-cyan-400 { background-color: #06B6D4; }
.bg-cyan-500\/10 { background-color: rgba(6, 182, 212, 0.1); }
.bg-cyan-500\/15 { background-color: rgba(6, 182, 212, 0.15); }
.bg-slate-950 { background-color: #020617; }

.text-white { color: #FFFFFF; }
.text-slate-100 { color: #F1F5F9; }
.text-slate-200 { color: #E2E8F0; }
.text-slate-300 { color: #CBD5E1; }
.text-slate-400 { color: #94A3B8; }
.text-slate-500 { color: #64748B; }
.text-slate-950 { color: #020617; }
.text-cyan-300 { color: #67E8F9; }
.text-cyan-400 { color: #06B6D4; }

.border { border: 1px solid transparent; }
.border-b { border-bottom: 1px solid transparent; }
.border-t { border-top: 1px solid transparent; }
.border-white\/5 { border-color: rgba(255, 255, 255, 0.05); }
.border-white\/10 { border-color: rgba(255, 255, 255, 0.1); }
.border-slate-600 { border-color: #475569; }
.border-cyan-500\/20 { border-color: rgba(6, 182, 212, 0.2); }
.border-cyan-500\/40 { border-color: rgba(6, 182, 212, 0.4); }
.divide-y > * + * { border-top: 1px solid rgba(255, 255, 255, 0.05); }

/* Typography */
.font-mono { font-family: ui-monospace, SFMono-Regular, monospace; }
.font-sans { font-family: var(--font-pretendard), sans-serif; }
.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.uppercase { text-transform: uppercase; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.tracking-superwide { letter-spacing: 0.25em; }
.leading-tight { line-height: 1.2; }
.leading-relaxed { line-height: 1.625; }

.text-\[10px\] { font-size: 10px; }
.text-\[11px\] { font-size: 11px; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1.15; }
.text-6xl { font-size: 3.75rem; line-height: 1.1; }

.rounded-full { border-radius: 9999px; }
.rounded-xs { border-radius: 2px; }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); }
.cursor-pointer { cursor: pointer; }
.resize-none { resize: none; }
.w-2\.5 { width: 0.625rem; }
.w-4 { width: 1rem; } .h-4 { height: 1rem; }
.w-5 { width: 1.25rem; } .h-5 { height: 1.25rem; }
.w-6 { width: 1.5rem; } .h-6 { height: 1.5rem; }
.h-7 { height: 2.8rem; }
.w-12 { width: 3rem; } .h-12 { height: 3rem; }
.object-cover { object-fit: cover; }
.object-center { object-position: center; }

.bg-gradient-to-r { background-image: linear-gradient(to right, rgba(4, 7, 14, 0.85), rgba(4, 7, 14, 0.2), transparent); }
.bg-gradient-to-t { background-image: linear-gradient(to top, #04070E, transparent, rgba(4, 7, 14, 0.2)); }
.bg-gradient-to-b { background-image: linear-gradient(to bottom, #070C16, #0B1325, #070C16); }

.transition-all { transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1); }
.transition-colors { transition: color 200ms ease, background-color 200ms ease, border-color 200ms ease; }
.transition-transform { transition: transform 300ms ease; }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }
.duration-700 { transition-duration: 700ms; }

/* ==========================================================================
   9. CONTACT GOOGLE MAP CONTAINER
   ========================================================================== */
.contact-map-box {
    position: relative;
    width: 100%;
    height: 500px;
    min-height: 500px;
    background-color: #070C16;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.contact-map-box iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}


@keyframes bounce { 0%, 100% { transform: translateY(-25%); } 50% { transform: translateY(0); } }
.animate-bounce { animation: bounce 1s infinite; }

.hover\:text-white:hover { color: #FFFFFF; }
.hover\:text-cyan-300:hover { color: #67E8F9; }
.hover\:text-cyan-400:hover { color: #06B6D4; }
.hover\:bg-cyan-300:hover { background-color: #67E8F9; }
.hover\:bg-cyan-400:hover { background-color: #06B6D4; }
.hover\:border-cyan-400:hover { border-color: #06B6D4; }
.hover\:border-cyan-500\/50:hover { border-color: rgba(6, 182, 212, 0.5); }
.group:hover .group-hover\:scale-105 { transform: scale(1.05); }
.group:hover .group-hover\:text-cyan-400 { color: #06B6D4; }
.group:hover .group-hover\:translate-x-1 { transform: translateX(0.25rem); }

input:focus, textarea:focus {
    border-color: #06B6D4 !important;
    outline: none !important;
}

.zoom-img-container { overflow: hidden; }
.zoom-img-container img { transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.zoom-img-container:hover img { transform: scale(1.04); }

.reveal-element {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-element.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.bg-grid-dots {
    background-image: radial-gradient(rgba(6, 182, 212, 0.25) 1.2px, transparent 1.2px);
    background-size: 32px 32px;
}

.max-h-\[85vh\] { max-height: 85vh; }

/* Responsive Breakpoints */
@media (max-width: 640px) {
    .spec-card, .machining-card, .machining-card-alt { padding: 1.5rem; }
    .spec-item { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
    .spec-value { text-align: left; }
}

@media (min-width: 640px) {
    .sm\:inline { display: inline; }
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sm\:w-auto { width: auto; }
    .sm\:p-8 { padding: 2rem; }
    .sm\:p-12 { padding: 3rem; }
    .sm\:px-12 { padding: 3rem; }
    .sm\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
    .sm\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
    .sm\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
    .sm\:text-5xl { font-size: 3rem; line-height: 1.15; }
    .workflow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
    .md\:px-12 { padding-left: 3rem; padding-right: 3rem; }
    .md\:py-28 { padding-top: 7rem; padding-bottom: 7rem; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
    .md\:flex-row { flex-direction: row; }
    .md\:items-end { align-items: flex-end; }
    .md\:text-sm { font-size: 0.875rem; }
    .md\:text-base { font-size: 1rem; }
    .md\:text-lg { font-size: 1.125rem; }
    .md\:text-xl { font-size: 1.25rem; }
    .md\:text-6xl { font-size: 3.75rem; }
    .header-container { padding-left: 3rem; padding-right: 3rem; }
}

@media (min-width: 1024px) {
    .desktop-nav { display: flex !important; }
    .mobile-menu-btn { display: none !important; }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .lg\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
    .lg\:col-span-4 { grid-column: span 4 / span 4; }
    .lg\:col-span-5 { grid-column: span 5 / span 5; }
    .lg\:col-span-7 { grid-column: span 7 / span 7; }
    .lg\:col-span-8 { grid-column: span 8 / span 8; }
    .lg\:gap-16 { gap: 4rem; }
    .workflow-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

