:root {
    --bg-color: #050505;
    --text-color: #e2e8f0;
    --text-muted: #94a3b8;
    --primary: #8b5cf6;
    --secondary: #ec4899;
    --accent: #06b6d4;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-bg-hover: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Inter', 'Noto Sans KR', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.6;
}

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

/* Background Effects */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: float 20s infinite alternate cubic-bezier(0.5, 0, 0.5, 1);
}

.orb-1 { width: 400px; height: 400px; background: var(--primary); top: -100px; left: -100px; }
.orb-2 { width: 500px; height: 500px; background: var(--secondary); bottom: -200px; right: -100px; animation-delay: -5s; opacity: 0.2;}
.orb-3 { width: 300px; height: 300px; background: var(--accent); top: 40%; left: 30%; animation-delay: -10s; opacity: 0.15; }

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.2); }
}

/* Navigation */
.nav-bar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 100;
}

.logo {
    font-weight: 800;
    font-size: 1.2rem;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 2rem;
    transition: color 0.3s;
    font-size: 0.9rem;
    font-weight: 600;
}
.nav-links a:hover { color: #fff; }

/* Experience Links */
.experience-link {
    color: inherit;
    text-decoration: none;
    position: relative;
    border-bottom: 1px dashed var(--primary);
    transition: all 0.3s ease;
    cursor: pointer;
}

.experience-link:hover {
    color: var(--primary);
    border-bottom-style: solid;
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

.experience-link::after {
    content: ' ↗';
    font-size: 0.8em;
    opacity: 0.5;
}

/* Global Utilities */
.gradient-text {
    background: linear-gradient(135deg, #fff, var(--text-muted));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    text-align: center;
    background: linear-gradient(90deg, #fff, #cbd5e1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.section-desc {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 4rem;
    font-size: 1.1rem;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(16px);
    transition: all 0.4s ease;
}
.glass-card:hover {
    background: var(--glass-bg-hover);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.hero-section h1 {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -2px;
}

.hero-section .subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    font-weight: 300;
    margin-bottom: 3rem;
}

.scroll-down-btn {
    display: inline-block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    border: 1px solid var(--glass-border);
    padding: 0.8rem 2rem;
    border-radius: 30px;
    transition: all 0.3s;
    background: var(--glass-bg);
}
.scroll-down-btn:hover {
    background: var(--text-color);
    color: var(--bg-color);
}

/* Intro Section */
section {
    padding: 100px 0;
}

.profile-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    backdrop-filter: blur(10px);
}

.info-item {
    text-align: center;
}
.info-item .icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}
.info-item strong {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #fff;
}
.info-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}
.warning strong { color: var(--secondary); }

/* Definition */
.comparison-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}
.comparison-grid > div {
    flex: 1;
}
.vs-badge {
    flex: 0 0 auto !important;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #333, #111);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    border: 2px solid var(--glass-border);
    font-size: 1.2rem;
}
.glass-card.vibe {
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.1) inset;
}
.glass-card.vibe h3 { color: var(--primary); }

/* Ecosystem Grid */
.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.eco-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s;
}
.eco-card:hover {
    transform: translateY(-8px);
    background: rgba(255,255,255,0.05);
}
.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: var(--glass-bg);
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
}
.eco-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.sub-title {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--primary);
    background: rgba(139,92,246, 0.15);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}
.eco-card p {
    color: var(--text-muted);
}

/* Workflow Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 40px;
    height: 100%;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary), var(--accent));
    border-radius: 2px;
}
.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 100px;
}
.timeline-dot {
    position: absolute;
    left: 20px;
    top: 0;
    width: 42px;
    height: 42px;
    background: var(--bg-color);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #fff;
    z-index: 2;
}
.timeline-item:nth-child(2) .timeline-dot { border-color: #a855f7; }
.timeline-item:nth-child(3) .timeline-dot { border-color: var(--secondary); }
.timeline-item:nth-child(4) .timeline-dot { border-color: #f43f5e; }
.timeline-item:nth-child(5) .timeline-dot { border-color: var(--accent); }

.timeline-content h4 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

/* Insights Section */
.insight-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 950px;
    margin: 0 auto;
}
.insight {
    position: relative;
    padding: 3rem 3rem 3rem 11rem;
    display: flex;
    align-items: center;
}
.insight-content {
    flex: 1;
}
.insight-num {
    position: absolute;
    top: 50%;
    left: 2.5rem;
    transform: translateY(-50%);
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    color: rgba(255,255,255,0.05);
}

/* Custom Bullets & Extras */
.custom-bullet {
    list-style: none;
    padding-left: 0;
    margin-top: 1.5rem;
}
.custom-bullet li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-color);
}
.custom-bullet li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}
.future-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
.experience-grid {
    display: grid;
    grid-template-columns: 2fr 3.5fr;
    gap: 2rem;
}
.text-center {
    text-align: center;
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-section.hidden-on-load {
    opacity: 0;
    animation: fadeIn 1.5s forwards;
}

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

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

/* Responsive */
@media (max-width: 900px) {
    .comparison-grid, .future-grid, .experience-grid {
        grid-template-columns: 1fr;
    }
    .hero-section h1 {
        font-size: 3.5rem;
    }
    .nav-links {
        display: none;
    }
}
@media (max-width: 768px) {
    .insight { padding: 4rem 2rem 2rem 2rem; align-items: flex-start; }
    .insight-num { top: 1rem; left: 2rem; transform: none; font-size: 3rem; }
}
}

/* Image Gallery & Detail Page specific styles */
.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding-top: 2rem;
}

.back-btn {
    text-decoration: none;
    color: var(--text-color);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 0.7rem 1.5rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.back-btn:hover {
    background: var(--glass-bg-hover);
    transform: translateX(-5px);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    aspect-ratio: 16/10;
}

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

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.zoom-icon {
    font-size: 2rem;
    color: #fff;
}

/* Modal for Image Zoom */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    cursor: zoom-out;
    padding: 2rem;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2.5rem;
    color: #fff;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.modal-close:hover {
    opacity: 1;
}

/* ============================================
   Slideshow Viewer
   ============================================ */
.slideshow-wrapper {
    position: relative;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(16px);
    margin: 2rem 0;
}

.slideshow-viewport {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    min-height: 400px;
    cursor: zoom-in;
}

.slideshow-img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    transition: opacity 0.25s ease;
}

/* Navigation Buttons */
.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.slide-btn:hover {
    background: rgba(139, 92, 246, 0.5);
    border-color: var(--primary);
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.slide-prev { left: 1rem; }
.slide-next { right: 1rem; }

/* Counter Badge */
.slide-counter {
    text-align: center;
    padding: 0.75rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
}

/* Progress Bar */
.slide-progress {
    height: 3px;
    background: rgba(255, 255, 255, 0.05);
}

.slide-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 3px;
    transition: width 0.4s ease;
}

/* Dot Indicators */
.slide-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 0.75rem 1rem 1.25rem;
}

.slide-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slide-dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

.slide-dot.active {
    background: var(--primary);
    box-shadow: 0 0 8px rgba(139, 92, 246, 0.5);
    transform: scale(1.3);
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .slideshow-viewport {
        min-height: 250px;
    }
    .slide-btn {
        width: 36px;
        height: 36px;
    }
    .slide-btn svg {
        width: 18px;
        height: 18px;
    }
    .slide-prev { left: 0.5rem; }
    .slide-next { right: 0.5rem; }
}

/* Q&A Section Styles */
.qa-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.qa-item {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.qa-question {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
}

.qa-question h3 {
    font-size: 1.1rem;
    color: #fff;
    font-weight: 700;
    line-height: 1.4;
}

.q-badge {
    background: var(--primary);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    flex-shrink: 0;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.qa-answer {
    padding-left: calc(32px + 1.2rem);
    color: var(--text-muted);
    font-size: 0.95rem;
    border-left: 2px solid var(--glass-border);
    margin-left: 15px;
}

@media (max-width: 600px) {
    .qa-grid {
        grid-template-columns: 1fr;
    }
}
