/* 잇다 플랫폼 공통 스타일 (index_books / index_books_cafe / index_yo / 하위 페이지) */
/* ****************************************
   TOSS STYLE DESIGN SYSTEM
   **************************************** */
:root {
    --toss-blue: #3182f6;
    --toss-blue-light: #e8f3ff;
    --toss-navy: #1a1f27;
    --toss-black: #191f28;
    --toss-grey-100: #f9fafb;
    --toss-grey-200: #f2f4f6;
    --toss-grey-300: #e5e8eb;
    --toss-grey-400: #d1d6db;
    --toss-grey-500: #b0b8c1;
    --toss-grey-600: #8b95a1;
    --toss-grey-700: #6b7684;
    --toss-grey-800: #4e5968;
    --toss-grey-900: #333d4b;
    --notice-text-black: #050505;
}

html, body {
    overflow-x: hidden;
}

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
    color: var(--toss-grey-900);
    background-color: #fff;
    word-break: keep-all;
    line-height: 1.6;
    font-size: 17px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--toss-black);
    letter-spacing: -0.02em;
}

/* --- Navigation --- */
.navbar {
    padding: 20px 0;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}
.navbar-brand {
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--toss-blue) !important;
    letter-spacing: -1px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
.navbar-brand .mascot-icon {
    width: 36px;
    height: 36px;
    display: block;
    flex-shrink: 0;
}
.nav-link {
    font-weight: 600;
    color: var(--toss-grey-700) !important;
    font-size: 17px;
    padding: 0 18px !important;
}
.nav-link:hover {
    color: var(--toss-black) !important;
}
.nav-btn {
    background-color: var(--toss-blue);
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.2s;
}
.nav-btn:hover {
    background-color: #1b64da;
}
.navbar-toggler {
    border: none;
    padding: 0;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}
.navbar-toggler:focus {
    outline: none;
}
@media (max-width: 991.98px) {
    .navbar > .container-toss {
        flex-wrap: wrap;
        align-items: center;
    }
    .navbar-brand {
        flex: 1 1 auto;
        margin-right: 12px;
        max-width: calc(100% - 48px);
    }
    .navbar-toggler {
        margin-left: auto;
    }
    .navbar-collapse {
        flex: 1 0 100%;
        width: 100%;
        max-width: 100%;
    }
    .navbar-nav {
        padding-top: 8px;
        align-items: flex-end !important;
    }
    .navbar-nav .nav-item.ml-3 {
        margin-left: 0 !important;
    }
}

/* --- Layout Utilities --- */
.section-padding {
    padding: 140px 0;
}
.section-bg-grey {
    background-color: var(--toss-grey-100);
}
.container-toss {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Hero Section (Enhanced) --- */
.toss-hero {
    padding-top: 200px;
    padding-bottom: 140px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #fff 0%, #f9fbff 100%);
}

/* Abstract Background Shapes */
.hero-bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    z-index: 0;
    animation: float 6s ease-in-out infinite;
}
.shape-1 {
    width: 400px;
    height: 400px;
    background: rgba(49, 130, 246, 0.15);
    top: -100px;
    right: -50px;
}
.shape-2 {
    width: 300px;
    height: 300px;
    background: rgba(107, 118, 132, 0.1);
    bottom: 50px;
    left: -100px;
    animation-delay: -3s;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.hero-content {
    position: relative;
    z-index: 1;
}
.hero-subsidy-link {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: 100%;
    position: relative;
    margin: 18px 0 28px;
    padding: 18px 16px 16px 22px;
    border-radius: 20px;
    background: #ffe100;
    color: var(--toss-black);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.03em;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(25, 31, 40, 0.16);
    min-width: 0;
    animation: hero-subsidy-call 1.35s ease-in-out infinite;
}
.hero-subsidy-year {
    position: absolute;
    top: 0;
    left: 18px;
    z-index: 1;
    transform: translateY(-50%);
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--toss-black);
    color: #ffe100;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    white-space: nowrap;
    box-shadow: 0 0 0 3px #fff;
}
.hero-subsidy-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.hero-subsidy-copy,
.hero-subsidy-items {
    min-width: 0;
    white-space: nowrap;
}
.hero-subsidy-items {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
}
.hero-subsidy-link::after {
    content: "";
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    margin-left: auto;
    border-radius: 50%;
    background: var(--toss-black) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffe100' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 22px 22px no-repeat;
    animation: hero-subsidy-nudge 1.35s ease-in-out infinite;
}
.hero-subsidy-link:hover,
.hero-subsidy-link:focus {
    color: var(--toss-black);
    text-decoration: none;
    background: #ffd400;
    animation: none;
    transform: translateY(-2px) scale(1.02);
}
@keyframes hero-subsidy-call {
    0%, 100% { transform: scale(1); box-shadow: 0 12px 28px rgba(25, 31, 40, 0.16), 0 0 0 0 rgba(255, 225, 0, 0.9); }
    55% { transform: scale(1.045); box-shadow: 0 16px 34px rgba(25, 31, 40, 0.2), 0 0 0 16px rgba(255, 225, 0, 0); }
}
@keyframes hero-subsidy-nudge {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(7px); }
}
@media (prefers-reduced-motion: reduce) {
    .hero-subsidy-link,
    .hero-subsidy-link::after { animation: none; }
}
.hero-carousel-col {
    align-self: flex-start;
    margin-top: -28px;
}
.hero-title {
    font-size: 72px;
    line-height: 1.25;
    font-weight: 800;
    margin-bottom: 32px;
    color: var(--toss-black);
}
.hero-desc {
    font-size: 24px;
    color: var(--toss-grey-700);
    margin-bottom: 48px;
    font-weight: 500;
    line-height: 1.5;
}
.hero-product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: -18px;
    margin-bottom: 40px;
}
.hero-product-tag {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(26, 31, 39, 0.06);
    box-shadow: 0 6px 20px rgba(25, 31, 40, 0.06);
    color: var(--toss-grey-800);
    font-size: 15px;
    font-weight: 700;
}
.hero-side-extras {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    margin: -24px 0 36px;
    min-width: 0;
}
.hero-side-extras-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--toss-grey-600);
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.hero-product-tag.is-extra {
    background: #f3f5f7;
    box-shadow: none;
    font-size: 13px;
    font-weight: 600;
    padding: 7px 12px;
    color: var(--toss-grey-700);
}
.cafe-extra-wrap {
    padding: 80px 0;
}
.cafe-extra-panel {
    background: #fff;
    border: 1px solid rgba(26, 31, 39, 0.06);
    border-radius: 28px;
    padding: 32px;
    min-width: 0;
}
.cafe-extra-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--toss-grey-600);
    margin-bottom: 10px;
}
.cafe-extra-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--toss-black);
    line-height: 1.35;
    margin-bottom: 12px;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.cafe-extra-desc {
    font-size: 17px;
    font-weight: 500;
    color: var(--toss-grey-700);
    line-height: 1.6;
    margin-bottom: 0;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.cafe-extra-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 24px;
}
.cafe-extra-card {
    background: #fff;
    border-radius: 20px;
    padding: 24px;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
    box-shadow: 0 8px 24px rgba(25, 31, 40, 0.05);
}
.cafe-extra-card img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 16px;
}
.cafe-extra-card h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 10px;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.cafe-extra-card p {
    font-size: 15px;
    font-weight: 500;
    color: var(--toss-grey-700);
    line-height: 1.6;
    margin-bottom: 14px;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.cafe-extra-card a {
    font-size: 15px;
    font-weight: 700;
    color: var(--toss-blue);
}

/* Stats in Hero */
.hero-stats-box {
    display: inline-flex;
    gap: 40px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 24px 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 48px;
}
.h-stat {
    text-align: left;
}
.h-stat strong {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: var(--toss-black);
    line-height: 1;
    margin-bottom: 8px;
}
.h-stat span {
    font-size: 16px;
    color: var(--toss-grey-600);
    font-weight: 600;
}

.scroll-down-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    opacity: 0.6;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateX(-50%) translateY(0);}
    40% {transform: translateX(-50%) translateY(-10px);}
    60% {transform: translateX(-50%) translateY(-5px);}
}

/* --- Mission Section --- */
.mission-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 50px;
    text-align: left;
    margin-top: 80px;
}
.mission-item h3 {
    font-size: 56px;
    font-weight: 800;
    color: var(--toss-blue);
    margin-bottom: 12px;
}
.mission-item p {
    font-size: 22px;
    color: var(--toss-black);
    font-weight: 700;
    margin-bottom: 8px;
}
.mission-item span {
    display: block;
    font-size: 18px;
    color: var(--toss-grey-600);
    line-height: 1.5;
}

/* --- Product Guide Section --- */
.product-guide-section {
    background: linear-gradient(180deg, #f8fbff 0%, #f3f7fb 100%);
}
.product-guide-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 28px;
    align-items: stretch;
    margin-bottom: 32px;
}
.product-guide-panel,
.product-guide-highlight,
.product-guide-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(26, 31, 39, 0.06);
    box-shadow: 0 12px 36px rgba(25, 31, 40, 0.08);
    backdrop-filter: blur(10px);
}
.product-guide-panel {
    border-radius: 32px;
    padding: 40px;
}
.product-guide-panel .feature-desc {
    margin-bottom: 0;
}
.product-guide-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}
.product-guide-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    background: #fff;
    color: var(--toss-grey-800);
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(25, 31, 40, 0.06);
}
.product-guide-chip i {
    color: var(--toss-blue);
}
.product-guide-chip .mascot-icon,
.notice-eyebrow .mascot-icon,
.biz-select-eyebrow .mascot-icon {
    width: 22px;
    height: 22px;
    display: block;
    flex-shrink: 0;
}
.product-guide-highlight {
    border-radius: 32px;
    padding: 32px;
    background: linear-gradient(135deg, #1f6fff 0%, #0b57d0 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.product-guide-highlight::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -50px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
}
.product-guide-highlight > * {
    position: relative;
    z-index: 1;
}
.product-guide-highlight-label {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 18px;
}
.product-guide-highlight h3 {
    font-size: 32px;
    line-height: 1.35;
    color: #fff;
    margin-bottom: 14px;
}
.product-guide-highlight p {
    font-size: 17px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 22px;
    font-weight: 500;
}
.product-guide-highlight ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.product-guide-highlight li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.96);
}
.product-guide-highlight li i {
    margin-top: 4px;
    color: #cfe1ff;
}
.product-guide-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.product-guide-card {
    border-radius: 28px;
    padding: 30px 28px;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.product-guide-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 44px rgba(25, 31, 40, 0.12);
}
.product-guide-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: var(--toss-blue-light);
    color: var(--toss-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}
.product-guide-icon .mascot-icon,
.biz-select-icon .mascot-icon {
    width: 48px;
    height: 48px;
    display: block;
}
.product-guide-card h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--toss-black);
}
.product-guide-card p {
    font-size: 17px;
    line-height: 1.65;
    color: var(--toss-grey-700);
    margin-bottom: 18px;
    font-weight: 500;
}
.product-guide-meta {
    font-size: 14px;
    font-weight: 700;
    color: var(--toss-blue);
    letter-spacing: -0.01em;
}
.product-guide-detail-head {
    margin-top: 56px;
    margin-bottom: 28px;
}
.product-guide-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}
.product-guide-detail-card {
    background: #fff;
    border-radius: 30px;
    padding: 32px;
    border: 1px solid rgba(26, 31, 39, 0.06);
    box-shadow: 0 12px 36px rgba(25, 31, 40, 0.08);
    height: 100%;
}
.product-guide-detail-top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}
.product-guide-detail-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--toss-blue-light);
    color: var(--toss-blue);
    font-size: 13px;
    font-weight: 800;
}
.product-guide-detail-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--toss-black);
    margin: 0;
}
.product-guide-detail-desc {
    font-size: 17px;
    line-height: 1.7;
    color: var(--toss-grey-700);
    margin-bottom: 22px;
    font-weight: 500;
}
.product-guide-detail-list {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
}
.product-guide-detail-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--toss-grey-800);
    font-weight: 600;
}
.product-guide-detail-list li i {
    margin-top: 5px;
    color: var(--toss-blue);
}
.product-guide-detail-footer {
    padding-top: 18px;
    border-top: 1px solid var(--toss-grey-200);
    font-size: 15px;
    color: var(--toss-grey-600);
    font-weight: 600;
}
.product-guide-panel,
.product-guide-highlight,
.product-guide-card,
.product-guide-detail-card {
    min-width: 0;
    max-width: 100%;
}
.product-guide-panel p,
.product-guide-highlight p,
.product-guide-card p,
.product-guide-detail-desc,
.product-guide-detail-footer {
    overflow-wrap: anywhere;
    word-break: break-word;
}
.product-guide-highlight li,
.product-guide-detail-list li {
    min-width: 0;
}
.product-guide-highlight li span,
.product-guide-detail-list li span {
    flex: 1 1 0;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* --- Feature (ZigZag) Section --- */
.feature-section {
    overflow: hidden;
}
.feature-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
    padding: 160px 0;
}
.feature-row:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 0 0 45%;
    max-width: 45%;
}
.feature-image-area {
    flex: 0 0 50%;
    max-width: 50%;
    position: relative;
}

.feature-label {
    font-size: 20px;
    font-weight: 700;
    color: var(--toss-blue);
    margin-bottom: 20px;
    display: block;
}
.feature-title {
    font-size: 52px;
    line-height: 1.3;
    font-weight: 800;
    margin-bottom: 28px;
    color: var(--toss-black);
    word-break: keep-all;
}
.feature-desc {
    font-size: 22px;
    color: var(--toss-grey-700);
    line-height: 1.6;
    margin-bottom: 40px;
    font-weight: 500;
}

.feature-list li {
    font-size: 19px;
    color: var(--toss-grey-800);
    margin-bottom: 16px;
    padding-left: 0;
    position: relative;
    font-weight: 600;
    display: flex;
    align-items: flex-start;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.feature-list li::before {
    content: '';
    display: inline-block;
    margin-top: 11px;
    margin-right: 14px;
    min-width: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--toss-blue);
    flex-shrink: 0;
}
/* Nested list styling - parent li with nested ul */
.feature-list > li.has-nested {
    display: block;
    margin-bottom: 28px;
    position: relative;
    padding-left: 22px;
}
.feature-list > li.has-nested::before {
    position: absolute;
    left: 0;
    top: 4px;
}
.feature-list ul {
    padding-left: 24px;
    margin-top: 14px;
    margin-bottom: 0;
}
.feature-list ul li {
    font-size: 17px;
    color: var(--toss-grey-600);
    margin-bottom: 10px;
    padding-left: 0;
    font-weight: 500;
    display: flex;
    align-items: flex-start;
    line-height: 1.5;
}
.feature-list ul li::before {
    content: '-';
    margin-top: 0;
    margin-right: 10px;
    width: auto;
    height: auto;
    border-radius: 0;
    background-color: transparent;
    color: var(--toss-grey-500);
    font-weight: 400;
    flex-shrink: 0;
}

.toss-card-image {
    width: 100%;
    border-radius: 32px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.12);
    background-color: #fff;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.08);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    aspect-ratio: 3/4; /* 3:4 Aspect Ratio */
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Mac-like Window Header */
.toss-card-header {
    height: 40px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    padding: 0 20px;
    flex-shrink: 0;
    z-index: 10;
}

.window-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red { background-color: #ff5f56; }
.dot-yellow { background-color: #ffbd2e; }
.dot-green { background-color: #27c93f; }

.toss-card-image .carousel {
    flex-grow: 1;
    width: 100%;
    height: calc(100% - 40px); /* Subtract header height */
}

.toss-card-image .carousel-inner {
    height: 100%;
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* 캐러셀 컨테이너에 블러 배경 적용 (전환 시 깜빡임 방지) */
.toss-card-image .carousel-inner::before {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    right: -30px;
    bottom: -30px;
    background-image: var(--carousel-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(30px) saturate(1.5) contrast(1.1);
    z-index: 0;
    transform: scale(1.2);
    transition: background-image 0.6s ease-in-out;
}

/* 그라데이션 오버레이 - 블러 배경 위에만 적용 */
.toss-card-image .carousel-inner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.15) 0%, rgba(200,210,230,0.3) 100%);
    z-index: 1;
    pointer-events: none;
}

.toss-card-image .carousel-item {
    height: 100%;
    width: 100%;
    background-color: transparent;
    position: relative;
    z-index: 2;
}

.toss-card-image .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Keeps aspect ratio, shows full image */
    padding: 0; /* Remove padding to make image larger */
    position: relative;
    z-index: 3;
}

/* 클릭 가능 인디케이터 */
.carousel-click-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    backdrop-filter: blur(10px);
    animation: clickIndicatorPulse 2s ease-in-out infinite;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.carousel-click-indicator:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateX(-50%) scale(1.05);
}

.carousel-click-indicator i {
    animation: clickIconBounce 1.5s ease-in-out infinite;
}

.carousel-click-indicator .swipe-arrows {
    display: flex;
    align-items: center;
    gap: 4px;
}

.carousel-click-indicator .arrow-left {
    animation: arrowSlideLeft 1.5s ease-in-out infinite;
}

.carousel-click-indicator .arrow-right {
    animation: arrowSlideRight 1.5s ease-in-out infinite;
}

@keyframes clickIndicatorPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.5); }
    50% { box-shadow: 0 0 0 10px rgba(59, 130, 246, 0); }
}

@keyframes clickIconBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@keyframes arrowSlideLeft {
    0%, 100% { transform: translateX(0); opacity: 1; }
    50% { transform: translateX(-5px); opacity: 0.5; }
}

@keyframes arrowSlideRight {
    0%, 100% { transform: translateX(0); opacity: 1; }
    50% { transform: translateX(5px); opacity: 0.5; }
}

/* Carousel Controls & Indicators Customization */
.carousel-control-prev,
.carousel-control-next {
    z-index: 10;
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    opacity: 0.8;
    transition: all 0.3s ease;
}
.carousel-control-prev {
    left: 15px;
}
.carousel-control-next {
    right: 15px;
}
.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
    opacity: 1;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: none;
    width: 20px;
    height: 20px;
}
.carousel-indicators li {
    background-color: #999;
}
.carousel-indicators .active {
    background-color: var(--toss-blue);
}
.carousel-indicators {
    bottom: 10px;
    z-index: 10;
}

/* Carousel Touch Fix */
.carousel {
    touch-action: pan-y;
    -webkit-user-drag: none;
    user-select: none;
}

/* --- Partners Section (Enhanced Infinite Scroll) --- */
.partners-section {
    background-color: #fff;
    overflow: hidden;
    padding: 100px 0;
}
.partners-title {
    font-size: 48px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 80px;
}
.partners-scroll-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 30px;
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.partners-track {
    display: flex;
    width: max-content;
    animation: scroll 40s linear infinite;
}
.partners-track.reverse {
    animation-direction: reverse;
}
.partners-track:hover {
    animation-play-state: paused;
}
.partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    height: 100px;
    margin: 0 15px;
    background: var(--toss-grey-100);
    border-radius: 20px;
    font-size: 20px;
    font-weight: 700;
    color: var(--toss-grey-700);
    cursor: pointer;
    transition: all 0.3s ease;
}
.partner-item:hover {
    background: var(--toss-blue-light);
    color: var(--toss-blue);
    transform: scale(1.05);
}
.partner-icon {
    font-size: 24px;
    margin-right: 10px;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- Pricing Section --- */
.pricing-toss {
    background-color: #f2f4f6;
    text-align: center;
    border-radius: 40px;
    padding: 100px 40px;
    margin-top: 80px;
}
.pricing-badge {
    background-color: rgba(49, 130, 246, 0.1);
    color: var(--toss-blue);
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 17px;
    display: inline-block;
    margin-bottom: 24px;
}
.pricing-list-item {
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--toss-grey-800);
    display: flex;
    align-items: center;
    text-align: left;
}
.pricing-list-item i {
    color: var(--toss-blue);
    margin-right: 12px;
    font-size: 24px;
}

/* --- Button Styles --- */
.btn-toss {
    background-color: var(--toss-blue);
    color: white;
    font-size: 20px;
    font-weight: 600;
    padding: 18px 36px;
    border-radius: 14px;
    border: none;
    transition: all 0.2s ease;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(49, 130, 246, 0.2);
}
.btn-toss:hover {
    background-color: #1b64da;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(49, 130, 246, 0.3);
    color: white;
    text-decoration: none;
}

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 8px;
    vertical-align: text-bottom;
    border: 3px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

.form-contact-status {
    min-height: 24px;
    margin-top: 14px;
    font-size: 15px;
    font-weight: 600;
    color: var(--toss-grey-600);
    text-align: center;
}

.form-contact-status.is-loading {
    color: var(--toss-blue);
}

.form-contact-status.is-success {
    color: #0f9d58;
}

.form-contact-status.is-error {
    color: #d93025;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.btn-toss-light {
    background-color: var(--toss-grey-200);
    color: var(--toss-grey-800);
    font-size: 20px;
    font-weight: 600;
    padding: 18px 36px;
    border-radius: 14px;
    border: none;
    transition: all 0.2s ease;
    display: inline-block;
}
.btn-toss-light:hover {
    background-color: var(--toss-grey-300);
    color: var(--toss-grey-900);
    text-decoration: none;
}

/* --- Form Styles (Enhanced) --- */
.form-control-toss {
    background-color: var(--toss-grey-100);
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 16px;
    font-size: 18px; /* Increased font size */
    transition: all 0.2s;
    color: var(--toss-black);
}
.form-control-toss:focus {
    background-color: #fff;
    border-color: var(--toss-blue);
    box-shadow: 0 0 0 3px rgba(49, 130, 246, 0.1);
    outline: none;
}
.form-label-toss {
    font-weight: 700 !important;
    margin-bottom: 14px !important;
    font-size: 26px !important;
    color: var(--toss-black) !important;
    display: block !important;
}
.contact-feedback-modal .modal-content {
    border: none;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2);
    overflow: hidden;
}
.contact-feedback-modal .modal-header {
    border-bottom: none;
    padding: 20px 24px 8px;
}
.contact-feedback-modal .modal-header .close {
    width: 44px;
    height: 44px;
    padding: 0;
    margin: -8px -8px 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 34px;
    line-height: 1;
    opacity: 0.75;
    transition: all 0.2s ease;
}
.contact-feedback-modal .modal-header .close:hover,
.contact-feedback-modal .modal-header .close:focus {
    background: var(--toss-grey-200);
    opacity: 1;
    outline: none;
}
.contact-feedback-modal .modal-body {
    padding: 0 24px 24px;
    font-size: 17px;
    color: var(--toss-grey-700);
}
.contact-feedback-modal .modal-title {
    font-size: 22px;
    font-weight: 700;
}
.contact-feedback-modal.is-success .modal-title {
    color: #1677ff;
}
.contact-feedback-modal.is-error .modal-title {
    color: #e03131;
}
.contact-feedback-modal .modal-footer {
    border-top: none;
    padding: 0 24px 24px;
}
#noticeDetailModal .modal-header {
    align-items: flex-start;
    flex: 0 0 auto;
    gap: 12px;
    padding: 24px 22px 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border-bottom: 1px solid var(--toss-grey-200);
}
#noticeDetailModal .modal-dialog {
    height: calc(100vh - 32px);
    max-height: calc(100vh - 32px);
    margin-top: 16px;
    margin-bottom: 16px;
}
#noticeDetailModal .modal-content {
    display: flex;
    flex-direction: column;
    max-height: 100%;
}
#noticeDetailModal .modal-body {
    flex: 1 1 auto;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}
#noticeDetailModal .modal-title {
    flex: 1 1 auto;
    min-width: 0;
    padding-top: 2px;
    white-space: normal;
    overflow: visible;
    word-break: keep-all;
    line-height: 1.35;
    color: var(--notice-text-black);
    font-weight: 800;
    letter-spacing: -0.03em;
}
#noticeDetailModal .modal-header .close {
    flex: 0 0 44px;
    margin: -8px -6px 0 0;
    background: #fff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}
#noticeDetailModal .modal-footer {
    flex: 0 0 auto;
    justify-content: center;
    padding: 18px 24px 24px;
    background: #fff;
    border-top: 1px solid var(--toss-grey-200);
}
#noticeDetailModal .modal-footer .btn-toss {
    min-width: 160px;
    padding: 14px 28px !important;
    border-radius: 999px;
    font-size: 17px !important;
    box-shadow: 0 8px 22px rgba(49, 130, 246, 0.22);
}

/* --- Notice Section --- */
.notice-section {
    background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}
.notice-panel {
    background: #fff;
    border: 1px solid rgba(49, 130, 246, 0.08);
    border-radius: 28px;
    padding: 36px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.07);
}
.notice-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 24px;
}
.notice-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--toss-blue);
    background: var(--toss-blue-light);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 14px;
}
.notice-title {
    margin: 0;
    font-size: 34px;
    letter-spacing: -0.03em;
}
.notice-desc {
    margin: 10px 0 0;
    color: var(--toss-grey-700);
    font-size: 18px;
}
.notice-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.notice-item {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    text-align: left;
    padding: 22px 24px;
    background: var(--toss-grey-100);
    border: 1px solid transparent;
    border-radius: 18px;
    color: var(--toss-grey-900);
    cursor: pointer;
    transition: all 0.2s ease;
}
.notice-item:hover,
.notice-item:focus {
    background: #fff;
    border-color: rgba(49, 130, 246, 0.18);
    box-shadow: 0 12px 30px rgba(49, 130, 246, 0.12);
    color: var(--toss-grey-900);
    outline: none;
    transform: translateY(-2px);
}
.notice-item-main {
    min-width: 0;
}
.notice-item-title {
    display: block;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.02em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.notice-item-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    color: var(--toss-grey-600);
    font-size: 15px;
    font-weight: 600;
}
.notice-item-arrow {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--toss-blue);
    border-radius: 50%;
    transition: all 0.2s ease;
}
.notice-item:hover .notice-item-arrow,
.notice-item:focus .notice-item-arrow {
    background: var(--toss-blue);
    color: #fff;
    transform: translateX(3px);
}
.notice-detail-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--toss-blue);
    background: var(--toss-blue-light);
    border-radius: 999px;
    padding: 8px 13px;
    font-size: 15px;
    font-weight: 700;
}
.notice-detail-content {
    color: var(--notice-text-black);
    font-size: 17px;
    font-weight: 500;
    line-height: 1.78;
    letter-spacing: -0.01em;
}
.notice-detail-content *:not(a):not(a *) {
    color: var(--notice-text-black) !important;
    opacity: 1 !important;
}
.notice-detail-content p,
.notice-detail-content div {
    margin-bottom: 18px;
}
.notice-detail-content strong,
.notice-detail-content b {
    color: var(--notice-text-black);
    font-weight: 800;
}
.notice-detail-content a {
    color: var(--toss-blue) !important;
    font-weight: 700;
    text-decoration: underline !important;
    text-underline-offset: 3px;
    word-break: break-all;
}
.notice-detail-content a:hover {
    color: #1b64da !important;
}
.notice-detail-content h1,
.notice-detail-content h2,
.notice-detail-content h3,
.notice-detail-content h4 {
    color: var(--notice-text-black);
    font-weight: 800;
    line-height: 1.35;
    margin: 24px 0 14px;
    letter-spacing: -0.03em;
}
.notice-detail-content p:last-child {
    margin-bottom: 0;
}
.notice-detail-content img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 14px;
    display: block;
    margin: 16px 0;
}
.notice-empty {
    padding: 24px;
    background: var(--toss-grey-100);
    border-radius: 18px;
    color: var(--toss-grey-600);
    font-size: 17px;
    font-weight: 600;
    text-align: center;
}

/* --- Footer --- */
.toss-footer {
    padding: 80px 0;
    background-color: #fff;
    border-top: 1px solid var(--toss-grey-200);
    font-size: 15px;
    color: var(--toss-grey-600);
}
.footer-nav a {
    color: var(--toss-grey-700);
    margin-right: 24px;
    text-decoration: none;
    font-weight: 500;
}
.footer-nav a:hover {
    color: var(--toss-blue);
}

/* --- Animation --- */
[data-animate="fade-up"] {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
[data-animate="fade-up"].visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .toss-hero {
        padding-top: 144px;
        padding-bottom: 110px;
    }
    .hero-title { font-size: 56px; }
    .feature-row, .feature-row:nth-child(even) { flex-direction: column; text-align: left; padding: 100px 0; }
    .feature-text, .feature-image-area { max-width: 100%; width: 100%; }
    .feature-image-area { margin-top: 60px; }
    .mission-stat-grid { gap: 40px; }
    .product-guide-hero { grid-template-columns: 1fr; }
    .product-guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .product-guide-detail-grid { grid-template-columns: 1fr; }
    .hero-carousel-col { margin-top: 48px; }
    
    /* Mobile Nav Fix */
    .container-toss { padding: 0 20px; }
    
    /* Tablet nested list fix */
    .feature-list ul {
        padding-left: 10px;
    }
}
@media (max-width: 576px) {
    .toss-hero {
        padding-top: 116px;
        padding-bottom: 88px;
    }
    .hero-subsidy-link { width: 100%; font-size: 17px; margin: 16px 0 22px; padding: 16px 14px 14px 16px; gap: 10px; }
    .hero-subsidy-year { left: 14px; font-size: 12px; padding: 3px 8px; }
    .hero-subsidy-copy { flex: 1 1 auto; font-size: 17px; }
    .hero-subsidy-items { font-size: 14px; }
    .hero-subsidy-link::after { width: 40px; height: 40px; flex-basis: 40px; background-size: 20px 20px; }
    .hero-title { font-size: 40px; }
    .hero-desc { font-size: 20px; }
    .hero-product-tags { margin-top: -10px; margin-bottom: 32px; }
    .hero-product-tag { font-size: 14px; padding: 9px 14px; }
    .hero-side-extras { margin: -16px 0 28px; }
    .cafe-extra-panel { padding: 24px; border-radius: 24px; }
    .cafe-extra-title { font-size: 24px; }
    .cafe-extra-grid { grid-template-columns: 1fr; }
    .mission-item h3 { font-size: 48px; }
    .feature-title { font-size: 36px; }
    .hero-stats-box { flex-direction: column; gap: 24px; width: 100%; text-align: center; }
    .hero-cta-wrap { justify-content: center; width: 100%; }
    .hero-cta-wrap .btn-toss { margin-right: 0 !important; }
    .h-stat { text-align: center; }
    .product-guide-panel,
    .product-guide-highlight,
    .product-guide-card { border-radius: 24px; }
    .product-guide-panel,
    .product-guide-highlight { padding: 28px 24px; }
    .product-guide-grid { grid-template-columns: 1fr; gap: 18px; }
    .product-guide-card { padding: 24px; }
    .product-guide-highlight h3 { font-size: 26px; }
    .product-guide-detail-card { border-radius: 24px; padding: 24px; }
    .product-guide-detail-title { font-size: 24px; }
    .notice-panel { padding: 26px 20px; border-radius: 24px; }
    .notice-header { display: block; margin-bottom: 20px; }
    .notice-title { font-size: 30px; }
    .notice-desc { font-size: 17px; }
    .notice-item { align-items: flex-start; padding: 20px; }
    .notice-item-title { font-size: 17px; white-space: normal; }
    .notice-item-arrow { width: 34px; height: 34px; }
    #noticeDetailModal .modal-header { padding: 22px 18px 16px; }
    #noticeDetailModal .modal-dialog {
        height: calc(100dvh - 12px);
        max-height: calc(100dvh - 12px);
        margin: 6px;
    }
    #noticeDetailModal .modal-title { font-size: 21px; line-height: 1.42; }
    #noticeDetailModal .modal-footer { padding: 16px 18px 22px; }
    #noticeDetailModal .modal-footer .btn-toss { width: 100%; max-width: 240px; }
    
    /* Mobile nested list fix */
    .feature-list > li.has-nested {
        padding-left: 20px;
    }
    .feature-list > li.has-nested::before {
        top: 5px;
        width: 6px;
        height: 6px;
    }
    .feature-list ul {
        padding-left: 0;
        margin-top: 10px;
    }
    .feature-list ul li {
        font-size: 15px;
        margin-bottom: 8px;
    }
    
    /* Mobile pricing section fix */
    .pricing-toss {
        padding: 60px 20px;
        border-radius: 24px;
        margin-top: 40px;
    }
    .pricing-list-item {
        font-size: 16px;
        margin-bottom: 12px;
    }
    .pricing-list-item i {
        font-size: 20px;
        margin-right: 10px;
    }
    .feature-desc.mb-5 {
        font-size: 18px;
    }
}

/* --- Lightbox (Full Screen Image Viewer) --- */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: zoom-out;
}
.lightbox-overlay.active {
    display: flex;
    opacity: 1;
}
.lightbox-content {
    position: relative;
    z-index: 10000;
    max-width: 95vw;
    max-height: calc(100vh - 140px);
    display: flex;
    justify-content: center;
    align-items: center;
}
.lightbox-content img {
    max-width: 100%;
    max-height: calc(100vh - 160px);
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: lightboxZoomIn 0.3s ease;
    transform-origin: center center;
    transition: transform 0.1s ease-out;
    touch-action: none; /* 브라우저 기본 제스처 비활성화 */
}
@keyframes lightboxZoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}
.lightbox-close {
    position: fixed;
    top: max(20px, env(safe-area-inset-top));
    right: max(20px, env(safe-area-inset-right));
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s ease;
    z-index: 10002;
}
.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}
.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s ease;
    z-index: 10002;
}
.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.25);
}
.lightbox-prev {
    left: max(20px, env(safe-area-inset-left));
}
.lightbox-next {
    right: max(20px, env(safe-area-inset-right));
}
.lightbox-counter {
    position: fixed;
    bottom: max(30px, calc(env(safe-area-inset-bottom) + 18px));
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    font-weight: 600;
    z-index: 10002;
    background: rgba(0, 0, 0, 0.35);
    padding: 6px 12px;
    border-radius: 999px;
}
.lightbox-hint {
    position: fixed;
    bottom: max(62px, calc(env(safe-area-inset-bottom) + 50px));
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    z-index: 10002;
}

@media (max-width: 768px) {
    .lightbox-content {
        width: 100%;
        max-width: 100vw;
        max-height: calc(100dvh - 180px);
        padding: 72px 14px 110px;
        box-sizing: border-box;
    }
    .lightbox-content img {
        max-height: calc(100dvh - 210px);
        border-radius: 14px;
    }
    .lightbox-close {
        top: max(14px, calc(env(safe-area-inset-top) + 6px));
        right: max(14px, calc(env(safe-area-inset-right) + 6px));
        width: 44px;
        height: 44px;
        font-size: 24px;
        background: rgba(0, 0, 0, 0.55);
        backdrop-filter: blur(10px);
    }
    .lightbox-nav {
        top: auto;
        bottom: max(78px, calc(env(safe-area-inset-bottom) + 60px));
        transform: none;
        width: 48px;
        height: 48px;
        font-size: 20px;
        background: rgba(0, 0, 0, 0.55);
        backdrop-filter: blur(10px);
    }
    .lightbox-prev {
        left: max(14px, calc(env(safe-area-inset-left) + 6px));
    }
    .lightbox-next {
        right: max(14px, calc(env(safe-area-inset-right) + 6px));
    }
    .lightbox-counter {
        bottom: max(22px, calc(env(safe-area-inset-bottom) + 10px));
        font-size: 14px;
    }
    .lightbox-hint {
        bottom: max(54px, calc(env(safe-area-inset-bottom) + 40px));
        width: calc(100% - 32px);
        text-align: center;
        font-size: 12px;
    }
}

/* Carousel image clickable cursor */
.carousel-item img {
    cursor: zoom-in;
}

/* --- reCAPTCHA Badge z-index Fix --- */
.grecaptcha-badge {
    z-index: 9997 !important;
}

/* --- Floating Contact Button --- */
.floating-contact-btn {
    position: fixed;
    bottom: 100px; /* reCAPTCHA 아이콘 위에 배치 */
    right: 24px;
    z-index: 9998;
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--toss-blue), #1b64da);
    color: white;
    padding: 14px 24px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(49, 130, 246, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}
.floating-contact-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 32px rgba(49, 130, 246, 0.5);
    color: white;
    text-decoration: none;
}
.floating-contact-btn:active {
    transform: translateY(-2px) scale(1.02);
}
.floating-contact-btn i {
    font-size: 18px;
    animation: floatBtnPulse 2s ease-in-out infinite;
}
.floating-top-btn {
    position: fixed;
    bottom: 176px;
    right: 24px;
    z-index: 9998;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--toss-blue), #1b64da);
    color: white;
    box-shadow: 0 8px 24px rgba(49, 130, 246, 0.35);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
}
.floating-top-btn.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}
.floating-top-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 32px rgba(49, 130, 246, 0.45);
}
.floating-top-btn:active {
    transform: translateY(-2px) scale(1.02);
}
.floating-top-btn i {
    font-size: 20px;
}
@keyframes floatBtnPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* 모바일에서 텍스트 숨기기 */
@media (max-width: 576px) {
    .floating-contact-btn {
        padding: 16px;
        border-radius: 50%;
        bottom: 90px;
        right: 16px;
    }
    .floating-top-btn {
        bottom: 150px;
        right: 16px;
        width: 52px;
        height: 52px;
    }
    .floating-contact-btn span {
        display: none;
    }
    .floating-contact-btn i {
        font-size: 20px;
        margin: 0;
    }
}

/* --- Business Type Select Modal --- */
html.biz-select-open,
body.biz-select-open {
    overflow: hidden;
    overscroll-behavior: none;
}
body.biz-select-open {
    touch-action: none;
}
.biz-select-overlay {
    position: fixed;
    inset: 0;
    z-index: 10500;
    display: none;
    align-items: center;
    justify-content: center;
    padding: max(24px, env(safe-area-inset-top, 0px)) max(24px, env(safe-area-inset-right, 0px)) max(24px, env(safe-area-inset-bottom, 0px)) max(24px, env(safe-area-inset-left, 0px));
    background: rgba(25, 31, 40, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    overscroll-behavior: none;
    touch-action: none;
}
.biz-select-overlay.is-open {
    display: flex;
    min-height: 100vh;
    min-height: 100dvh;
}
.biz-select-panel {
    width: 100%;
    max-width: 980px;
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    background: #fff;
    border-radius: 32px;
    padding: 56px 48px 48px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
    text-align: center;
    animation: bizSelectIn 0.35s ease;
}
@keyframes bizSelectIn {
    from { opacity: 0; transform: translateY(16px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.biz-select-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--toss-blue-light);
    color: var(--toss-blue);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
}
.biz-select-title {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--toss-grey-900);
    margin-bottom: 12px;
    line-height: 1.3;
    min-width: 0;
    overflow-wrap: break-word;
    word-break: keep-all;
}
.biz-select-desc {
    font-size: 17px;
    color: var(--toss-grey-600);
    margin-bottom: 40px;
    line-height: 1.6;
    min-width: 0;
    overflow-wrap: break-word;
    word-break: keep-all;
}
.biz-select-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.biz-select-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 32px 28px;
    border-radius: 24px;
    border: 2px solid var(--toss-grey-200);
    background: #fff;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    font-family: inherit;
}
.biz-select-card:hover,
.biz-select-card:focus {
    transform: translateY(-6px);
    border-color: var(--toss-blue);
    box-shadow: 0 18px 40px rgba(49, 130, 246, 0.16);
    text-decoration: none;
    color: inherit;
    outline: none;
}
.biz-select-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--toss-blue);
    background: var(--toss-blue-light);
    margin-bottom: 20px;
}
.biz-select-card h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--toss-grey-900);
    margin-bottom: 8px;
    min-width: 0;
    overflow-wrap: break-word;
    word-break: keep-all;
}
.biz-select-card p {
    font-size: 15px;
    color: var(--toss-grey-600);
    line-height: 1.6;
    margin-bottom: 18px;
    flex-grow: 1;
    min-width: 0;
    overflow-wrap: break-word;
    word-break: keep-all;
}
.biz-select-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}
.biz-select-tags span {
    font-size: 12px;
    font-weight: 600;
    color: var(--toss-grey-700);
    background: var(--toss-grey-100);
    border-radius: 999px;
    padding: 4px 10px;
}
.biz-select-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 700;
    color: var(--toss-blue);
}
.biz-select-cta i {
    font-size: 12px;
    transition: transform 0.25s ease;
}
.biz-select-card:hover .biz-select-cta i {
    transform: translateX(4px);
}
.biz-select-foot {
    margin-top: 28px;
    font-size: 14px;
    color: var(--toss-grey-500);
}
@media (max-width: 991.98px) {
    .biz-select-grid { grid-template-columns: 1fr; gap: 14px; }
    .biz-select-panel {
        padding: 40px 24px 32px;
        border-radius: 24px;
        max-height: calc(100vh - 32px);
        max-height: calc(100dvh - 32px);
        max-height: calc(100svh - 24px);
    }
    .biz-select-title { font-size: 28px; }
    .biz-select-desc { font-size: 15px; margin-bottom: 24px; }
    .biz-select-card { padding: 22px 20px; flex-direction: row; align-items: center; gap: 16px; }
    .biz-select-card:hover, .biz-select-card:focus { transform: none; }
    .biz-select-icon { width: 52px; height: 52px; font-size: 22px; margin-bottom: 0; flex-shrink: 0; }
    .biz-select-card { min-width: 0; flex-wrap: nowrap; }
    .biz-select-card-body { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; overflow-wrap: break-word; word-break: keep-all; }
    .biz-select-card h3 { font-size: 18px; margin-bottom: 4px; }
    .biz-select-card p { font-size: 14px; margin-bottom: 8px; }
    .biz-select-tags { display: none; }
}
@media (max-width: 575.98px) {
    .biz-select-overlay {
        align-items: flex-end;
        padding: max(8px, env(safe-area-inset-top, 0px)) 12px max(8px, env(safe-area-inset-bottom, 0px));
    }
    .biz-select-panel {
        padding: 20px 16px 12px;
        border-radius: 24px 24px 16px 16px;
        max-height: calc(100vh - 16px);
        max-height: calc(100dvh - 16px);
        max-height: calc(100svh - 16px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    }
    .biz-select-eyebrow { margin-bottom: 10px; padding: 6px 12px; font-size: 13px; }
    .biz-select-title { font-size: 20px; margin-bottom: 8px; }
    .biz-select-desc { font-size: 13px; margin-bottom: 12px; line-height: 1.5; }
    .biz-select-grid { gap: 10px; }
    .biz-select-card { padding: 14px; gap: 12px; }
    .biz-select-icon { width: 44px; height: 44px; font-size: 18px; border-radius: 14px; }
    .biz-select-card h3 { font-size: 16px; }
    .biz-select-card p {
        font-size: 13px;
        margin-bottom: 4px;
        line-height: 1.45;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .biz-select-cta { font-size: 14px; }
    .biz-select-foot { display: none; }
}
    

/* ===== SEO/AEO 확장 (파트너 링크, 제품 상세 링크, FAQ, 푸터 허브) ===== */
a.partner-item, a.partner-item:hover, a.partner-item:focus { text-decoration: none; color: var(--toss-grey-700); }
a.partner-item:hover { color: var(--toss-blue); }
.product-guide-detail-link {
    display: inline-flex; align-items: center; gap: 6px; margin-top: 14px;
    font-size: 14px; font-weight: 700; color: var(--toss-blue); text-decoration: none;
}
.product-guide-detail-link:hover, .product-guide-detail-link:focus { color: var(--toss-blue); text-decoration: none; }
.product-guide-detail-link i { font-size: 11px; transition: transform 0.2s ease; }
.product-guide-detail-link:hover i { transform: translateX(4px); }
.faq-section { background: #fff; }
.faq-section .feature-title { text-align: center; }
.faq-section .feature-desc { text-align: center; max-width: 640px; margin: 0 auto; }
.faq-list { max-width: 880px; margin: 0 auto; }
.faq-item { border: 1px solid var(--toss-grey-200); border-radius: 20px; background: #fff; margin-bottom: 12px; overflow: hidden; }
.faq-item summary {
    list-style: none; cursor: pointer; padding: 22px 26px; font-size: 18px; font-weight: 700; color: var(--toss-grey-900);
    display: flex; justify-content: space-between; align-items: center; gap: 16px; word-break: keep-all; overflow-wrap: anywhere;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '\f078'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 13px; color: var(--toss-grey-500);
    transition: transform 0.25s ease; flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item[open] summary { color: var(--toss-blue); }
.faq-answer { padding: 0 26px 22px; font-size: 16px; line-height: 1.75; color: var(--toss-grey-700); word-break: keep-all; overflow-wrap: anywhere; }
.faq-answer a { color: var(--toss-blue); font-weight: 600; }
.faq-more { text-align: center; margin-top: 32px; }
.footer-hub { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 6px 0 14px; font-size: 14px; }
.footer-hub a { color: var(--toss-grey-700); text-decoration: none; font-weight: 600; }
.footer-hub a:hover { color: var(--toss-blue); text-decoration: none; }
.biz-path-section { background: var(--toss-grey-50, #f7f8fa); }
.biz-path-section .feature-title,
.biz-path-section .feature-desc { text-align: center; }
.biz-path-section .feature-desc { max-width: 820px; margin: 0 auto; min-width: 0; overflow-wrap: anywhere; word-break: break-word; }
.biz-path-grid {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 8px;
}
.biz-path-card {
    display: block; min-width: 0; padding: 28px 24px 24px; border-radius: 24px; background: #fff;
    border: 1px solid var(--toss-grey-200); text-decoration: none; color: inherit;
    overflow-wrap: anywhere; word-break: break-word;
}
a.biz-path-card:hover { border-color: var(--toss-blue); box-shadow: 0 10px 28px rgba(49, 130, 246, 0.08); text-decoration: none; color: inherit; }
.biz-path-badge {
    display: inline-block; margin-bottom: 12px; padding: 4px 10px; border-radius: 999px;
    background: var(--toss-blue-light, #e8f3ff); color: var(--toss-blue); font-size: 13px; font-weight: 700;
}
.biz-path-card h3 { font-size: 22px; font-weight: 800; margin: 0 0 10px; min-width: 0; overflow-wrap: anywhere; word-break: break-word; }
.biz-path-card p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--toss-grey-700); min-width: 0; overflow-wrap: anywhere; word-break: break-word; }
.biz-path-cta { display: inline-block; margin-top: 16px; font-size: 14px; font-weight: 700; color: var(--toss-blue); }
@media (max-width: 767.98px) {
    .biz-path-grid { grid-template-columns: 1fr; }
    .biz-path-card h3 { font-size: 20px; }
}
.biz-select-close {
    position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: none;
    background: var(--toss-grey-100); color: var(--toss-grey-600); font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.biz-select-close:hover { background: var(--toss-grey-200); color: var(--toss-grey-900); }
.biz-select-panel { position: relative; }
@media (max-width: 767.98px) {
    .faq-item summary { padding: 18px 20px; font-size: 16px; }
    .faq-answer { padding: 0 20px 18px; font-size: 15px; }
}

/* --- Brand mascot --- */
.mascot {
    display: block;
    height: auto;
    pointer-events: none;
    user-select: none;
}
.mascot-modal {
    width: 88px;
    margin: 0 auto 12px;
}
.mascot-section {
    width: 96px;
    margin: 0 auto 14px;
}
.mascot-contact {
    width: 150px;
    margin-top: 8px;
}
.hero-cta-wrap {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.mascot-hero {
    width: 110px;
}
.section-head--mascot {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
}
.section-head-body {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.mascot-feature {
    width: 80px;
    margin: 0 0 14px;
}
.mascot-notice {
    width: 96px;
    flex-shrink: 0;
}
.mascot-highlight {
    width: 100px;
    margin-top: 16px;
}
.mascot-gift {
    width: 96px;
    margin: 0 auto 12px;
}
.contact-feedback-mascot {
    display: none;
    justify-content: center;
    padding-top: 20px;
}
.contact-feedback-modal.is-success .contact-feedback-mascot,
.contact-feedback-modal.is-error .contact-feedback-mascot {
    display: flex;
}
.contact-feedback-mascot .mascot {
    display: none;
    width: 96px;
}
.contact-feedback-modal.is-success .mascot-feedback-success,
.contact-feedback-modal.is-error .mascot-feedback-error {
    display: block;
}
body.modal-open .mascot {
    visibility: hidden;
}
body.modal-open .contact-feedback-mascot .mascot {
    visibility: visible;
}
body.biz-select-open .mascot-hero {
    visibility: hidden;
}
@media (max-width: 767.98px) {
    .mascot-modal { width: 64px; }
    .mascot-section { width: 80px; }
    .mascot-contact { width: 110px; }
    .mascot-hero { width: 80px; }
    .hero-cta-wrap { justify-content: center; width: 100%; }
    .hero-cta-wrap .btn-toss { margin-right: 0 !important; }
    .mascot-feature { width: 64px; }
    .mascot-notice { width: 72px; }
    .mascot-highlight { width: 80px; }
    .mascot-gift { width: 72px; }
    .section-head--mascot { align-items: flex-start; gap: 12px; }
    .product-guide-icon .mascot-icon,
    .biz-select-icon .mascot-icon { width: 40px; height: 40px; }
    .navbar-brand { font-size: 1.35rem; gap: 6px; }
    .navbar-brand .mascot-icon { width: 28px; height: 28px; }
}
