/* ================================================
   0. UTILITY CLASSES
   ================================================ */

/* Opacity Utilities */
.opacity-25 { opacity: 0.25; }
.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }
.opacity-80 { opacity: 0.8; }
.opacity-90 { opacity: 0.9; }

/* Word Break */
.word-break-keep { word-break: keep-all; }
.word-break-all { word-break: break-all; }

/* Letter Spacing */
.letter-spacing-0 { letter-spacing: 0; }
.letter-spacing-1 { letter-spacing: 1px; }
.letter-spacing-2 { letter-spacing: 2px; }
.letter-spacing-tight { letter-spacing: -0.02em; }
.letter-spacing-wide { letter-spacing: 0.05em; }

/* Line Height */
.lh-1 { line-height: 1; }
.lh-12 { line-height: 1.2; }
.lh-15 { line-height: 1.5; }
.lh-16 { line-height: 1.6; }
.lh-2 { line-height: 2; }

/* Width Utilities */
.w-lg-80 { width: 80%; }
.w-70 { width: 70%; }
.w-60 { width: 60%; }
.w-40 { width: 40%; }
.h-70 { height: 70%; }

/* Gradient Text */
.text-gradient-primary {
    background: linear-gradient(135deg, #ff415d, #ff6b7f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-silver {
    background: linear-gradient(90deg, rgb(255, 255, 255) 0%, rgb(122, 143, 157) 100%) text;
    background-clip: text;
    color: transparent;
}

/* Section Spacing */
.section-py {
    padding-top: 120px;
    padding-bottom: 120px;
}

.section-py-sm {
    padding-top: 60px;
    padding-bottom: 60px;
}

@media (max-width: 768px) {
    .section-py {
        padding-top: 50px;
        padding-bottom: 50px;
    }
}

/* ================================================
   1. CSS VARIABLES
   ================================================ */
:root {
    --goal-bg: #0e1a22;
    --goal-card: #0f1f28;
    --goal-card-2: #12242e;
    --goal-muted: #a6b6c3;
    --goal-text: #eaf3f9;
    --goal-accent: #ff414e;
    --goal-ring: rgba(255,255,255,.08);
    /* --goal-shadow: 0 10px 30px rgba(0,0,0,.35); */
    --goal-shadow: 0 10px 30px rgb(218 218 218 / 35%);
    --goal-shadow-soft: 0 6px 18px rgba(0,0,0,.25);
}

/* ================================================
   2. BASE & LAYOUT
   ================================================ */
section {
    padding: 120px 0;
    word-break: keep-all;
}

#hero {
    position: relative;
    overflow: hidden;
    padding: 0;
    min-height: 100vh;
}

.background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none; /* 비디오 클릭 방지 */
}

/* 비디오 컨트롤 숨기기 */
.background-video::-webkit-media-controls {
    display: none !important;
}

.background-video::-webkit-media-controls-enclosure {
    display: none !important;
}

.background-video::-webkit-media-controls-panel {
    display: none !important;
}

.background-video::-webkit-media-controls-play-button {
    display: none !important;
}

.background-video::-webkit-media-controls-start-playback-button {
    display: none !important;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.main-content {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    transform: translate(-50%, -50%);
    color: white;
    z-index: 2;
}

.hook-section {
    padding:100px 0 50px;
}

.rotate-img {
    display: block;
    max-width: 100%;
    transition: transform 0.2s ease-out;
    transform: perspective(800px) rotateY(10deg) rotateX(2deg);
}

.rotate-img:hover {
    transform: translateY(-50px) scale(1.05);
}

.blue-check {
    width: 80px;
    position: absolute;
    top: -25px;
}

.form-control {
    border-radius: 5px;
}

.promo-gift-img {
    width: 80px;
    margin-top: -50px;
    filter: drop-shadow(0 4px 8px rgba(255, 65, 93, 0.2));
}

/* ================================================
   3. TYPOGRAPHY
   ================================================ */
.typing-text {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
}

.dynamic-text {
    color: #007bff;
    border-right: 2px solid white;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
}

.gradient-text {
    background : linear-gradient(118deg, #ffe4e2, rgba(255, 65, 78, 0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.gradient-text-goal {
    background: linear-gradient(118deg, #ff414e, rgba(255,65,78,.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* ================================================
   4. PLATFORM GRADIENTS
   ================================================ */
.gradient-naver {
    display: inline-block;
    background: linear-gradient(125deg, #03F067 0%, #26C7E9 53%, #718DED 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-instagram {
    display: inline-block;
    background: linear-gradient(125deg, rgba(154, 58, 180, 0.9), rgba(249, 65, 65, 0.8), rgba(252, 176, 69, 0.8));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-youtube {
    display: inline-block;
    background: linear-gradient(125deg, #e52d27, #b36e6f);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-tiktok {
    display: inline-block;
    background: linear-gradient(125deg, #ff0050 0%, #00f2ea 73%, #000000 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-facebook {
    display: inline-block;
    background: linear-gradient(125deg, #1877F2 0%, #5165b3 53%, #8699c6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-kakao {
    display: inline-block;
    background: linear-gradient(125deg, #FEE500 0%, #b5af61 73%, #6e643a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-web {
    display: inline-block;
    background: linear-gradient(125deg, #eeeddd 0%, #afaba8 53%, #555555 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ================================================
   5. BUTTONS
   ================================================ */
.btn-gradient-red {
    background: linear-gradient(135deg, #ff415d, #ff6b7f);
    box-shadow: 0 4px 15px rgba(255, 65, 93, 0.4);
    color: white;
    border: none;
    transition: all 0.3s ease;
}

.btn-gradient-red:hover {
    background: linear-gradient(135deg, #ff2f4a, #ff5869);
    box-shadow: 0 6px 20px rgba(255, 65, 93, 0.5);
    transform: translateY(-2px);
    color: white;
}

.btn-gradient-red:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(255, 65, 93, 0.4);
}

.service-btn {
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
    min-width: 150px;
    height: 60px;
}

.service-btn img {
    width: 90px !important;
}

.data-btn {
    transition: all 0.3s ease-in-out;
    box-shadow: 2px 4px 20px 4px rgb(35 42 54 / 10%);
}

.data-btn img {
    transform: scale(1);
    transition: transform 0.3s ease-in-out;
    animation: float 2s infinite ease-in-out;
}

.data-btn:hover {
    background: linear-gradient(109.6deg, #d8e8ff 11.2%, #f8fbff 91.1%);
}

.data-btn img:nth-child(1) { animation-delay: 0s; }
.data-btn img:nth-child(2) { animation-delay: 0.4s; }
.data-btn img:nth-child(3) { animation-delay: 0.8s; }
.data-btn img:nth-child(4) { animation-delay: 1.2s; }
.data-btn img:nth-child(5) { animation-delay: 1.6s; }


.chart-toggle-btn {
    transition: all 0.3s ease;
}

.chart-toggle-btn.active {
    background: rgba(255, 65, 93, 0.2) !important;
    color: #ff415d !important;
    border: 1px solid rgba(255, 65, 93, 0.5) !important;
    box-shadow: 0 2px 8px rgba(255, 65, 93, 0.3);
}

.chart-toggle-btn:not(.active):hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.8) !important;
}

/* ================================================
   6. GLASSMORPHISM SYSTEM
   ================================================ */
.hero-metrics {
    position: relative;
    /* background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 50%, #e9ecef 100%); */
    background-color: #f8fafe;
    overflow: hidden;
}

.hero-metrics::after {
    content: "";
    position: absolute;
    inset: -10%;
    pointer-events: none;
    background: radial-gradient(80% 80% at 50% 50%, transparent 0 60%, rgba(0,0,0,.05) 100%);
}

.hero-blob {
    position: absolute;
    filter: blur(60px);
    opacity: .25;
    pointer-events: none;
    background: linear-gradient(135deg, #ff415d, #ff6b7f 40%, #ffc0cb 80%);
    border-radius: 50%;
    mix-blend-mode: multiply;
}

.hero-blob.blob-a {
    width: 520px;
    height: 520px;
    top: -160px;
    left: -140px;
}

.hero-blob.blob-b {
    width: 460px;
    height: 460px;
    bottom: -160px;
    right: -80px;
    background: linear-gradient(135deg, #ff6b7f, #ff415d 60%, #ffa0b0);
}

.glass-dark {
    position: relative;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 22px;
    box-shadow: rgba(255, 255, 255, 0.25) 2px 2px 4px inset, 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.glass-dark:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    z-index: 10 !important;
}

.glass-dark::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.22) 35%, rgba(0, 0, 0, 0.18));
    pointer-events: none;
    z-index: 0;
}

.glass-dark > * {
    position: relative;
    z-index: 1;
}

.glass-light {
    position: relative;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(255, 255, 255, 0.85) 50%,
        rgba(248, 249, 250, 0.9) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.06),
        0 4px 12px rgba(0, 0, 0, 0.04),
        inset 0 2px 0 rgba(255, 255, 255, 1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.03),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    padding: 1rem 1.5rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@media (min-width: 992px) {
    .glass-light {
        padding: 1rem 1.5rem;
    }
}
/* 
.glass-light:hover {
    transform: translateY(-18px) scale(1.04);
    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.1),
        0 10px 30px rgba(0, 0, 0, 0.08),
        inset 0 2px 0 rgba(255, 255, 255, 1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05),
        0 0 0 1px rgba(255, 65, 93, 0.15),
        0 0 40px rgba(255, 65, 93, 0.08);
    border-color: rgba(255, 65, 93, 0.2);
    z-index: 10 !important;
} */

.glass-light::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.6) 0%,
        rgba(255, 245, 247, 0.3) 40%,
        rgba(255, 255, 255, 0.2) 100%
    );
    pointer-events: none;
    z-index: 0;
}

.glass-light::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at 30% 20%,
        rgba(255, 65, 93, 0.08) 0%,
        transparent 50%
    );
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* .glass-light:hover::after {
    opacity: 1;
} */

.glass-light > * {
    position: relative;
    z-index: 1;
}

/* Metric Card - 블랙 포인트 디자인 */
.metric-card-1,
.metric-card-2,
.metric-card-3,
.metric-card-4 {
    position: relative;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow:
        0 6px 24px rgb(94 94 94 / 8%),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    padding: 1rem 1.5rem;
    overflow: visible;
    transition: none;
}

@media (min-width: 992px) {
    .metric-card-1,
    .metric-card-2,
    .metric-card-3,
    .metric-card-4 {
        padding: 1.5rem 1.5rem;
    }
}

/* 좌측 블랙 포인트 라인 */
.metric-card-1::before,
.metric-card-2::before,
.metric-card-3::before,
.metric-card-4::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #000 0%, #2d2d2d 50%, #4a4a4a 100%);
    border-radius: 20px 0 0 20px;
    z-index: 1;
}

/* 강화된 Staggered 효과 - 눈에 더 띄게 */
.metric-card-1 { transform: translateY(-35px); z-index: 4; }
.metric-card-2 { transform: translateY(-15px); z-index: 3; }
.metric-card-3 { transform: translateY(-25px); z-index: 2; }
.metric-card-4 { transform: translateY(-5px); z-index: 1; }

.glass-card-1 { transform: translateY(-25px); z-index: 4; }
.glass-card-2 { transform: translateY(15px); z-index: 3; }
.glass-card-3 { transform: translateY(-15px); z-index: 2; }
.glass-card-4 { transform: translateY(20px); z-index: 1; }

/* 숫자 - 블랙, 작고 강렬하게 */
.metric-card-1 .metric-number,
.metric-card-2 .metric-number,
.metric-card-3 .metric-number,
.metric-card-4 .metric-number {
    color: #000;
    font-size: clamp(18px, 5vw, 48px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
}

/* 카드 내부 요소 z-index */
.metric-card-1 > *,
.metric-card-2 > *,
.metric-card-3 > *,
.metric-card-4 > * {
    position: relative;
    z-index: 2;
}



@supports not (backdrop-filter: blur(10px)) {
    .glass {
        background: rgba(22, 28, 36, .92);
    }
}

.glass img {
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .35));
}

.hero-metrics .marquee img {
    height: 60px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(255, 65, 93, 0.2);
    opacity: 0.85;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero-metrics .marquee img:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* ================================================
   7. FEATURE CARDS
   ================================================ */
.feature-card {
    padding: 40px 20px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.03);
}

.feature-number {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    background: rgba(255, 65, 93, 0.15);
    border: 1.5px solid rgba(255, 65, 93, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff415d;
    font-weight: bold;
    font-size: 14px;
    z-index: 2;
}

.feature-icon {
    font-size: 48px;
    color: #ff415d;
    margin-bottom: 20px;
    display: block;
}

.feature-title {
    font-size: 20px;
    margin-bottom: 10px;
}

.feature-desc {
    font-size: 14px;
    line-height: 1.6;
}

.feature-flow-line {
    position: absolute;
    top: 50%;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, transparent 15%, rgba(255, 65, 93, 0.3) 25%, rgba(255, 65, 93, 0.8) 40%, #ff415d 50%, rgba(255, 65, 93, 0.8) 60%, rgba(255, 65, 93, 0.3) 75%, transparent 85%, transparent 100%);
    background-size: 200% 100%;
    animation: flowRight 4s linear infinite;
    z-index: 0;
    pointer-events: none;
}

.feature-flow-line::before,
.feature-flow-line::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    background: #ff415d;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 15px rgba(255, 65, 93, 0.8), 0 0 30px rgba(255, 65, 93, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

.feature-flow-line::before { left: 0; }
.feature-flow-line::after { right: 0; }

.service-box {
    position: relative;
    z-index: 3;
    border: 1px solid rgb(85, 85, 85, 0.2);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 10px;
    background-color: #f9f9f9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.service-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 10px 0;
}

.service-option {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    flex: 1 1 calc(33.333% - 20px);
    box-sizing: border-box;
    transition: background-color 0.3s, border-color 0.3s;
}

.service-option:hover {
    background-color: #f0f0f0;
}

.service-option.active {
    background-color: #f6f6ff;
    color: #496bf3;
    border-color: #496bf3;
}

/* ================================================
   9. CAROUSEL & SWIPER
   ================================================ */
.swiper-box {
    position: relative;
    height: 600px;
}

.swiper-container {
    width: 90%;
    height: 90%;
    overflow: hidden;
}

#placeSwiper .swiper-slide,
#tossSwiper .swiper-slide,
#instagramSwiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    padding: 20px;
    padding-bottom: 0;
    border-radius: 25px;
    border: 1px solid #dee2e6;
    box-shadow: 0.5rem 0.5rem 2rem .5rem rgba(52, 85, 157, .1);
}

.content {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.content-text {
    width: 40%;
    padding: 1rem;
}

.content-image {
    max-width: 55%;
    text-align: center;
    align-self: end;
    overflow-y: hidden;
}

.content-image img {
    width: 100%;
    border-radius: 10px;
    max-height: 550px;
}

.swiper-button-next,
.swiper-button-prev {
    color: #000;
    width: 22px;
    height: 22px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 33px;
}

.swiper-button-next { right: 10px; }
.swiper-button-prev { left: 10px; }

.feature-bullets {
    position: relative;
    display: flex;
    justify-content: start;
    gap: 12px;
    margin: 36px 0 20px;
    z-index: 10;
}

.feature-bullets .swiper-pagination-bullet {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 40px;
    padding: 0 20px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 9999px;
    background: #ffffff1a;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #ffffff;
    line-height: 1;
    opacity: 100%;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.feature-bullets .swiper-pagination-bullet-active {
    background-color: #004187 !important;
    border: 1px solid #007bff;
    color: #fff;
}

.service-bullets {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 16px 0 8px;
    z-index: 10;
}

.service-bullets .swiper-pagination-bullet {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 40px;
    padding: 0 15px;
    border: 1px solid rgb(85, 85, 85, 0.2);
    border-radius: 9999px;
    background: #ffffff1a;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #000000;
    line-height: 1;
    opacity: 100%;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.service-bullets .swiper-pagination-bullet-active {
    background-color: #0900af !important;
    border: 1px solid #0900af;
    color: #fff;
}

/* ================================================
   10. MARQUEE
   ================================================ */
.marquee-container {
    overflow: hidden;
    width: 100%;
    padding: 20px 0;
    margin-top: 40px;
}

.marquee {
    display: flex;
    gap: 15px;
    flex-wrap: nowrap;
    width: max-content;
}

.marquee img {
    height: 80px;
    width: auto;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(24, 96, 232, 0.17);
    flex-shrink: 0;
}

.marquee-brand img {
    box-shadow: none;
} 

.marquee-brand .marquee {
    box-shadow: none;
    gap: 35px;
} 

.marquee-top {
    animation: marquee-scroll 30s linear infinite;
    margin-bottom: 20px;
}

.marquee-bottom {
    animation: marquee-scroll 30s linear infinite reverse;
}

.fade-edges {
    position: relative;
}

.fade-edges::before,
.fade-edges::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 1;
    pointer-events: none;
}

.fade-edges::before { left: 0; }
.fade-edges::after { right: 0; }

.fade-edges-dark::before,
.fade-edges-dark::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 1;
    pointer-events: none;
}

.fade-edges-dark::before {
    left: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0));
}

.fade-edges-dark::after {
    right: 0;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0));
}

/* ================================================
   10-1. BRAND GRID (정적 브랜드 나열 - 그레이스케일)
   ================================================ */
.brand-grid-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
    align-items: center;
}

.brand-row {
    display: contents; /* grid 레이아웃 유지 */
}

.brand-row img {
    width: 90%;
    height: auto;
    object-fit: contain;
    /* filter: grayscale(100%) opacity(0.5); */
    filter: grayscale(0%) opacity(1);
    transition: filter 0.6s ease, transform 0.3s ease;
    cursor: pointer;
}

.brand-row.active img {
    filter: grayscale(0%) opacity(1);
}

.brand-row img:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

/* 반응형 */
@media (max-width: 991px) {
    .brand-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .brand-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

/* ================================================
   11. GOAL SOLUTION SECTION
   ================================================ */
.goal-headline {
    margin: 0 0 18px;
    color: #1a1f2e !important;
}


.goal-carousel-wrap {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.goal-carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc(25% - 18px); /* 4개 기준 고정 크기 (gap 24px 고려) */
    gap: 24px;
    overflow: auto;
    padding: 6px 4px 30px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    user-select: none;
    -webkit-user-drag: none;
}

.goal-carousel img {
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.goal-carousel::-webkit-scrollbar {
    display: none;
}

.goal-card {
    scroll-snap-align: start;
    background: linear-gradient(180deg, rgb(255, 255, 255) 0%, rgb(255, 255, 255) 50%, rgb(255 247 236 / 60%) 100%);
    border-radius: 22px;
    padding: 40px;
    box-shadow: var(--goal-shadow);
    /* border: 1px solid rgba(255,255,255,.06); */
    min-height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.goal-eyebrow {
    color: #ff415d;
    margin-bottom: 8px;
    font-size: 1.1rem;
    font-family: 'Pretendard-bold', serif;
}

.goal-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    font-size: 1.5rem;
    font-family: 'Pretendard-bold', serif;
    color: #222;
    margin-bottom: 30px;
}

.goal-title .arrow {
    display: inline-flex;
    width: 22px;
    height: 22px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,.1);
    align-items: center;
    justify-content: center;
}

.goal-phone {
    width: 80%;
    max-width: 260px;
    aspect-ratio: 9/19;
    border-radius: 26px;
    margin: 10px auto 16px;
    background: linear-gradient(180deg, #0a1218, #15232d);
    border: 5px solid rgba(255,255,255,.15);
    box-shadow: inset 0 0 0 4px rgba(0,0,0,.35), 0 10px 10px rgba(0,0,0,.45);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.goal-phone > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.goal-desc {
    margin-top: auto;
    color: #3b3b3b;
}


/* ================================================
   12. TOOLS SECTION
   ================================================ */
.tool-card {
    cursor: pointer;
    border-radius: 16px;
}

.tool-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 0 20px rgba(255, 65, 93, 0.15);
}

.tool-card:hover .tool-icon i {
    opacity: 1 !important;
    color: #ff415d;
    transform: translateX(4px);
    transition: all 0.3s ease;
}

.tool-icon i {
    transition: all 0.3s ease;
}

.circular-tools-container {
    position: relative;
}

.central-hub {
    animation: central-hub-pulse 3s ease-in-out infinite;
}

.central-hub:hover {
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 0 60px rgba(255, 65, 93, 0.3);
}

.circular-tool-card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    cursor: pointer;

    /* Glassmorphism 효과 */
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;

    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: translate(-50%, -50%) rotate(var(--angle)) translateX(var(--distance)) rotate(calc(-1 * var(--angle)));
    animation: expand-from-center 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards, card-float 3s ease-in-out infinite;
    opacity: 0;
}

.circular-tool-card:nth-child(2) { animation-delay: 0.6s, 0.6s; }
.circular-tool-card:nth-child(3) { animation-delay: 0.75s, 0.75s; }
.circular-tool-card:nth-child(4) { animation-delay: 0.9s, 0.9s; }
.circular-tool-card:nth-child(5) { animation-delay: 1.05s, 1.05s; }
.circular-tool-card:nth-child(6) { animation-delay: 1.2s, 1.2s; }
.circular-tool-card:nth-child(7) { animation-delay: 1.35s, 1.35s; }

.circular-tool-card:hover {
    transform: translate(-50%, -50%) rotate(var(--angle)) translateX(var(--distance)) rotate(calc(-1 * var(--angle))) scale(1.12);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(36px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    border-color: rgba(255, 255, 255, 0.25);
    z-index: 20 !important;
}

.circular-tool-card:hover i {
    transform: scale(1.15) translateY(-2px);
}

.circular-tool-card i {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.connection-line {
    animation: draw-line 1.5s ease-out 0.5s forwards, flow-line 2s linear 2s infinite;
    stroke-dashoffset: 300;
    opacity: 0;
}

.ai-feature-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.ai-feature-card-red:hover {
    border-color: rgba(255, 65, 93, 0.5);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 40px rgba(255, 65, 93, 0.3);
}

.ai-feature-card-blue:hover {
    border-color: rgba(65, 105, 225, 0.5);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 40px rgba(65, 105, 225, 0.3);
}

.ai-feature-card-purple:hover {
    border-color: rgba(153, 102, 255, 0.5);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 40px rgba(153, 102, 255, 0.3);
}

.ai-feature-card-green:hover {
    border-color: rgba(0, 200, 150, 0.5);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 40px rgba(0, 200, 150, 0.3);
}

.ai-feature-card:hover .ai-feature-icon {
    transform: scale(1.15) rotate(5deg);
}

.ai-feature-icon {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ai-keyword-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    animation: keyword-appear 0.6s ease-out both;
}

.ai-keyword-badge:nth-child(1) { animation-delay: 0.2s; }
.ai-keyword-badge:nth-child(2) { animation-delay: 0.4s; }
.ai-keyword-badge:nth-child(3) { animation-delay: 0.6s; }
.ai-keyword-badge:nth-child(4) { animation-delay: 0.8s; }
.ai-keyword-badge:nth-child(5) { animation-delay: 1.0s; }

.ai-keyword-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.35);
}

/* ================================================
   13. UTILITIES
   ================================================ */
.blue { color: #007bff !important; }
.red { color: #ff415d !important; }
.bg-blue { background-color: #007bff !important; }

.w-lg-80 { width: 80% !important; }

.hidden { display: none !important; }

.fixed-promo-banner {
    letter-spacing: -1px;
    width: 300px;
    box-shadow: rgba(241, 191, 199, 0.5) 0px 4px 10px 1px, rgba(255, 65, 93, 0.3) 0px 8px 8px -8px;
    background: linear-gradient(180deg, rgb(255, 255, 255) 0%, rgb(255, 255, 255) 50%, rgb(193, 204, 214) 100%);
}

.close-btn {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
}

#fixedBanner:hover .close-btn {
    opacity: 1;
    visibility: visible;
}

#index-banner {
    position: fixed;
    top: calc(100vh - 120px);
    right: 40px;
    z-index: 100;
    border: none;
}

#index-banner2 {
    position: fixed;
    top: calc(100vh - 120px);
    right: 110px;
    z-index: 100;
    border: none;
}

#index-banner-mobile,
#index-banner2-mobile {
    display: none;
}

#inquiry:before {
    content: "";
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    position: absolute;
    top: -2px;
    left: -2px;
    background-size: 500%;
    z-index: -1;
    filter: blur(5px);
    -webkit-filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing-button-85 20s linear infinite;
    transition: opacity 0.3s ease-in-out;
    border-radius: 50%;
}

/* Glassmorphism Variants */
.glass-card-red {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 65, 93, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 20px rgba(255, 65, 93, 0.15);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.glass-card-blue {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(65, 105, 225, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 20px rgba(65, 105, 225, 0.15);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.glass-card-purple {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(153, 102, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 20px rgba(153, 102, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.glass-card-green {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 200, 150, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 20px rgba(0, 200, 150, 0.15);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Icon Circles */
.icon-circle-red {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #ff415d, #ff6b7f);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(255, 65, 93, 0.4);
    animation: icon-pulse-red 2s ease-in-out infinite;
}

.icon-circle-blue {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #4169e1, #5a7fe1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(65, 105, 225, 0.4);
    animation: icon-pulse-blue 2s ease-in-out infinite;
}

.icon-circle-purple {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #9966ff, #ba96ff);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(153, 102, 255, 0.4);
    animation: icon-pulse-purple 2s ease-in-out infinite;
}

.icon-circle-green {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #00c896, #00e6b4);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(0, 200, 150, 0.4);
    animation: icon-pulse-green 2s ease-in-out infinite;
}

/* Icon Styles */
.icon-md {
    font-size: 32px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.icon-md-red {
    font-size: 32px;
    color: #ff415d;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(255, 65, 93, 0.3));
}

.icon-md-blue {
    font-size: 32px;
    color: #4169e1;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(65, 105, 225, 0.3));
}

.icon-md-purple {
    font-size: 32px;
    color: #9966ff;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(153, 102, 255, 0.3));
}

.icon-md-green {
    font-size: 32px;
    color: #00c896;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 200, 150, 0.3));
}

/* Gradient Text Utilities */
.gradient-text-red {
    background: linear-gradient(135deg, #ff6b7f, #ff415d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 20px rgba(255, 65, 93, 0.5));
}

.gradient-text-blue {
    background: linear-gradient(135deg, #5a7fe1, #4169e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 20px rgba(65, 105, 225, 0.5));
}

/* Positioning */
.pos-rel-z1 {
    position: relative;
    z-index: 1;
}

.pos-absolute-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Opacity */
.opacity-65 { opacity: 0.65; }
.opacity-70 { opacity: 0.7; }

/* Text Shadow */
.text-shadow-md {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.text-shadow-glow-red {
    text-shadow: 0 0 30px rgba(255, 65, 93, 0.3);
}

/* ================================================
   14. ANIMATIONS
   ================================================ */
@keyframes flowRight {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
        transform: translateY(-50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translateY(-50%) scale(1.2);
    }
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes glowing-button-85 {
    0% { background-position: 0 0; }
    50% { background-position: 400% 0; }
    100% { background-position: 0 0; }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 0 30px rgba(255, 65, 93, 0.2);
    }
    50% {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 0 50px rgba(255, 65, 93, 0.4);
    }
}

@keyframes expand-from-center {
    0% {
        transform: translate(-50%, -50%) rotate(var(--angle)) translateX(0) rotate(calc(-1 * var(--angle))) scale(0.3);
        opacity: 0;
    }
    50% { opacity: 1; }
    100% {
        transform: translate(-50%, -50%) rotate(var(--angle)) translateX(var(--distance)) rotate(calc(-1 * var(--angle))) scale(1);
        opacity: 1;
    }
}

@keyframes center-fade-in {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.85);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes draw-line {
    0% {
        stroke-dashoffset: 300;
        opacity: 0;
    }
    50% { opacity: 1; }
    100% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

@keyframes flow-line {
    0% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: 24; }
}

@keyframes central-hub-pulse {
    0%, 100% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1) inset, 0 0 60px rgba(255, 65, 93, 0.15);
    }
    50% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 0 80px rgba(255, 65, 93, 0.25);
    }
}

@keyframes card-float {
    0%, 100% {
        transform: translate(-50%, -50%) rotate(var(--angle)) translateX(var(--distance)) rotate(calc(-1 * var(--angle))) translateY(0);
    }
    50% {
        transform: translate(-50%, -50%) rotate(var(--angle)) translateX(var(--distance)) rotate(calc(-1 * var(--angle))) translateY(-5px);
    }
}

@keyframes icon-pulse-red {
    0%, 100% { box-shadow: 0 4px 16px rgba(255, 65, 93, 0.4); }
    50% { box-shadow: 0 4px 24px rgba(255, 65, 93, 0.6), 0 0 30px rgba(255, 65, 93, 0.3); }
}

@keyframes icon-pulse-blue {
    0%, 100% { box-shadow: 0 4px 16px rgba(65, 105, 225, 0.4); }
    50% { box-shadow: 0 4px 24px rgba(65, 105, 225, 0.6), 0 0 30px rgba(65, 105, 225, 0.3); }
}

@keyframes icon-pulse-purple {
    0%, 100% { box-shadow: 0 4px 16px rgba(153, 102, 255, 0.4); }
    50% { box-shadow: 0 4px 24px rgba(153, 102, 255, 0.6), 0 0 30px rgba(153, 102, 255, 0.3); }
}

@keyframes icon-pulse-green {
    0%, 100% { box-shadow: 0 4px 16px rgba(0, 200, 150, 0.4); }
    50% { box-shadow: 0 4px 24px rgba(0, 200, 150, 0.6), 0 0 30px rgba(0, 200, 150, 0.3); }
}

@keyframes ai-light-move {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0.15;
    }
    50% {
        transform: translate(100px, 80px);
        opacity: 0.25;
    }
}

@keyframes ai-icon-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes ai-pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

@keyframes keyword-appear {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes badge-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 65, 93, 0); }
    50% { box-shadow: 0 0 0 8px rgba(255, 65, 93, 0.2); }
}

@keyframes icon-spin {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

/* ================================================
   14-1. MEDIA COVERAGE - LIST STYLE
   ================================================ */
.media-item {
    position: relative;
}

.media-item:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    transform: translateX(8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.media-item:hover .fa-arrow-right {
    opacity: 1 !important;
    transform: translateX(4px);
}

/* ================================================
   15. MEDIA QUERIES
   ================================================ */

/* Tablet: max-width 991px */
@media (max-width: 991px) {
    .feature-card {
        padding: 30px 15px;
    }

    .feature-icon {
        font-size: 36px;
        margin-bottom: 15px;
    }

    .feature-title {
        font-size: 18px;
    }

    .feature-desc {
        font-size: 13px;
    }

    .glass-card-1 {
        transform: translateY(-10px);
    }

    .glass-card-2 {
        transform: translateY(8px);
    }

    .glass-card-3 {
        transform: translateY(-8px);
    }

    .glass-card-4 {
        transform: translateY(10px);
    }

    .glass:hover {
        transform: translateY(-8px) scale(1.02);
    }

    .tools-section {
        padding: 80px 0 !important;
    }

    .circular-tools-container {
        max-width: 600px !important;
        height: 600px !important;
    }

    .circular-tool-card {
        width: 150px;
        height: 150px;
        --distance: 230px !important;
        animation: expand-from-center 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards !important;
    }

    .central-hub {
        width: 260px !important;
        height: 260px !important;
        padding: 15px !important;
    }

    .central-hub #miniTraceChart {
        width: 220px !important;
        height: 160px !important;
    }

    .circular-tool-card i {
        font-size: 28px !important;
    }

    .circular-tool-card .text-1 {
        font-size: 0.9rem !important;
    }

    .circular-tool-card .text-08 {
        font-size: 0.75rem !important;
    }
}

/* Mobile: max-width 768px */
@media (max-width: 768px) {
    section {
        padding: 50px 0;
    }

    .hero-blob.blob-a {
        width: 280px;
        height: 280px;
        top: -80px;
        left: -60px;
    }

    .hero-blob.blob-b {
        width: 240px;
        height: 240px;
        bottom: -80px;
        right: -40px;
    }

    .service-options {
        grid-template-columns: repeat(2, 1fr);
    }

    .data-btn img {
        max-width: 100px;
    }

    .rotate-img {
        transform: none;
        border-radius: 0.5rem !important;
    }

    .rotate-img:hover {
        transform: none;
    }

    .blue-check {
        width: 65px;
        position: absolute;
        top: -20px;
    }

    #inquiryModal .modal-dialog {
        max-width: 320px;
    }

    .feature-bullets {
        flex-wrap: wrap;
    }

    .marquee-container {
        margin-top: 10px;
    }

    .hook-section {
        padding:50px 0;
    }

    .glass-light{
        padding: 0.75rem;
    }

    /* Metric Cards Mobile */
    .metric-card-1,
    .metric-card-2,
    .metric-card-3,
    .metric-card-4 {
        transform: translateY(-10px) !important;
    }

    /* .metric-card-1:hover,
    .metric-card-2:hover,
    .metric-card-3:hover,
    .metric-card-4:hover {
        transform: translateY(-15px) scale(1.03) !important;
    } */

    .metric-icon {
        width: 48px;
        height: 48px;
        margin: 0 auto 12px;
    }

    .metric-icon i {
        font-size: 24px;
    }

    .metric-decoration {
        width: 100px;
        height: 100px;
        top: -20px;
        right: -20px;
    }

    .content {
        flex-direction: column;
        align-items: center;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }

    .service-btn {
        box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
        min-width: 110px;
        height: 40px;
    }

    .service-btn img {
        width: 60px !important;
    }

    .marquee-top {
        animation: marquee-scroll 50s linear infinite;
        margin-bottom: 10px;
    }

    .marquee-bottom {
        animation: marquee-scroll 50s linear infinite reverse;
    }

    @keyframes marquee-scroll {
        0% { transform: translateX(0); }
        100% { transform: translateX(-50%); }
    }

    .marquee-brand .marquee{
        gap: 5px;
    }

    .marquee {
        gap: 12px;
    }

    .marquee img {
        height: 50px;
        width: auto;
        border-radius: 10px;
        flex-shrink: 0;
    }

    .fade-edges::before,
    .fade-edges::after {
        width: 75px;
    }

    .swiper-container {
        width: 100%;
        height: 95%;
        overflow: hidden;
    }

    .content-text {
        padding: 1rem;
        width: 100%;
    }

    .content-image {
        max-width: 100%;
        padding: 0.5rem;
        margin: 0 auto;
    }

    .content-image img {
        max-height: 400px;
    }

    .w-lg-80 {
        width: 65% !important;
    }

    .circular-tools-container {
        max-width: 500px !important;
        height: 500px !important;
    }

    .circular-tool-card {
        width: 120px;
        height: 120px;
        --distance: 160px !important;
        padding: 15px;
    }

    .center-text-hub {
        width: 140px !important;
        height: 140px !important;
    }

    .center-text-hub .pr-bold {
        font-size: 1rem !important;
    }

    .center-text-hub .pr-light {
        font-size: 0.65rem !important;
    }

    .connection-lines line {
        stroke-width: 1.5 !important;
    }

    .connection-line {
        animation: draw-line 1s ease-out 0.5s forwards !important;
    }

    .connection-lines {
        opacity: 0.8;
    }

    .central-hub {
        width: 200px !important;
        height: 200px !important;
        padding: 12px !important;
    }

    .central-hub #miniTraceChart {
        width: 160px !important;
        height: 120px !important;
    }

    .central-hub .text-08 {
        font-size: 0.65rem !important;
    }

    .chart-toggle-btn {
        font-size: 0.7rem !important;
        padding: 3px 10px !important;
    }

    .circular-tool-card i {
        font-size: 24px !important;
        margin-bottom: 8px !important;
    }

    .circular-tool-card .text-1 {
        font-size: 0.85rem !important;
    }

    .circular-tool-card .text-08 {
        font-size: 0.7rem !important;
    }

    /* Media Coverage - Mobile */
    .media-item {
        padding: 20px 16px !important;
    }
}

/* Small Mobile: max-width 720px */
@media (max-width: 720px) {
    .goal-carousel {
        grid-auto-columns: 85%;
    }

    .goal-card {
        min-height: 440px;
    }
    
    .goal-headline{
        padding: 0 10px;
    }

}

/* ================================================
   Service Card Grid Section
   ================================================ */
.service-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.service-card {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
    overflow: hidden;
}

/* Background image via pseudo-element for zoom effect */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
    z-index: 0;
}

.service-card:hover::before {
    transform: scale(1.2);
}

/* Background variants */
.service-card--offerwall::before {
    background-image: url('../images/offerwall.png');
}
.service-card--viral::before {
    background-image: url('../images/viral.png');
}
.service-card--cinematic::before {
    background-image: url('../images/cinematic.png');
}
.service-card--global::before {
    background-image: url('../images/global.png');
}

.service-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    transition: background 0.4s ease;
}

.service-card:hover .service-card-overlay {
    background: rgba(0, 0, 0, 0.3);
}

.service-card-btn {
    display: block;
    margin-top: 24px;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
    padding: 10px 28px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.service-card-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
    text-decoration: none;
}

/* Responsive: single column on mobile */
@media (max-width: 768px) {
    .service-card-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 400px;
    }
}

/* ================================================
   16. EXTRACTED INLINE STYLES
   ================================================ */

/* Media Coverage Section */
.media-coverage-section {
    background: linear-gradient(180deg, #1a1d29 0%, #010c1c 50%, #350000 100%);
    padding: 20px 0;
    position: relative;
    overflow: hidden;
}

.media-coverage-blob {
    position: absolute;
    width: 350px;
    height: 350px;
    top: -80px;
    right: -80px;
    filter: blur(80px);
    opacity: 0.15;
    pointer-events: none;
    background: linear-gradient(135deg, #ff415d, #ff6b7f);
    border-radius: 50%;
}

.media-coverage-section .container {
    position: relative;
    z-index: 1;
}

.media-item {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.3s ease;
    min-height: 70px;
}

.media-item h3 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.media-item .fa-arrow-right {
    font-size: 18px;
    opacity: 0.6;
    transition: all 0.3s ease;
}

/* Clients Section */
#clients .container {
    position: relative;
    z-index: 1;
}

/* Solutions Section */
#solutions .container {
    position: relative;
    z-index: 1;
}

/* Signature Line Section */
#signature-line {
    padding: 40px 0 0;
}

#signature-line .service-card .container {
    z-index: 2;
}

@media (max-width: 768px) {
    #signature-line {
        padding: 50px 0 0;
    }
}

/* Partners Section */
#partners {
    background: linear-gradient(180deg, #fffc 50%, #dee4f0cc), #fff;
    background-size: cover;
}

/* AI Tools Section */
#ai-tools {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #0d1117 0%, #161b22 40%, #161b22 60%, #0d1117 100%);
    padding: 120px 0;
}

#ai-tools .container {
    position: relative;
    z-index: 1;
}

.ai-tools-blob-red {
    position: absolute;
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    filter: blur(80px);
    opacity: 0.3;
    pointer-events: none;
    background: linear-gradient(135deg, #ff415d, #ff6b7f) !important;
    border-radius: 50%;
    mix-blend-mode: screen;
}

.ai-tools-blob-green {
    position: absolute;
    width: 280px;
    height: 280px;
    bottom: -80px;
    left: -60px;
    filter: blur(60px);
    opacity: 0.2;
    pointer-events: none;
    background: linear-gradient(135deg, #41e184, #5ae18e) !important;
    border-radius: 50%;
    mix-blend-mode: screen;
}

.ai-tools-blob-blue {
    position: absolute;
    width: 350px;
    height: 350px;
    top: 50%;
    left: -80px;
    transform: translateY(-50%);
    filter: blur(80px);
    opacity: 0.25;
    pointer-events: none;
    background: linear-gradient(135deg, #4169e1, #5a7fe1) !important;
    border-radius: 50%;
    mix-blend-mode: screen;
}

.ai-tools-dot-overlay {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
    opacity: 0.5;
}

/* Manager Section */
#manager {
    background: #fff;
}

/* ================================================
   17. MANAGER SECTION STYLES
   ================================================ */

/* 수치 텍스트 자간 축소 */
.stat-number {
    letter-spacing: -2px;
}

/* 진단 신청 버튼 */
.btn-gradient {
    background: linear-gradient(90deg, #1d1d1f 17%, #033153 100%);
    border: none;
    color: #fff;
    font-weight: 500;
    border-radius: 99px;
    padding: 14px 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: opacity 0.15s;
}

.btn-gradient:hover {
    opacity: 0.85;
    color: #fff;
}

/* 아바타 슬라이더 영역 */
.avatar-slider {
    background: linear-gradient(135deg, #e0f7fa 0%, #b2f2e9 50%, #80ea81 100%);
    border-radius: 1rem;
    height: 250px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.avatar-image-area {
    width: 50%;
    height: 100%;
    position: relative;
}

.avatar-img {
    position: absolute;
    max-height: 230px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity;
    filter: grayscale(100%) sepia(30%) hue-rotate(180deg) saturate(1.2) brightness(0.95);
}

.avatar-img.active {
    opacity: 1;
}

.avatar-profile {
    width: 50%;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.profile-item {
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    padding: 1.5rem;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity;
    pointer-events: none;
}

.profile-item.active {
    opacity: 1;
    pointer-events: auto;
}

.profile-role {
    font-size: 0.95rem;
    color: #00447e;
    margin-bottom: 0.75rem;
}

.profile-desc {
    font-size: 0.8rem;
    color: #000000;
    line-height: 1.5;
}

@media (min-width: 992px) {
    .avatar-slider {
        height: 320px;
    }
    .avatar-img {
        max-height: 300px;
    }
    .avatar-profile {
        padding: 2rem;
    }
    .profile-role {
        font-size: 0.9rem;
    }
    .profile-desc {
        font-size: 0.85rem;
    }
}

@media (max-width: 767px) {
    .avatar-slider {
        flex-direction: column;
        height: auto;
        padding: 1rem 1rem 0;
    }
    .avatar-image-area {
        width: 100%;
        height: 160px;
        order: 2;
        position: relative;
    }
    .avatar-img {
        max-height: 160px;
        bottom: 0;
    }
    .avatar-profile {
        width: 100%;
        padding: 1rem;
        text-align: center;
        order: 1;
        min-height: auto;
        position: relative;
    }
    .profile-item {
        position: relative;
        top: auto;
        transform: none;
        padding: 0;
        opacity: 0;
        display: none;
    }
    .profile-item.active {
        opacity: 1;
        display: block;
    }
    .profile-role {
        margin-bottom: 0.5rem;
    }
    .profile-desc {
        font-size: 0.75rem;
    }
}

/* 서비스 탭 스타일 */
.service-tab-btn {
    background: #f0f0f0;
    color: #666;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}
.service-tab-btn:hover {
    background: #e0e0e0;
    color: #333;
}
.service-tab-btn.active {
    background: linear-gradient(90deg, #1d1d1f 17%, #033153 100%);
    color: #fff;
}

/* ================================================
   18. IMC INTRO SECTION
   ================================================ */
#imc-intro {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
    overflow: hidden;
}

#imc-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1030 40%, #0d1b2a 100%);
    background-image: url('../images/imc_bg_2.jpg');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.imc-intro-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

#imc-intro .container {
    z-index: 2;
}

.imc-stat {
    padding: 24px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.3s ease;
}

.imc-stat:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
}

.imc-stat-number {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: #fff;
    /*letter-spacing: 2px;*/
    margin-bottom: 4px;
}

.imc-stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 768px) {
    #imc-intro {
        min-height: 400px;
        padding: 80px 0;
    }
}

/* ================================================
   19. IMC TEAM SECTION
   ================================================ */
#imc-team {
    background: #fff;
    padding: 100px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 32px 24px;
    padding: 10px;
}

.team-member { text-align: center; }

.team-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffe5b2 0%, #ff7084 100%);
    padding: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    filter: grayscale(20%) brightness(1.02);
}

.team-name {
    font-size: 1rem;
    color: #1d1d1f;
    margin: 0 0 4px;
}

.team-role {
    font-size: 0.85rem;
    color: #888;
    margin: 0;
}

.team-member:hover .team-avatar {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(3, 49, 83, 0.2);
}

/* 확장/축소 */
.team-expandable {
    position: relative;
    max-height: 380px;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.team-expandable.expanded { max-height: 2000px; }

.team-expand-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 180px;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 20px;
    pointer-events: none;
    transition: opacity 0.4s ease;
}
.team-expandable.expanded .team-expand-overlay { opacity: 0; pointer-events: none; }

.team-expand-btn {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: #fff;
    border: 1px solid #ffffff;
    border-radius: 50px;
    color: #1d1d1f;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.team-expand-btn:hover {
    /*background: #1d1d1f;*/
    /*color: #fff;*/
    /*transform: translateY(-2px);*/
}

.team-close-wrapper { text-align: center; }
.team-close-btn {
    display: none;
    margin-top: 40px;
    padding: 12px 28px;
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 50px;
    color: #666;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}
.team-close-btn:hover { border-color: #1d1d1f; color: #1d1d1f; }
.team-expandable.expanded + .team-close-wrapper .team-close-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* 반응형 */
@media (max-width: 991px) {
    .team-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 576px) {
    .team-grid { grid-template-columns: repeat(3, 1fr); gap: 24px 16px; }
    .team-avatar { width: 90px; height: 90px; }
    #imc-team { padding: 60px 0; }
}

