/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Noto Sans KR', sans-serif;
    background: #ffffff;
    color: #202020;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, h5, h6, p { margin: 0; font-weight: inherit; font-size: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
button { border: none; background: none; padding: 0; cursor: pointer; }

/* ===== Custom Properties ===== */
:root {
    --color-bg: #ffffff;
    --color-bg-dark: #ffffff;
    --color-text: rgb(32, 32, 32);
    --color-text-secondary: rgb(32, 32, 32);
    --color-text-muted: rgb(32, 32, 32);
    --color-text-dim: rgb(156, 156, 156);
    --color-nav-bg: rgba(143, 162, 170, 0.5);
    --color-nav-scrolled: rgba(30, 30, 30, 0.9);
    --font-kr: 'Noto Sans KR', sans-serif;
    --font-en: 'Roboto', sans-serif;
    --font-display: 'League Spartan', sans-serif;
    --font-feature: 'Namdhinggo', serif;
    --font-mono: 'Roboto Mono', monospace;
    --nav-height: 80px;
    --section-padding: 120px 60px;
}

/* ===== Navigation ===== */
.nav {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    width: 1280px;
    max-width: calc(100% - 160px);
    height: 80px;
    display: flex;
    align-items: center;
    padding: 0 40px;
    background: var(--color-nav-bg);
    backdrop-filter: blur(9.5px);
    -webkit-backdrop-filter: blur(9.5px);
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    transition: background 0.3s ease;
}
.nav--scrolled {
    background: var(--color-nav-scrolled);
}
.nav__logo {
    width: 204px;
    height: 60px;
    object-fit: contain;
}
.nav__links {
    margin-left: auto;
    display: flex;
    gap: 32px;
}
.nav__link {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 400;
    color: rgb(244, 244, 244);
    line-height: 33.6px;
    letter-spacing: -0.1728px;
    transition: opacity 0.2s;
}
.nav__link:hover {
    opacity: 0.8;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    width: 100%;
    min-height: 700px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--nav-height);
}
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
}
.hero__content {
    position: relative;
    z-index: 1;
    padding: 40px 20px;
    max-width: 800px;
}
.hero__headline {
    font-family: 'Namdhinggo', serif;
    font-weight: 400;
    font-size: 48px;
    line-height: 62.4px;
    letter-spacing: -0.6912px;
    color: white;
}
.hero__subtitle {
    font-family: 'Namdhinggo', serif;
    font-size: 24px;
    color: white;
    line-height: 33.6px;
    letter-spacing: -0.1728px;
    margin-top: 24px;
}
.hero__buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 40px;
}
.hero__store-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 400;
    transition: opacity 0.2s;
}
.hero__store-btn:hover {
    opacity: 0.8;
}
.hero__store-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}
.hero__phone {
    position: absolute;
    right: 14%;
    top: 160px;
    width: 454px;
    height: auto;
    z-index: 1;
}
.hero__scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}
.hero__arrow {
    width: 28px;
    height: auto;
    animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* ===== Full-width Image Sections ===== */
.section-fullimg {
    position: relative;
    width: 100%;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.section-fullimg__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.section-fullimg__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.section-fullimg__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
}
.section-fullimg__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: 120px 20px;
}
.section-fullimg__title {
    font-family: 'Roboto', 'Noto Sans KR', sans-serif;
    font-weight: 600;
    font-size: 48px;
    line-height: 57.6px;
    letter-spacing: -0.6912px;
    color: rgb(32, 32, 32);
}
.section-fullimg__text {
    font-family: 'Roboto', 'Noto Sans KR', sans-serif;
    font-size: 28px;
    color: rgb(32, 32, 32);
    line-height: 39.2px;
    letter-spacing: -0.4704px;
    margin-top: 20px;
}

/* Light section variant (Section 2 - "지도 기반 생태계를...") */
.section-fullimg--light {
    background: rgba(244, 244, 244, 0.9);
}
.section-fullimg--light .section-fullimg__bg {
    display: none;
}
.section-fullimg--light .section-fullimg__overlay {
    display: none;
}

/* Dark section variant (Section 3 + Problems - keep white text on dark bg) */
.section-fullimg--dark .section-fullimg__title {
    color: white;
}
.section-fullimg--dark .section-fullimg__text {
    color: white;
}

/* ===== Problem Statements ===== */
.problems__grid {
    display: flex;
    flex-direction: column;
    gap: 80px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 80px 20px;
}
.problems__quote {
    font-family: 'Namdhinggo', serif;
    font-size: 30px;
    font-weight: 400;
    line-height: 38.1px;
    letter-spacing: -0.63px;
    text-align: center;
    color: #fff;
}

/* ===== Marquee ===== */
.marquee-section {
    overflow: hidden;
    width: 100%;
    padding: 80px 0;
    background: var(--color-bg);
}
.marquee__track {
    display: flex;
    width: max-content;
    animation: marquee-scroll 40s linear infinite;
}
.marquee__track--reverse {
    animation-direction: reverse;
}
.marquee__track--slow {
    animation-duration: 50s;
}
.marquee__item {
    flex-shrink: 0;
    width: 200px;
    margin: 0 8px;
    border-radius: 16px;
    overflow: hidden;
}
.marquee__item img {
    width: 100%;
    height: auto;
    border-radius: 16px;
}
@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== Patent Badge ===== */
.patent {
    padding: 80px 40px;
    text-align: center;
    background: #ffffff;
}
.patent__inner {
    max-width: 700px;
    margin: 0 auto;
}
.patent__badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 24px;
    align-items: center;
}
.patent__badge {
    width: auto;
    height: auto;
}
.patent__badge--circle {
    width: 319px;
    height: 319px;
    object-fit: contain;
}
.patent__badge--text {
    width: 204px;
    height: 60px;
    object-fit: contain;
}
.patent__text {
    font-size: 19px;
    font-family: 'Roboto', 'Noto Sans KR', sans-serif;
    color: rgb(0, 0, 0);
    line-height: 1.5;
    font-weight: 400;
}
.patent__brand {
    font-family: 'Roboto Flex', var(--font-en);
    font-weight: 500;
    letter-spacing: -0.36px;
    font-size: 12px;
    line-height: 16.8px;
    color: rgb(0, 0, 0);
    margin-top: 16px;
    text-transform: uppercase;
}

/* ===== Features ===== */
.features {
    background: #ffffff;
}
.features__label {
    text-transform: uppercase;
    font-family: var(--font-en);
    font-weight: 700;
    letter-spacing: 0.338px;
    font-size: 26px;
    line-height: 50px;
    color: rgb(156, 156, 156);
    text-align: center;
    padding-top: 100px;
}
.feature {
    display: flex;
    align-items: center;
    gap: 80px;
    padding: 100px 80px;
    max-width: 1200px;
    margin: 0 auto;
}
.feature:nth-child(odd) {
    flex-direction: row-reverse;
}
.feature__text {
    flex: 1;
}
.feature__kr-title {
    font-family: 'Namdhinggo', serif;
    font-weight: 400;
    font-size: 48px;
    line-height: 57.6px;
    color: rgb(32, 32, 32);
    letter-spacing: -1.44px;
}
.feature__en-title {
    font-family: var(--font-en);
    font-weight: 600;
    font-size: 30px;
    line-height: 42px;
    color: rgb(32, 32, 32);
    margin-top: 8px;
    letter-spacing: -0.96px;
}
.feature__desc {
    font-family: 'Namdhinggo', serif;
    font-size: 20px;
    color: rgb(32, 32, 32);
    line-height: 27px;
    letter-spacing: -0.24px;
    margin-top: 16px;
}
.feature__image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}
.feature__image img {
    max-height: 550px;
    width: auto;
    border-radius: 20px;
}

/* ===== User Experience Gallery ===== */
.ux-gallery {
    padding: 100px 0;
    overflow: hidden;
    background: rgb(0, 0, 0);
}
.ux-gallery__heading {
    text-align: center;
    margin-bottom: 60px;
}
.ux-gallery__label {
    font-family: var(--font-en);
    font-weight: 700;
    font-size: 26px;
    line-height: 50px;
    letter-spacing: 0.338px;
    color: rgb(218, 218, 218);
    margin-bottom: 12px;
    text-transform: uppercase;
}
.ux-gallery__title {
    font-family: 'Namdhinggo', serif;
    font-weight: 400;
    font-size: 30px;
    line-height: 42px;
    letter-spacing: -0.27px;
    color: rgb(255, 255, 255);
}
.ux-gallery__rows {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ux-marquee .marquee__item {
    width: 280px;
    border-radius: 12px;
}
.ux-marquee .marquee__item img {
    border-radius: 12px;
}

/* ===== Download CTA ===== */
.download {
    position: relative;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    overflow: hidden;
}
.download__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.download__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.download__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}
.download__content {
    position: relative;
    z-index: 1;
}
.download__label {
    font-family: var(--font-en);
    font-weight: 700;
    letter-spacing: 0.338px;
    font-size: 26px;
    line-height: 50px;
    color: white;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.download__headline {
    font-family: 'Namdhinggo', serif;
    font-weight: 400;
    font-size: 48px;
    line-height: 62.4px;
    letter-spacing: -0.03em;
    color: white;
}
.download__buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 40px;
}
.download__store-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 400;
    transition: opacity 0.2s;
}
.download__store-btn:hover {
    opacity: 0.8;
}
.download__store-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* ===== Footer ===== */
.footer {
    background: rgb(0, 0, 0);
    padding: 60px 40px 40px;
    min-height: 400px;
}
.footer__inner {
    max-width: 1200px;
    margin: 0 auto;
}
.footer__top {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}
.footer__brand {
    display: flex;
    flex-direction: column;
}
.footer__logo {
    width: 120px;
    margin-bottom: 24px;
}
.footer__decoration {
    width: 200px;
    margin-bottom: 24px;
}
.footer__info {
    flex: 1;
}
.footer__contact {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 400;
    color: rgb(255, 255, 255);
    margin-bottom: 8px;
}
.footer__contact-item {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 400;
    color: rgb(244, 244, 244);
    line-height: 1.8;
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer__icon {
    width: 17.5px;
    height: 20px;
    filter: brightness(0) invert(1);
}
.footer__company-name {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 400;
    color: rgb(244, 244, 244);
    margin-top: 16px;
}
.footer__bottom {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer__bottom-img {
    width: 483px;
    max-width: 100%;
    height: auto;
    margin-bottom: 24px;
}
.footer__links {
    display: flex;
    gap: 16px;
    font-family: var(--font-mono);
    font-size: 14px;
    flex-wrap: wrap;
}
.footer__link {
    color: rgb(255, 255, 255);
    font-weight: 400;
}
.footer__link:hover {
    color: rgb(244, 244, 244);
}
.footer__copyright {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 400;
    color: rgb(255, 255, 255);
    margin-top: 24px;
}

/* ===== Scroll Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(150px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* ===== Responsive - Tablet (800-1279px) ===== */
@media (max-width: 1279px) {
    :root {
        --section-padding: 80px 40px;
        --nav-height: 56px;
    }
    .nav { padding: 0 24px; max-width: calc(100% - 40px); height: 70px; }
    .nav__logo { width: 160px; height: 48px; }
    .nav__link { font-size: 18px; }
    .hero__phone { width: 300px; right: 40px; }
    .hero__headline { font-size: 40px; line-height: 1.3; }
    .hero__subtitle { font-size: 20px; }
    .section-fullimg__title { font-size: 36px; }
    .section-fullimg__text { font-size: 22px; }
    .problems__quote { font-size: 24px; }
    .problems__grid { gap: 60px; }
    .feature { gap: 40px; padding: 60px 40px; }
    .feature__kr-title { font-size: 36px; }
    .feature__en-title { font-size: 24px; }
    .feature__desc { font-size: 17px; }
    .feature__image img { max-height: 420px; }
    .features__label { font-size: 20px; line-height: 40px; }
    .marquee__item { width: 160px; }
    .ux-gallery__label { font-size: 20px; }
    .ux-gallery__title { font-size: 24px; }
    .ux-marquee .marquee__item { width: 220px; }
    .download__label { font-size: 20px; }
    .download__headline { font-size: 36px; line-height: 1.3; }
    .patent__badge--circle { width: 260px; }
    .patent__badge--text { width: 160px; }
}

/* ===== Responsive - Mobile (<800px) ===== */
@media (max-width: 799px) {
    :root {
        --section-padding: 60px 20px;
        --nav-height: 52px;
    }
    .nav { padding: 0 16px; max-width: calc(100% - 20px); height: 60px; border-bottom-left-radius: 20px; border-bottom-right-radius: 20px; }
    .nav__logo { width: 120px; height: 36px; }
    .nav__link { font-size: 14px; }
    .nav__links { gap: 16px; }
    .hero { min-height: 100svh; }
    .hero__phone { display: none; }
    .hero__headline { font-size: 28px; line-height: 1.3; }
    .hero__subtitle { font-size: 16px; }
    .hero__buttons { gap: 12px; }
    .hero__store-btn { font-size: 16px; }
    .hero__store-icon { width: 18px; height: 18px; }
    .section-fullimg__title { font-size: 24px; }
    .section-fullimg__text { font-size: 16px; }
    .problems__quote { font-size: 20px; }
    .problems__grid { gap: 40px; padding: 40px 20px; }
    .feature { flex-direction: column !important; padding: 40px 20px; gap: 24px; }
    .feature__kr-title { font-size: 28px; }
    .feature__en-title { font-size: 20px; }
    .feature__desc { font-size: 16px; }
    .feature__image img { max-height: 300px; width: 100%; max-width: 280px; }
    .features__label { font-size: 16px; line-height: 32px; }
    .marquee__item { width: 130px; margin: 0 6px; border-radius: 12px; }
    .marquee__item img { border-radius: 12px; }
    .ux-gallery__label { font-size: 16px; }
    .ux-gallery__title { font-size: 20px; }
    .ux-marquee .marquee__item { width: 180px; }
    .download__label { font-size: 16px; }
    .patent__text { font-size: 16px; }
    .patent__badge--circle { width: 180px; }
    .patent__badge--text { width: 120px; }
    .download__headline { font-size: 28px; line-height: 1.3; }
    .download__store-btn { font-size: 16px; }
    .download__store-icon { width: 18px; height: 18px; }
    .footer { padding: 40px 20px; min-height: auto; }
    .footer__top { flex-direction: column; gap: 32px; }
    .footer__links { flex-wrap: wrap; }
    .footer__bottom-img { width: 300px; }
}