.apple-replica-bubble {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    pointer-events: none;

    background: rgba(230, 230, 230, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 1.5rem;
    border-radius: 24px;
    color: var(--dark-gray);
    box-shadow: var(--shadow-md);
    transform-origin: top left;

    transition:
        opacity 0.45s ease,
        transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        visibility 0.45s ease;
}

.apple-replica-bubble .reveal-line {
    overflow: hidden;
}

.apple-replica-bubble .reveal-line + .reveal-line {
    margin-top: 0.35rem;
}

.apple-replica-bubble .reveal-line strong,
.apple-replica-bubble .reveal-line p {
    display: block;
    opacity: 0;
    transform: translateY(115%);
    will-change: transform, opacity;
    transition:
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.45s ease;
}

.apple-replica-bubble .reveal-line strong {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.35;
}

.apple-replica-bubble .reveal-line p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.8;
    letter-spacing: -0.015em;
    color: rgba(52, 58, 64, 0.88);
}

.apple-replica-item.active .apple-replica-bubble {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.apple-replica-item.active .apple-replica-bubble .reveal-line strong,
.apple-replica-item.active .apple-replica-bubble .reveal-line p {
    opacity: 1;
    transform: translateY(0);
}

.apple-replica-item.active .apple-replica-bubble .reveal-line:nth-child(1) strong {
    transition-delay: 0.06s;
}

.apple-replica-item.active .apple-replica-bubble .reveal-line:nth-child(2) p {
    transition-delay: 0.16s;
}

.apple-replica-item.active .apple-replica-bubble .reveal-line:nth-child(3) p {
    transition-delay: 0.24s;
}

.apple-replica-item.active .apple-replica-pill {
    display: none;
}

.home {
    padding: 0;
}

.home > .footer-logo .footer-brand {
    width: 100%;
    position: relative;
    text-align: center;
    padding: 0;
    background: transparent;
    margin-top: -59px;
}

.home > .footer-logo .footer-brand::before {
    width: 100%;
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 24%;
    background: #fff;
    z-index: -1;
}

.logo-scroll {
}

/* 스크롤 시 */
.header.scrolled .logo-default {
    display: none;
}

.header.scrolled .logo-scroll {
    display: block;
}

/* ===================================
   HERO TITLE MOTION CLEAN VERSION
   =================================== */

.hero-title {
    line-height: 1.08;
    letter-spacing: -0.03em;
    padding-bottom: 18px;
}

.title_box {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.title_h3 {
    font-size: 54px;
    padding-bottom: 10px;
}

.title_box > .hero-line.line-2 {
    padding-left: 18px;
}

.hero-line {
    display: block;
    opacity: 0;
    will-change: transform, opacity, filter;
}

.hero-line.title_h3 {
    transform: translateY(-60px);
}

.hero-line.title_h3.animate {
    animation: heroDropDown 0.95s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-line.line-1 {
    transform: translateX(-120px);
}

.hero-line.line-1.animate {
    animation: heroSlideFromLeft 0.95s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.18s;
}

.hero-line.line-2 {
    transform: translateX(120px);
}

.hero-line.line-2.animate {
    animation: heroSlideFromRight 0.95s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.34s;
}

@keyframes heroDropDown {
    0% {
        opacity: 0;
        transform: translateY(-60px);
        filter: blur(6px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes heroSlideFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-120px);
        filter: blur(4px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
        filter: blur(0);
    }
}

@keyframes heroSlideFromRight {
    0% {
        opacity: 0;
        transform: translateX(120px);
        filter: blur(4px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
        filter: blur(0);
    }
}

/* 서브텍스트 */
.hero-subtitle {
    margin-top: 1.25rem;
}

.hero-sub-line {
    display: block;
    opacity: 0;
    will-change: transform, opacity;
}

.hero-sub-line.sub-line-1 {
    transform: translateX(-60px);
}

.hero-sub-line.sub-line-2 {
    transform: translateX(60px);
}

.hero-sub-line.animate {
    animation: heroSubSlide 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-sub-line.sub-line-1.animate {
    animation-delay: 0.48s;
}

.hero-sub-line.sub-line-2.animate {
    animation-delay: 0.6s;
}

@keyframes heroSubSlide {
    from {
        opacity: 0;
        transform: translateX(var(--sub-x, 0));
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-sub-line.sub-line-1 {
    --sub-x: -60px;
}

.hero-sub-line.sub-line-2 {
    --sub-x: 60px;
}

/* 버튼 / 숫자 */
.hero-fade-up {
    opacity: 0;
    transform: translateY(28px);
    will-change: transform, opacity;
}

.hero-fade-up.animate {
    animation: heroFadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-buttons.hero-fade-up.animate {
    animation-delay: 0.72s;
}

.hero-stats.hero-fade-up.animate {
    animation-delay: 0.86s;
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 컬러 */
.logo_text {
    font-family: 'Smooch Sans', sans-serif;
    color: #fff;
    font-size: 60px;
    font-weight: 700;
    padding-left: 65px;
    padding-top: 4px;
    letter-spacing: 18px;
}

/* ===================================
   Hero Glass Buttons
   =================================== */
.hero-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.btn {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 3.1rem;
    padding: 0.9rem 1.5rem;
    border-radius: 20rem;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.01em;
    transition:
        color 0.3s ease,
        background-color 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

.btn-primary {
    position: relative;
    overflow: hidden;
    color: #ffffff;

    background: linear-gradient(120deg, #5b52a3 0%, #006abe 40%, #007fc9 80%);

    background-size: 200% 100%;

    border: 1px solid rgba(255, 255, 255, 0.25);

    box-shadow:
        inset 0 0 8px rgba(255, 255, 255, 0.25),
        0 0 2px rgba(0, 0, 0, 0.12);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;

    z-index: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);

    box-shadow:
        inset 0 0 10px rgba(255, 255, 255, 0.3),
        0 12px 24px rgba(0, 0, 0, 0.12);

    animation: primaryGradientFlow 1.6s ease forwards;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -35%;
    width: 30%;
    height: 140%;
    opacity: 0;
    transform: skewX(-20deg) translateX(0);
    pointer-events: none;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.18) 30%,
        rgba(255, 255, 255, 0.7) 50%,
        rgba(255, 255, 255, 0.18) 70%,
        rgba(255, 255, 255, 0) 100%
    );
    filter: blur(6px);
}

.btn-primary:hover::before {
    opacity: 1;
    animation: buttonSweep 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes buttonSweep {
    from {
        transform: skewX(-20deg) translateX(0);
    }
    to {
        transform: skewX(-20deg) translateX(420%);
    }
}

.btn-secondary {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.75);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 2px rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.btn-secondary.black {
    color: #2c2c2c;
    background-color: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.75);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.btn-secondary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);

    transform: scaleX(0);
    transform-origin: left;

    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);

    z-index: -1;
}

.btn-secondary:hover::after {
    transform: scaleX(1);
}

.btn-secondary:hover {
    color: #173325;
    background-color: rgba(255, 255, 255, 0.78);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -35%;
    width: 30%;
    height: 140%;
    opacity: 0;
    transform: skewX(-20deg) translateX(0);
    pointer-events: none;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.18) 30%,
        rgba(255, 255, 255, 0.7) 50%,
        rgba(255, 255, 255, 0.18) 70%,
        rgba(255, 255, 255, 0) 100%
    );
    filter: blur(6px);
}

.btn-secondary:hover::before {
    opacity: 1;
    animation: buttonSweep 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes buttonSweep {
    from {
        transform: skewX(-20deg) translateX(0);
    }
    to {
        transform: skewX(-20deg) translateX(420%);
    }
}

.desktop-lang {
    display: flex;
}

.mobile-lang,
.mobile-menu-actions {
    display: none;
}

.about_wrap,
.technology_wrap,
.features_wrap,
.portfolio_wrap,
.contact_wrap {
    max-width: 1440px;
    margin: 0 auto;
}

.technology_wrap {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    padding-bottom: 144px;
}

.portfolio_wrap .hero_title {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 24px;
}

.portfolio_wrap .hero_title strong {
    font-size: 38px;
    font-weight: 700;
}

.cutout {
    margin: 0;
    text-align: left; /*…기타 스타일…*/
    font-weight: 900;
    line-height: 125px;

    background-image: url('../images/img_HighresScreenshot00000.webp');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero_title {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-end;
    gap: 175px;
}

.about_sub_text span.hero_text h3 {
    margin-left: -42px;
}

.about_sub_text br {
    display: none;
}

.about_sub_text {
    display: flex;
    flex-direction: column;
    gap: 45px;
}

.about_sub_text h3 {
    font-weight: 500;
}

.about_sub_text strong {
    font-size: 38px;
    font-weight: 700;
}

@font-face {
    font-family: 'Amerigo';
    src: url('../font/AMRIGOB.TTF') format('truetype');
    font-weight: 700;
    font-style: normal;
}

.about_sub_text strong b {
    font-family: 'Amerigo', sans-serif;
}

#titleSec {
    position: relative;
    overflow: visible;
}

.cup,
.ball {
    z-index: 10;
}

/* ───────── 홀컵 이미지 ───────── */
.cup {
    position: absolute;
    top: -50px;
    left: calc(50% + 26vw);
    width: 60px;
    height: 60px;
    background: url('../images/img_hole.png') center/contain no-repeat;
    pointer-events: none;
}
.ball {
    position: absolute;
    top: -18px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #5b52a3;
    opacity: 0;
    pointer-events: none;
}
/* translateX 값을 CSS 변수로만 제어 */
@keyframes roll {
    0% {
        transform: translateY(-30px) rotate(0deg);
        opacity: 0;
    }
    10% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    80% {
        transform: translateX(var(--dx80)) rotate(360deg);
    }
    100% {
        transform: translateX(var(--dxEnd)) scale(0.3) rotate(540deg);
        opacity: 0;
    }
}
.ball.play {
    animation: roll 10s cubic-bezier(0.55, 0, 0.3, 1) forwards;
}

.div-block-7 {
    background-color: #c9cec1;
    height: 1px;
    max-width: 1440px;
    margin: 0 auto;
    z-index: 10;
}

:root {
    --green-h: 400px; /* 초록(고정) 높이  */
    --white-h: 500px; /* 흰색(덮기) 높이  */
}

.pin-wrap {
    position: relative;
    height: calc(var(--green-h) + var(--white-h));

    max-width: 1440px;
    margin: 0 auto;
    z-index: 0;
}

.back-pin {
    height: var(--green-h);
    position: sticky;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: var(--white);
    z-index: 2;
    border-bottom: 1px solid #c9cec1;
    overflow: visible;
}

.back-pin::before,
.back-pin::after,
.front-scroll::before,
.front-scroll::after {
    content: '';
    position: absolute;
    bottom: -4px; /* 선 두께(1px)의 절반 + 원 반지름 만큼 내려 선 중앙 정렬 */
    width: 8px;
    height: 8px; /* 원 지름 */
    border-radius: 50%;
    background: #c9cec1; /* 선과 같은 색 */
}

/* ::before = 왼쪽  ───  ::after = 오른쪽 */
.back-pin::before,
.front-scroll::before {
    left: -4px;
}
.back-pin::after,
.front-scroll::after {
    right: -4px;
}

/* 모바일에서 조금 작게 하고 싶다면 */
@media (max-width: 899px) {
    .back-pin::before,
    .back-pin::after,
    .front-scroll::before,
    .front-scroll::after {
        width: 6px;
        height: 6px;
        bottom: -3px;
    }
}

.front-scroll {
    height: var(--white-h);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4rem;
    text-align: center;
    background: var(--white);
    color: #111;
    position: relative;
    z-index: 1;
    border-bottom: 1px solid #c9cec1;
}

.about-details {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.icon_wrap {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 18px;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.technology_wrap strong,
.features_wrap strong,
.contact_wrap strong {
    font-size: 38px;
    font-weight: 700;
}

.technology_wrap .hero_title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 18px;
}

.technology_wrap .hero_title .section-subtitle {
    margin: 0;
}

.technology_wrap .hero_title p {
    font-size: 18px;
}

.technology_wrap .hero_title .cutout,
.features_wrap .hero_title .cutout,
.portfolio_wrap .hero_title .cutout,
.contact_wrap .hero_title .cutout {
    line-height: 150px;
}

#technology {
    padding: 0;
}

/* ───────── 공통 변수 ───────── */
:root {
    --card-w: 340px;
    --card-h: 420px;
    --gap: 72px; /* 카드와 패널 사이 간격 */
    --accent: #2563eb;
}

/* ───────── 래퍼 레이아웃 ───────── */
.tech-wrapper {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    max-width: 1000px;
    margin: 0 auto;
    padding: 72px 0 0 0;
}

@media (max-width: 899px) {
    .tech-wrapper {
        flex-direction: column;
        gap: 2rem;
    }
}

/* ───────── 카드 덱 & 슬라이드 ───────── */
.tech-deck {
    position: relative;
    width: var(--card-w);
    height: var(--card-h);
    overflow: visible;
    flex-shrink: 0;
    overflow: hidden;
}

.swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 1.25rem;
    color: #fff;
    font-size: 1.4rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);

    box-shadow:
        inset 0 0 8px rgba(255, 255, 255, 0.25),
        0 0 2px rgba(0, 0, 0, 0.12);
}

/* ─ Apple Glass 버튼 스타일 ─ */
.tech-prev,
.tech-next {
    position: absolute;
    bottom: 18px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
    color: #1c1c1e;
    font-size: 1.1rem;
    cursor: pointer;
    transition:
        transform 0.25s,
        box-shadow 0.25s,
        background 0.25s;
    z-index: 15;
    color: #fff;
}

.tech-prev:hover,
.tech-next:hover {
    color: #173325;
    background: rgba(255, 255, 255, 0.85);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.tech-prev:active,
.tech-next:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

/* 좌·우 위치 */
.tech-prev {
    left: 14px;
}
.tech-next {
    right: 14px;
}

/* 모바일 : 살짝 위쪽 중앙으로 모아주기 */
@media (max-width: 899px) {
    .tech-prev,
    .tech-next {
        bottom: 10px;
    }
}

/* 슬라이드별 배경색 */
.slide-1 {
    background:
        url('../images/BandiView_clccgzxsvhqf1.webp') center/cover no-repeat,
        #5b52a3;
    color: #fff;
}
.slide-2 {
    background: #006abe;
}
.slide-3 {
    background:
        url('../images/img_HighresScreenshot00010.webp') center/cover no-repeat,
        #007fc9;
    color: #fff;
}
.slide-4 {
    background: #0091c1;
}
.slide-5 {
    background: #00a0a8;
}
.slide-6 {
    background: #00ac84;
}

/* 카드 내용 */
.card-inner {
    text-align: center;
    padding-top: 20px;
}
.card-inner i {
    font-size: 3rem;
    margin-bottom: 0.75rem;
}

.desc {
    display: none;
}

.desc-panel {
    width: 580px;
    height: 236px;
    padding: 40px 58px 20px 30px;
    /*background:#fff;
    border:1px solid #f3f4f5;
    border-radius:1.25rem;
    box-shadow:0 20px 40px rgba(0,0,0,.1);
    overflow-y:auto;*/
    flex: 1;
}

.desc-panel h3 {
    margin: 0.2rem 0 1rem;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent);
}
.desc-panel p {
    margin: 0 0 1.3rem;
    color: #374151;
    font-size: 18px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
}
.tags li {
    list-style: none;
    background: var(--dark-gray);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 999px;
}

@media (max-width: 899px) {
    .desc-panel {
        width: auto;
        min-height: auto;
        padding: 1.5rem 1.25rem;
        border: none;
        box-shadow: none;
    }
}

.features_wrap {
}

.features_wrap .hero_title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 18px;
}

.features_wrap .section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: none;
    margin: 0;
    line-height: 1.8;
}

.features_wrap > .hero_title,
.portfolio_wrap > .hero_title,
.contact_wrap > .hero_title {
    border-top: 1px solid #c9cec1;
    margin-bottom: 72px;
    overflow: visible;
}

.features_wrap > .hero_title::before,
.features_wrap > .hero_title::after,
.portfolio_wrap > .hero_title::before,
.portfolio_wrap > .hero_title::after,
.contact_wrap > .hero_title::before,
.contact_wrap > .hero_title::after {
    content: '';
    position: absolute;
    top: -4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #c9cec1;
}

.features_wrap > .hero_title::before,
.portfolio_wrap > .hero_title::before,
.contact_wrap > .hero_title::before {
    left: -4px;
}
.features_wrap > .hero_title::after,
.portfolio_wrap > .hero_title::after,
.contact_wrap > .hero_title::after {
    right: -4px;
}

@media (max-width: 899px) {
    .features_wrap > .hero_title::before,
    .features_wrap > .hero_title::after {
        width: 6px;
        height: 6px;
        top: -3px;
    }
}

.features_wrap > .hero_title strong {
    padding-top: 72px;
}

/* ---------- 레이아웃 ---------- */

.feat-img {
    display: block;
}
.feat-img-mob {
    display: none;
}

.feat-row {
    display: flex;
    overflow: hidden;
    margin-bottom: 80px;
    gap: 144px;
    overflow: visible;
}
.feat-img {
    flex: 1 1 66%;
    position: sticky;
    top: 0;
    height: 100vh;
    min-height: 420px;
    border-radius: 0 20px 20px 0;
    overflow: hidden;
}
.feat-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: inherit;
}

.feat-desc {
    flex: 1 1 30%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
}

@media (max-width: 899px) {
    .feat-desc::before,
    .feat-desc::after {
        width: 6px;
        height: 6px;
        top: -3px;
    }
}

.feat-desc h3 {
    font-size: 2.4rem;
    margin-bottom: 24px;
    padding-top: 36px;
}
.feat-desc p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.feature-number {
    padding-top: 72px;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    font-weight: 900;
    color: var(--light-gray);
    line-height: 1;
}

/* ---------- AOS 전용 애니메이션 ---------- */
/* 이미지: 왼쪽 밖 → 안쪽 */
[data-aos='img-slide'] {
    transform: translateX(-100%);
    opacity: 0;
    transition: 1s ease;
}
[data-aos='img-slide'].aos-animate {
    transform: none;
    opacity: 1;
}

/* 텍스트: 위 → 아래 (0.3s 딜레이) */
[data-aos='txt-drop'] {
    transform: translateY(-40px);
    opacity: 0;
    transition: 0.8s ease 0.3s;
}
[data-aos='txt-drop'].aos-animate {
    transform: none;
    opacity: 1;
}

/* ---------- 반응형 ---------- */
@media (max-width: 992px) {
    .feat-row {
        flex-direction: column;
        height: auto;
    }
    .feat-img,
    .feat-desc {
        width: 100%;
        flex: none;
    }
    .feat-desc {
        padding: 40px 20px;
    }
}

.features .container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 560px 0 0;
}

ul.feat-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 64px;
}

/* each item */
.feat-item {
    position: relative;
    border-top: 1px solid #c9cec1;
    padding-top: 36px;
    cursor: pointer;
    transition: 0.3s ease;
}

/* 양 끝 동그라미 (가상요소) */
.feat-item::before,
.feat-item::after {
    content: '';
    position: absolute;
    top: -4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #c9cec1;
}
.feat-item::before {
    left: -4px;
}
.feat-item::after {
    right: -4px;
}

.feat-item.active .feature-number,
.feat-item:hover .feature-number {
    color: var(--primary-purple);
}

/* 반응형 */
@media (max-width: 992px) {
    .feat-row {
        flex-direction: column;
        height: auto;
    }
    .feat-img,
    .feat-desc {
        width: 100%;
    }
    ul.feat-list {
        gap: 48px;
    }
}

.portfolio_wrap > p {
    max-width: 100%;
    text-align: center;
    padding-left: 600px;
    padding-bottom: 72px;
}

.portfolio_wrap > .hero_title {
    padding-top: 72px;
    margin-bottom: 18px;
}

/* ───────────────────────────
   0. 기본 변수
─────────────────────────── */
:root {
    --c-dark: #222;
    --c-grey: #8c8c8c;
    --c-accent: #4f6df5;
    --radius: 12px;
    --shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
}

/* ───────────────────────────
   1. 섹션 / 슬라이더
─────────────────────────── */
.portfolio {
    padding: 80px 0;
}

.portfolio__slider .swiper-slide {
    position: relative;
    overflow: visible;
    width: auto !important;
}

/* 핵심 */
.portfolio__slider .swiper-wrapper {
    align-items: stretch;
}

.portfolio__slide {
    width: auto !important; /* slidesPerView:auto 와 같이 써야 함 */
    height: auto;
    display: flex;
    overflow: visible;
}

/* ───────────────────────────
   2. 카드
─────────────────────────── */
.portfolio-card {
    width: 464px;
    min-height: 560px;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* 작은 카드 */
.portfolio-card--small {
    width: 320px;
    min-height: 460px;
}

.portfolio-card__img {
    display: block;
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f3f3f3;
}

.portfolio-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
    display: block;
}

.portfolio-card__img:hover img {
    transform: scale(1.05);
}

.portfolio-card__img-tag {
    position: absolute;
    left: 20px;
    top: 160px;
    z-index: 2;
    font-size: 85px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    pointer-events: none;
}

/* 카드 내부 */
.portfolio-card__content {
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
    flex: 1;
}

.portfolio-card__title {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--c-dark);
    text-decoration: none;
    line-height: 1.3;
}

/* ───────────────────────────
   3. 하단 썸네일
─────────────────────────── */
.portfolio-card__thumbs {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.portfolio-card__thumbs-row {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.portfolio-card__thumb {
    display: inline-block;
    width: 72px;
    height: 56px;
    flex: 0 0 72px;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.portfolio-card__thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-card__thumbs-more {
    font-size: 0.813rem;
    color: var(--c-grey);
    margin: 0;
}

/* ───────────────────────────
   4. 화살표
─────────────────────────── */

/* 화살표 위치 */
.portfolio-prev,
.portfolio-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 30;
}

.portfolio-prev {
    left: -24px;
}

.portfolio-next {
    right: -24px;
}

/* 버튼 기본 */
.button-plane {
    position: relative;
    width: 96px;
    height: 96px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    appearance: none;
}

/* 바깥 레이어 */
.button-plane__wrapper {
    position: absolute;
    inset: 0;
    background: #000;
    border-radius: 50%;
    transform: translateY(100%);
    transition: transform 0.45s cubic-bezier(0.33, 1, 0.68, 1);
    z-index: 1;
}

/* 안쪽 원 */
.button-plane__inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.button-plane__inner svg {
    width: 1.5rem;
    height: 1.5rem;
}

.button-plane_circle .button-plane__inner {
    width: 100%;
    height: 100%;
    padding: 0;
    flex-shrink: 0;
    border: 1px solid #e6e6e6;
    border-radius: 50%;
}

.button-plane_circle .button-plane__wrapper {
    border: none !important;
    background: none;
    transition: 0.5s cubic-bezier(0.33, 1, 0.68, 1);
}

.button-plane_circle-black .button-plane__inner {
    border: none;
}

.button-plane_reverse svg {
    transform: rotate(180deg);
}

.button-plane_gray .button-plane__inner {
    border: 1px solid #272727;
}

/* svg */
.button-plane svg {
    display: block;
    width: 24px;
    height: 24px;
}

.button-plane svg path {
    transition: 0.35s ease;
}

.button-plane:hover .button-plane__wrapper,
.button-plane:focus-visible .button-plane__wrapper,
.button-plane:active .button-plane__wrapper {
    transform: translateY(0);
}

.button-plane:hover .button-plane__inner,
.button-plane:focus-visible .button-plane__inner {
    border-color: #845ec2 !important;
}

.button-plane:hover svg path,
.button-plane:focus-visible svg path,
.button-plane:active svg path {
    stroke: #845ec2;
}

.button-plane:active .button-plane__inner {
    transform: scale(0.96);
}

/* 비활성화 상태(swiper) */
.button-plane.swiper-button-disabled {
    opacity: 0.35;
    pointer-events: none;
}

@media (max-width: 991px) {
    .portfolio-slider-wrap .button-plane {
        top: -92px;
        width: 76px;
        height: 76px;
    }

    .portfolio-slider-wrap .portfolio-prev {
        right: 84px;
    }

    .button-plane svg {
        width: 24px;
        height: 24px;
    }
}

.contact_wrap strong {
    padding-top: 72px;
}

.contact_wrap .hero_title {
    width: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 18px;
}

.contact_wrap > .container {
    margin-top: -240px;
}

.btn_wrap {
    width: 100%;
    grid-column: 1 / -1;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.footer .container {
    max-width: 100%;
    margin: 0 auto;
}

.footer_nav {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.footer-links {
    display: flex;
    flex-direction: row;
    gap: 36px;
    font-size: 20px;
    font-weight: 700;
}

.footer-logo h1 {
    font-size: 325px;
    line-height: 320px;
}

.footer-back-wrap {
    background: #000;
}

.footer_wrap {
    max-width: 1440px;
    margin: 0 auto;
    padding-bottom: 72px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.footer-brand {
    width: 100%;
    position: relative; /* ::before 위치 기준 */
    text-align: center;
    padding: 60px 0;
    background: transparent; /* 원래 배경 제거 */
}

/* 아래쪽 절반만 검정 */
.footer-brand::before {
    width: 100%;
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0; /* 밑에서부터 */
    height: 85%; /* 필요하면 40%·60% 조절 */
    background: #000;
    z-index: -1; /* 글자(brand-mask) 뒤로 */
}

/* 텍스트 마스크 */
.brand-mask {
    font-family: 'Poppins', sans-serif;
    font-size: 100px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: transparent;

    background: url('../images/img_HighresScreenshot00000.webp') center/cover no-repeat;
    background-attachment: fixed;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-bottom-wrap {
    background: #000;
}
