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

:root {
    --color-primary: #0066ff;
    --color-secondary: #00d4ff;
    --color-accent: #f59e0b;
    --color-text-light: #ffffff;
    --color-text-gray: #d4d4d8;
    --color-text-muted: #a1a1aa;
    --color-dark: #0a0a0a;
    --color-overlay: rgba(0, 0, 0, 0.7);
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text-light);
    background-color: var(--color-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===================================
   Section Styles
   =================================== */
section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    will-change: transform;
    transition: transform 0.1s ease-out;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.25) 0%,
        rgba(0, 0, 0, 0.15) 50%,
        rgba(0, 0, 0, 0.25) 100%
    );
    z-index: 1;
}

.content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    padding: 60px 40px;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

/* ===================================
   Hero Section
   =================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.brand-name {
    font-size: clamp(4rem, 8vw, 7rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.04em;
    color: var(--color-text-light);
    text-shadow: 3px 6px 40px rgba(0, 0, 0, 0.95);
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.brand-tagline {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 400;
    line-height: 1.5;
    color: var(--color-text-gray);
    text-shadow: 1px 2px 15px rgba(0, 0, 0, 0.9);
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.subtitle {
    font-size: clamp(1.25rem, 2.5vw, 2rem);
    font-weight: 400;
    margin-bottom: 60px;
    color: var(--color-text-gray);
    text-shadow: 1px 2px 10px rgba(0, 0, 0, 0.8);
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

/* ===================================
   Section Components
   =================================== */
.section-number {
    display: block;
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-secondary);
    margin-bottom: 20px;
    opacity: 0.9;
}

.section-title {
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--color-text-light);
    text-shadow: 2px 4px 20px rgba(0, 0, 0, 0.9);
    letter-spacing: -0.02em;
}

.title-kr {
    display: inline-block;
    font-size: 0.55em;
    font-weight: 500;
    margin-left: 15px;
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
}

.section-subtitle {
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 40px;
    color: #00d4ff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
    font-style: italic;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 100px;
    animation: fadeInUp 1s ease-out 0.6s backwards, bounce 2s infinite 1.5s;
    cursor: pointer;
}

.scroll-indicator span {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-gray);
}

.scroll-indicator svg {
    width: 32px;
    height: 32px;
    stroke-width: 2;
    opacity: 0.8;
}

/* ===================================
   Content Sections
   =================================== */
.content-section {
    min-height: 100vh;
}

.content-section .content {
    text-align: left;
    max-width: 1000px;
}

.section-text {
    max-width: 900px;
    margin: 0;
    font-size: clamp(1.15rem, 2.2vw, 1.45rem);
    line-height: 1.9;
    color: var(--color-text-gray);
    text-shadow: 1px 2px 10px rgba(0, 0, 0, 0.9);
}

.section-text p {
    margin-bottom: 32px;
}

.section-text p:last-child {
    margin-bottom: 0;
}

.section-text strong {
    color: #00d4ff;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
}

/* ===================================
   Footer
   =================================== */
.footer {
    position: relative;
    background: linear-gradient(180deg, #0a0a0a 0%, #000000 100%);
    padding: 60px 40px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-info {
    margin-bottom: 30px;
}

.footer-contact,
.footer-website {
    font-size: 1rem;
    color: var(--color-text-gray);
    margin-bottom: 12px;
}

.footer-contact a,
.footer-website a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-contact a:hover,
.footer-website a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

.footer-copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
}

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

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Fade-in effect on scroll */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* ===================================
   Responsive Design
   =================================== */

/* Tablets and smaller laptops */
@media screen and (max-width: 1024px) {
    .content {
        padding: 50px 30px;
    }
    
    .section-text {
        font-size: 1.2rem;
    }
}

/* Mobile devices */
@media screen and (max-width: 768px) {
    .background-image {
        background-attachment: scroll;
    }
    
    .content {
        padding: 40px 24px;
    }
    
    .content-section .content {
        text-align: left;
    }
    
    .brand-name {
        font-size: 3.5rem;
        margin-bottom: 15px;
        text-align: center;
    }
    
    .brand-tagline {
        font-size: 1rem;
        text-align: center;
    }
    
    .scroll-indicator {
        margin-top: 70px;
    }
    
    .subtitle {
        font-size: 1.2rem;
        margin-bottom: 50px;
    }
    
    .section-number {
        font-size: 0.8rem;
        margin-bottom: 15px;
    }
    
    .section-title {
        font-size: 1.9rem;
        margin-bottom: 20px;
    }
    
    .title-kr {
        display: block;
        margin-left: 0;
        margin-top: 8px;
        font-size: 0.65em;
    }
    
    .section-subtitle {
        font-size: 1.25rem;
        margin-bottom: 30px;
    }
    
    .section-text {
        font-size: 1.05rem;
        line-height: 1.75;
    }
    
    .section-text p {
        margin-bottom: 24px;
    }
    
    .footer {
        padding: 40px 24px;
    }
    
    .footer-info {
        margin-bottom: 24px;
    }
}

/* Small mobile devices */
@media screen and (max-width: 480px) {
    .content {
        padding: 30px 20px;
    }
    
    .brand-name {
        font-size: 2.8rem;
    }
    
    .brand-tagline {
        font-size: 0.95rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .section-number {
        font-size: 0.75rem;
    }
    
    .section-title {
        font-size: 1.65rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .section-text {
        font-size: 1rem;
    }
    
    .scroll-indicator span {
        font-size: 0.8rem;
    }
    
    .scroll-indicator svg {
        width: 24px;
        height: 24px;
    }
}

/* High-resolution displays */
@media screen and (min-width: 1920px) {
    .content {
        max-width: 1400px;
        padding: 80px 60px;
    }
    
    .section-text {
        max-width: 1100px;
        font-size: 1.5rem;
    }
}

/* Dark mode support (default) */
@media (prefers-color-scheme: dark) {
    body {
        background-color: var(--color-dark);
    }
}

/* Accessibility: Reduce motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .background-image {
        background-attachment: scroll;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Print styles */
@media print {
    .background-image,
    .overlay,
    .scroll-indicator {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .content {
        color: black;
    }
    
    .section-title,
    .section-text,
    .main-title,
    .subtitle {
        color: black;
        text-shadow: none;
    }
}
