/******************************************
   name :  index.css
   auth :  MMF-STUDIO
   date :  2026.03.27
   desc :  INDEX
*******************************************/

@font-face {
    font-family: 'NotoSansKR';
    src: url('/include/fonts/NotoSans-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PlusJakartaSans';
    src: url('/include/fonts/PlusJakartaSans-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --white: #ffffff;
    --bg: #f8f7f4;
    --gray-50: #fafaf8;
    --gray-200: #e2e0db;
    --gray-300: #ccc9c1;
    --gray-400: #a8a49b;
    --gray-500: #7d7972;
    --gray-700: #3d3a36;
    --gray-900: #1a1917;
}

html { font-size: 16px; }
body {
    background: var(--bg); color: var(--gray-900);
    font-family: 'PlusJakartaSans', 'NotoSansKR', -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.configurator-grid {
    display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto auto; gap: 6px; padding: 6px; width: 100%; max-width: 1440px; margin: 0 auto;
}

.cell {
    position: relative; overflow: hidden; aspect-ratio: 16 / 10; cursor: pointer; border-radius: 20px; box-shadow: 0 2px 8px rgba(30,30,30,0.04);
    transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.cell:hover { box-shadow: 0 8px 32px rgba(30,30,30,0.07); transform: translateY(-2px); }
.cell::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0); transition: background 0.4s ease; border-radius: 20px; z-index: 1; }
.cell:hover::after { background: rgba(0,0,0,0.03); }
.cell img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.cell:hover img { transform: scale(1.03); }

.badge {
    position: absolute; z-index: 2; bottom: 16px; right: 16px; padding: 7px 16px; background: rgba(255,255,255,0.7); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.5); border-radius: 100px; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; 
    color: var(--gray-700); opacity: 0; transform: translateY(8px); transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.cell:hover .badge { opacity: 1; transform: translateY(0); }
.text-panel {
    display: flex; flex-direction: column; justify-content: center; background: var(--white); padding: 56px 60px; position: relative; aspect-ratio: 16 / 10; overflow: hidden;
    border-radius: 20px; box-shadow: 0 2px 8px rgba(30,30,30,0.04);
}

.text-panel::after {
    content: ''; position: absolute; top: -60%; right: -30%; width: 300px; height: 300px; background: radial-gradient(circle, rgba(201,168,124,0.06) 0%, transparent 70%);
    border-radius: 50%; pointer-events: none; 
}
.tp-inner { position: relative; z-index: 1; width: 100%; }
.tp-heading { font-size: clamp(26px, 3vw, 42px); font-weight: 800; line-height: 1.35; letter-spacing: -0.02em; color: var(--gray-900); margin-top: 20px; margin-bottom: 16px; }
.tp-subtitle { font-size: clamp(13px, 1.1vw, 15px); font-weight: 300; line-height: 1.7; color: var(--gray-500); margin-bottom: 28px; max-width: 400px; }
.tp-body { font-size: clamp(12px, 0.95vw, 13.5px); font-weight: 400; line-height: 1.8; color: var(--gray-400); max-width: 380px; margin-bottom: 36px; }

.tp-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.btn-primary {
    display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; background: var(--gray-900); color: var(--white); border: none; border-radius: 100px;
    font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: none; transition: all 0.3s ease; box-shadow: 0 4px 16px rgba(30,30,30,0.12);
}
.btn-primary:hover { background: var(--gray-700); box-shadow: 0 6px 24px rgba(30,30,30,0.18); transform: translateY(-1px); }
.btn-primary svg { width: 14px; height: 14px; transition: transform 0.3s ease; }
.btn-primary:hover svg { transform: translateX(3px); }

.btn-secondary {
    display: inline-flex; align-items: center; padding: 13px 24px; background: transparent; color: var(--gray-500); border: 1.5px solid var(--gray-200); border-radius: 100px;
    font-size: 13px; font-weight: 500; cursor: pointer; text-decoration: none; transition: all 0.3s ease; 
}
.btn-secondary:hover { border-color: var(--gray-300); color: var(--gray-700); background: var(--gray-50); }

.tp-brand { display: flex; align-items: center; }
.tp-brand-logo { height: 40px; width: auto; object-fit: contain; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes popIn {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.tp-inner .tp-heading    { animation: fadeIn 0.5s ease-out 0.15s both; }
.tp-inner .tp-subtitle   { animation: fadeIn 0.5s ease-out 0.25s both; }
.tp-inner .tp-body       { animation: fadeIn 0.5s ease-out 0.35s both; }
.tp-inner .tp-actions    { animation: fadeIn 0.5s ease-out 0.45s both; }
.tp-inner .tp-brand      { animation: fadeIn 0.5s ease-out 0.55s both; }

.cell:nth-child(1) { animation: popIn 0.4s ease-out 0.0s both; }
.cell:nth-child(2) { animation: popIn 0.4s ease-out 0.06s both; }
.cell:nth-child(3) { animation: popIn 0.4s ease-out 0.12s both; }
.cell:nth-child(5) { animation: popIn 0.4s ease-out 0.18s both; }
.cell:nth-child(6) { animation: popIn 0.4s ease-out 0.24s both; }

.contact_main{ width:100%; max-width:1440px; margin:30px auto 0 auto; padding:0 10px;}
.contact_main .contact_desc{font-size:15px;line-height:24px;}
.contact_main .copyright{padding:30px 0 30px 0;font-size:15px;text-align:center;}

@media (max-width: 900px) {
    .configurator-grid { grid-template-columns: 1fr; gap: 8px; padding: 8px; }
    .text-panel { aspect-ratio: auto; min-height: 380px; padding: 40px 32px; order: -1; }
}