@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

/* CSS Reset & Variables (Dark Blue Theme by Default) */
:root {
    --bg-base: #080c18;
    --bg-surface: rgba(15, 23, 42, 0.7);
    --bg-surface-hover: rgba(30, 41, 59, 0.55);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-active: rgba(59, 130, 246, 0.5);
    
    --primary: #3b82f6;
    --primary-gradient: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 50%, #06b6d4 100%);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --accent: #06b6d4;
    
    --font-heading: 'Outfit', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-premium: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
    --shadow-glow: 0 0 30px rgba(59, 130, 246, 0.25);
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* 추가된 테마 다각화 변수들 */
    --bg-header-scrolled: rgba(8, 12, 24, 0.85);
    --bg-footer: rgba(4, 6, 14, 0.9);
    --bg-chip: rgba(255, 255, 255, 0.02);
    --bg-register: rgba(99, 102, 241, 0.03);
}

/* Light Blue Theme overrides */
body[data-theme="light"] {
    --bg-base: #f1f5f9;
    --bg-surface: rgba(255, 255, 255, 0.85);
    --bg-surface-hover: rgba(241, 245, 249, 0.95);
    --border-color: rgba(15, 23, 42, 0.08);
    --border-color-active: rgba(37, 99, 235, 0.5);
    
    --primary: #2563eb;
    --primary-gradient: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 50%, #0891b2 100%);
    --text-primary: #0f172a;
    --text-secondary: #1e293b; /* 대비 강화 (#334155 -> #1e293b) */
    --text-muted: #475569;      /* 대비 강화 (#64748b -> #475569) */
    --accent: #0891b2;
    
    --shadow-premium: 0 15px 30px -10px rgba(15, 23, 42, 0.08);
    --shadow-glow: 0 0 25px rgba(37, 99, 235, 0.1);
    
    /* 추가된 테마 다각화 변수들 (라이트 테마 최적화) */
    --bg-header-scrolled: rgba(255, 255, 255, 0.85);
    --bg-footer: rgba(241, 245, 249, 0.95);
    --bg-chip: rgba(15, 23, 42, 0.04);
    --bg-register: rgba(37, 99, 235, 0.02);
}

/* Gray Theme overrides */
body[data-theme="gray"] {
    --bg-base: #18181b;
    --bg-surface: rgba(39, 39, 42, 0.7);
    --bg-surface-hover: rgba(63, 63, 70, 0.55);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-active: rgba(161, 161, 170, 0.5);
    
    --primary: #71717a;
    --primary-gradient: linear-gradient(135deg, #3f3f46 0%, #71717a 50%, #d4d4d8 100%);
    --text-primary: #f4f4f5;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --accent: #e4e4e7;
    
    --shadow-premium: 0 20px 40px -15px rgba(0, 0, 0, 0.75);
    --shadow-glow: 0 0 25px rgba(113, 113, 122, 0.15);
    
    /* 추가된 테마 다각화 변수들 (그레이 테마 최적화) */
    --bg-header-scrolled: rgba(24, 24, 27, 0.85);
    --bg-footer: rgba(20, 20, 20, 0.9);
    --bg-chip: rgba(255, 255, 255, 0.03);
    --bg-register: rgba(161, 161, 170, 0.03);
}

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

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

/* Background Decorative Lights */
body::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

body::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: -10%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 8rem 0;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-smooth);
}

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

/* Glassmorphism Common Style */
.glass-panel {
    background: var(--bg-surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
}

.glass-panel:hover {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), var(--shadow-glow);
}

/* Typography & Titles */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
    font-weight: 700;
}

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-tag {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 1rem;
    display: inline-block;
}

.section-title {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.125rem;
    max-width: 650px;
    margin: 0 auto 4rem;
}

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

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
    transition: var(--transition-smooth);
}

header.scrolled {
    background: var(--bg-header-scrolled);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

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

.btn-header {
    background: var(--primary-gradient);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    padding: 0.75rem 1.6rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4), 0 0 10px rgba(6, 182, 212, 0.2);
    letter-spacing: -0.01em;
}

.btn-header:hover {
    transform: translateY(-2px) scale(1.03);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6), 0 0 20px rgba(6, 182, 212, 0.4);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 10rem;
    padding-bottom: 5rem;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-tag {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: var(--accent);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hero-title-sub {
    font-size: 1.65rem;
    font-weight: 600;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.hero-desc {
    color: var(--text-secondary);
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

.btn-primary {
    background: var(--primary-gradient);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    padding: 1.1rem 2.4rem;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4), 0 0 15px rgba(6, 182, 212, 0.25);
    letter-spacing: -0.01em;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.6), 0 0 25px rgba(6, 182, 212, 0.45);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 1.1rem 2.2rem;
    border-radius: 16px;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Feature Badge Card / Graphic in Hero Right */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-box {
    width: 100%;
    max-width: 420px;
    padding: 2.5rem;
    position: relative;
}

.visual-glow {
    position: absolute;
    width: 250px;
    height: 250px;
    background: var(--primary-gradient);
    filter: blur(100px);
    opacity: 0.3;
    border-radius: 50%;
    z-index: -1;
}

.visual-card {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    transition: var(--transition-smooth);
}

.badge-item:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(5px);
}

.badge-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(99, 102, 241, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
}

.badge-content h4 {
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.badge-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}
/* Hero Quick Info Bar */
.hero-info-bar {
    margin-top: 0;
    margin-bottom: 4rem;
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.info-bar-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
}

.info-bar-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.4rem;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.1);
}

.info-bar-content {
    text-align: left;
}

.info-bar-content h4 {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.25rem;
}

.info-bar-content p {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
}

.info-bar-item.border-x {
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
}

/* Target & Benefits Sections */
.target-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.target-card {
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}

.target-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--primary-gradient);
    transition: var(--transition-smooth);
}

.target-card:hover::before {
    height: 100%;
}

.card-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.02) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.target-card h3 {
    font-size: 1.5rem;
}

.target-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Curriculum Section (Tabs) */
.curriculum-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.tab-btn.active {
    background: var(--primary-gradient);
    border-color: transparent;
    color: white;
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.3);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.6s ease-out forwards;
}

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

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

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: linear-gradient(to bottom, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.6), rgba(99, 102, 241, 0.1));
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 1rem 3rem;
    position: relative;
    background: transparent;
    width: 50%;
    margin-bottom: 2rem;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    right: -8px;
    background-color: var(--bg-base);
    border: 3px solid var(--primary);
    border-radius: 50%;
    top: 2rem;
    z-index: 1;
    box-shadow: 0 0 10px var(--primary);
    transition: var(--transition-smooth);
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

.timeline-item.right::after {
    left: -8px;
}

.timeline-card {
    padding: 2.25rem;
}

.timeline-time {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: block;
}

.timeline-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.timeline-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Instructor Section */
.instructor-card {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 4rem;
    padding: 4rem;
    align-items: center;
}

.instructor-img-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 1;
    border: 1px solid var(--border-color);
}

.instructor-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.instructor-card:hover .instructor-img {
    transform: scale(1.05);
}

.instructor-details h3 {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
}

.instructor-title {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: block;
}

.instructor-bio {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.instructor-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.spec-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 8px var(--primary);
}

/* Registration Section & Form */
.registration-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 4rem 3.5rem;
    text-align: center;
}

.registration-container h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.registration-container p.desc {
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
    text-align: left;
}

.form-input {
    width: 100%;
    padding: 1.1rem 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: var(--transition-smooth);
}

.form-input:focus {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.15);
}

.form-label {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-weight: 500;
    pointer-events: none;
    transition: var(--transition-smooth);
}

/* Floating Label Animation */
.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
    top: -10px;
    left: 1rem;
    transform: scale(0.85);
    background: var(--bg-base);
    padding: 0 0.5rem;
    color: var(--accent);
}

.btn-submit {
    width: 100%;
    padding: 1.3rem;
    background: var(--primary-gradient);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    border-radius: 14px;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4), 0 0 15px rgba(6, 182, 212, 0.2);
    letter-spacing: 0.02em;
}

.btn-submit:hover {
    transform: translateY(-2px) scale(1.01);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.6), 0 0 25px rgba(6, 182, 212, 0.45);
}

.btn-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

/* Toast Messages */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    padding: 1.25rem 2rem;
    border-radius: 16px;
    font-weight: 600;
    font-size: 0.95rem;
    z-index: 1000;
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: 450px;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast.success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.2);
}

.toast.error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.2);
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding: 5rem 0;
    background: var(--bg-footer);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-info {
    max-width: 400px;
}

.footer-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.75rem;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: right;
}

.footer-contact a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.footer-contact a:hover {
    color: var(--accent);
}

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

@media (max-width: 1024px) {
    .hero-info-bar {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 0;
        margin-bottom: 3.5rem;
    }
    
    .info-bar-item.border-x {
        border-left: none;
        border-right: none;
        border-top: 1px solid var(--border-color);
        border-bottom: 1px solid var(--border-color);
        padding: 1.5rem 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-title-sub {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }
    
    .instructor-card {
        grid-template-columns: 1fr;
        padding: 3rem 2rem;
        gap: 2.5rem;
        text-align: center;
    }
    
    .instructor-img-wrapper {
        max-width: 280px;
        margin: 0 auto;
    }
    
    .instructor-specs {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    section {
        padding: 5rem 0;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 5rem;
        padding-right: 0;
    }
    
    .timeline-item.right {
        left: 0;
    }
    
    .timeline-item::after {
        left: 23px;
        right: auto;
    }
    
    .timeline-item.right::after {
        left: 23px;
    }
    
    .registration-container {
        padding: 2.5rem 1.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .footer-contact {
        text-align: center;
    }
}

/* ==========================================================================
   Theme Switcher & Special Theme Adjustments
   ========================================================================== */

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.theme-switcher {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    padding: 0.2rem;
    border-radius: 50px;
    gap: 0.1rem;
}

body[data-theme="light"] .theme-switcher {
    background: rgba(0, 0, 0, 0.05);
}

.theme-btn {
    background: transparent;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

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

.theme-btn.active {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.35);
}

body[data-theme="light"] .theme-btn.active {
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
}

/* Light Theme Specific Adjustments */
body[data-theme="light"] {
    text-shadow: none;
}

body[data-theme="light"] .glass-panel {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 15px 35px -10px rgba(15, 23, 42, 0.05);
}

body[data-theme="light"] .glass-panel:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(15, 23, 42, 0.15);
    box-shadow: 0 25px 45px -12px rgba(15, 23, 42, 0.1), var(--shadow-glow);
}

body[data-theme="light"] .form-input {
    background: rgba(0, 0, 0, 0.02);
    color: #0f172a;
    border-color: rgba(15, 23, 42, 0.12);
}

body[data-theme="light"] .form-input:focus {
    background: rgba(37, 99, 235, 0.04);
}

body[data-theme="light"] .form-input:focus ~ .form-label,
body[data-theme="light"] .form-input:not(:placeholder-shown) ~ .form-label {
    background: #f1f5f9; /* --bg-base */
    color: var(--primary);
}

body[data-theme="light"] .timeline-item::after {
    background-color: #f1f5f9; /* --bg-base */
    border-color: var(--primary);
}

body[data-theme="light"] .btn-secondary {
    color: var(--text-primary);
    border-color: rgba(15, 23, 42, 0.15);
}

body[data-theme="light"] .btn-secondary:hover {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(15, 23, 42, 0.3);
}

body[data-theme="light"]::before,
body[data-theme="light"]::after {
    opacity: 0.25;
}

body[data-theme="light"] .badge-item {
    background: rgba(15, 23, 42, 0.02);
    border-color: rgba(15, 23, 42, 0.05);
}

body[data-theme="light"] .badge-item:hover {
    background: rgba(15, 23, 42, 0.04);
}

body[data-theme="light"] .tab-btn {
    background: rgba(15, 23, 42, 0.02);
    color: var(--text-secondary);
}

body[data-theme="light"] .tab-btn.active {
    color: white;
    background: var(--primary-gradient);
}

body[data-theme="light"] .hero-tag {
    background: rgba(37, 99, 235, 0.06);
    border-color: rgba(37, 99, 235, 0.12);
}

body[data-theme="light"] .card-num {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.04) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Gray Theme Specific Adjustments */
body[data-theme="gray"] .theme-btn.active {
    box-shadow: 0 2px 10px rgba(113, 113, 122, 0.35);
}

body[data-theme="gray"] .form-input:focus ~ .form-label,
body[data-theme="gray"] .form-input:not(:placeholder-shown) ~ .form-label {
    background: #18181b; /* --bg-base */
}

body[data-theme="gray"] .timeline-item::after {
    background-color: #18181b;
}

/* Mobile responsive menu fix for switcher */
@media (max-width: 768px) {
    .header-actions {
        gap: 0.75rem;
    }
    .btn-header {
        padding: 0.6rem 1.1rem;
        font-size: 0.85rem;
    }
}
