/* Page: origin */

:root {
    --primary-gold: #F5C745;
    --secondary-green: #2A5F2E;
    --bg-cream: #FAFAF8;
    --text-dark: #1A1A1A;
    --text-gray: #555555;
    --light-gray: #f4f4f4;
    --font-main: "Noto Sans SC", sans-serif;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background: linear-gradient(145deg, #C8E0B0 0%, #236B3A 100%);
    background-attachment: fixed;
    padding-top: 80px;
    overflow-x: hidden;
}

.origin__hero-overlay {
    position: relative;
    background-size: cover;
    background-position: center 30%;
    background-attachment: fixed;
}

.origin__hero-overlay::before {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    content: "";
}

.origin__hero-overlay > * {
    position: relative;
    z-index: 2;
}

.origin__hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 75vh;
    text-align: center;
    background-image: url("https://picsum.photos/id/104/1920/800");
}

.origin__hero-content {
    max-width: 900px;
    padding: 2rem;
    color: white;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.origin__hero-content h1 {
    margin-bottom: 1rem;
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.origin__hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.origin__stats-scroll {
    padding: 2.5rem 0;
    overflow-x: auto;
    white-space: nowrap;
    background: transparent;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.origin__stats-track {
    display: inline-flex;
    gap: 3rem;
    justify-content: center;
    width: 100%;
    padding: 0 5%;
}

.origin__stat-circle {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 130px;
    height: 130px;
    text-align: center;
    background: #FFFFFF;
    border: 2px solid var(--primary-gold);
    border-radius: 50%;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.2);
}

.origin__stat-circle:hover {
    border-color: #DBA53A;
    box-shadow: 0 25px 35px -10px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px) scale(1.02);
}

.origin__stat-circle .origin__number {
    margin-bottom: 4px;
    color: var(--secondary-green);
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1.2;
}

.origin__stat-circle .origin__label {
    color: #5B6E53;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.origin__detail-section {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    max-width: 1200px;
    margin: 3rem auto 4rem;
    padding: 0 5%;
}

.origin__card-wrap {
    display: flex;
    gap: 2rem;
    align-items: stretch;
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.origin__card-wrap.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.origin__icon-wrapper {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 140px;
    background: transparent;
}

.origin__card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 110px;
    height: 110px;
    font-size: 3rem;
    cursor: default;
    background: linear-gradient(135deg, #FFF3E0, #FEEBD6);
    border: 2px solid var(--primary-gold);
    border-radius: 50%;
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.origin__card-icon:hover {
    background: #FFF6E8;
    border-radius: 30% 70% 50% 50% / 30% 40% 60% 70%;
    transform: scale(1.05) rotate(3deg);
}

.origin__detail-card {
    flex: 1;
    padding: 1.8rem 2rem;
    background: rgba(255, 255, 245, 0.82);
    border: 1px solid rgba(245, 199, 69, 0.5);
    border-radius: 2rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(8px);
    transition: all 0.3s;
}

.origin__detail-card:hover {
    background: rgba(255, 255, 250, 0.92);
    box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.origin__detail-card h2 {
    margin-bottom: 0.8rem;
    color: var(--secondary-green);
    font-size: 1.8rem;
    font-weight: 700;
}

.origin__detail-card p {
    color: #3C4D3A;
    font-size: 1rem;
    line-height: 1.7;
}

.origin__card-wrap:nth-child(even) {
    flex-direction: row-reverse;
}

.origin__stats-scroll::-webkit-scrollbar {
    height: 4px;
}

.origin__stats-scroll::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.origin__stats-scroll::-webkit-scrollbar-thumb {
    background: var(--primary-gold);
    border-radius: 10px;
}

img {
    max-width: 100%;
}

@media (max-width: 850px) {
    .origin__card-wrap,
    .origin__card-wrap:nth-child(even) {
        flex-direction: column;
        gap: 1.2rem;
        align-items: center;
    }

    .origin__icon-wrapper {
        width: auto;
    }

    .origin__card-icon {
        width: 90px;
        height: 90px;
        font-size: 2.5rem;
    }

    .origin__detail-card h2 {
        font-size: 1.5rem;
    }

    .origin__stats-track {
        gap: 1.5rem;
    }

    .origin__stat-circle {
        width: 110px;
        height: 110px;
    }

    .origin__stat-circle .origin__number {
        font-size: 1.1rem;
    }
}

@media (max-width: 680px) {
    .origin__hero-content h1 {
        font-size: 2.4rem;
    }

    .origin__hero-section {
        min-height: 60vh;
    }

    .origin__stat-circle {
        width: 90px;
        height: 90px;
    }

    .origin__stat-circle .origin__number {
        font-size: 0.9rem;
    }

    .origin__stat-circle .origin__label {
        font-size: 0.6rem;
    }

    .origin__stats-track {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .origin__hero-overlay {
        background-attachment: scroll;
    }

    .origin__hero-content {
        padding: 1.5rem 5%;
    }

    .origin__hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.25;
    }

    .origin__hero-content p {
        font-size: 0.98rem;
        line-height: 1.7;
    }

    .origin__stats-scroll {
        padding: 1.8rem 0;
    }

    .origin__stats-track {
        justify-content: flex-start;
        width: max-content;
        min-width: 100%;
    }

    .origin__detail-section {
        gap: 1.8rem;
        margin: 2.2rem auto 3rem;
    }

    .origin__detail-card {
        width: 100%;
        padding: 1.45rem;
        border-radius: 1.4rem;
    }
}

@media (max-width: 480px) {
    .origin__hero-content h1 {
        font-size: 1.8rem;
    }

    .origin__hero-section {
        min-height: 52vh;
    }

    .origin__detail-card h2 {
        font-size: 1.32rem;
    }

    .origin__detail-card p {
        font-size: 0.94rem;
    }
}
