/* ===========================
   Premium Design System
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;700&display=swap');
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');

:root {
    /* Colors - Premium Monochrome + Accent */
    --color-bg-body: #0a0a0a;
    --color-bg-surface: #121212;
    --color-text-primary: #FFFFFF;
    --color-text-secondary: #AAAAAA;
    --color-text-muted: #666666;

    --color-accent: #FF5A20;
    /* Brand Orange from Logo */
    --color-accent-soft: rgba(255, 90, 32, 0.1);

    /* Typography */
    --font-primary: 'Pretendard', sans-serif;
    --font-heading: 'Montserrat', sans-serif;

    /* Spacing */
    --spacing-unit: 8px;
    --spacing-xs: calc(var(--spacing-unit) * 1);
    --spacing-sm: calc(var(--spacing-unit) * 2);
    --spacing-md: calc(var(--spacing-unit) * 4);
    --spacing-lg: calc(var(--spacing-unit) * 8);
    --spacing-xl: calc(var(--spacing-unit) * 12);

    /* Transitions */
    --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
    --duration-base: 0.6s;
    --duration-slow: 1.2s;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-bg-body);
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-weight: 300;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ===========================
   Typography
   =========================== */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-title {
    font-size: clamp(3rem, 10vw, 8rem);
    display: flex;
    flex-direction: column;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-accent);
}

.section-heading {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: var(--spacing-md);
    color: var(--color-accent);
}

.overline {
    display: block;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-accent);
    margin-bottom: var(--spacing-sm);
}

.body-text {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    max-width: 40ch;
    margin-bottom: var(--spacing-md);
}

/* ===========================
   Components
   =========================== */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.fluid-container {
    max-width: 100%;
    padding: 0;
}

/* ===========================
   Header
   =========================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-symbol {
    height: 100px;
    width: auto;
    display: block;
}

.menu-trigger {
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
}

.line {
    display: block;
    height: 1px;
    background-color: white;
    transition: width 0.3s ease;
}

.line-1 {
    width: 100%;
}

.line-2 {
    width: 60%;
}

.menu-trigger:hover .line-2 {
    width: 100%;
}

/* ===========================
   Hero Section
   =========================== */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.bg-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    /* Slight dim for text readability */
    transition: transform 0.1s linear;
    /* Smooth parallax */
}

.hero-content {
    padding-left: 10vw;
    position: relative;
    z-index: 2;
}

.hero-footer {
    position: absolute;
    bottom: var(--spacing-md);
    right: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    transform: rotate(90deg);
    transform-origin: right bottom;
}

/* 모바일에서 Discover 위치 조정 - 겹침 방지 */
@media (max-width: 768px) {
    .hero-footer {
        right: auto;
        left: 50%;
        bottom: 20px;
        transform: translateX(-50%) rotate(0deg);
        transform-origin: center bottom;
        flex-direction: column;
        gap: var(--spacing-xs);
    }
}

.scroll-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.scroll-line {
    width: 50px;
    height: 1px;
    background-color: white;
}

@media (max-width: 768px) {
    .scroll-line {
        width: 1px;
        height: 30px;
    }
}

/* ===========================
   Split Layouts (Philosophy/Details)
   =========================== */
.content-section {
    min-height: 100vh;
    background-color: var(--color-bg-body);
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 900px) {
    .split-layout {
        grid-template-columns: 1fr 1fr;
        height: 100vh;
    }
}

.image-wrapper {
    position: relative;
    overflow: hidden;
    height: 50vh;
}

@media (min-width: 900px) {
    .image-wrapper {
        height: 100%;
    }
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.1s linear;
}

.text-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg);
}

.theme-dark {
    background-color: var(--color-bg-surface);
}

.theme-light {
    background-color: #1a1a1a;
}

.text-content {
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--duration-base) var(--transition-smooth);
}

.text-content.active {
    opacity: 1;
    transform: translateY(0);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--color-accent);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    margin-top: var(--spacing-md);
    transition: gap 0.3s ease;
}

.text-link:hover {
    gap: var(--spacing-sm);
}

/* ===========================
   Newsletter
   =========================== */
.newsletter-section {
    padding: var(--spacing-xl) 0;
    text-align: center;
    background-color: var(--color-bg-body);
}

.newsletter-title {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.newsletter-desc {
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-md);
}

.minimal-form {
    display: inline-flex;
    border-bottom: 1px solid var(--color-text-muted);
    padding-bottom: var(--spacing-xs);
    width: 100%;
    max-width: 400px;
}

.minimal-form input {
    background: none;
    border: none;
    color: white;
    font-family: var(--font-primary);
    font-size: 1rem;
    flex: 1;
    outline: none;
}

.minimal-form input::placeholder {
    color: var(--color-text-muted);
}

.minimal-form button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

/* ===========================
   Footer
   =========================== */
.minimal-footer {
    padding: var(--spacing-md) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.socials a {
    color: inherit;
    text-decoration: none;
    margin-left: var(--spacing-sm);
}

.socials a:hover {
    color: white;
}

/* ===========================
   Animations
   =========================== */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp var(--duration-base) var(--transition-smooth) forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===========================
   Brand Stylization
   =========================== */
.brand-symbol {
    color: var(--color-accent);
    font-family: var(--font-primary);
    font-weight: 600;
    margin: 0 0.05em;
    vertical-align: baseline;
    display: inline-block;
    transform: translateY(-0.05em);
}

.minimal-form button:hover {
    color: var(--color-accent);
}

/* ===========================
   Feature Grid (Intelligence)
   =========================== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.feature-card {
    padding: var(--spacing-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent);
}

.feature-icon {
    font-size: 2rem;
    color: var(--color-accent);
    margin-bottom: var(--spacing-sm);
    display: inline-block;
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: white;
    margin-bottom: var(--spacing-sm);
}

.feature-desc {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ===========================
   Tech Badge
   =========================== */
.tech-badge {
    display: inline-block;
    padding: 4px 12px;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-sm);
    border-radius: 100px;
}

/* ===========================
   Button Styles
   =========================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    background-color: var(--color-accent);
    color: white;
    padding: var(--spacing-sm) var(--spacing-md);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    border: 1px solid var(--color-accent);
    transition: all 0.3s ease;
    margin-top: var(--spacing-md);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-accent);
    gap: var(--spacing-sm);
}