/* ==========================================================================
   AUCTOR BIM Landing Page Styles
   Design Language: Premium Modern Architectural, Sleek Tech Accent, Glassmorphic
   ========================================================================== */

/* 1. Theme Configuration & Global Variables */
:root {
    /* Colors (Cobalt Blue & White Theme) */
    --primary-color: #0047AB;        /* Cobalt Blue Accent */
    --primary-hover: #003682;
    --primary-rgb: 0, 71, 171;
    
    --bg-main: #ffffff;              /* Crisp White */
    --bg-surface: rgba(244, 247, 252, 0.85); /* Cool Light Gray-Blue */
    --bg-card: #ffffff;
    --border-color: rgba(200, 215, 235, 0.6);
    
    --text-primary: #0f172a;        /* Deep Slate */
    --text-secondary: #334155;      /* Slate Gray */
    --text-muted: #64748b;
    
    --accent-gradient: linear-gradient(135deg, #0047AB 0%, #0076ff 100%);
    --card-shadow: 0 10px 30px -10px rgba(0, 71, 171, 0.08);
    --hover-shadow: 0 20px 40px -15px rgba(0, 71, 171, 0.15);
    --backdrop-blur: 12px;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode Variables Override (Deep Cobalt & White Text) */
body.dark-theme {
    --bg-main: #060b16;              /* Deep Navy Space */
    --bg-surface: rgba(13, 21, 39, 0.8); /* Dark Cobalt Surface */
    --bg-card: #0d1527;              /* Deep Navy Slate */
    --border-color: rgba(0, 71, 171, 0.2);
    
    --text-primary: #ffffff;         /* Pure White */
    --text-secondary: #cbd5e1;      /* Cool Gray */
    --text-muted: #64748b;
    
    --accent-gradient: linear-gradient(135deg, #0066ff 0%, #3b82f6 100%);
    --card-shadow: 0 10px 35px -10px rgba(0, 0, 0, 0.5);

    /* Fixed Dark Mode Background */
    background-image: 
        radial-gradient(rgba(0, 102, 255, 0.08) 1.5px, transparent 1.5px),
        linear-gradient(to right, rgba(6, 11, 22, 0.98) 30%, rgba(6, 11, 22, 0.75) 60%, rgba(6, 11, 22, 0) 100%),
        url('hero_visual.jpg');
}

/* 2. Base & Reset Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Offset for sticky header */
}

body {
    font-family: 'Inter', 'Noto Sans KR', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-normal), color var(--transition-normal);
    
    /* Subtle Architectural CAD Dot-Grid Background & Fixed Image Background */
    background-image: 
        radial-gradient(rgba(0, 71, 171, 0.04) 1.5px, transparent 1.5px),
        linear-gradient(to right, rgba(255, 255, 255, 0.95) 30%, rgba(255, 255, 255, 0.7) 60%, rgba(255, 255, 255, 0) 100%),
        url('hero_visual.jpg');
    background-size: 32px 32px, cover, cover;
    background-position: center, center, center right;
    background-repeat: repeat, no-repeat, no-repeat;
    background-attachment: scroll, fixed, fixed;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

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

ul {
    list-style: none;
}

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

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

/* Typography Accent Styles */
.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* 3. Header & Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 1000;
    background-color: var(--bg-surface);
    backdrop-filter: blur(var(--backdrop-blur));
    border-bottom: 1px solid var(--border-color);
    transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 38px;
    width: auto;
    object-fit: contain;
    border-radius: 4px;
}

.logo-fallback-icon {
    font-size: 24px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 22px;
    letter-spacing: 1px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 6px 0;
}

.nav-link:hover {
    color: var(--text-primary);
}

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

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

.contact-btn-nav {
    background: var(--accent-gradient);
    color: white !important;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast) !important;
}

.contact-btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -6px rgba(var(--primary-rgb), 0.4);
}

.contact-btn-nav::after {
    display: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.theme-toggle-btn, .mask-toggle-btn, .mobile-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.theme-toggle-btn:hover, .mask-toggle-btn:hover, .mobile-menu-btn:hover {
    background-color: var(--border-color);
}

.mobile-menu-btn {
    display: none;
}

/* Mobile Drawer (Hidden on Desktop) */
.mobile-drawer {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--bg-card);
    z-index: 999;
    overflow: hidden;
    transition: height var(--transition-normal) ease-in-out;
    border-bottom: 1px solid var(--border-color);
}

.mobile-drawer.open {
    height: calc(100vh - 80px);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    padding: 40px 24px;
    gap: 24px;
}

.mobile-nav-link {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

.mobile-contact-btn {
    text-align: center;
    background: var(--accent-gradient);
    color: white !important;
    padding: 14px;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 12px;
}

/* 4. Hero Section */
.hero-section {
    position: relative;
    padding: 160px 0 100px;
    display: flex;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
    background: transparent;
}

/* Technical grid/line design background */
.hero-bg-visual {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.6;
    pointer-events: none;
}

.visual-line {
    position: absolute;
    background-color: var(--border-color);
}

.line1 {
    top: 30%;
    left: 0;
    width: 100%;
    height: 1px;
}

.line2 {
    left: 45%;
    top: 0;
    width: 1px;
    height: 100%;
}

.line3 {
    left: 75%;
    top: 0;
    width: 1px;
    height: 100%;
}

.visual-circle {
    position: absolute;
    border: 1px solid var(--border-color);
    border-radius: 50%;
}

.circle1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
}

.circle2 {
    width: 600px;
    height: 600px;
    bottom: -200px;
    left: -200px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    border-radius: 30px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.5; }
    100% { transform: scale(0.9); opacity: 1; }
}

.badge-text {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    font-family: 'Outfit', sans-serif;
}

.hero-title {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.2;
    font-family: 'Outfit', 'Noto Sans KR', sans-serif;
}

.hero-desc {
    font-size: 17px;
    color: var(--text-secondary);
}

.hero-actions-btns {
    display: flex;
    gap: 16px;
    margin-top: 12px;
}

/* Button styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
    border: none;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
}

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

.btn-secondary {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background-color: var(--border-color);
    transform: translateY(-3px);
}

/* Premium Hero Image Card */
.hero-visual-card {
    background-color: var(--bg-surface);
    backdrop-filter: blur(var(--backdrop-blur));
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform var(--transition-slow);
}

.hero-visual-card:hover {
    transform: translateY(-5px) rotate(0.5deg);
}

.card-inner-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 18px;
    background-color: rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid var(--border-color);
}

.window-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.window-dot.red { background-color: #ef4444; }
.window-dot.yellow { background-color: #f59e0b; }
.window-dot.green { background-color: #10b981; }

.window-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    font-family: 'Outfit', sans-serif;
    margin-left: 10px;
}

.card-inner-body {
    padding: 24px;
}

.project-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 600;
}

.card-featured-image-wrapper {
    display: block;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.card-featured-image-wrapper:hover .featured-image {
    transform: scale(1.05);
}

.featured-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    padding: 20px;
    color: white;
}

.overlay-title {
    font-size: 18px;
    font-weight: 700;
}

.overlay-subtitle {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

/* 5. General Section Setup */
section {
    padding: 100px 0;
}

.section-header {
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary-color);
    text-transform: uppercase;
}

.section-title {
    font-size: 38px;
    font-weight: 700;
    margin-top: 8px;
    line-height: 1.3;
}

.section-header-desc {
    color: var(--text-secondary);
    margin-top: 12px;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: var(--accent-gradient);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* 6. About CEO Section */
.about-section {
    background-color: transparent;
    border-bottom: 1px solid var(--border-color);
}

body.dark-theme .about-section {
    background-color: transparent;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 48px;
    align-items: start;
}

.profile-card {
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    position: sticky;
    top: 110px;
    box-shadow: var(--card-shadow);
}

.profile-photo-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}
.profile-image-container {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border-color);
    background-color: #ffffff; /* 흰색 배경으로 검은색 로고 대비 부여 */
    padding: 6px;
    flex-shrink: 0;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* 로고가 잘리지 않고 비율을 유지하도록 설정 */
}

.profile-avatar-fallback {
    width: 100%;
    height: 100%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.avatar-icon {
    width: 32px;
    height: 32px;
}

.profile-name-tag h3 {
    font-size: 22px;
    font-weight: 700;
}

.profile-name-tag p {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.profile-meta-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

.meta-item i {
    width: 18px;
    height: 18px;
    color: var(--primary-color);
}

.meta-item a:hover {
    color: var(--primary-color);
}

.profile-credentials h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tag {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
}

.cert-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cert-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}

.cert-list li i {
    width: 16px;
    height: 16px;
    color: var(--primary-color);
}

/* Timeline Column */
.timeline-col {
    display: flex;
    flex-direction: column;
}

.timeline-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.tab-btn {
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    padding: 8px 16px;
    position: relative;
    transition: color var(--transition-fast);
}

.tab-btn:hover {
    color: var(--text-primary);
}

.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -13px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-gradient);
    border-radius: 3px 3px 0 0;
}

.timeline-content {
    display: none;
}

.timeline-content.active {
    display: block;
}

.timeline-list {
    position: relative;
    padding-left: 28px;
}

.timeline-list::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 9px;
    width: 2px;
    height: calc(100% - 20px);
    background-color: var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 36px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -28px;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--bg-card);
    border: 4px solid var(--border-color);
    transition: border-color var(--transition-fast);
}

.timeline-item:hover .timeline-dot {
    border-color: var(--primary-color);
}

.timeline-item.highlight .timeline-dot {
    border-color: #2dd4bf;
    background-color: #2dd4bf;
}

.timeline-date {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.timeline-info {
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 12px;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.timeline-info:hover {
    transform: translateX(5px);
    box-shadow: var(--card-shadow);
}

.timeline-title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
}

.timeline-text {
    font-size: 14px;
    color: var(--text-secondary);
}

.timeline-subtext {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 6px;
    border-left: 2px solid var(--border-color);
    padding-left: 10px;
}

/* 7. Services Section */
.services-section {
    background-color: transparent;
    border-bottom: 1px solid var(--border-color);
}

body.dark-theme .services-section {
    background-color: transparent;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.service-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 0;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-image-wrapper {
    height: 220px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.service-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.service-card:hover .service-card-image {
    transform: scale(1.05);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--hover-shadow);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: rgba(var(--primary-rgb), 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    margin-bottom: 24px;
    transition: transform var(--transition-normal);
}

.service-card:hover .service-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.service-icon-wrapper i {
    width: 30px;
    height: 30px;
}

.service-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.service-intro {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.service-desc {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.service-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
}

.service-features li i {
    width: 16px;
    height: 16px;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 3px;
}

/* 8. Research Section */
.research-section {
    background-color: transparent;
    border-bottom: 1px solid var(--border-color);
}

body.dark-theme .research-section {
    background-color: transparent;
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.research-card {
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.research-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.research-image-wrapper {
    height: 200px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.research-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.research-card:hover .research-card-image {
    transform: scale(1.05);
}

.research-card-content {
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.research-card-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.research-desc-text {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

.research-keywords {
    display: flex;
    gap: 8px;
}

.kwd {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-color);
    background-color: rgba(var(--primary-rgb), 0.08);
    padding: 4px 10px;
    border-radius: 4px;
}

/* 9. Media & Naver Cafe Section */
.media-section {
    background-color: transparent;
    border-bottom: 1px solid var(--border-color);
}

body.dark-theme .media-section {
    background-color: transparent;
}

.channel-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 60px;
}

.channel-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    gap: 24px;
    align-items: center;
    box-shadow: var(--card-shadow);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.channel-card:hover {
    transform: translateY(-5px);
}

.youtube-card:hover {
    border-color: #ef4444;
    box-shadow: 0 15px 30px -10px rgba(239, 68, 68, 0.15);
}

.cafe-card:hover {
    border-color: #10b981;
    box-shadow: 0 15px 30px -10px rgba(16, 185, 129, 0.15);
}

.channel-icon-bg {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
}

.youtube-card .channel-icon-bg {
    background-color: #ef4444;
}

.cafe-card .channel-icon-bg {
    background-color: #10b981;
}

.channel-icon-bg i {
    width: 32px;
    height: 32px;
}

.channel-info-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.channel-info-text h3 {
    font-size: 18px;
    font-weight: 700;
}

.channel-info-text p {
    font-size: 13px;
    color: var(--text-secondary);
}

.btn-channel-go {
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
}

.youtube-card .btn-channel-go { color: #ef4444; }
.cafe-card .btn-channel-go { color: #10b981; }

.video-grid-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.video-grid-title i {
    color: #ef4444;
}

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

.video-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.video-thumbnail {
    aspect-ratio: 16/9;
    background-size: cover;
    background-position: center;
    position: relative;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.video-card:hover .play-overlay {
    opacity: 1;
}

.play-overlay i {
    width: 44px;
    height: 44px;
    color: white;
    background-color: #ef4444;
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.5);
    transition: transform var(--transition-fast);
}

.video-card:hover .play-overlay i {
    transform: scale(1.1);
}

.video-details {
    padding: 18px;
}

.video-details h4 {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-details p {
    font-size: 12px;
    color: var(--text-secondary);
}

/* 10. Contact Section */
.contact-section {
    background-color: transparent;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

body.dark-theme .contact-section {
    background-color: transparent;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.contact-info-col {
    display: flex;
    flex-direction: column;
}

.contact-intro-desc {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 16px 0 36px;
}

.direct-contact-methods {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.method-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.method-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(var(--primary-rgb), 0.08);
    color: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.method-card h5 {
    font-size: 15px;
    font-weight: 700;
}

.method-card p {
    font-size: 14px;
    color: var(--text-secondary);
}

.contact-form-col {
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 36px;
    box-shadow: var(--card-shadow);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input, .form-group select, .form-group textarea {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

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

.btn-block {
    width: 100%;
    margin-top: 10px;
}

/* 11. Footer Section */
.main-footer {
    background-color: transparent;
    border-top: 1px solid var(--border-color);
    padding: 48px 0;
}

body.dark-theme .main-footer {
    background-color: transparent;
}

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

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-logo .logo-text {
    font-size: 20px;
}

.footer-copy {
    font-size: 12px;
    color: var(--text-muted);
}

.footer-address {
    font-size: 12px;
    color: var(--text-secondary);
}

.footer-sns-links {
    display: flex;
    gap: 16px;
}

.footer-sns-links a {
    width: 56px;
    height: 56px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: transform var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.footer-sns-links a.sns-youtube svg,
.footer-sns-links a.sns-facebook svg,
.footer-sns-links a.sns-instagram svg,
.footer-sns-links a.sns-threads svg {
    width: 30px;
    height: 30px;
}

.footer-sns-links a.sns-naver svg,
.footer-sns-links a.sns-linkedin svg,
.footer-sns-links a.sns-x svg {
    width: 27px;
    height: 27px;
}

.footer-sns-links a:hover {
    transform: translateY(-3px);
}

.sns-youtube:hover {
    color: #ff0000 !important;
    border-color: rgba(255, 0, 0, 0.4) !important;
    box-shadow: 0 0 12px rgba(255, 0, 0, 0.2) !important;
}

.sns-naver:hover {
    color: #03c75a !important;
    border-color: rgba(3, 199, 90, 0.4) !important;
    box-shadow: 0 0 12px rgba(3, 199, 90, 0.2) !important;
}

.sns-linkedin:hover {
    color: #0077b5 !important;
    border-color: rgba(0, 119, 181, 0.4) !important;
    box-shadow: 0 0 12px rgba(0, 119, 181, 0.2) !important;
}

.sns-facebook:hover {
    color: #1877f2 !important;
    border-color: rgba(24, 119, 242, 0.4) !important;
    box-shadow: 0 0 12px rgba(24, 119, 242, 0.2) !important;
}

.sns-instagram:hover {
    color: #e1306c !important;
    border-color: rgba(225, 48, 108, 0.4) !important;
    box-shadow: 0 0 12px rgba(225, 48, 108, 0.2) !important;
}

.sns-threads:hover, .sns-x:hover {
    color: var(--text-primary) !important;
    border-color: var(--text-primary) !important;
    box-shadow: 0 0 12px rgba(15, 23, 42, 0.15) !important;
}

body.dark-theme .sns-threads:hover, body.dark-theme .sns-x:hover {
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.2) !important;
}

/* 12. Responsive Breakpoints */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 42px;
    }
    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .profile-card {
        position: static;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    .mobile-menu-btn {
        display: flex;
    }
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .hero-badge {
        align-self: center;
    }
    .hero-actions-btns {
        justify-content: center;
    }
    .services-grid, .research-grid, .channel-grid, .video-grid {
        grid-template-columns: 1fr;
    }
    .service-card-content {
        padding: 30px 24px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .footer-container {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    .footer-left {
        align-items: center;
    }
    .footer-sns-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }
}

/* 13. Premium Background Floating Orbs & Scroll Reveal Animations */

/* Floating Glow Orbs */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.08;
    pointer-events: none;
    z-index: -2;
    background: var(--accent-gradient);
    animation: floatOrb 25s infinite alternate ease-in-out;
    transition: opacity var(--transition-normal);
}

body.dark-theme .glow-orb {
    opacity: 0.12; /* Slightly brighter in dark theme for deep neon glow */
}

.orb-1 {
    width: 500px;
    height: 500px;
    top: 15%;
    left: -150px;
}

.orb-2 {
    width: 600px;
    height: 600px;
    top: 55%;
    right: -200px;
    animation-duration: 35s;
    animation-delay: -5s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    top: 85%;
    left: 10%;
    animation-duration: 30s;
    animation-delay: -10s;
}

@keyframes floatOrb {
    0% {
        transform: translateY(0) scale(1) rotate(0deg);
    }
    50% {
        transform: translateY(-50px) scale(1.08) rotate(180deg);
    }
    100% {
        transform: translateY(0) scale(1) rotate(360deg);
    }
}

/* Scroll Reveal Animations styling */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), 
                transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform, opacity;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced Hover Card Glows */
.service-card:hover, .research-card:hover, .channel-card:hover, .video-card:hover {
    box-shadow: 0 20px 45px -10px rgba(0, 71, 171, 0.15), 
                0 0 15px -3px rgba(0, 71, 171, 0.08);
}

body.dark-theme .service-card:hover, 
body.dark-theme .research-card:hover, 
body.dark-theme .channel-card:hover, 
body.dark-theme .video-card:hover {
    box-shadow: 0 20px 45px -10px rgba(0, 102, 255, 0.25), 
                0 0 20px -3px rgba(0, 102, 255, 0.15);
}

/* 14. Multilingual Toggle Styles & Layout */
.lang-selector {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    padding: 2px 8px;
    border-radius: 12px;
    transition: color var(--transition-fast), background-color var(--transition-fast);
}

.lang-btn:hover {
    color: var(--text-primary);
}

.lang-btn.active {
    color: white;
    background: var(--accent-gradient);
    font-weight: 700;
}

.lang-divider {
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    color: var(--border-color);
    user-select: none;
}

.mobile-lang-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

/* Hide inactive language elements natively via CSS */
html[lang="ko"] .lang-en {
    display: none !important;
}
html[lang="en"] .lang-ko {
    display: none !important;
}

/* ==========================================================================
   15. Unified Email Contact Styles
   ========================================================================== */

.contact-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 60px 40px;
    box-shadow: var(--card-shadow);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    backdrop-filter: blur(var(--backdrop-blur));
    transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--hover-shadow);
}

.contact-card .section-subtitle {
    margin-bottom: 8px;
}

.contact-card .section-title {
    margin-bottom: 24px;
}

.contact-card .contact-intro-desc {
    max-width: 650px;
    margin: 0 auto 40px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.mail-inquiry-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    background: rgba(0, 71, 171, 0.04);
    border: 1px solid rgba(0, 71, 171, 0.15);
    border-radius: 16px;
    padding: 36px;
    margin-bottom: 40px;
}

body.dark-theme .mail-inquiry-box {
    background: rgba(0, 102, 255, 0.05);
    border: 1px solid rgba(0, 102, 255, 0.2);
}

.mail-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Outfit', sans-serif;
}

.mail-badge i {
    width: 24px;
    height: 24px;
}

.btn-mail-contact {
    padding: 16px 32px;
    font-size: 17px;
    border-radius: 12px;
    font-weight: 600;
    box-shadow: 0 10px 25px -5px rgba(var(--primary-rgb), 0.3);
}

.direct-contact-methods-horizontal {
    border-top: 1px solid var(--border-color);
    padding-top: 36px;
    display: flex;
    justify-content: center;
}

.method-card-inline {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
    max-width: 600px;
}

.method-card-inline .method-icon {
    width: 54px;
    height: 54px;
    background-color: rgba(var(--primary-rgb), 0.08);
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.method-card-inline h5 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.method-card-inline p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Responsiveness */
@media (max-width: 768px) {
    .contact-card {
        padding: 40px 24px;
    }
    
    .mail-badge {
        font-size: 18px;
    }
    
    .btn-mail-contact {
        width: 100%;
        padding: 14px 20px;
        font-size: 15px;
    }
    
    .method-card-inline {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }
}
