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

html {
    scroll-behavior: smooth;
}

body {
    overflow-y: scroll;
    font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #ffffff;
    color: #000;
    overflow-x: hidden;
}

:root {
    --page-max: 1200px;
    --page-gutter: 24px;
}

site-header:not(:defined),
site-footer:not(:defined) {
    display: none;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.header-container {
    max-width: var(--page-max);
    margin: 0 auto;
    padding: 20px var(--page-gutter);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    text-decoration: none;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-menu a {
    color: #000;
    text-decoration: none;
    font-weight: 600;
    font-size: 20px;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #666;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    padding: 0 12px;
    background: #000;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.ai-survey-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.65);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 3000;
}

.ai-survey-modal.active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.ai-survey-modal__dialog {
    position: relative;
    width: min(440px, 100%);
    max-height: 82vh;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
    --ai-survey-actions-height: 56px;
}

.ai-survey-modal__content {
    position: relative;
    padding: 0;
}

.ai-survey-modal__title {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.ai-survey-modal__image-link {
    display: block;
    max-height: calc(82vh - var(--ai-survey-actions-height));
    outline: none;
    border: none;
}

.ai-survey-modal__image-link img {
    width: 100%;
    height: auto;
    max-height: calc(82vh - var(--ai-survey-actions-height));
    display: block;
    border-radius: 0;
    object-fit: contain;
    outline: none;
    border: none;
    box-shadow: none;
}

.ai-survey-modal__actions {
    display: flex;
    position: relative;
    background: rgba(0, 0, 0, 0.35);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    min-height: var(--ai-survey-actions-height);
}

.ai-survey-modal__btn {
    flex: 1;
    padding: 14px 12px;
    border: none;
    background: transparent;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.ai-survey-modal__btn:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -2px;
}

.ai-survey-modal__btn--ghost {
    border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.contact-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: transparent;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 2000;
}

.contact-modal.active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.contact-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    border: none;
}

.contact-modal__dialog {
    position: relative;
    width: 100%;
    max-width: 640px;
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 18px;
    padding: 32px 32px 40px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
    z-index: 1;
}

.contact-modal__title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.contact-modal__description {
    font-size: 16px;
    color: #555;
    margin-bottom: 24px;
    line-height: 1.5;
}

.contact-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
    transition: color 0.2s ease;
}

.contact-modal__close:hover {
    color: #000;
}

.contact-modal__content {
    /* border: 1px solid #f0f0f0; */
    border-radius: 12px;
    /* padding: 16px; */
    /* background: #fafafa; */
}

@media (max-width: 768px) {
    .ai-survey-modal {
        padding: 16px;
    }

    .ai-survey-modal__content {
        padding: 0;
    }

    .contact-modal {
        padding: 16px;
    }

    .contact-modal__dialog {
        padding: 28px 24px 32px;
    }

    .contact-modal__title {
        font-size: 20px;
    }
}

.main-content {
    position: sticky;
    top: 0;
    /* height: 140vh; */
    height: 165vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 140px;
    overflow: hidden;
}

.main-title-container {
    text-align: center;
    margin: 80px 0;
    z-index: 2;
}

.main-subtitle {
    font-size: 32px;
    font-weight: 700;
    color: #000;
    margin-bottom: 40px;
}

.main-title {
    font-size: 65px;
    font-weight: 800;
    line-height: 1.3;
    color: #000;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: none;
    overflow: visible;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    clip-path: inset(0px 25vw round 16px);
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}

/* Common Section Styles */
section {
    position: relative;
    z-index: 1;
    padding: 120px 0;
    /* min-height: 100vh; */
}

.section-wrap {
    max-width: var(--page-max);
    margin: 0 auto;
    padding: 0 var(--page-gutter);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 900;
    letter-spacing: -0.6px;
    line-height: 1.12;
    color: #000;
    margin-bottom: 24px;
}

.section-header p {
    margin-top: 50px;
    text-align: center;
    font-size: clamp(20px, 3vw, 30px);
    line-height: 1.4;
    color: #000;
    white-space: pre-line;
    font-weight: 500;
}

/* Main Section with Video */
#main {
    position: relative;
    min-height: 200vh;
    padding: 0;
}

/* Slate Section (New) */
#slate {
    position: relative;
    min-height: 150vh;
    padding: 0;
    overflow: hidden;
}

.slate-content {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.slate-txt {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 64px;
    font-weight: 800;
    /* line-height: 1.4; */
    background: #ffffff;
    z-index: 3;
    /* transition: transform 0.1s linear; */
}

.slate-txt span {
    display: block;
    text-align: center;
    padding: 0 12px;
}

.slate-txt.slate-down span {
    position: relative;
    display: inline-block;
}

.slate-txt.slate-down span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 6px;
    width: 100%;
    height: 32px;
    /* background: linear-gradient(90deg, rgba(255, 248, 224, 0.9), rgba(255, 239, 206, 0.9)); */
    background: #EFC845;
    z-index: -1;
}

@media (max-width: 768px) {
    .slate-txt.slate-down span::after {
        height: 20px;
        bottom: 4px;
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    #definition .section-header .section-sub {
        font-size: 14px;
        margin-top: 24px;
    }

    .slate-txt.slate-down span::after {
        height: 14px;
        bottom: 3px;
        border-radius: 8px;
    }
}

.slate-up {
    top: 0;
    height: 50vh;
    padding-bottom: 40px;
    align-items: flex-end;
}

.slate-down {
    bottom: 0;
    height: 51vh;
    padding-top: 40px;
    align-items: flex-start;
}

.slate-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    clip-path: inset(0 0 0 0);
    border-radius: 0;
    transition: clip-path 0.2s ease, border-radius 0.2s ease;
}

.slate-vod {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slate-bg-message {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: clamp(30px, 12vw, 80px);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: -1px;
    text-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: scale(1.08);
    filter: blur(24px);
    pointer-events: none;
    z-index: 2;
}

.slate-bg-message span {
    display: block;
    padding: 0 5vw;
}

@media (max-width: 1024px) {
    .slate-bg-message {
        display: none;
    }
}

/* Definition Section */
#definition {
    position: relative;
    padding: 0;
    background: #ffffff;
    color: #0f1025;
    overflow: visible;
}

#definition .section-wrap {
    max-width: var(--page-max);
    margin: 0 auto;
    padding: 120px var(--page-gutter) 0;
}

#definition .section-header {
    margin-bottom: 38px;
    text-align: center;
}

#definition .section-header .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(15, 16, 37, 0.06);
    color: #4b4f7a;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

#definition .section-header h2 {
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.28;
    margin: 16px auto 10px;
    color: #0f1025;
}

#definition .section-header .section-sub {
    margin: 50px auto 0;
    max-width: 720px;
    text-align: center;
    font-size: clamp(20px, 3vw, 30px);
    line-height: 1.4;
    color: #000;
    white-space: pre-line;
    font-weight: 500;
}

.definition-scroll {
    position: relative;
    height: 800vh;
    overflow: visible;
}

.definition-sticky {
    position: sticky;
    top: -40px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 0 96px;
}

.definition-stage {
    position: relative;
    width: min(980px, 94vw);
    height: auto;
    min-height: clamp(400px, 60vh, 640px);
    perspective: 1600px;
    display: grid;
    place-items: center;
}

.definition-card {
    --slot-x: 0%;
    --slot-y: 0%;
    --slot-rot: 0deg;
    position: absolute;
    top: 0;
    left: 25%;
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transform: translate3d(0, 12px, 0) scale(0.85);
    transform-origin: center;
    filter: saturate(0.65) brightness(0.95);
    transition: transform 0.95s cubic-bezier(0.25, 0.9, 0.25, 1), filter 0.75s ease, opacity 0.6s ease;
    opacity: 0.98;
}

.definition-card:nth-child(1) {
    --fan-x: -18%;
    --fan-y: -10%;
    --fan-rot: -12deg;
    /* --open-x: -22%; */
    --open-x: -22%;
    /* --open-rot: -7deg; */
    --open-rot: 0deg;
    --slot-x: -110%;
    /* --slot-y: -2%; */
    --slot-y: 0;
    /* --slot-rot: -2deg; */
    --slot-rot: 0;
}

.definition-card:nth-child(2) {
    --fan-x: -2%;
    --fan-y: -4%;
    --fan-rot: -2deg;
    --open-x: 0%;
    --open-rot: 0deg;
    --slot-x: 0%;
    --slot-y: 0%;
    --slot-rot: 0deg;
}

.definition-card:nth-child(3) {
    --fan-x: 16%;
    --fan-y: -2%;
    --fan-rot: 10deg;
    --open-x: 18%;
    /* --open-rot: 7deg; */
    --open-rot: 0;
    --slot-x: 110%;
    /* --slot-y: -2%; */
    --slot-y: 0;
    /* --slot-rot: 2deg; */
    --slot-rot: 0deg;
}

.definition-card .card-inner {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
    perspective: 1500px;
    transform-style: preserve-3d;
    transition: transform 1s cubic-bezier(0.25, 0.9, 0.25, 1);
    backdrop-filter: blur(4px);
}

.definition-card .card-face {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: clamp(22px, 3vw, 40px);
    backface-visibility: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    color: #f5f6ff;
}

.definition-card .card-front {
    position: relative;
    background: #0a0b1d;
    overflow: hidden;
}

.definition-card .card-front::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--card-image, none);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    transform: scale(1.02);
}

.definition-card .card-front::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 11, 29, 0.1) 0%, rgba(10, 11, 29, 0.6) 100%);
    z-index: 1;
}

.definition-card .card-thumb {
    display: none;
}

.definition-card .card-front p {
    position: relative;
    z-index: 2;
    margin: 0;
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.definition-card .card-front .front-fade {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
}

.definition-card .card-front .front-text {
    position: relative;
    margin: 0;
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.01em;
    z-index: 2;
    transition: opacity 0.35s linear, transform 0.35s ease;
}

.definition-card .card-front .front-text.secondary {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(12px) scale(0.96);
    visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    text-shadow: 0 10px 32px rgba(0, 0, 0, 0.45);
    flex-direction: column;
}

.text-emphasis {
    color: #f6d64f;
}

.definition-card .card-front .secondary-emphasis {
    color: #f6d64f;
    font-weight: 900;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: inline-block;
    margin-top: 8px;
}

.definition-card .card-front .secondary-underline {
    position: relative;
    display: inline-block;
    color: #ffffff;
    font-weight: 800;
    text-decoration: none;
    padding-bottom: 4px;
}

.definition-card .card-front .secondary-underline::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, rgba(245, 214, 79, 0.9), rgba(255, 255, 255, 0.85));
    border-radius: 999px;
    opacity: 0.9;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.3));
}

.definition-card .card-back {
    display: none;
}

.definition-card .card-back::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--card-image, none);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.8;
    filter: saturate(1.05);
    z-index: 0;
}

.definition-card .card-back::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 5, 18, 0.35) 0%, rgba(5, 5, 18, 0.85) 80%);
    z-index: 0;
}

.definition-card .card-back .card-back-content {
    position: relative;
    max-width: 70%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1;
}

/* Laptop tweaks: tighten layout so fanned cards don't overflow horizontally */
@media (max-width: 1366px) and (min-width: 769px) {
    #definition .section-wrap {
        padding-left: var(--page-gutter);
        padding-right: var(--page-gutter);
    }

    .definition-stage {
        width: min(760px, 88vw);
        min-height: clamp(300px, 50vh, 500px);
        margin: 0 auto;
    }

    .definition-card {
        left: 25%;
        width: 50%;
        transform: translate3d(0, 4px, 0) scale(0.86);
    }

    .definition-card .card-face {
        padding: 18px;
    }

    .definition-card:nth-child(1) {
        --fan-x: -8%;
        --fan-y: -4%;
        --open-x: -6%;
        --open-rot: -3deg;
        --slot-x: -110%;
    }

    .definition-card:nth-child(2) {
        --fan-x: 0%;
        --fan-y: -2%;
        --open-x: 0%;
        --slot-x: 0%;
    }

    .definition-card:nth-child(3) {
        --fan-x: 8%;
        --fan-y: -3%;
        --open-x: 6%;
        --open-rot: 3deg;
        --slot-x: 110%;
    }

    .definition-card.is-open {
        transform: translate3d(var(--open-x, 0), -2%, 0) rotate(var(--open-rot, 0deg)) scale(0.92);
        z-index: 3;
    }

    /* reduce text size to ~2/3 for laptop view */
    .definition-card .card-front .front-text,
    .definition-card .card-front p {
        font-size: clamp(14px, 1.8vw, 19px);
        line-height: 1.35;
    }

    .definition-card .card-back p {
        font-size: clamp(13px, 1.5vw, 18px);
        line-height: 1.4;
    }

    .definition-card .card-back .tag {
        font-size: 12px;
        padding: 6px 10px;
    }
}

/* Larger laptops (e.g., 1367~1600px, incl. 1440px) */
@media (max-width: 1600px) and (min-width: 1367px) {
    #definition .section-wrap {
        padding-left: var(--page-gutter);
        padding-right: var(--page-gutter);
    }

    .definition-stage {
        width: min(800px, 92vw);
        min-height: clamp(340px, 48vh, 520px);
        margin: 0 auto;
    }

    .definition-card {
        left: 24%;
        width: 52%;
        transform: translate3d(0, 6px, 0) scale(0.88);
    }

    .definition-card .card-face {
        padding: 20px;
    }

    .definition-card:nth-child(1) {
        --fan-x: -10%;
        --fan-y: -5%;
        --open-x: -8%;
        --open-rot: -3deg;
        --slot-x: -110%;
    }

    .definition-card:nth-child(2) {
        --fan-x: 0%;
        --fan-y: -3%;
        --open-x: 0%;
        --slot-x: 0%;
    }

    .definition-card:nth-child(3) {
        --fan-x: 10%;
        --fan-y: -3%;
        --open-x: 8%;
        --open-rot: 3deg;
        --slot-x: 110%;
    }

    .definition-card.is-open {
        transform: translate3d(var(--open-x, 0), -2%, 0) rotate(var(--open-rot, 0deg)) scale(0.94);
        z-index: 3;
    }

    .definition-card .card-front .front-text,
    .definition-card .card-front p {
        font-size: clamp(15px, 1.4vw, 20px);
        line-height: 1.35;
    }

    .definition-card .card-back p {
        font-size: clamp(14px, 1.3vw, 18px);
        line-height: 1.36;
    }

    .definition-card .card-back .tag {
        font-size: 12px;
        padding: 6px 10px;
    }
}

/* Tighter laptop layout (e.g., ~980px) to prevent overflow */
@media (max-width: 1100px) and (min-width: 769px) {
    #definition .section-wrap {
        padding-left: var(--page-gutter);
        padding-right: var(--page-gutter);
    }

    .definition-stage {
        width: min(680px, 90vw);
        min-height: clamp(280px, 48vh, 460px);
    }

    .definition-card {
        left: 28%;
        width: 44%;
        transform: translate3d(0, 2px, 0) scale(0.8);
    }

    .definition-card .card-face {
        padding: 16px;
    }

    .definition-card:nth-child(1) {
        --fan-x: -6%;
        --fan-y: -3%;
        --open-x: -5%;
        --open-rot: -2.5deg;
        --slot-x: -110%;
    }

    .definition-card:nth-child(2) {
        --fan-x: 0%;
        --fan-y: -2%;
        --open-x: 0%;
        --slot-x: 0%;
    }

    .definition-card:nth-child(3) {
        --fan-x: 6%;
        --fan-y: -3%;
        --open-x: 5%;
        --open-rot: 2.5deg;
        --slot-x: 110%;
    }

    .definition-card.is-open {
        transform: translate3d(var(--open-x, 0), -1%, 0) rotate(var(--open-rot, 0deg)) scale(0.88);
    }

    .definition-card .card-front .front-text,
    .definition-card .card-front p {
        font-size: clamp(13px, 1.6vw, 18px);
        line-height: 1.34;
    }

    .definition-card .card-back p {
        font-size: clamp(13px, 1.5vw, 16px);
        line-height: 1.36;
    }

    .definition-card .card-back .tag {
        font-size: 12px;
        padding: 5px 9px;
    }
}

@media (max-width: 768px) {
    #definition .definition-scroll {
        height: auto;
    }

    #definition .definition-sticky {
        position: relative;
        min-height: auto;
        padding: 0;
    }

    .definition-stage {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .definition-card {
        position: relative;
        width: 100%;
        left: 0;
        height: auto;
        min-height: 240px;
        transform: none !important;
        filter: none !important;
        opacity: 1 !important;
        margin: 0 0 8px;
        pointer-events: auto;
    }

    .definition-card .card-inner {
        position: relative;
        height: 100%;
        min-height: 240px;
        width: 100%;
    }

    .definition-card .card-face {
        position: relative;
        inset: auto;
        width: 100%;
        height: 100%;
        align-items: flex-end;
        justify-content: flex-start;
        padding: 16px;
    }

    .definition-card .card-front .front-text,
    .definition-card .card-front p {
        font-size: 18px;
    }

    .definition-card .card-front,
    .definition-card .card-back {
        width: 100%;
        height: 100%;
    }

    .definition-card .card-back {
        display: none;
    }

    #definition .section-wrap {
        padding: 56px var(--page-gutter) 32px;
    }
}

.definition-card .card-back p {
    margin: 0;
    font-size: clamp(19px, 2.2vw, 26px);
    line-height: 1.4;
    font-weight: 800;
}

.definition-card .card-back .tag {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #dbe3ff;
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

#definition.definition-packed .definition-card {
    transform: translate3d(0, 12px, 0) scale(0.9);
    filter: saturate(0.5) brightness(0.9);
}

#definition.definition-fanned .definition-card {
    transform: translate3d(var(--fan-x, 0), var(--fan-y, 0), 0) rotate(var(--fan-rot, 0deg)) scale(0.95);
}

.definition-card.in-slot {
    filter: saturate(0.9) brightness(1);
}

.definition-card.is-open {
    transform: translate3d(var(--open-x, 0), -4%, 0) rotate(var(--open-rot, 0deg)) scale(1.02);
    filter: saturate(1) brightness(1.05) drop-shadow(0 28px 70px rgba(0, 0, 0, 0.4));
    pointer-events: auto;
}

.definition-card.is-open .card-inner {
    transform: rotateY(0deg);
}

.definition-progress {
    /* display: none; */
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 40;
}

.definition-progress .dot {
    width: 11px;
    height: 11px;
    border-radius: 999px;
    background: rgba(15, 16, 37, 0.22);
    transition: width 0.35s ease, background 0.35s ease;
}

.definition-progress .dot.active {
    width: 28px;
    background: #0f1025;
}

.definition-tip {
    position: absolute;
    bottom: 30px;
    right: 24px;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(15, 16, 37, 0.06);
    color: #0f1025;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.01em;
    backdrop-filter: blur(8px);
    z-index: 40;
    transition: opacity 0.4s ease;
}

.definition-stack {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

/* Intro Section */
#intro {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #ffffff;
}

#intro h2 {
    font-weight: 900;
    letter-spacing: -0.6px;
    line-height: 1.12;
    text-align: center;
}

#intro h2 .impact {
    display: inline-block;
    /* font-size: clamp(40px, 8vw, 80px); */
    font-size: clamp(40px, 8vw, 48px);
    color: #000;
}

#intro p.sub {
    margin-top: 50px;
    text-align: center;
    font-size: 30px;
    line-height: 1.4;
    color: #000;
    white-space: pre-line;
    font-weight: 500;
}

#intro p.sub strong {
    color: #000;
    font-weight: 700;
}

#intro .steps {
    width: 100%;
    max-width: 1150px;
    margin-top: 80px;
}

/* Intro: layout changes so badge sits below image */
/* updated */
#intro .steps-list {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    /* allow badges below */
    height: 300px;
    /* 고정 높이 유지 */
    /* updated */
}

/* card: expand horizontally on active */
/* updated */
#intro .step {
    position: relative;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    flex: 0 0 auto;
    width: 185px;
    height: 100%;
    overflow: hidden;
    /* width만 트랜지션 */
    /* updated */
    transition: width 0.35s cubic-bezier(0.42, 0, 1.0, 1.0) !important;
    border-radius: 12px;
}

#intro .step:hover {
    transform: none;
}

/* active (expanded horizontally) */
/* updated */
#intro .step.active {
    flex: 1 1 auto;
    min-width: 300px;
    width: calc(100% - 185px * 2);
    /* 명시적 너비 계산 */
    /* updated */
}

/* image takes most of step height; badge sits below with margin */
/* updated */
#intro .step-image {
    position: relative;
    /* changed from absolute */
    /* updated */
    width: 100%;
    height: 300px;
    /* 고정된 높이 (steps-list와 동일) */
    /* updated */
    overflow: hidden;
    border-radius: 12px;
    flex-shrink: 0;
    /* 이미지가 축소되지 않도록 */
    /* updated */
}

#intro .step-image img {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
    display: block;
}

/* title: bottom-left overlay */
/* updated */
#intro .step-title {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.4);
    padding: 12px 16px;
    border-radius: 8px;
    z-index: 2;
    backdrop-filter: blur(8px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0;
    /* 기본 숨김 */
    /* updated */
    transition: opacity 0.35s cubic-bezier(0.42, 0, 1.0, 1.0);
    /* ease-in과 동일한 timing */
    /* updated */
}

/* active일 때만 보임 */
/* updated */
#intro .step.active .step-title {
    opacity: 1;
    /* active일 때 표시 */
    /* updated */
}

/* Intro: layout changes so badge sits below image */
/* updated */
#intro .steps-list {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    /* allow badges below */
    height: 400px;
}

/* step: column flow so image on top, badge below */
/* updated */
#intro .step {
    position: relative;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    flex: 0 0 auto;
    width: 185px;
    height: 100%;
    overflow: visible;
    /* allow badge outside absolute image if needed */
    transition: width 0.35s cubic-bezier(0.42, 0, 1.0, 1.0) !important;
    border-radius: 12px;
}

/* image takes most of step height; badge sits below with margin */
/* updated */
#intro .step-image {
    position: relative;
    /* changed from absolute */
    /* updated */
    width: 100%;
    height: calc(100% - 80px);
    /* reserve space for badge (approx) */
    /* updated */
    overflow: hidden;
    border-radius: 12px;
}

/* title overlay stays inside image */
/* updated */
#intro .step-image .step-title {
    position: absolute;
    bottom: 16px;
    /* inside image now */
    left: 16px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    background: rgba(0, 0, 0, 0.4);
    padding: 8px 12px;
    border-radius: 8px;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.35s cubic-bezier(0.42, 0, 1.0, 1.0);
}

#intro .step.active .step-image .step-title {
    opacity: 1;
}

/* badge: now below image, margin-top 16 */
/* updated */
#intro .step-badge {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 16px;
    /* as requested */
    /* updated */
    padding: 8px 12px;
    width: calc(100% - 0px);
    box-sizing: border-box;
    flex-shrink: 0;
    /* 배지도 축소되지 않도록 */
    /* updated */
}

/* big index number */
/* updated */
#intro .step-index {
    font-size: 64px;
    font-weight: 800;
    line-height: 1;
    color: #EAEAEA;
    /* inactive */
    /* updated */
    transition: color 0.25s ease;
    display: inline-block;
    min-width: 72px;
}

/* active color */
/* updated */
#intro .step.active .step-index {
    color: #B3B3B3;
}

/* year_line (animated underline) */
/* updated */
#intro .year_line {
    background-color: #B3B3B3;
    flex: 1 1 auto;
    height: 2px;
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s ease, opacity .3s ease;
    border-radius: 2px;
    display: block;
}

/* reveal when active */
/* updated */
#intro .step.active .year_line {
    opacity: 1;
    transform: scaleX(1);
}

/* step description - shows only when active */
/* updated */
#intro .step-description {
    margin-top: 16px;
    /* as requested */
    /* updated */
    color: #333;
    /* updated */
    font-size: 18px;
    /* updated */
    line-height: 1.5;
    opacity: 0;
    /* hidden by default */
    /* updated */
    transition: opacity 0.35s cubic-bezier(0.42, 0, 1.0, 1.0);
    width: 100%;
    margin-left: 14px;
}

/* show description when active */
/* updated */
#intro .step.active .step-description {
    opacity: 1;
    /* visible when active */
    /* updated */
}

/* Worry Solution Section */
#worry-solution {
    background: #ffffff;
}

#worry-solution .cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 50px;
    perspective: 1000px;
}

#worry-solution .flip-card {
    height: 623px;
    position: relative;
    cursor: pointer;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    border-radius: 32px;
    overflow: hidden;
    background: linear-gradient(180deg, #f9fbff 0%, #eef3ff 35%, #ffffff 65%, #f6f7fb 100%);
}

#worry-solution .flip-card.visible {
    opacity: 1;
    transform: translateY(0);
}

#worry-solution .flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

#worry-solution .flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

#worry-solution .flip-card.shadowed {
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.12);
}

#worry-solution .flip-card-front,
#worry-solution .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 32px;
    padding: 50px 40px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

#worry-solution .flip-card-front {
    border-left: 4px solid #ef4444;
}

#worry-solution .flip-card-front .card-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    font-size: 14px;
    font-weight: 700;
    border-radius: 20px;
    margin-bottom: 30px;
    width: fit-content;
}

#worry-solution .flip-card-front .card-title {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    margin-bottom: 30px;
    line-height: 1.5;
}

#worry-solution .flip-card-front .card-content {
    font-size: 17px;
    color: #333;
    line-height: 1.8;
    flex: 1;
}

#worry-solution .flip-card-front .card-quote {
    background: rgba(239, 68, 68, 0.05);
    padding: 12px;
    border-radius: 16px;
    border-left: 3px solid #ef4444;
    font-style: italic;
    color: #dc2626;
    line-height: 1.8;
}

#worry-solution .flip-card-back {
    transform: rotateY(180deg);
    border-left: 4px solid #10b981;
}

#worry-solution .flip-card-back .card-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    font-size: 14px;
    font-weight: 700;
    border-radius: 20px;
    margin-bottom: 30px;
    width: fit-content;
}

#worry-solution .flip-card-back .card-title {
    font-size: 24px;
    font-weight: 700;
    color: #059669;
    margin-bottom: 30px;
    line-height: 1.5;
}

#worry-solution .flip-card-back .solution-list {
    flex: 1;
}

#worry-solution .flip-card-back .solution-item {
    margin-bottom: 20px;
    padding-left: 20px;
    position: relative;
}

#worry-solution .flip-card-back .solution-item::before {
    content: "?";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
    font-size: 18px;
}

#worry-solution .flip-card-back .solution-item p {
    font-size: 16px;
    color: #333;
    line-height: 1.7;
}

#worry-solution .flip-card-back .solution-result {
    margin-top: 30px;
    padding: 20px;
    background: rgba(16, 185, 129, 0.05);
    border-radius: 16px;
    border-left: 3px solid #10b981;
}

#worry-solution .flip-card-back .solution-result p {
    color: #059669;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.7;
}

#worry-solution .click-hint {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 14px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 8px;
}

#worry-solution .click-hint svg {
    width: 20px;
    height: 20px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

/* Worry Solution Section - New Layout */
/* updated */
#worry-solution {
    background: #ffffff;
}

#worry-solution .section-header {
    margin-bottom: 80px;
}

#worry-solution .section-header h2 {
    margin-bottom: 24px;
}

#worry-solution .section-header p {
    margin-top: 20px;
    opacity: 0.9;
}

/* Cards container - vertical stack */
/* updated */
#worry-solution .cards-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Individual worry card */
/* updated */
#worry-solution .worry-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 48px;
    background: #f8f9fa;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

/* Card content area */
/* updated */
#worry-solution .card-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-left: 120px;
}

/* Card icon */
/* updated */
#worry-solution .card-icon {
    font-size: 56px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 16px;
}

/* Card title */
/* updated */
#worry-solution .card-title {
    font-size: 30px;
    font-weight: 700;
    color: #000;
    line-height: 1.4;
    margin: 0;
}

/* Card description */
/* updated */
#worry-solution .card-description {
    font-size: 16px;
    color: #333;
    line-height: 1.8;
    font-weight: 500;
    margin: 0;
}

#worry-solution .card-bullets {
    margin: 8px 0 0;
    padding: 0;
    display: grid;
    gap: 8px;
    list-style: none;
    color: #111;
}

#worry-solution .card-bullets li {
    position: relative;
    padding-left: 18px;
    font-weight: 600;
    line-height: 1.55;
}

#worry-solution .card-bullets li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 12px;
    height: 12px;
    transform: translateY(-50%);
    background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

@media (max-width: 640px) {
    #worry-solution .flip-card {
        height: auto;
        min-height: 0;
        padding-bottom: 28px;
    }

    #worry-solution .flip-card-front,
    #worry-solution .flip-card-back {
        padding: 24px 20px 48px;
        min-height: 380px;
    }

    #worry-solution .card-title {
        font-size: 19px;
        line-height: 1.35;
        margin-bottom: 0;
    }

    #worry-solution .card-bullets {
        gap: 6px;
    }

    #worry-solution .card-bullets li {
        font-size: 14px;
        padding-left: 16px;
    }

    #worry-solution .card-bullets li::before {
        width: 10px;
        height: 10px;
    }

    #worry-solution .click-hint {
        font-size: 12px;
        bottom: 12px;
        left: 20px;
        right: 20px;
        text-align: center;
    }
}

/* Card image */
/* updated */
#worry-solution .card-image {
    width: 100%;
    height: 300px;
    border-radius: 16px;
    overflow: hidden;
    /* background: #f0f0f0; */
}

#worry-solution .card-image img {
    /* width: 100%; */
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Responsive */
/* updated */
@media (max-width: 968px) {
    #worry-solution .worry-card {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 32px;
    }

    #worry-solution .card-image {
        height: 250px;
    }

    #worry-solution .card-title {
        font-size: 22px;
    }
}

@media (max-width: 640px) {
    #definition .section-header .section-sub {
        font-size: 16px;
        margin-top: 32px;
        line-height: 1.5;
    }

    section:not(#intro) .section-header h2 {
        font-size: 22px;
        line-height: 1.3;
    }

    section:not(#intro) .section-header p {
        font-size: 14px;
        line-height: 1.5;
    }
}

@media (max-width: 640px) {
    #main {
        min-height: auto;
    }

    .main-content {
        padding: 90px 16px 60px;
    }

    .main-title-container {
        margin: 32px 0 20px;
    }

    .video-container {
        clip-path: inset(0 round 12px);
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
    }

    #slate {
        padding: 40px 0 20px;
    }

    .slate-txt {
        font-size: 26px;
    }

    .slate-vod {
        height: 220px;
    }

    #worry-solution .flip-card {
        height: 620px;
        min-height: 620px;
    }

    #worry-solution .card-content {
        gap: 16px;
        margin-left: 0;
    }

    #worry-solution .card-title {
        font-size: 18px;
        line-height: 1.3;
    }

    #worry-solution .card-description {
        font-size: 13px;
        line-height: 1.55;
    }

    #worry-solution .card-image {
        height: 200px;
    }
}

/* Worry Solution Section - Card Click Modal */
/* updated */
#worry-solution .worry-card {
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Worry Solution Section - desktop flip layout override */
#worry-solution {
    background: #ffffff;
}

#worry-solution .section-header {
    margin-bottom: 64px;
}

#worry-solution .section-header h2 {
    margin-bottom: 20px;
}

#worry-solution .section-header p {
    margin-top: 12px;
    opacity: 0.9;
}

#worry-solution .cards-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(320px, 1fr));
    gap: 20px;
    perspective: 1600px;
}

#worry-solution .worry-card {
    display: block;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

#worry-solution .flip-card {
    height: 620px;
    position: relative;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    isolation: isolate;
}

#worry-solution .flip-card.visible {
    opacity: 1;
    transform: translateY(0);
}

#worry-solution .flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    z-index: 1;
}

#worry-solution .flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

#worry-solution .flip-card-front,
#worry-solution .flip-card-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    transform: rotateY(0deg);
    border-radius: 16px;
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    opacity: 1;
    pointer-events: none;
}

#worry-solution .flip-card-front {
    color: #0b0b0b;
    background: transparent;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

#worry-solution .flip-card-front::before {
    content: "";
    display: block;
    flex: 0 0 52%;
    border-radius: 16px;
    background: var(--card-bg, #f4f4f4) center / contain no-repeat;
    background-color: transparent;
    margin: -6px -4px 12px;
    /* box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04); */
    pointer-events: none;
}

#worry-solution .flip-card-front::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(0, 0, 0, 0.3));
    mix-blend-mode: soft-light;
}

#worry-solution .flip-card-front>* {
    position: relative;
    z-index: 1;
}

/* Remove hover effects on cards */
#worry-solution .flip-card:hover,
#worry-solution .flip-card:hover .flip-card-front,
#worry-solution .flip-card:hover .flip-card-back,
#worry-solution .worry-card:hover {
    box-shadow: none;
    opacity: 1;
    visibility: inherit;
}

/* Static template override */
#worry-solution .cards-container {
    gap: 24px;
    perspective: none;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

#worry-solution .flip-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: auto;
    padding: 28px 22px 0;
    background: #f3f3f3;
    border-radius: 24px;
    border: 1px solid #e1e1e1;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    cursor: default;
    opacity: 1;
    transform: none;
    transition: none;
    align-items: flex-start;
}

#worry-solution .flip-card-inner,
#worry-solution .flip-card-back,
#worry-solution .back-content {
    display: none !important;
}

#worry-solution .worry-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border: 1px solid #606060;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    color: #303030;
    background: #f9f9f9;
    width: fit-content;
    align-self: flex-start;
}

#worry-solution .card-title {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.35;
    color: #1a1a1a;
    margin: 4px 0;
    text-align: left;
    width: 100%;
}

#worry-solution .card-description {
    font-size: 15px;
    line-height: 1.7;
    color: #4a4a4a;
    margin: 0 0 8px;
    text-align: left;
    width: 100%;
}

#worry-solution .card-graphic {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    width: 100%;
    text-align: center;
    padding-top: 0;
}

#worry-solution .card-graphic img {
    max-width: 100%;
    height: 160px;
    object-fit: contain;
    margin: 0 auto;
}

#worry-solution .flip-card-front .card-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(0, 0, 0, 0.06);
    color: #0f172a;
    font-size: 14px;
    font-weight: 800;
    border-radius: 18px;
    width: fit-content;
}

#worry-solution .flip-card-front .card-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.06);
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 18px;
}

#worry-solution .flip-card-front .card-title {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.5;
    /* margin: 0 0 18px 0; */
    margin: 0;
    letter-spacing: -0.01em;
    color: #0b0b0b;
}

#worry-solution .card-content {
    display: flex;
    flex-direction: column;
    /* gap: 18px; */
    gap: 10px;
    margin-left: 0;
}

#worry-solution .flip-card-front .card-content {
    margin-top: auto;
    /* padding: 18px 16px; */
    background: transparent;
    border-radius: 14px;
    backdrop-filter: none;
    position: relative;
    z-index: 1;
}

#worry-solution .flip-card-front .card-content,
#worry-solution .flip-card-front .card-description {
    font-size: 17px;
    color: #27303b;
    line-height: 1.8;
    margin: 0;
    flex: 1;
}

#worry-solution .click-hint {
    position: absolute;
    bottom: 18px;
    right: 18px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.82);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.25);
}

#worry-solution .flip-card-back {
    transform: rotateY(180deg);
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    opacity: 0;
}

#worry-solution .flip-card.flipped .flip-card-front {
    opacity: 0;
    visibility: hidden;
}

#worry-solution .flip-card.flipped .flip-card-back {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

#worry-solution .flip-card-back .back-content {
    height: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow: hidden;
    padding: 10px 10px 14px;
}

#worry-solution .flip-card-back .worry-modal-body {
    display: flex;
    flex-direction: column;
    height: 100%;
    flex: 1;
    overflow: hidden;
}

#worry-solution .flip-card-back .modal-header {
    padding: 0 4px 6px;
    border-bottom: none;
}

#worry-solution .flip-card-back .modal-badge {
    margin-bottom: 8px;
    background: #e8ecff;
    color: #1f2a44;
}

#worry-solution .flip-card-back .modal-header h2 {
    font-size: 22px;
    line-height: 1.4;
    color: #0b0b0b;
    margin-top: 15px;
}

#worry-solution .flip-card-back .modal-image {
    width: 100%;
    max-height: 200px;
    margin: 0 0 16px 0;
    border-radius: 12px;
    overflow: hidden;
}

#worry-solution .flip-card-back .modal-content-wrapper {
    margin: 12px 0 0 0;
    border-radius: 14px;
    flex: 1;
    overflow: auto;
}

#worry-solution .flip-card-back .modal-footer {
    margin-top: 15px;
    border-radius: 8px;
    width: 100%;
    background: #eef2ff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    padding: 10px 25px;
}

#worry-solution .flip-card-back .modal-result {
    font-size: 16px;
}

@media (max-width: 1220px) {
    #worry-solution .cards-container {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }

    #worry-solution .flip-card {
        height: 560px;
    }
}

@media (max-width: 900px) {
    #worry-solution .cards-container {
        grid-template-columns: 1fr;
    }

    #worry-solution .flip-card {
        height: 420px;
        min-height: 420px;
    }

    /* Mobile: simplify shadows and spacing */
    #worry-solution .flip-card {
        padding: 0;
    }

    #worry-solution .flip-card-back {
        padding: 0;
    }

    #worry-solution .flip-card-back .back-content {
        padding: 6px 8px 10px;
        gap: 12px;
    }

    #worry-solution .flip-card-back .modal-header {
        padding: 0 2px 4px;
    }

    #worry-solution .flip-card-back .modal-content-wrapper {
        margin-top: 4px;
        padding: 0;
    }

    #worry-solution .flip-card-back .modal-footer {
        padding: 8px 12px;
        margin-top: 8px;
    }

    #worry-solution .card-title {
        font-size: 30px !important;
        line-height: 1.35 !important;
    }

    #worry-solution .card-description {
        font-size: 17px !important;
        line-height: 1.6 !important;
    }

    #worry-solution .flip-card-front::before {
        flex: 0 0 36%;
    }

    #worry-solution .flip-card-back .modal-result {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }
}

/* Modal Container */
/* updated */
.worry-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.worry-modal.active {
    display: flex;
}

.worry-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.worry-modal-content {
    position: relative;
    z-index: 10;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    animation: slideIn 0.3s ease;
}

.worry-modal-content::-webkit-scrollbar {
    display: none;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.worry-modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    font-size: 28px;
    color: #000;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 11;
    transition: all 0.2s ease;
}

.worry-modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: rotate(90deg);
}

.worry-modal-body {
    display: none;
}

.worry-modal-body.active {
    display: block;
}

/* Modal Header */
/* updated */
.modal-header {
    padding: 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.modal-badge {
    display: inline-block;
    padding: 8px 20px;
    background: #D9D9D9;
    color: #333;
    font-size: 14px;
    font-weight: 700;
    border-radius: 20px;
    margin-bottom: 16px;
}

.modal-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: #000;
    line-height: 1.4;
    margin: 0;
}

/* Modal Content Wrapper */
/* updated */
.modal-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 200px;
}

.modal-left {
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-right {
    width: 100%;
    overflow: hidden;
}

.modal-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Modal image: placed between header and content */
/* updated */
.modal-image {
    width: 50%;
    max-height: 100%;
    overflow: hidden;
    display: block;
    margin: 24px auto;
    /* spacing between title and content */
    border-radius: 12px;
    /* box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08); */
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Content wrapper no longer left/right split; use vertical content */
/* updated */
.modal-content-wrapper {
    /* padding: 32px 48px; */
    display: block;
    border-radius: 12px;
    /* background: #EEEEEE; */
    margin: 30px;
}

/* Checklist remains but spacing adjusted for new layout */
/* updated */
.modal-checklist {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.checklist-item .check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

/* adjust padding on smaller screens */
/* updated */
@media (max-width: 768px) {
    .modal-image {
        max-height: 220px;
        margin: 16px auto;
    }

    .modal-content-wrapper {
        padding: 20px;
    }

    .modal-footer {
        padding: 24px;
    }
}

/* Checklist */
/* updated */
.modal-checklist {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 4px;
}

.checklist-item .check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-weight: 700;
    font-size: 13px;
    flex-shrink: 0;
}

.checklist-item p {
    font-size: 16px;
    color: #333;
    line-height: 1.7;
    margin: 0;
    font-weight: 700;
}

/* Modal Footer */
.modal-result {
    font-size: 22px;
    font-weight: 700;
    color: #000;
    line-height: 1.6;
    margin: 0;
}

/* Responsive */
/* updated */
@media (max-width: 768px) {
    .worry-modal-content {
        max-width: 95vw;
        border-radius: 16px;
    }

    .modal-header {
        padding: 32px 24px;
    }

    .modal-header h2 {
        font-size: 24px;
    }

    .modal-content-wrapper {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .modal-left {
        padding: 32px 24px;
    }

    .modal-right {
        height: 250px;
    }

    .modal-footer {
        padding: 32px 24px;
    }

    .modal-result {
        font-size: 18px;
    }

    .worry-modal-close {
        top: 16px;
        right: 16px;
        width: 36px;
        height: 36px;
        font-size: 24px;
    }
}

/* Solution Section */
#solution {
    background: #ffffff;
}

#solution .flow {
    margin-top: 64px;
    position: relative;
}

#solution .flow::before {
    content: "";
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1));
}

#solution .stages {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

#solution .stage {
    position: relative;
    padding-top: 50px;
}

#solution .pin {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #000;
    box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.15);
}

#solution .card {
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #ffffff;
    backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 365px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#solution .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.1);
}

#solution .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 12px;
    color: #666;
}

#solution .badge .ax {
    font-weight: 900;
    letter-spacing: 0.2px;
    color: #000;
}

#solution .card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    margin: 2px 0;
}

#solution .card ul {
    list-style: none;
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0;
}

#solution .card li {
    position: relative;
    padding-left: 18px;
    color: #666;
    font-size: 13px;
    line-height: 1.7;
    text-align: left;
}

#solution .card li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 10px;
    height: 10px;
    border-radius: 3px;
    background: #000;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
}

#solution .card .impact {
    margin-top: auto;
    color: #000;
    font-size: 13px;
    opacity: 0.8;
    border-left: 2px solid rgba(0, 0, 0, 0.2);
    padding-left: 10px;
}

#solution .loop {
    margin-top: 26px;
    text-align: center;
    color: #666;
    font-size: 13px;
    opacity: 0.9;
}

/* Solution pin + stages styles */
/* updated */
#solution {
    position: relative;
    background: #ffffff;
}

.solution-frame {
    position: relative;
    width: 100%;
}

.solution-frame .solution-spacer {
    width: 100%;
    height: 0;
    transition: height 0.25s ease;
    pointer-events: none;
    display: block;
}

.solution-inner {
    position: relative;
    display: flex;
    gap: 48px;
    align-items: center;
    max-width: var(--page-max);
    margin: 0 auto;
    padding: 40px var(--page-gutter);
    box-sizing: border-box;
}

/* image area */
.solution-image {
    flex: 0 0 48%;
    height: 300px;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    background: #f4f4f4;
}

.solution-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
    transition: opacity 0.45s cubic-bezier(0.42, 0, 1, 1);
    opacity: 0;
}

.solution-image img:first-child {
    opacity: 1;
}

/* keep section title visible while solution.inner is pinned */
/* updated */
#solution .section-header.fixed {
    position: fixed;
    /* JS will set exact top/left/width inline */
    /* updated */
    z-index: 1251;
    /* above .solution-inner.fixed */
    /* updated */
    background: transparent;
    /* prevent white block over layout */
    /* updated */
    pointer-events: none;
    /* clicks pass through to pinned content if needed */
    /* updated */
    transition: none;
}

/* ensure header text remains visually consistent when fixed */
/* updated */
#solution .section-header.fixed h2,
#solution .section-header.fixed p {
    color: #000;
    text-align: center;
}

/* Solution: sticky image + scrolling content (replaces pin-based) */
/* updated */
#solution {
    background: #ffffff;
    position: relative;
}

.solution-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
    max-width: var(--page-max);
    margin: 0 auto;
    padding: 0 var(--page-gutter);
}

/* LEFT: sticky container */
.solution-sticky {
    /* updated */
    position: sticky;
    top: 240px;
    /* adjusted for header + some margin */
    height: fit-content;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* MacBook-ish viewport: lighter top offset */
@media (max-width: 1440px) and (min-width: 1201px) {
    .solution-sticky {
        top: 180px;
    }
}

.solution-header {
    /* updated */
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.solution-main-title {
    /* updated */
    font-size: 32px;
    font-weight: 800;
    color: #000;
    margin: 0;
    opacity: 0;
    transition: opacity 360ms cubic-bezier(.22, .9, .32, 1);
}

.solution-main-title.active {
    /* updated */
    opacity: 1;
}

@media (max-width: 640px) {
    #solution .solution-main-title.active {
        display: none;
    }
}

.solution-subtitle {
    /* updated */
    font-size: 16px;
    color: #666;
    margin: 0;
    line-height: 1.6;
    opacity: 0;
    transition: opacity 360ms cubic-bezier(.22, .9, .32, 1);
}

.solution-subtitle.active {
    /* updated */
    opacity: 1;
}

.solution-image-area {
    /* updated */
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 16px;
    overflow: hidden;
    background: #f0f0f0;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    max-height: 300px;
}

.solution-img {
    /* updated */
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
    opacity: 0;
    transition: opacity 420ms cubic-bezier(.22, .9, .32, 1);
}

.solution-img.active {
    /* updated */
    opacity: 1;
}

/* RIGHT: scrolling boxes */
.solution-boxes {
    /* updated */
    display: flex;
    flex-direction: column;
    gap: 80px;
    padding-top: 60px;
}

.solution-box {
    /* updated */
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 40px;
    /* background: #f8f9fa; */
    /* border-radius: 16px; */
    /* border: 1px solid rgba(0, 0, 0, 0.08); */
    opacity: 0.35;
    transform: translateY(12px);
    transition: opacity 360ms cubic-bezier(.22, .9, .32, 1), transform 360ms cubic-bezier(.22, .9, .32, 1);
    min-height: 300px;
}

.solution-box.active {
    /* updated */
    opacity: 1;
    transform: translateY(0);
    /* background: #ffffff; */
    /* box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08); */
}

.box-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

#solution .box-num {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #111;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

#solution .box-num::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 12px;
    z-index: -1;
}

.box-title {
    /* updated */
    font-size: 24px;
    font-weight: 700;
    color: #000;
    margin: 0;
}

.box-desc {
    /* updated */
    font-size: 17px;
    color: #000;
    font-weight: 800;
    margin: 0;
    line-height: 1.6;
}

.box-list {
    /* updated */
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.box-list li {
    /* updated */
    font-size: 15px;
    color: #333;
    line-height: 1.7;
    padding-left: 24px;
    position: relative;
}

.box-list li::before {
    /* updated */
    content: "•";
    position: absolute;
    left: 0;
    color: #333;
    font-weight: 700;
}

/* Responsive */
@media (max-width: 1200px) {
    .solution-content {
        /* updated */
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .solution-sticky {
        /* updated */
        position: static;
    }
}

@media (max-width: 768px) {
    .solution-content {
        /* updated */
        gap: 20px;
        padding: 0 var(--page-gutter);
    }

    .solution-main-title {
        /* updated */
        font-size: 24px;
    }

    .solution-box {
        /* updated */
        padding: 24px;
        gap: 16px;
    }

    #solution .box-num {
        font-size: 15px;
        width: 44px;
        height: 44px;
    }

    .box-title {
        /* updated */
        font-size: 20px;
    }
}

/* stages list */
.solution-stages {
    flex: 0 0 48%;
}

.stages-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 0;
    margin: 0;
}

.stage {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    opacity: 0.45;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.stage.active {
    opacity: 1;
    transform: translateX(0);
}

.stage-num {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #EEE;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    flex-shrink: 0;
}

.stage-body h3 {
    margin: 0 0 6px 0;
    font-size: 20px;
    font-weight: 700;
    color: #000;
}

.stage-body p {
    margin: 0;
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

/* fixed state (applied by JS) */
.solution-inner.fixed {
    position: fixed;
    top: 80px;
    /* under header (header height approx 64~80) */
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - (var(--page-gutter) * 2));
    max-width: var(--page-max);
    z-index: 1200;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    background: #fff;
    border-radius: 18px;
}

/* absolute release position when unpinned (JS applies .released with top value) */
.solution-inner.released {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - (var(--page-gutter) * 2));
    max-width: var(--page-max);
    z-index: 1;
}

/* small screens */
@media (max-width: 900px) {
    .solution-inner {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .solution-image,
    .solution-stages {
        flex: 1 1 100%;
        width: 100%;
    }

    .solution-image {
        height: 260px;
    }

    .solution-inner.fixed {
        top: 60px;
        width: calc(100% - 40px);
    }
}

/* fixed state (applied by JS) */
/* updated */
.solution-inner.fixed {
    position: fixed;
    /* top is now set dynamically by JS to sit BELOW the section title -> removed static top */
    /* updated */
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - (var(--page-gutter) * 2));
    max-width: var(--page-max);
    z-index: 1200;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    background: #fff;
    border-radius: 18px;
}

/* ...existing code... */
/* keep section title visible while solution.inner is pinned */
/* updated */
#solution .section-header.fixed {
    position: fixed;
    z-index: 1251;
    background: transparent;
    pointer-events: none;
    transition: none;
}

/* Solution: smoother transitions - use transform/opacity, hint browser for composite layer */
/* updated */
.solution-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 420ms cubic-bezier(.22, .9, .32, 1), transform 520ms cubic-bezier(.22, .9, .32, 1);
    opacity: 0;
    will-change: opacity, transform;
    transform: translateY(6px) scale(1.01);
}

.solution-image img.active {
    opacity: 1;
    transform: translateY(0px) scale(1);
}

/* ease spacer and inner transforms to reduce jumpiness */
.solution-frame .solution-spacer {
    transition: height 360ms cubic-bezier(.22, .9, .32, 1);
}

.solution-inner {
    will-change: top, transform;
    transition: box-shadow 300ms ease, border-radius 300ms ease;
}

/* stages collapse/expand smoother */
.solution-stages .stage {
    transition: opacity 360ms cubic-bezier(.22, .9, .32, 1), transform 360ms cubic-bezier(.22, .9, .32, 1), max-height 420ms cubic-bezier(.22, .9, .32, 1);
    transform: translateY(8px);
    opacity: 0.25;
}

.solution-stages .stage.active {
    transform: translateY(0);
    opacity: 1;
    /* ensure it can expand */
    max-height: 600px;
}

/* ...existing code... */
/* Usecase Section */
#usecase {
    background: #f8f9fa;
}

#usecase .slider-container {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

#usecase .slider-wrapper {
    display: flex;
    gap: 30px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px;
}

#usecase .card-container {
    min-width: 380px;
    height: 520px;
    perspective: 1500px;
    cursor: pointer;
}

#usecase .card {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

#usecase .card-container:hover .card {
    transform: rotateY(180deg);
}

#usecase .card-front,
#usecase .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 24px;
    overflow: hidden;
    background: #ffffff;
}

#usecase .card-front {
    display: flex;
    flex-direction: column;
}

#usecase .card-back {
    transform: rotateY(180deg);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ffffff;
}

#usecase .card-thumbnail {
    width: 100%;
    height: 240px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

#usecase .card-thumbnail::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

#usecase .card-thumbnail::after {
    content: "??";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
}

#usecase .card-tags {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    z-index: 2;
}

#usecase .tag {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#usecase .tag-vod {
    background: rgba(168, 85, 247, 0.8);
    color: white;
}

#usecase .tag-consulting {
    background: rgba(59, 130, 246, 0.8);
    color: white;
}

#usecase .tag-mentoring {
    background: rgba(34, 197, 94, 0.8);
    color: white;
}

#usecase .tag-finance {
    background: rgba(249, 115, 22, 0.8);
    color: white;
}

#usecase .card-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

#usecase .company-name {
    font-size: 28px;
    font-weight: 800;
    color: #000;
    margin-bottom: 16px;
}

#usecase .card-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
}

#usecase .info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    font-size: 14px;
}

#usecase .info-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 16px;
}

#usecase .card-back h3 {
    font-size: 22px;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
}

#usecase .detail-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#usecase .detail-list li {
    color: #333;
    font-size: 15px;
    line-height: 1.6;
    padding-left: 25px;
    position: relative;
}

#usecase .detail-list li::before {
    content: "?";
    position: absolute;
    left: 0;
    color: #000;
    font-weight: bold;
    font-size: 18px;
}

#usecase .flip-hint {
    margin-top: auto;
    text-align: center;
    color: #999;
    font-size: 13px;
    opacity: 0.7;
}

#usecase .slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #000;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

#usecase .slider-button:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: translateY(-50%) scale(1.1);
}

#usecase .slider-button-prev {
    left: 10px;
}

#usecase .slider-button-next {
    right: 10px;
}

#usecase .slider-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

#usecase .indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

#usecase .indicator.active {
    background: #000;
    width: 30px;
    border-radius: 5px;
}

/* FAQ Section */
#faq {
    background: #ffffff;
}

#faq .section-wrap {
    max-width: 1150px;
    padding: 0;
}

#faq .list {
    margin-top: 56px;
    border-top: 2px solid #111;
    display: flex;
    flex-direction: column;
}

#faq .item {
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 0;
}

#faq .item:last-child {
    border-bottom: 0;
}

#faq .q {
    width: 100%;
    text-align: left;
    background: transparent;
    border: 0;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 26px 6px;
    cursor: pointer;
}

#faq .q:focus-visible {
    outline: 2px solid rgba(0, 0, 0, 0.3);
    outline-offset: 6px;
    border-radius: 0;
}

#faq .q .num {
    flex: 0 0 auto;
    width: auto;
    height: auto;
    display: inline-flex;
    align-items: center;
    font-weight: 800;
    font-size: 18px;
    color: #111;
    letter-spacing: -0.4px;
    background: transparent;
    box-shadow: none;
}

#faq .q .text {
    flex: 1 1 auto;
    font-size: 20px;
    line-height: 1.5;
    color: #000;
    font-weight: 700;
    letter-spacing: -0.3px;
}

#faq .q .icon {
    margin-left: auto;
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    position: relative;
}

#faq .q .icon:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 8px;
    height: 8px;
    border-right: 2px solid #000;
    border-bottom: 2px solid #000;
    transform: rotate(45deg);
    transition: transform 0.25s ease;
}

#faq .q .icon:after {
    content: none;
}

#faq .item.open .q .icon:before {
    transform: rotate(-135deg);
}

#faq .a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

#faq .a-inner {
    margin: 0 0 28px 0;
    padding: 26px 32px;
    border-radius: 18px;
    background: #f7f7f7;
    color: #333;
    font-size: 16px;
    line-height: 1.75;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

#faq .a-inner::before {
    content: "A";
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #111;
    color: #fff;
    font-weight: 700;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

#faq .a-inner p {
    margin: 0;
}

#faq .a-inner p+p {
    margin-top: 8px;
}

#faq .a-inner b,
#faq .a-inner strong {
    color: #000;
}

/* CTA Section */
#cta {
    padding: 48px 0;
    background: #000;
}

#cta .cta-wrap {
    width: 100%;
    background: #000;
    color: #fff;
    border-radius: 0;
    /* padding: clamp(28px, 4vw, 48px); */
    padding: 48px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

#cta .cta-copy {
    flex: 1 1 auto;
}

#cta h2 {
    font-weight: 800;
    font-size: clamp(18px, 2.6vw, 30px);
    line-height: 1.4;
    margin-bottom: 16px;
    color: #fff;
}

#cta p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
    line-height: 1.6;
}

#cta .cta-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 32px;
}

#cta .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 12px;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

#cta .btn.download {
    background: #fff;
    color: #000;
    box-shadow: 0 10px 35px rgba(255, 255, 255, 0.2);
}

#cta .btn.inquiry {
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    background: #000;
}

#cta .btn:hover {
    transform: translateY(-2px);
}

#cta .btn.inquiry:hover {
    border-color: #fff;
    background: #111;
}

#cta .cta-symbol {
    width: clamp(90px, 12vw, 140px);
    height: clamp(90px, 12vw, 140px);
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

#cta .cta-symbol svg {
    width: 56%;
    height: 56%;
    stroke: #000;
    stroke-width: 6;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

/* Typography tweaks */
.section-header p,
.section-header .section-sub {
    font-size: 28px;
}

#definition .card-front p,
#definition .card-front .front-text {
    font-size: 25px;
    line-height: 1.4;
}

#worry-solution .card-title {
    font-size: 30px;
}

#worry-solution .card-description {
    font-size: 15px;
    line-height: 1.6;
}

#solution .solution-main-title {
    font-size: 30px;
}

#solution .solution-subtitle {
    font-size: 18px;
    line-height: 1.6;
}

@media (max-width: 768px) {

    #definition .card-front p,
    #definition .card-front .front-text {
        font-size: 18px;
    }

    #solution .section-wrap {
        padding: 0 var(--page-gutter);
    }

    .solution-content {
        padding: 0 var(--page-gutter) !important;
    }

    .solution-box {
        padding: 32px 24px;
        width: 100%;
    }

    #solution .solution-boxes {
        gap: 22px;
    }
}

#solution .box-title {
    font-size: 26px;
}

#solution .box-desc,
#solution .box-list li {
    font-size: 17px;
    line-height: 1.6;
}

#usecase .section-header p {
    font-size: 28px;
}

#usecase .usecase-cta {
    margin-top: 24px;
    text-align: center;
}

#usecase .usecase-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: #0f172a;
    color: #fff;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

#usecase .usecase-cta a:hover {
    transform: translateY(-2px);
    background: #111827;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

#usecase .case-title {
    font-size: 30px;
}

#usecase .case-meta {
    font-size: 18px;
}

#usecase .tag {
    font-size: 14px;
}

#cta .cta-copy p {
    font-size: 18px;
}

#cta .btn {
    font-size: 14px;
}

/* Scroll reveal */
.sr {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.sr.on {
    opacity: 1;
    transform: translateY(0);
}

.sr-delay-0 { --d: 0s; }
.sr-delay-08 { --d: .08s; }
.sr-delay-12 { --d: .12s; }
.sr-delay-18 { --d: .18s; }
.sr-delay-24 { --d: .24s; }

.definition-card:nth-child(1) { --card-image: url('../images/agent_1.png'); }
.definition-card:nth-child(2) { --card-image: url('../images/agent_2.jpg'); }
.definition-card:nth-child(3) { --card-image: url('../images/agent_3.jpg'); }

#usecase .case-image-1 { background-image: url('../images/usecase_1.png'); }
#usecase .case-image-2 { background-image: url('../images/usecase_2_1.jpg'); }
#usecase .case-image-3 { background-image: url('../images/usecase_3_1.jpg'); }
#usecase .case-image-4 { background-image: url('../images/usecase_4_1.jpg'); }

.section-title-large {
    font-weight: 900;
    letter-spacing: -0.6px;
    line-height: 1.12;
    text-align: center;
    font-size: clamp(32px, 6.4vw, 56px);
    color: #000;
}

.section-subtitle-large {
    margin-top: 14px;
    text-align: center;
    font-size: clamp(15px, 2.4vw, 18px);
    line-height: 1.6;
    color: #666;
    opacity: .85;
}

/* Responsive */
/* Desktop - 1200px */
@media (max-width: 1200px) {
    .header-container {
        max-width: var(--page-max);
        padding: 18px var(--page-gutter);
    }

    .section-wrap {
        max-width: var(--page-max);
    }

    #solution .stages {
        grid-template-columns: repeat(3, 1fr);
    }

    .solution-content {
        max-width: var(--page-max);
        gap: 48px;
    }
}

/* Tablet Landscape - 1080px */
@media (max-width: 1080px) {

    .main-title {
        font-size: 56px;
    }

    .main-subtitle {
        font-size: 28px;
    }
}

/* Tablet - 900px */
@media (max-width: 900px) {
    :root {
        --page-gutter: 20px;
    }

    /* Header */
    .header-container {
        padding: 16px var(--page-gutter);
    }

    .nav-menu {
        gap: 24px;
        font-size: 14px;
    }

    .header-cta {
        padding: 10px 20px;
        font-size: 13px;
    }

    /* Main Section */
    #main {
        min-height: auto;
    }

    .main-content {
        position: relative;
        height: auto;
        padding: 120px 24px 90px;
        overflow: visible;
    }

    .main-title-container {
        margin: 40px 0 30px;
    }

    .main-title {
        font-size: 48px;
    }

    .main-subtitle {
        font-size: 24px;
        margin-bottom: 32px;
    }

    /* Slate Section */
    #slate {
        min-height: auto;
        padding: 60px 0 40px;
    }

    .slate-content {
        position: static;
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .slate-txt {
        position: static;
        padding: 0;
        font-size: 40px;
    }

    .slate-up,
    .slate-down {
        height: auto;
        padding: 0;
        align-items: center;
    }

    .slate-wrap {
        position: relative;
        height: auto;
        border-radius: 18px;
        overflow: hidden;
        width: 84%;
    }

    .slate-vod {
        height: 360px;
        border-radius: 18px;
    }

    .video-container {
        clip-path: inset(0px 10vw round 14px);
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    }

    /* Definition Section */
    /* Intro Section */
    #intro .steps-list {
        flex-direction: column;
        height: auto;
        gap: 20px;
    }

    #intro .step {
        width: 100%;
        height: auto;
    }

    #intro .step.active {
        width: 100%;
    }

    #intro .step-image {
        height: 280px;
    }

    #intro .step-badge {
        margin-top: 12px;
    }

    #intro .step-index {
        font-size: 48px;
    }

    /* Solution Section */
    .solution-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .solution-sticky {
        position: static;
    }

    .solution-boxes {
        padding-top: 0;
        gap: 48px;
    }

    /* Usecase Grid */
    #usecase .usecase-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    #usecase .case-big,
    #usecase .case-topright,
    #usecase .case-small,
    #usecase .case-bottomright {
        grid-column: 1;
        grid-row: auto;
        min-height: 280px;
    }

    #usecase .case-title {
        font-size: 24px;
    }
}

/* Mobile Landscape - 768px */
@media (max-width: 768px) {
    :root {
        --page-gutter: 16px;
    }

    /* Header */
    .header-container {
        padding: 14px var(--page-gutter);
    }

    .logo img {
        height: 40px;
    }

    .nav-menu {
        display: none;
    }

    .header-cta {
        font-size: 12px;
        padding: 10px 18px;
    }

    /* Main Section */
    #main {
        min-height: auto;
    }

    .main-content {
        position: relative;
        height: auto;
        padding: 100px var(--page-gutter) 70px;
    }

    .main-title-container {
        margin: 36px 0 24px;
    }

    .main-title {
        font-size: 36px;
        line-height: 1.25;
    }

    .main-subtitle {
        font-size: 18px;
        margin-bottom: 24px;
    }

    .video-container {
        clip-path: inset(0px 6vw round 12px);
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    }

    /* Slate Section */
    #slate {
        padding: 50px 0 30px;
    }

    .slate-content {
        gap: 18px;
    }

    .slate-txt {
        font-size: 30px;
        padding: 0 16px;
    }

    .slate-up,
    .slate-down {
        padding: 0;
        align-items: center;
    }

    .slate-vod {
        height: 280px;
    }

    /* Sections */
    section {
        padding: 80px 0;
    }

    .section-header {
        margin-bottom: 48px;
    }

    /* Definition Section */
    /* Intro Section */
    #intro h2 .impact {
        font-size: 32px;
    }

    #intro p.sub {
        font-size: 16px;
        margin-top: 32px;
    }

    #intro .step-image {
        height: 240px;
    }

    #intro .step-title {
        font-size: 16px;
        padding: 10px 14px;
    }

    #intro .step-index {
        font-size: 40px;
    }

    #intro .step-description {
        font-size: 15px;
        margin-left: 10px;
    }

    /* Worry Solution */
    #worry-solution .worry-card {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 32px 24px;
    }

    #worry-solution .card-icon {
        font-size: 48px;
        width: 64px;
        height: 64px;
    }

    #worry-solution .card-title {
        font-size: 20px;
    }

    #worry-solution .card-description {
        font-size: 14px;
    }

    #worry-solution .card-image {
        height: 220px;
        order: -1;
    }

    /* Modal */
    .worry-modal-content {
        max-width: 95vw;
        border-radius: 16px;
    }

    .modal-header {
        padding: 24px 20px;
    }

    .modal-header h2 {
        font-size: 22px;
    }

    .modal-image {
        width: 100%;
        max-height: 200px;
        margin: 16px 0;
    }

    .modal-content-wrapper {
        padding: 20px 24px;
        margin: 0 20px 20px;
    }

    .modal-footer {
        padding: 32px 24px;
    }

    .modal-result {
        font-size: 18px;
    }

    /* Solution Section */
    .solution-main-title {
        font-size: 24px;
    }

    .solution-subtitle {
        font-size: 14px;
    }

    .solution-image-area {
        max-height: 240px;
        display: none;
    }

    .solution-box {
        padding: 28px 20px;
        gap: 16px;
        min-height: auto;
    }

    #solution .solution-sticky {
        position: static;
        top: auto;
    }

    #solution .solution-boxes {
        gap: 18px;
        max-height: none;
    }

    #solution .solution-box {
        opacity: 1;
        transform: none;
        transition: none;
    }

    #solution .solution-img {
        transition: none;
    }

    #solution .box-num {
        font-size: 14px;
        width: 42px;
        height: 42px;
    }

    .box-title {
        font-size: 20px;
    }

    .box-desc {
        font-size: 14px;
    }

    .box-list li {
        font-size: 14px !important;
        padding-left: 20px;
    }

    /* Usecase Section */
    #usecase .case-card {
        min-height: 240px;
        padding: 16px;
    }

    #usecase .case-title {
        font-size: 20px;
    }

    #usecase .case-meta {
        font-size: 12px;
        gap: 8px;
    }

    #usecase .tag {
        font-size: 11px;
        padding: 4px 10px;
    }

    /* FAQ Section */
    #faq .q {
        padding: 20px 4px;
        gap: 12px;
    }

    #faq .q .text {
        font-size: 17px;
    }

    #faq .a-inner {
        margin-left: 36px;
        padding: 20px 24px;
        font-size: 14px;
    }

    #faq .a-inner::before {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }

    /* CTA Section */
    #cta {
        padding: 50px 18px;
    }

    #cta .cta-wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
        padding: 48px 32px;
    }

    #cta .cta-symbol {
        width: 150px;
        height: 150px;
    }

    #cta .btn {
        width: 100%;
    }
}

/* Mobile Portrait - 480px */
@media (max-width: 480px) {

    /* Header */
    .logo img {
        height: 36px;
    }

    .header-cta {
        height: 36px;
        padding: 0 18px;
        font-size: 12px;
    }

    /* Main Section */
    #main {
        min-height: auto;
    }

    .main-content {
        padding: 80px var(--page-gutter) 50px;
    }

    .main-title {
        font-size: 28px;
    }

    .main-subtitle {
        font-size: 16px;
    }

    .video-container {
        clip-path: inset(0 round 10px);
        margin: 0;
    }

    #slate {
        padding: 32px 0 16px;
    }

    .slate-txt {
        font-size: 22px;
    }

    .slate-vod {
        height: 200px;
    }

    #definition .section-wrap {
        padding: 80px var(--page-gutter) 0;
    }

    .definition-scroll {
        height: 260vh;
    }

    .definition-sticky {
        top: 0;
        min-height: 72vh;
        padding: 20px 0 60px;
    }

    .definition-stage {
        height: auto;
    }

    .definition-card,
    .definition-card .card-inner {
        border-radius: 22px;
    }

    .definition-card .card-face {
        padding: 20px;
        height: 300px;
    }

    .definition-card:nth-child(1) {
        --fan-x: -10%;
        --fan-y: -6%;
        --open-x: -10%;
        --open-rot: -5deg;
    }

    .definition-card:nth-child(2) {
        --fan-x: 0%;
        --fan-y: -2%;
        --open-x: 0%;
    }

    .definition-card:nth-child(3) {
        --fan-x: 10%;
        --fan-y: -2%;
        --open-x: 10%;
        --open-rot: 5deg;
    }

    .definition-card .card-back .card-back-content {
        max-width: 100%;
    }

    .definition-tip {
        left: 12px;
        right: 12px;
        text-align: center;
        bottom: 18px;
    }

    /* Sections */
    section {
        padding: 60px 16px;
    }

    /* Definition Section */
    /* Intro Section */
    #intro h2 .impact {
        font-size: 26px;
    }

    #intro p.sub {
        font-size: 14px;
    }

    #intro .step-image {
        height: 200px;
    }

    #intro .step-index {
        font-size: 36px;
    }

    #intro .step-description {
        font-size: 14px;
    }

    /* Worry Solution */
    #worry-solution .cards-container {
        gap: 24px;
    }

    #worry-solution .worry-card {
        padding: 24px 20px;
    }

    #worry-solution .card-icon {
        font-size: 40px;
        width: 56px;
        height: 56px;
        display: none;
    }

    #worry-solution .card-title {
        font-size: 18px;
    }

    #worry-solution .card-image {
        height: 140px;
        display: flex;
        justify-content: center;
    }

    /* Modal */
    .modal-header h2 {
        font-size: 20px;
    }

    .modal-badge {
        font-size: 12px;
        padding: 6px 16px;
    }

    .checklist-item p {
        font-size: 14px;
    }

    .modal-result {
        font-size: 16px;
    }

    /* Solution Section */
    .solution-main-title {
        font-size: 20px;
    }

    .solution-box {
        padding: 24px 16px;
    }

    #solution .box-num {
        font-size: 13px;
        width: 38px;
        height: 38px;
    }

    .box-title {
        font-size: 18px;
    }

    .box-desc,
    .box-list li {
        font-size: 13px;
    }

    /* Usecase Section */
    #usecase .case-card {
        min-height: 200px;
        padding: 14px;
    }

    #usecase .case-title {
        font-size: 18px;
    }

    /* FAQ Section */
    #faq .q {
        align-items: flex-start;
        padding: 18px 0;
    }

    #faq .q .text {
        font-size: 15px;
    }

    #faq .a-inner {
        margin-left: 0;
        padding: 20px;
        font-size: 13px;
        flex-direction: column;
    }

    #faq .a-inner::before {
        width: 30px;
        height: 30px;
        margin-bottom: 8px;
    }

    /* CTA Section */
    #cta {
        padding: 40px 14px;
    }

    #cta .cta-wrap {
        padding: 36px 24px;
        gap: 24px;
    }

    #cta h2 {
        font-size: 22px;
    }

    #cta p {
        font-size: 14px;
    }

    #cta .cta-symbol {
        width: 120px;
        height: 120px;
        display: none;
    }

    #cta .btn {
        padding: 14px 28px;
        font-size: 14px;
    }

    .modal-image {
        width: 85%;
        max-width: 260px;
        max-height: 170px;
        margin: 16px auto;
    }

    .modal-image img {
        width: 100%;
        height: auto;
        max-height: 100%;
        object-fit: contain;
    }
}

/* Extra Small Mobile - 375px */
@media (max-width: 375px) {
    .main-title {
        font-size: 24px;
    }

    .slate-txt {
        font-size: 24px;
    }

    #intro h2 .impact {
        font-size: 22px;
    }

    #worry-solution .card-title {
        font-size: 16px;
    }

    .modal-header h2 {
        font-size: 18px;
    }

    #cta h2 {
        font-size: 18px;
    }
}

/* usecase: mosaic grid like provided screenshot (updated) */
/* updated */
#usecase .usecase-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    /* 좌우 비율 */
    grid-auto-rows: 20px;
    /* 20px 단위로 잘라서 */
    grid-auto-flow: row dense;
    /* 빈칸 없이 위에서부터 채움 */
    gap: 12px;
    margin-top: 16px;
}

#usecase .case-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    cursor: default;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
    padding: 20px;
    transition: transform .28s cubic-bezier(.22, .9, .32, 1), box-shadow .28s;
    background-size: cover;
    background-position: center;
}

#usecase .case-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
}

#usecase .case-card:hover {
    transform: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

/* grid placement */
#usecase .case-big {
    grid-column: 1;
    grid-row: span 12;
    /* 18×20px = 360px */
}

#usecase .case-topright {
    grid-column: 2;
    grid-row: span 8;
    /* 11×20px = 220px */
}

#usecase .case-small {
    grid-column: 1;
    grid-row: span 8;
    /* 360px */
}

#usecase .case-bottomright {
    grid-column: 2;
    grid-row: span 12;
    /* 360px */
}

/* content inside card */
#usecase .case-tags {
    display: flex;
    gap: 8px;
    position: absolute;
    top: 20px;
    z-index: 2;
    margin-bottom: 10px;
}

#usecase .tag {
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 500;
    font-size: 12px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

#usecase .case-title {
    position: relative;
    z-index: 2;
    font-size: 28px;
    font-weight: 900;
    margin: 0 0 6px 0;
}

#usecase .case-meta {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 14px;
}

/* small card style tweaks */
/* #usecase .case-small .case-title {
    font-size: 28px;
    font-weight: 800;
} */
#usecase .case-small .case-meta {
    font-size: 13px;
}

/* responsive: stack on small screens */
@media (max-width: 900px) {
    #usecase .usecase-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, auto);
        grid-template-areas:
            "case-big"
            "case-topright"
            "case-small"
            "case-bottomright";
    }

    #usecase .case-title {
        font-size: 20px;
    }

    #usecase .case-big,
    #usecase .case-topright {
        min-height: 240px;
    }
}

@media (max-width: 640px) {
    #usecase .usecase-grid {
        display: flex;
        overflow-x: auto;
        gap: 14px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 12px;
    }

    #usecase .case-card {
        min-width: 80%;
        min-height: 220px;
        height: 220px;
        scroll-snap-align: start;
        cursor: default;
        transition: none;
    }

    #usecase .case-card:hover {
        transform: none;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    }
}

@media (max-width: 480px) {
    #usecase .usecase-grid {
        gap: 10px;
    }

    #usecase .case-card {
        min-width: 88%;
        min-height: 200px;
        height: 200px;
    }
}

#usecase .badge-vod {
    background-color: #00695c;
}

#usecase .badge-ai-leadership {
    background-color: #388e3c;
}

#usecase .badge-skill {
    background-color: #d32f2f;
}

#usecase .badge-mentoring {
    background-color: #4527a0;
}

#usecase .badge-ai-literacy {
    background-color: #455a64;
}

#usecase .badge-ideathon {
    background-color: #bf952f;
}

/* Worry Solution: flip card template */
#worry-solution .cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    perspective: 1200px;
}

#worry-solution .flip-card {
    position: relative;
    height: 520px;
    cursor: pointer;
    opacity: 1;
    transform: none;
    transition: transform 0.6s ease, box-shadow 0.25s ease;
    box-shadow: none;
    background: transparent;
    overflow: visible;
}

#worry-solution .flip-card.visible {
    opacity: 1;
    transform: none;
}

#worry-solution .flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
}

#worry-solution .flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

#worry-solution .flip-card-front,
#worry-solution .flip-card-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    border-radius: 24px;
    padding: 28px 22px 0;
    box-shadow: none;
    border: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    background: #f3f3f3;
    pointer-events: auto;
}

#worry-solution .flip-card-front {
    justify-content: flex-start;
}

#worry-solution .flip-card-back {
    transform: rotateY(180deg);
    background: #f3f3f3;
    justify-content: flex-start;
}

#worry-solution .flip-card:hover {
    box-shadow: none;
}

#worry-solution .flip-card.shadowed {
    box-shadow: none;
}

#worry-solution .solution-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border: 1px solid #606060;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    color: #303030;
    background: #f9f9f9;
    width: fit-content;
}

#worry-solution .solution-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.35;
    color: #000;
    margin: 6px 0 4px;
    position: relative;
    display: inline;
}

.highlight-title {
    position: relative;
    display: inline;
    background: linear-gradient(#EFC845 0 0);
    background-size: 100% 45%;
    background-repeat: no-repeat;
    background-position: 0 100%;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

#worry-solution .solution-heading {
    font-size: 15px;
    font-weight: 800;
    color: #444;
    margin: 10px 0 6px;
}

#worry-solution .solution-divider {
    width: 100%;
    border: none;
    border-top: 1px solid #444;
    margin: 20px 0 20px;
}

#worry-solution .solution-list {
    list-style: none;
    padding: 0;
    margin: 4px 0 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: #222;
    font-size: 15px;
    line-height: 1.6;
    counter-reset: solution;
}

#worry-solution .solution-list li {
    position: relative;
    padding-left: 28px;
}

#worry-solution .solution-list li::before {
    counter-increment: solution;
    content: counter(solution);
    position: absolute;
    left: 0;
    top: 2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #000;
    color: #fff;
    font-size: 8px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Override legacy layouts */
#worry-solution .worry-card {
    display: block;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

#worry-solution .card-content {
    margin-left: 0;
    gap: 12px;
}

#worry-solution .flip-card-inner,
#worry-solution .flip-card-front,
#worry-solution .flip-card-back,
#worry-solution .back-content {
    display: flex !important;
}

#worry-solution .click-hint,
#worry-solution .flip-card-front::before,
#worry-solution .flip-card-front::after {
    display: none !important;
}
