:root {
    --bg-color: #000000;
    --text-main: #ffffff;
    --text-muted: #888888;
    --accent-color: #333333;
    --font-main: 'Pretendard', 'Inter', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif;
    --header-height: 80px;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-inner {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.gnb ul {
    display: flex;
    gap: 40px;
}

.gnb a {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.gnb a:hover {
    opacity: 1;
}

.lang-switch {
    font-size: 0.9rem;
    cursor: pointer;
}

/* Main Container */
.main-container {
    padding-top: var(--header-height);
}

/* Common Section Styles */
.section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding: 100px 5%;
}

.content-wrap {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    height: 100vh;
    align-items: flex-start;
    padding-left: 10%;
}

.hero-title {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.reveal-text {
    display: inline-block;
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
}

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

/* Stagger delays for hero text */
.hero.active .reveal-text:nth-child(1) {
    transition-delay: 0.1s;
}

.hero.active .reveal-text:nth-child(3) {
    transition-delay: 0.2s;
}

.hero.active .reveal-text:nth-child(5) {
    transition-delay: 0.3s;
}

.hero.active .reveal-text:nth-child(7) {
    transition-delay: 0.4s;
}

.scroll-down {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    opacity: 0.5;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translate(-50%, 0);
    }

    50% {
        transform: translate(-50%, 10px);
    }
}

/* Flowing Text Section */
.main-flowingtext-section {
    width: 100%;
    padding: 60px 0;
    overflow: hidden;
    background: #000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.scrolling-text {
    display: flex;
    white-space: nowrap;
}

.scrolling-text-content {
    display: flex;
    animation: scrollText 20s linear infinite;
}

.scrolling-text-content span {
    font-size: 5rem;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.5);
    margin-right: 60px;
    letter-spacing: -0.02em;
}

@keyframes scrollText {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

@keyframes scrollText {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Main Intro Section */
.main-intro-section {
    background: #ffffff;
    padding: 180px 40px;
    color: #141414;
    overflow: hidden;
}

.intro-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 100px;
    /* Adjusted gap for responsive balance */
    align-items: flex-start;
    position: relative;
}

/* Intro Animation (Ovals) */
.intro-animation {
    width: 320px;
    height: 300px;
    position: relative;
    flex-shrink: 0;
}

.intro-animation-circle {
    position: absolute;
    width: 312px;
    height: 104px;
    border: 1px solid #FA2D12;
    border-radius: 50%;
    transform-origin: center center;
    opacity: 0.9;
    box-shadow: 0 0 10px rgba(250, 45, 18, 0.2);
    /* Soft glow */
}

/* Circle Positions & Animations */
.circle-1 {
    top: 0;
    left: 0;
    transform: rotate(-15deg);
    animation: floatCircle1 6s ease-in-out infinite;
}

.circle-2 {
    top: 50px;
    left: 20px;
    transform: rotate(5deg);
    animation: floatCircle2 7s ease-in-out infinite;
}

.circle-3 {
    top: 100px;
    left: -10px;
    transform: rotate(-5deg);
    animation: floatCircle3 5s ease-in-out infinite;
}

@keyframes floatCircle1 {

    0%,
    100% {
        transform: rotate(-15deg) translateY(0);
    }

    50% {
        transform: rotate(-15deg) translateY(-10px);
    }
}

@keyframes floatCircle2 {

    0%,
    100% {
        transform: rotate(5deg) translateY(0);
    }

    50% {
        transform: rotate(5deg) translateY(10px);
    }
}

@keyframes floatCircle3 {

    0%,
    100% {
        transform: rotate(-5deg) translateY(0);
    }

    50% {
        transform: rotate(-5deg) translateY(-5px);
    }
}

/* Intro Text Layout */
.intro-text-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.intro-display-text {
    font-size: 3rem;
    /* Approx 48px */
    font-weight: 500;
    line-height: 1.2;
    color: #141414;
}

.intro-main-text {
    display: flex;
    gap: 60px;
}

.intro-label {
    font-size: 1.125rem;
    /* 18px */
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.dot {
    width: 6px;
    height: 6px;
    background-color: #FA2D12;
    border-radius: 50%;
    display: inline-block;
}

.intro-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    font-weight: 400;
}

.intro-desc p {
    margin-bottom: 5px;
}

/* Product Sections */
.product {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-weight: 500;
}

.title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 40px;
    line-height: 1;
}

.desc {
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 50px;
    line-height: 1.6;
}

.btn-more {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid white;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.btn-more:hover {
    background: white;
    color: black;
}

/* Reveal Animation Class */
.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.visible .reveal-up {
    opacity: 1;
    transform: translateY(0);
}

/* Expertise */
.expertise {
    background: #0a0a0a;
}

.center {
    text-align: center;
}

.section-heading {
    font-size: 1.5rem;
    margin-bottom: 60px;
    color: var(--text-muted);
}

.keyword-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.keyword {
    font-size: 3.5rem;
    font-weight: 700;
    color: #333;
    transition: color 0.3s;
    cursor: default;
}

.keyword:hover {
    color: #fff;
}

/* Culture */
.big-text {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 40px;
}

/* News */
.news-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
    border-bottom: 2px solid white;
    padding-bottom: 20px;
}

.news-list {
    border-top: 1px solid #333;
}

.news-item {
    display: flex;
    padding: 30px 0;
    border-bottom: 1px solid #333;
    transition: background 0.3s;
}

.news-item:hover {
    padding-left: 20px;
    background: #111;
}

.news-item .date {
    width: 150px;
    color: var(--text-muted);
}

.news-item .news-title {
    font-size: 1.2rem;
}

/* Footer */
.footer {
    padding: 80px 5%;
    background: #050505;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-info strong {
    display: block;
    color: white;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.footer-info p {
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .header-inner {
        padding: 0 20px;
    }

    .gnb {
        display: none;
    }

    /* Simplified for demo */
    .hero-title {
        font-size: 3rem;
    }

    .title {
        font-size: 2.5rem;
    }

    .big-text {
        font-size: 2.5rem;
    }

    .keyword {
        font-size: 2.5rem;
    }
}