/* ============================================
   JEMA 12 - Landing Page Styles
   Cyberpunk/Futuristic Theme with Glassmorphism
   ============================================ */

:root {
    /* Primary Colors (Neon Blue & Purple Gradient) */
    --primary: #0066FF;
    --primary-light: #00CCFF;
    --primary-dark: #0044CC;
    --secondary: #8B5CF6;
    --accent: #FF6600;
    
    /* Background */
    --bg-dark: #0A0E27;
    --bg-darker: #050810;
    --bg-card: rgba(255, 255, 255, 0.05);
    
    /* Text */
    --text-primary: #FFFFFF;
    --text-secondary: #B8C5D6;
    --text-tertiary: #6B7A8F;
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: rgba(0, 0, 0, 0.3);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Orbitron', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: var(--spacing-xl) 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-background #gpu-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0.35;
    mix-blend-mode: screen;
    filter: blur(0.3px);
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    bottom: -150px;
    right: -150px;
    animation-delay: 5s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    margin-bottom: var(--spacing-md);
}

.badge-text {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-light);
    box-shadow: 0 8px 32px var(--glass-shadow);
}

.hero-title {
    margin-bottom: var(--spacing-md);
}

.title-main {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 0 40px rgba(0, 102, 255, 0.5);
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.2);
    }
}

.title-subtitle {
    display: block;
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 400;
    color: var(--text-secondary);
    margin-top: var(--spacing-xs);
}

.hero-description {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--text-primary);
    box-shadow: 0 8px 32px rgba(0, 102, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 102, 255, 0.5);
}

.btn-secondary {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid var(--glass-border);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: var(--glass-bg);
    border-color: var(--primary-light);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   Manseryeok Quick Access Section
   ============================================ */

.manseryeok-quick {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.manseryeok-quick-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.manseryeok-quick-text {
    padding: var(--spacing-md);
}

.manseryeok-quick-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: var(--spacing-sm);
    background: linear-gradient(135deg, var(--primary-light), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.manseryeok-quick-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.btn-manseryeok {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.manseryeok-quick-preview {
    padding: var(--spacing-md);
}

.energy-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
}

.energy-preview-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: var(--spacing-sm);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.energy-preview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-light), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.energy-preview-card:hover::before {
    opacity: 1;
}

.energy-preview-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-light);
}

.energy-preview-year::before {
    background: linear-gradient(90deg, var(--primary-light), var(--primary));
}

.energy-preview-month::before {
    background: linear-gradient(90deg, #00ff88, #00cc66);
}

.energy-preview-day::before {
    background: linear-gradient(90deg, #ffd700, #ffaa00);
}

.energy-preview-hour::before {
    background: linear-gradient(90deg, var(--secondary), #6d28d9);
}

.energy-preview-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.energy-preview-value {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(0, 204, 255, 0.3);
}

@media (max-width: 768px) {
    .manseryeok-quick-content {
        grid-template-columns: 1fr;
    }

    .manseryeok-quick-title {
        font-size: 2rem;
    }

    .energy-preview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   MKM Studio Section
   ============================================ */

.studio {
    padding: var(--spacing-xl) 0;
    background: radial-gradient(circle at top, rgba(0, 204, 255, 0.18), transparent 55%), var(--bg-dark);
}

.studio-content {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: var(--spacing-xl);
    align-items: center;
}

.studio-tag {
    display: inline-block;
    padding: 0.4rem 1.1rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 204, 255, 0.5);
    background: rgba(0, 204, 255, 0.06);
    color: var(--primary-light);
    font-size: 0.85rem;
    letter-spacing: 0.03em;
    margin-bottom: var(--spacing-sm);
}

.studio-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: var(--spacing-sm);
}

.studio-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.studio-list {
    list-style: none;
    padding-left: 0;
    color: var(--text-secondary);
}

.studio-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.6rem;
}

.studio-list li::before {
    content: "◆";
    position: absolute;
    left: 0;
    top: 0.1rem;
    font-size: 0.7rem;
    color: var(--primary-light);
}

.studio-preview {
    display: flex;
    justify-content: flex-end;
}

.studio-preview-window {
    width: 100%;
    max-width: 420px;
    border-radius: 24px;
    background: radial-gradient(circle at top, rgba(0, 204, 255, 0.22), rgba(10, 14, 39, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-10deg) rotateX(6deg);
    transform-origin: center left;
    transition: transform 0.6s ease, box-shadow 0.6s ease;
}

.studio-preview-window:hover {
    transform: perspective(1000px) rotateY(-4deg) rotateX(2deg) translateY(-6px);
    box-shadow: 0 32px 100px rgba(0, 0, 0, 0.8);
}

.studio-preview-header {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.7rem 1rem;
    background: linear-gradient(90deg, rgba(5, 8, 16, 0.9), rgba(10, 20, 50, 0.95));
}

.studio-preview-header .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.studio-preview-header .dot-red {
    background: #ff5f57;
}

.studio-preview-header .dot-yellow {
    background: #ffbd2e;
}

.studio-preview-header .dot-green {
    background: #28c840;
}

.studio-preview-title {
    margin-left: 0.6rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.studio-preview-body {
    padding: 1.2rem 1.4rem 1.5rem;
}

.studio-preview-hero {
    height: 120px;
    border-radius: 18px;
    background: radial-gradient(circle at 0% 0%, rgba(0, 204, 255, 0.5), transparent 55%), radial-gradient(circle at 100% 100%, rgba(139, 92, 246, 0.6), transparent 55%), linear-gradient(135deg, rgba(0, 16, 64, 0.9), rgba(2, 6, 23, 0.95));
    box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.06);
    margin-bottom: 1rem;
}

.studio-preview-bars {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.studio-preview-bars span {
    flex: 1;
    height: 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.8);
    overflow: hidden;
    position: relative;
}

.studio-preview-bars span::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 204, 255, 0.1), rgba(0, 204, 255, 0.6), rgba(139, 92, 246, 0.6));
    transform: translateX(-100%);
    animation: studio-bar-move 4s linear infinite;
}

.studio-preview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.4rem;
}

.studio-preview-grid div {
    height: 40px;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.2);
}

@keyframes studio-bar-move {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}
/* ============================================
   Features Section
   ============================================ */

.features {
    padding: var(--spacing-xl) 0;
    background: var(--bg-darker);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.feature-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: var(--spacing-md);
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px var(--glass-shadow);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-light);
    box-shadow: 0 16px 48px rgba(0, 102, 255, 0.3);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: var(--spacing-sm);
    filter: drop-shadow(0 0 20px rgba(0, 102, 255, 0.5));
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.feature-description {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    line-height: 1.6;
}

.feature-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(0, 102, 255, 0.2);
    border: 1px solid var(--primary);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--primary-light);
    margin-top: var(--spacing-xs);
}

/* ============================================
   About Section
   ============================================ */

.about {
    padding: var(--spacing-xl) 0;
    background: var(--bg-dark);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    margin-top: var(--spacing-lg);
}

.about-text h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-light);
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.about-quote {
    margin-top: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-left: 4px solid var(--primary);
    border-radius: 8px;
}

.about-quote p {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.quote-author {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    font-style: normal;
}

.character-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-sm);
}

.character-item {
    aspect-ratio: 1;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-light);
    transition: all 0.3s ease;
}

.character-item:hover {
    transform: scale(1.1);
    border-color: var(--primary-light);
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.4);
}

/* ============================================
   CTA Section
   ============================================ */

.cta {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1), rgba(139, 92, 246, 0.1));
    position: relative;
    overflow: hidden;
}

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

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.cta-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

/* ============================================
   Footer
   ============================================ */

.footer {
    padding: var(--spacing-xl) 0 var(--spacing-md);
    background: var(--bg-darker);
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
}

.footer-brand h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

.company-info {
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--glass-border);
}

.company-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
    font-size: 1rem;
}

.company-details {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    line-height: 1.8;
}

.company-details a {
    color: var(--primary-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.company-details a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.footer-column a {
    display: block;
    color: var(--text-tertiary);
    text-decoration: none;
    margin-bottom: var(--spacing-xs);
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--glass-border);
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

/* ============================================
   Global Navigation Bar (GNB)
   ============================================ */

.gnb {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 14, 39, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
}

.gnb-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gnb-logo .logo-link {
    text-decoration: none;
    color: var(--text-primary);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gnb-links {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.gnb-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.gnb-link:hover {
    color: var(--primary-light);
    background: var(--glass-bg);
}

.gnb-auth {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

/* 모바일 메뉴 토글 버튼 */
.gnb-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
    touch-action: manipulation;
}

.gnb-mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.gnb-mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.gnb-mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.gnb-mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ============================================
   Services Gateway Section
   ============================================ */

.services-gateway {
    padding: var(--spacing-xl) 0;
    background: var(--bg-darker);
    position: relative;
    margin-top: 80px; /* GNB 높이만큼 여백 */
}

.gateway-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.gate-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: var(--spacing-lg);
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 8px 32px var(--glass-shadow);
    position: relative;
    overflow: hidden;
}

.gate-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--accent));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.gate-card:hover {
    transform: translateY(-12px);
    border-color: var(--primary-light);
    box-shadow: 0 20px 60px rgba(0, 102, 255, 0.4);
}

.gate-studio:hover {
    box-shadow: 0 20px 60px rgba(0, 102, 255, 0.5);
}

.gate-broadcast:hover {
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.5);
}

.gate-marketplace:hover {
    box-shadow: 0 20px 60px rgba(255, 102, 0, 0.5);
}

.gate-icon {
    font-size: 4.5rem;
    margin-bottom: var(--spacing-sm);
    filter: drop-shadow(0 0 20px rgba(0, 102, 255, 0.6));
    animation: float-icon 3s ease-in-out infinite;
}

@keyframes float-icon {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.gate-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gate-description {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.gate-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(0, 102, 255, 0.15);
    border: 1px solid var(--primary);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--primary-light);
    margin-bottom: var(--spacing-md);
}

.btn-gate-full {
    width: 100%;
    margin-bottom: var(--spacing-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 1.25rem 2rem;
}

.btn-gate {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 2.5rem;
    min-width: 200px;
}

.btn-icon {
    font-size: 2rem;
}

.btn-text {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
}

.btn-subtext {
    font-size: 0.85rem;
    opacity: 0.8;
    font-weight: 400;
}

.gate-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: var(--spacing-sm);
}

.gate-feature {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.3);
    border-radius: 12px;
    font-size: 0.8rem;
    color: var(--primary-light);
}

/* ============================================
   Responsive Design (MKM12 이론 기반)
   Golden Ratio (1.618) 및 화면비율 최적화
   ============================================ */

/* 모바일 터치 타겟 최적화 (최소 44px) */
.touch-target {
    min-height: 44px;
    min-width: 44px;
    touch-action: manipulation;
}

/* 모바일 뷰포트 높이 오류 수정 (100vh → 100dvh) */
@media (max-width: 768px) {
    :root {
        --spacing-xs: 0.5rem;
        --spacing-sm: 0.75rem;
        --spacing-md: 1.5rem;
        --spacing-lg: 2.5rem;
        --spacing-xl: 3rem;
    }
    
    .container {
        padding: 0 1rem;
        max-width: 100%;
    }
    
    /* GNB 모바일 최적화 */
    .gnb {
        padding: 0.75rem 0;
    }
    
    .gnb-content {
        flex-wrap: wrap;
        gap: 0.75rem;
        position: relative;
    }
    
    .gnb-logo .logo-text {
        font-size: 1.1rem;
    }
    
    .gnb-mobile-toggle {
        display: flex;
        order: 2;
    }
    
    .gnb-links {
        order: 3;
        width: 100%;
        display: none;
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem;
        background: var(--bg-darker);
        backdrop-filter: blur(20px);
        border: 1px solid var(--glass-border);
        border-radius: 12px;
        margin-top: 0.5rem;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    }
    
    .gnb-links.active {
        display: flex;
    }
    
    .gnb-link {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .gnb-link:active {
        background: var(--glass-bg);
        transform: scale(0.98);
    }
    
    .gnb-auth {
        order: 2;
        gap: 0.5rem;
        margin-left: auto;
    }
    
    .gnb-auth .gnb-link {
        font-size: 0.85rem;
        padding: 0.5rem 0.75rem;
        min-height: 44px;
    }
    
    .btn-small {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        min-height: 44px;
        white-space: nowrap;
    }
    
    /* Hero 섹션 모바일 최적화 */
    .hero {
        min-height: 100vh;
        min-height: 100dvh; /* 동적 뷰포트 높이 */
        padding: 2rem 0;
    }
    
    .hero-content {
        padding: 1rem 0;
    }
    
    .hero-badge {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .hero-title .title-main {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 0.5rem;
    }
    
    .hero-title .title-subtitle {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .hero-description {
        font-size: 0.95rem;
        line-height: 1.6;
        margin: 1rem 0 1.5rem;
        padding: 0 0.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        margin-bottom: 2rem;
    }
    
    .btn-gate {
        width: 100%;
        min-width: auto;
        padding: 1rem 1.5rem;
        min-height: 56px; /* 터치 타겟 최적화 */
        flex-direction: row;
        justify-content: flex-start;
        gap: 1rem;
    }
    
    .btn-gate .btn-icon {
        font-size: 1.5rem;
        flex-shrink: 0;
    }
    
    .btn-gate .btn-text {
        font-size: 1rem;
        font-weight: 600;
    }
    
    .btn-gate .btn-subtext {
        font-size: 0.8rem;
        margin-top: 0.25rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .stat-item {
        min-width: calc(33.333% - 1rem);
        flex: 1 1 auto;
    }
    
    .stat-number {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .stat-label {
        font-size: 0.8rem;
        margin-top: 0.25rem;
    }
    
    /* 만세력 Quick Access 모바일 */
    .manseryeok-quick {
        padding: 2rem 0;
    }
    
    .manseryeok-quick-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .manseryeok-quick-title {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-bottom: 0.75rem;
    }
    
    .manseryeok-quick-description {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }
    
    .btn-manseryeok {
        width: 100%;
        min-height: 48px;
        padding: 0.875rem 1.5rem;
    }
    
    .energy-preview-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .energy-preview-card {
        padding: 1rem;
    }
    
    .energy-preview-value {
        font-size: 1.5rem;
    }
    
    /* Gateway Grid 모바일 */
    .gateway-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .gate-card {
        padding: 1.5rem;
    }
    
    .gate-icon {
        font-size: 3rem;
        margin-bottom: 1rem;
    }
    
    .gate-title {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .gate-description {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }
    
    .btn-gate-full {
        width: 100%;
        min-height: 48px;
        margin-top: 1rem;
    }
    
    /* Studio 섹션 모바일 */
    .studio {
        padding: 2rem 0;
    }
    
    .studio-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .studio-title {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .studio-description {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }
    
    .studio-list {
        font-size: 0.85rem;
        line-height: 1.8;
        margin-bottom: 1rem;
    }
    
    /* Features Grid 모바일 */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-icon {
        font-size: 3rem;
        margin-bottom: 1rem;
    }
    
    .feature-title {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    .feature-description {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    /* About 섹션 모바일 */
    .about {
        padding: 2rem 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-text h3 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .about-text p {
        font-size: 0.9rem;
        line-height: 1.7;
        margin-bottom: 1rem;
    }
    
    .character-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
    
    .character-item {
        padding: 0.75rem 0.5rem;
        font-size: 0.85rem;
    }
    
    /* CTA 섹션 모바일 */
    .cta {
        padding: 2rem 0;
    }
    
    .cta-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }
    
    .cta-description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .btn-large {
        width: 100%;
        min-height: 56px;
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    
    /* Footer 모바일 */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .footer-column h4 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .footer-column a {
        font-size: 0.85rem;
        padding: 0.5rem 0;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    /* 버튼 전역 모바일 최적화 */
    .btn {
        min-height: 44px;
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
        touch-action: manipulation;
    }
    
    /* 섹션 헤더 모바일 */
    .section-header {
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 0.75rem;
    }
    
    .section-description {
        font-size: 0.9rem;
        line-height: 1.6;
    }
}

/* 작은 모바일 (320px - 480px) */
@media (max-width: 480px) {
    :root {
        --spacing-xs: 0.375rem;
        --spacing-sm: 0.5rem;
        --spacing-md: 1rem;
        --spacing-lg: 1.5rem;
        --spacing-xl: 2rem;
    }
    
    .container {
        padding: 0 0.75rem;
    }
    
    .hero-title .title-main {
        font-size: 2rem;
    }
    
    .hero-title .title-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-description {
        font-size: 0.85rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .character-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* 태블릿 (768px - 1024px) - Golden Ratio 기반 */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 90%;
        padding: 0 2rem;
    }
    
    .gateway-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .gate-card:last-child {
        grid-column: 1 / -1;
        max-width: calc(100% / 1.618); /* Golden Ratio */
        margin: 0 auto;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .studio-content {
        grid-template-columns: 1.618fr 1fr; /* Golden Ratio */
    }
}

/* ============================================
   Smooth Scroll
   ============================================ */

html {
    scroll-behavior: smooth;
}

/* ============================================
   Loading Animation
   ============================================ */

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

.feature-card,
.about-text,
.character-item {
    animation: fadeIn 0.6s ease-out;
}

