:root {
    --bg-color: #000000;
    --text-color: #f5f5f7;
    --text-secondary: #86868b;
    --nav-bg: rgba(0, 0, 0, 0.7);
    --border-color: rgba(255, 255, 255, 0.1);
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 100;
    box-sizing: border-box;
    border-bottom: 1px solid var(--border-color);
}

.glass-nav .back-link {
    color: #2997ff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s;
}

.glass-nav .back-link:hover {
    color: #4ebaff;
}

.glass-nav span {
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    letter-spacing: -2px;
    margin: 0;
    background: linear-gradient(180deg, #fff 0%, #a1a1a6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: clamp(1.2rem, 3vw, 2rem);
    color: var(--text-secondary);
    margin-top: 1rem;
    font-weight: 500;
}

.history-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 2rem;
    gap: 4rem;
}

.history-block.reverse {
    flex-direction: row-reverse;
}

.text-content {
    flex: 1;
}

.text-content h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.text-content p {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-secondary);
    font-weight: 400;
}

.image-content {
    flex: 1;
    display: flex;
    justify-content: center;
}

.image-content img {
    width: 100%;
    max-width: 500px;
    border-radius: 32px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.image-content img:hover {
    transform: scale(1.02);
}

footer {
    text-align: center;
    padding: 10rem 2rem;
    background-color: #000;
}

footer h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 3rem;
}

.cta-button {
    display: inline-block;
    background-color: #f5f5f7;
    color: #000;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s, background-color 0.3s;
}

.cta-button:hover {
    background-color: #fff;
    transform: scale(1.05);
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .history-block, .history-block.reverse {
        flex-direction: column;
        text-align: center;
        padding: 4rem 2rem;
    }
}
