/* ========================================
   MIRACLE F&C - Main Stylesheet
   22년 요식업 창업 컨설팅 전문
   Theme: Dark + Gold + Warm
   ======================================== */

/* ========================================
   1. CSS Variables & Reset
   ======================================== */
:root {
    /* Primary Colors */
    --gold: #c9a227;
    --gold-light: #e8c84a;
    --gold-dark: #a17f1a;
    --gold-gradient: linear-gradient(135deg, #e8c84a 0%, #c9a227 50%, #a17f1a 100%);
    
    /* Dark Theme */
    --dark-bg: #0d0d0d;
    --dark-secondary: #1a1a1a;
    --dark-tertiary: #252525;
    --dark-card: #1e1e1e;
    --dark-border: #333333;
    
    /* Warm Accent Colors */
    --warm-cream: #faf6f0;
    --warm-beige: #f5ebe0;
    --warm-orange: #e07b39;
    --warm-brown: #8b5a2b;
    
    /* Text Colors */
    --text-white: #ffffff;
    --text-light: #e5e5e5;
    --text-muted: #999999;
    --text-dark: #1a1a1a;
    
    /* Fonts */
    --font-primary: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', serif;
    
    /* Spacing */
    --section-padding: 120px;
    --container-width: 1200px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-gold: 0 4px 20px rgba(201, 162, 39, 0.3);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 50px;
}

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

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

body {
    font-family: var(--font-primary);
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

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

ul, ol {
    list-style: none;
}

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

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

/* ========================================
   2. Loading Screen
   ======================================== */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

/* Loader Logo Image */
.loader-logo {
    width: 280px;
    max-width: 80vw;
    margin-bottom: 35px;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.85; transform: scale(0.98); }
}

/* Legacy Loader Text Styles (backup) */
.loader-logo-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
    animation: pulse 1.5s ease-in-out infinite;
}

.loader-miracle {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 8px;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.loader-fc {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 12px;
    color: var(--text-muted);
    margin-top: 5px;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(0.98); }
}

.loader-bar {
    width: 200px;
    height: 3px;
    background: var(--dark-tertiary);
    border-radius: 3px;
    overflow: hidden;
    margin: 0 auto 15px;
}

.loader-progress {
    width: 0%;
    height: 100%;
    background: var(--gold-gradient);
    border-radius: 3px;
    animation: loading 1.5s ease-in-out forwards;
}

@keyframes loading {
    0% { width: 0%; }
    100% { width: 100%; }
}

.loader-text {
    color: var(--text-muted);
    font-size: 0.875rem;
    letter-spacing: 2px;
}

/* ========================================
   3. Scroll Progress Bar
   ======================================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    z-index: 9999;
}

.scroll-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--gold-gradient);
    transition: width 0.1s linear;
}

/* ========================================
   4. Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(20px);
    padding: 15px 0;
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Nav Logo Typography */
.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-text {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.logo-miracle {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 3px;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all var(--transition-normal);
}

.logo-fc {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--text-muted);
    transition: all var(--transition-normal);
}

.nav-logo:hover .logo-miracle {
    filter: brightness(1.2);
}

.nav-logo:hover .logo-fc {
    color: var(--gold-light);
}

.navbar.scrolled .logo-miracle {
    font-size: 1.3rem;
}

.navbar.scrolled .logo-fc {
    font-size: 0.75rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-light);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition-normal);
}

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

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

.nav-cta {
    background: var(--gold-gradient);
    color: var(--dark-bg) !important;
    padding: 12px 24px !important;
    border-radius: var(--radius-full);
    font-weight: 600;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-white);
    transition: var(--transition-normal);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   5. Hero Section - The Ultimate 3-Tier Responsive
   (PC 80/50px, Tablet 60/35px, Mobile Auto-fit)
   ======================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #050505;
}

/* --- [ 공통 배경 & 조명 (All Devices) ] --- */
.hero-bg-image {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('https://www.genspark.ai/api/files/s/cpoDCCDV') center/cover no-repeat;
    opacity: 0.18;
    z-index: 0;
    transform: scale(1.1);
    filter: brightness(0.7) contrast(1.3);
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: 
        radial-gradient(circle at 50% 45%, rgba(201, 162, 39, 0.15) 0%, transparent 65%),
        radial-gradient(circle at 0% 0%, rgba(201, 162, 39, 0.05) 0%, transparent 40%),
        linear-gradient(180deg, rgba(5,5,5,0.3) 0%, rgba(5,5,5,0.95) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1200px;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* ========================================
   [ 💻 1단계: Desktop (1025px 이상) - 오리지널 럭셔리 핏 ]
   ======================================== */
.hero-brand-typography {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
    opacity: 0;
}

.brand-title { font-family: 'Montserrat'; font-size: 1.1rem; font-weight: 300; color: var(--gold-light); letter-spacing: 12px; text-transform: uppercase; }
.brand-tagline { font-family: 'Montserrat'; font-size: 0.7rem; color: rgba(255,255,255,0.3); letter-spacing: 6px; }

.hero-sub-copy {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 50px;
    font-weight: 200;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 2px;
    margin-bottom: 12px;
    word-break: keep-all;
    opacity: 0;
}

.hero-divider-main { display: flex; align-items: center; justify-content: center; gap: 20px; margin-bottom: 12px; opacity: 0; }
.divider-line-left, .divider-line-right { display: none; }
.divider-text {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 80px;
    font-weight: 900;
    background: linear-gradient(180deg, #ffffff 10%, #e8c84a 50%, #a17f1a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -2px;
    line-height: 1.1;
}

.hero-main-hook {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 80px;
    font-weight: 900;
    background: linear-gradient(180deg, #ffffff 10%, #e8c84a 50%, #a17f1a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 24px;
    white-space: nowrap; /* PC에서는 절대 줄바꿈 금지 */
    filter: drop-shadow(0 15px 30px rgba(201, 162, 39, 0.25));
    opacity: 0;
}

.hero-bottom-copy { display: flex; align-items: baseline; justify-content: center; gap: 12px; margin-bottom: 80px; opacity: 0; }
.year-number { font-family: 'Playfair Display', serif; font-size: 70px; font-weight: 700; color: #fff; line-height: 1; }
.copy-text { font-family: 'Noto Sans KR'; font-size: 50px; font-weight: 200; color: rgba(255, 255, 255, 0.7); letter-spacing: 1px; }

.hero-cta { display: flex; gap: 24px; margin-bottom: 130px; opacity: 0; }
.hero-btn-premium { position: relative; display: inline-flex; align-items: center; gap: 12px; padding: 22px 42px; border-radius: 4px; font-size: 1.05rem; font-weight: 600; transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); }
.btn-consult { background: var(--gold-gradient); color: #000; border: none; box-shadow: 0 10px 30px rgba(201, 162, 39, 0.2); }
.btn-brand { background: transparent; border: 1px solid rgba(255, 255, 255, 0.2); color: #fff; backdrop-filter: blur(10px); }
.hero-btn-premium .btn-icon { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.1); }
.btn-brand .btn-icon { background: rgba(255,255,255,0.1); }

/* 스크롤 인디케이터 */
.hero-scroll-indicator { position: absolute; bottom: 45px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 12px; opacity: 0; }
.scroll-line { width: 1px; height: 60px; background: rgba(255,255,255,0.1); overflow: hidden; position: relative; }
.scroll-dot { position: absolute; top: 0; left: 0; width: 100%; height: 20px; background: var(--gold); animation: scrollAnim 2.2s infinite ease-in-out; }
@keyframes scrollAnim { 0% { transform: translateY(-100%); } 100% { transform: translateY(65px); } }
.scroll-text { font-family: 'Montserrat'; font-size: 0.6rem; letter-spacing: 5px; color: rgba(255,255,255,0.3); text-transform: uppercase; }


/* ========================================
   [ 📱 2단계: Tablet (769px ~ 1024px) - 아이패드 안전 핏 ]
   ======================================== */
@media (max-width: 1024px) {
    .hero-sub-copy { font-size: 35px; }
    .hero-main-hook { font-size: 60px; }
    .divider-text { font-size: 60px; }
    .year-number { font-size: 50px; }
    .copy-text { font-size: 35px; }
    .hero-cta { margin-bottom: 100px; }
}


/* ========================================
   [ 📱 3단계: Mobile (768px 이하) - 완전 분리형 슬림 핏 ]
   ======================================== */
@media (max-width: 768px) {
    /* 로고 겹침 원천 차단 */
    .hero-brand-typography { display: none; }
    .hero-content { padding: 0 20px; }

    /* 화면 폭(vw)에 비례하여 절대 짤리지 않는 유동적 폰트 스케일링 */
    .hero-sub-copy { 
        font-size: clamp(18px, 5vw, 24px); 
        margin-bottom: 10px; 
    }
    
    .divider-line-left, .divider-line-right { display: none; }
    
    .hero-main-hook { 
        font-size: clamp(30px, 8.5vw, 42px);
        letter-spacing: -1px; 
        margin-bottom: 20px; 
        white-space: nowrap;
    }
    
    .hero-bottom-copy { margin-bottom: 50px; flex-wrap: wrap; gap: 8px; }
    .year-number { font-size: clamp(36px, 10vw, 48px); }
    .copy-text { font-size: clamp(18px, 5vw, 24px); }
    
    /* 벽돌이 아닌, 슬림하고 터치하기 편한 스마트폰 버튼 재단 */
    .hero-cta { 
        flex-direction: column; 
        width: 100%; 
        align-items: center; 
        gap: 12px; 
        margin-bottom: 90px; 
    }
    .hero-btn-premium { 
        width: 100%; 
        max-width: 320px; 
        height: 56px; /* 버튼 높이 슬림하게 고정 */
        padding: 0 20px; 
        justify-content: center; 
        font-size: 0.95rem; 
    }
}

/* 기존 잔여 코드 완전 클린업 */
.hero-line-1, .hero-line-2, .hero-line-3, .hero-divider, .divider-line, .divider-diamond, .year-highlight, .line-3-text { display: none !important; }

/* ========================================
   6. Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: var(--radius-full);
    font-size: 1rem;
    font-weight: 600;
    transition: all var(--transition-normal);
    cursor: pointer;
}

.btn-primary {
    background: var(--gold-gradient);
    color: var(--dark-bg);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--gold);
    color: var(--gold);
}

.btn-outline {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--dark-bg);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ========================================
   7. Container & Section Styles
   ======================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 30px;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-white);
}

/* ========================================
   8. Stats Section
   ======================================== */
.stats-section {
    padding: 80px 0;
    background: var(--dark-secondary);
    position: relative;
}

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

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-card {
    background: var(--dark-tertiary);
    border-radius: var(--radius-md);
    padding: 40px 30px;
    text-align: center;
    transition: all var(--transition-normal);
    border: 1px solid transparent;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(201, 162, 39, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.stat-icon i {
    font-size: 1.5rem;
    color: var(--gold);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-plus {
    font-size: 2rem;
    color: var(--gold);
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* ========================================
   9. Story Section
   ======================================== */
.story-section {
    padding: var(--section-padding) 0;
    background: var(--dark-bg);
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.story-images {
    position: relative;
}

.story-image-main {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.story-image-main img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.image-frame {
    position: absolute;
    top: -15px;
    left: -15px;
    right: 15px;
    bottom: 15px;
    border: 2px solid var(--gold);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.story-image-news {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 280px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--dark-bg);
}

.story-image-news img {
    width: 100%;
}

.news-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--gold);
    color: var(--dark-bg);
    padding: 8px 15px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.story-text {
    padding-top: 20px;
}

.story-intro {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 20px;
    line-height: 1.6;
}

.story-description {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
}

.story-description strong {
    color: var(--gold);
}

.story-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.feature-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--dark-secondary);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--gold);
    transition: all var(--transition-normal);
}

.feature-item:hover {
    transform: translateX(10px);
    background: var(--dark-tertiary);
}

.feature-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    font-family: var(--font-display);
}

.feature-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 8px;
}

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

/* ========================================
   9.5 Partner Brands Section
   ======================================== */
.partners-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--dark-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.partners-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(201, 162, 39, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

/* Partners Header */
.partners-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.partners-badge {
    display: inline-block;
    padding: 10px 25px;
    background: rgba(201, 162, 39, 0.1);
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--gold);
    margin-bottom: 25px;
    opacity: 0;
    transform: translateY(20px);
}

.partners-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 15px;
    opacity: 0;
    transform: translateY(30px);
}

.partners-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
    line-height: 1.8;
}

.partners-subtitle .sub-highlight {
    color: var(--gold);
    font-weight: 600;
    position: relative;
}

.partners-subtitle .sub-highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold-gradient);
    opacity: 0.6;
}

.partners-subtitle .sub-emphasis {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 500;
    color: var(--text-white);
    background: linear-gradient(90deg, var(--gold-light), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.partners-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    opacity: 0;
}

.partners-divider .pd-line {
    width: 50px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.partners-divider .pd-diamond {
    width: 8px;
    height: 8px;
    background: var(--gold);
    transform: rotate(45deg);
}

/* Partners Grid - 3x3 */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Partner Card */
.partner-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--dark-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    transform: translateY(40px);
    cursor: pointer;
}

.partner-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(201, 162, 39, 0.4);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(201, 162, 39, 0.15);
}

/* Partner Image (매장 사진) */
.partner-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.partner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.partner-card:hover .partner-image img {
    transform: scale(1.1);
}

.partner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        transparent 0%,
        transparent 50%,
        rgba(13, 13, 13, 0.7) 100%
    );
    transition: all 0.4s ease;
}

.partner-card:hover .partner-overlay {
    background: linear-gradient(
        180deg,
        rgba(201, 162, 39, 0.1) 0%,
        transparent 30%,
        rgba(13, 13, 13, 0.8) 100%
    );
}

/* Partner Info */
.partner-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    background: linear-gradient(180deg, var(--dark-tertiary) 0%, var(--dark-secondary) 100%);
}

.partner-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.partner-card:hover .partner-name {
    color: var(--gold);
}

.partner-arrow {
    font-size: 0.85rem;
    color: var(--text-muted);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.partner-card:hover .partner-arrow {
    opacity: 1;
    transform: translateX(0);
    color: var(--gold);
}

/* Partner Card Hover Shine Effect */
.partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    transition: left 0.7s ease;
    z-index: 10;
    pointer-events: none;
}

.partner-card:hover::before {
    left: 100%;
}

/* Partner Card Border Glow */
.partner-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    box-shadow: inset 0 0 30px rgba(201, 162, 39, 0.2);
}

.partner-card:hover::after {
    opacity: 1;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .partners-header {
        margin-bottom: 40px;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .partner-image {
        aspect-ratio: 16/11;
    }
    
    .partner-info {
        padding: 14px 16px;
    }
    
    .partner-name {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .partners-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
    }
    
    .partner-image {
        aspect-ratio: 16/10;
    }
}

/* ========================================
   10. Business Section - Premium Design
   ======================================== */
.business-section {
    padding: var(--section-padding) 0;
    background: var(--dark-secondary);
    position: relative;
    overflow: hidden;
}

.business-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 20%, rgba(201, 162, 39, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* Business Header */
.business-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

.business-badge {
    display: inline-block;
    padding: 10px 25px;
    background: rgba(201, 162, 39, 0.1);
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--gold);
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
}

.business-main-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    line-height: 1.4;
    color: var(--text-white);
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px);
}

.business-main-title .title-line-1 {
    display: block;
    color: var(--text-muted);
    font-weight: 300;
}

.business-main-title .title-line-2 {
    display: block;
    color: var(--text-white);
    font-weight: 700;
}

.business-main-title .title-line-2 em {
    font-style: normal;
    color: var(--gold);
    position: relative;
}

.business-main-title .title-line-2 em::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
}

.business-main-title.animated .title-line-2 em::after {
    transform: scaleX(1);
}

.business-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    opacity: 0;
}

.business-divider .divider-dot {
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
}

.business-divider .divider-line {
    width: 60px;
    height: 1px;
    background: var(--gold-gradient);
}

/* Business Showcase Grid */
.business-showcase {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

/* Showcase Card Base */
.showcase-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 3/4;
    background: var(--dark-tertiary);
    opacity: 0;
    transform: translateY(50px);
}

.showcase-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.showcase-card:hover .showcase-image img {
    transform: scale(1.15);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(13, 13, 13, 0.2) 40%,
        rgba(13, 13, 13, 0.95) 100%
    );
    transition: all 0.5s ease;
}

.showcase-card:hover .image-overlay {
    background: linear-gradient(
        180deg,
        rgba(201, 162, 39, 0.1) 0%,
        rgba(13, 13, 13, 0.3) 40%,
        rgba(13, 13, 13, 0.98) 100%
    );
}

/* Card Glow Effect */
.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    box-shadow: inset 0 0 60px rgba(201, 162, 39, 0.3);
}

.showcase-card:hover .card-glow {
    opacity: 1;
}

/* Showcase Content */
.showcase-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.content-number {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 1px rgba(201, 162, 39, 0.3);
    position: absolute;
    top: 20px;
    right: 20px;
    line-height: 1;
    opacity: 0.6;
    transition: all 0.5s ease;
}

.showcase-card:hover .content-number {
    -webkit-text-stroke: 1px rgba(201, 162, 39, 0.8);
    transform: scale(1.1);
}

.content-text {
    position: relative;
    z-index: 2;
}

.category-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--gold);
    margin-bottom: 12px;
    padding: 5px 12px;
    background: rgba(201, 162, 39, 0.1);
    border-radius: 4px;
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.4s ease 0.1s;
}

.showcase-card:hover .category-tag {
    transform: translateY(0);
    opacity: 1;
}

.showcase-title {
    margin-bottom: 12px;
    line-height: 1.2;
}

/* ========================================
   Card Style - 통일된 프로페셔널 스타일
   ======================================== */

/* 모든 카드 동일한 타이포그래피 */
.showcase-title .title-main {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 6px;
    transition: color 0.3s ease;
}

.showcase-title .title-accent {
    display: block;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: -0.5px;
    transition: all 0.3s ease;
}

.showcase-card:hover .showcase-title .title-main {
    color: var(--gold-light);
}

.showcase-card:hover .showcase-title .title-accent {
    color: var(--gold);
    transform: translateX(3px);
}

.showcase-desc {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease 0.15s;
}

.showcase-card:hover .showcase-desc {
    transform: translateY(0);
    opacity: 1;
}

.content-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: rgba(201, 162, 39, 0.1);
    transition: all 0.5s ease;
    z-index: 1;
}

.showcase-card:hover .content-icon {
    color: rgba(201, 162, 39, 0.2);
    transform: translate(-50%, -50%) scale(1.2);
}

/* 프리미엄 카드 (한우전문점) 골드 테두리 */
.card-style-4 {
    border: 1px solid rgba(201, 162, 39, 0.2);
}

.card-style-4 .content-number {
    -webkit-text-stroke: 1px rgba(201, 162, 39, 0.5);
}

/* More Categories */
.more-categories {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--dark-tertiary);
    opacity: 0;
    transform: translateY(20px);
}

.more-text {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 1rem;
    color: var(--text-muted);
}

.more-highlight {
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.3s ease;
}

.more-highlight:hover {
    color: var(--gold);
}

.more-dot {
    color: var(--gold);
    font-size: 0.5rem;
}

/* ========================================
   11. Process Section
   ======================================== */
.process-section {
    padding: var(--section-padding) 0;
    background: var(--dark-bg);
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--dark-tertiary);
    transform: translateX(-50%);
}

.timeline-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: var(--gold-gradient);
    transition: height 1s ease;
}

.process-item {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
}

.process-item:nth-child(odd) {
    flex-direction: row-reverse;
    text-align: right;
}

.process-item:nth-child(odd) .process-content {
    text-align: right;
}

.process-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
    font-family: var(--font-display);
    min-width: 80px;
}

.process-content {
    flex: 1;
    padding: 30px;
    background: var(--dark-secondary);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.process-content:hover {
    background: var(--dark-tertiary);
    transform: scale(1.02);
}

.process-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 10px;
}

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

.process-icon {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.process-icon i {
    font-size: 1.2rem;
    color: var(--dark-bg);
}

/* ========================================
   12. Testimonials Section
   ======================================== */
.testimonials-section {
    padding: var(--section-padding) 0;
    background: var(--dark-secondary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--dark-tertiary);
    border-radius: var(--radius-md);
    padding: 40px;
    position: relative;
    transition: all var(--transition-normal);
    border: 1px solid transparent;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
}

.testimonial-quote {
    margin-bottom: 20px;
}

.testimonial-quote i {
    font-size: 2rem;
    color: var(--gold);
    opacity: 0.5;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid var(--dark-border);
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: rgba(201, 162, 39, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar i {
    font-size: 1.2rem;
    color: var(--gold);
}

.author-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-white);
}

.author-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ========================================
   13. CTA Section
   ======================================== */
.cta-section {
    padding: 100px 0;
    position: relative;
    background: linear-gradient(135deg, var(--dark-tertiary) 0%, var(--dark-secondary) 100%);
    overflow: hidden;
}

.cta-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.genspark.ai/api/files/s/pVX8LxKk') center/cover no-repeat;
    opacity: 0.08;
}

.cta-content {
    position: relative;
    text-align: center;
    z-index: 1;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 20px;
}

.cta-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   14. Contact Section
   ======================================== */
.contact-section {
    padding: var(--section-padding) 0;
    background: var(--dark-bg);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 15px;
}

.contact-info > p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    gap: 20px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(201, 162, 39, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    font-size: 1.1rem;
    color: var(--gold);
}

.info-content h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-content p,
.info-content a {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
}

.info-content a:hover {
    color: var(--gold);
}

.brand-link {
    margin-top: 20px;
}

/* Form Tabs */
.form-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.tab-btn {
    flex: 1;
    padding: 15px 20px;
    background: var(--dark-tertiary);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all var(--transition-normal);
}

.tab-btn:hover {
    background: var(--dark-secondary);
    color: var(--text-light);
}

.tab-btn.active {
    background: var(--dark-secondary);
    border-color: var(--gold);
    color: var(--gold);
}

/* Contact Form */
.contact-form {
    display: none;
    background: var(--dark-secondary);
    padding: 40px;
    border-radius: var(--radius-lg);
}

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

.contact-form h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 18px;
    background: var(--dark-tertiary);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-sm);
    color: var(--text-white);
    transition: all var(--transition-normal);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23999' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.form-group select option {
    background: var(--dark-secondary);
    color: var(--text-white);
}

/* ========================================
   15. Footer - 로고 중심 미니멀 디자인
   ======================================== */
.footer {
    padding: 80px 0 30px;
    background: var(--dark-secondary);
    border-top: 1px solid var(--dark-border);
}

/* 로고 중앙 배치 컨테이너 */
.footer-logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
}

.footer-logo {
    height: 180px;
    width: auto;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 20px rgba(201, 162, 39, 0.2));
    animation: logoFloat 4s ease-in-out infinite;
    transition: all 0.4s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 40px rgba(201, 162, 39, 0.4));
}

/* 로고 뒤 글로우 효과 */
.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

/* 하단 2컬럼 레이아웃 */
.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 800px;
    margin: 0 auto 60px;
}

.footer-links h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 25px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-links li i {
    color: var(--gold);
    font-size: 0.85rem;
    margin-top: 4px;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--dark-border);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ========================================
   16. Floating Button
   ======================================== */
.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: var(--shadow-gold);
    transition: all var(--transition-normal);
}

.floating-btn:hover {
    transform: scale(1.1);
}

.floating-btn i {
    font-size: 1.4rem;
    color: var(--dark-bg);
    animation: ring 2s ease infinite;
}

@keyframes ring {
    0%, 100% { transform: rotate(0); }
    10%, 30% { transform: rotate(-10deg); }
    20%, 40% { transform: rotate(10deg); }
    50% { transform: rotate(0); }
}

.floating-tooltip {
    position: absolute;
    right: 75px;
    background: var(--dark-tertiary);
    color: var(--text-white);
    padding: 10px 15px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.floating-btn:hover .floating-tooltip {
    opacity: 1;
    visibility: visible;
}

/* ========================================
   17. Animations
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fade-up {
    animation: fadeInUp 0.8s ease forwards;
}

/* ========================================
   18. Responsive Design
   ======================================== */

/* Tablet */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }
    
    /* Hero Tablet */
    .hero-line-1 {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    
    .hero-line-3 {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero-btn-premium {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Business Tablet */
    .business-showcase {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .showcase-card {
        aspect-ratio: 1/1.1;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .story-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .story-images {
        max-width: 450px;
        margin: 0 auto;
    }
    
    .story-image-news {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 20px;
        width: 100%;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-logo {
        height: 150px;
    }
    
    .logo-glow {
        width: 200px;
        height: 200px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    /* 로딩 로고 모바일 */
    .loader-logo {
        width: 200px;
    }
    
    /* Hero 모바일 - 드라마틱 포커스 */
    .hero-brand-typography {
        margin-bottom: 40px;
        gap: 5px;
    }
    
    .brand-title {
        font-size: 0.9rem;
        letter-spacing: 6px;
    }
    
    .brand-tagline {
        font-size: 0.55rem;
        letter-spacing: 3px;
    }
    
    .hero-sub-copy {
        font-size: 1.1rem;
        letter-spacing: 1px;
        margin-bottom: 30px;
    }
    
    .hero-divider-main {
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .divider-line-left,
    .divider-line-right {
        width: 40px;
    }
    
    .divider-text {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }
    
    .hero-main-hook {
        font-size: 1.8rem;
        margin-bottom: 35px;
        letter-spacing: 0;
    }
    
    .hero-bottom-copy {
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
        margin-bottom: 50px;
    }
    
    .year-number {
        font-size: 1.8rem;
    }
    
    .year-unit {
        font-size: 1rem;
        margin-right: 8px;
    }
    
    .copy-text {
        font-size: 0.95rem;
        letter-spacing: 1px;
    }
    
    /* Hero Mobile - Legacy (hidden) */
    .hero-line-1,
    .hero-line-2,
    .hero-line-3 {
        display: none;
    }
    
    .hero-divider {
        margin-bottom: 25px;
    }
    
    .divider-line {
        width: 50px;
    }
    
    .hero-line-2 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .hero-line-3 {
        flex-direction: column;
        gap: 8px;
        margin-bottom: 40px;
    }
    
    .year-highlight {
        font-size: 2.8rem;
    }
    
    .line-3-text {
        font-size: 1.2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        padding: 0 20px;
    }
    
    .hero-btn-premium {
        width: 100%;
        max-width: 300px;
        padding: 16px 25px;
        font-size: 0.95rem;
    }
    
    .hero-btn-premium .btn-icon {
        width: 28px;
        height: 28px;
    }
    
    .hero-scroll-indicator {
        bottom: 20px;
    }
    
    .scroll-line {
        height: 40px;
    }
    
    .hero-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .hero-scroll {
        bottom: 20px;
    }
    
    .scroll-line {
        height: 40px;
    }
    
    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: var(--dark-secondary);
        flex-direction: column;
        padding: 100px 40px 40px;
        gap: 25px;
        transition: right var(--transition-normal);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-cta {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .stat-card {
        padding: 25px 15px;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    /* Business Mobile */
    .business-header {
        margin-bottom: 50px;
    }
    
    .business-main-title {
        font-size: 1.6rem;
    }
    
    .business-showcase {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto 40px;
        gap: 20px;
    }
    
    .showcase-card {
        aspect-ratio: 16/11;
    }
    
    .showcase-content {
        padding: 20px;
    }
    
    .content-number {
        font-size: 3rem;
        top: 15px;
        right: 15px;
    }
    
    .showcase-title .title-main {
        font-size: 0.8rem;
    }
    
    .showcase-title .title-accent {
        font-size: 1.4rem;
    }
    
    .card-style-1 .showcase-title .title-accent,
    .card-style-3 .showcase-title .title-accent,
    .card-style-4 .showcase-title .title-accent {
        font-size: 1.5rem;
    }
    
    .more-categories {
        padding-top: 30px;
    }
    
    .more-text {
        font-size: 0.85rem;
        gap: 10px;
    }
    
    /* Process */
    .process-timeline {
        padding-left: 40px;
    }
    
    .timeline-line {
        left: 20px;
    }
    
    .process-item,
    .process-item:nth-child(odd) {
        flex-direction: column;
        text-align: left;
        gap: 20px;
    }
    
    .process-item:nth-child(odd) .process-content {
        text-align: left;
    }
    
    .process-icon {
        left: 20px;
        width: 40px;
        height: 40px;
    }
    
    .process-icon i {
        font-size: 1rem;
    }
    
    .process-number {
        font-size: 2rem;
        min-width: auto;
    }
    
    /* Form */
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-tabs {
        flex-direction: column;
    }
    
    .contact-form {
        padding: 25px;
    }
    
    /* Footer Mobile */
    .footer-logo-wrapper {
        margin-bottom: 40px;
    }
    
    .footer-logo {
        height: 120px;
    }
    
    .logo-glow {
        width: 160px;
        height: 160px;
    }
    
    @keyframes logoFloat {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-5px); }
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-links ul {
        align-items: center;
    }
    
    .footer-links li {
        justify-content: center;
    }
    
    /* Hero */
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    /* CTA */
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    /* Floating */
    .floating-btn {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }
    
    .floating-tooltip {
        display: none;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
        letter-spacing: 2px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .stat-card {
        padding: 20px 10px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .feature-item {
        flex-direction: column;
        gap: 10px;
        padding: 20px;
    }
    
    .testimonial-card {
        padding: 25px;
    }
}

/* ========================================
   19. Utility Classes
   ======================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }

.hidden { display: none !important; }
.visible { display: block; }

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus states for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .navbar,
    .floating-btn,
    .scroll-progress,
    #loading-screen {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .section-title,
    .hero-title {
        color: black;
    }
}

/* 가로 스크롤 완벽 차단 및 글자 줄바꿈 */
.site-wrapper {
    overflow-x: hidden !important;
    width: 100%;
    position: relative;
}

@media (max-width: 768px) {
    .hero-main-hook {
        white-space: normal !important; 
        word-break: keep-all !important;
    }
}

/* ================================================
   스토리 타이틀 골드 그라디언트 + 단, 사이즈 수정
   ================================================ */

/* 스토리 섹션 첫 줄 골드 그라디언트 */
.text-gold {
    background: linear-gradient(90deg, #e8c84a, #c9a227);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gold-gradient {
    background: linear-gradient(90deg, #e8c84a 0%, #c9a227 60%, #a17f1a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* html + body 가로스크롤 최종 차단 */
html { overflow-x: hidden; max-width: 100%; }
html, body { max-width: 100%; overflow-x: hidden !important; }

/* particles.js 위치 수정 */
#particles-js, .particles-bg {
    position: absolute !important;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
}

/* hero-main-hook 줄바꿈 수정 */
.hero-main-hook {
    white-space: normal !important;
    word-break: keep-all !important;
}

/* 단, 모바일 크기 */
@media (max-width: 768px) {
    .divider-text { font-size: clamp(30px, 8.5vw, 42px); }
}
