:root {
    --accent-color: #CE0000;
    --accent-deep: #9B0000;
    --accent-glow: rgba(206, 0, 0, 0.18);
    --accent-soft: rgba(206, 0, 0, 0.04);

    --text-color: #1d1d1f;
    --text-color-secondary: #6e6e73;
    --text-color-muted: #86868b;
    --text-color-tertiary: #aeaeb2;

    --bg-color: #f5f5f7;
    --surface-color: #ffffff;
    --surface-strong: #ffffff;
    --surface-secondary: #f5f5f7;

    --line-color: rgba(0, 0, 0, 0.06);
    --line-strong: rgba(0, 0, 0, 0.1);
    --line-width: 0.5px;

    --glass-bg: rgba(255, 255, 255, 0.72);
    --glass-fill: rgba(255, 255, 255, 0.7);
    --glass-stroke: rgba(255, 255, 255, 0.5);
    --glass-strong: rgba(255, 255, 255, 0.95);
    --glass-border-color: rgba(0, 0, 0, 0.06);
    --glass-border-strong: rgba(0, 0, 0, 0.08);
    --glass-sheen: rgba(255, 255, 255, 0.45);
    --glass-highlight: rgba(255, 255, 255, 0.75);
    --glass-blur: 28px;
    --glass-saturation: 170%;

    --page-bg: #f5f5f7;

    --shadow-soft: 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-tight: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-glow: 0 0 24px rgba(206, 0, 0, 0.08);
    --shadow-elevated: 0 12px 40px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);

    /* 카드 그림자 3단계 위계 — rest → hover → pressed */
    --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.03), 0 4px 12px rgba(0, 0, 0, 0.04);
    --shadow-card-hover: 0 8px 30px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.03);
    --shadow-card-pressed: 0 2px 8px rgba(0, 0, 0, 0.06);

    --page-padding: 28px;
    --page-padding-mobile: 20px;

    --radius-large: 24px;
    --radius-medium: 14px;
    --radius-small: 10px;
    --radius-pill: 999px;
    --radius-button: 14px;

    --font-family: 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
    --font-size-base: 17px;
    --font-size-xs: 11px;
    --font-size-sm: 13px;
    --font-size-md: 15px;
    --font-size-lg: 19px;
    --font-size-xl: 24px;
    --font-size-2xl: 32px;
    --font-size-3xl: 40px;
    --font-size-4xl: 56px;
    --font-size-display: 72px;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --letter-tight: -0.025em;
    --letter-normal: -0.015em;
    --letter-wide: 0.02em;
    --line-height-tight: 1.08;
    --line-height-normal: 1.47;
    --line-height-relaxed: 1.65;

    --transition-fast: 0.2s ease;
    --transition-smooth: 0.36s cubic-bezier(0.25, 0.46, 0.45, 0.94);

    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 40px;
    --space-2xl: 64px;
    --space-3xl: 96px;
    --space-4xl: 120px;
    --space-section: 120px;
}

body.page-home {
    --header-color: rgb(255, 255, 255);
    --header-logo-dark: 0;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--page-bg);
    color: var(--text-color);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-regular);
    font-family: var(--font-family);
    line-height: 1.47;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    letter-spacing: -0.022em;
    overflow-x: hidden;
}

body::before,
body::after {
    content: none;
}

body > * {
    position: relative;
    z-index: 1;
}

img,
video,
iframe {
    max-width: 100%;
    border-radius: var(--radius-medium);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast), opacity var(--transition-fast);
}

a:hover {
    color: var(--accent-color);
}

button,
input,
select,
textarea {
    font-family: inherit;
}

::selection {
    background: rgba(206, 0, 0, 0.2);
}

/* Skip Navigation (접근성) */
.skip-nav {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 9999;
    padding: 10px 20px;
    background: var(--accent-color);
    color: #ffffff;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    opacity: 0;
    transition: top 0.2s, opacity 0.2s;
}

.skip-nav:focus {
    top: 12px;
    opacity: 1;
}

/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 0 max(var(--page-padding), env(safe-area-inset-left, 0px));
    height: 48px;
    background: rgba(245, 245, 247, 0.8);
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: none;
    transition: background var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
}

header::before {
    content: none;
}

.header-left,
.header-links,
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: var(--font-weight-semibold);
    font-size: 14px;
    letter-spacing: -0.01em;
    color: var(--text-color);
}

.brand-logo {
    width: 20px;
    height: 20px;
    border-radius: 0;
}

.brand-logo-stack {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
}

.brand-logo-stack .brand-logo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity var(--transition-smooth);
}

body.page-home .logo-light {
    opacity: calc(1 - var(--header-logo-dark));
}

body.page-home .logo-dark {
    opacity: var(--header-logo-dark);
}

.header-links {
    padding: 0;
    border-radius: var(--radius-pill);
    background: transparent;
    border: none;
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
}

.header-links .header-action {
    font-size: 12px;
    font-weight: var(--font-weight-regular);
    color: var(--text-color);
    padding: 0;
    border-radius: 0;
    transition: color var(--transition-fast);
}

.header-links .header-action:hover {
    color: var(--text-color);
    background: transparent;
}

.header-actions .header-action,
.header-actions button.header-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border-radius: var(--radius-pill);
    background: transparent;
    border: none;
    font-size: 12px;
    font-weight: var(--font-weight-regular);
    color: var(--text-color);
    box-shadow: none;
    transition: color var(--transition-fast);
    cursor: pointer;
}

.header-actions .header-action:hover {
    transform: none;
    color: rgba(0, 0, 0, 0.55);
}

#cart-btn {
    border: none;
}

#cart-btn.is-flash {
    animation: cartPulse 0.6s ease;
}

.cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: var(--radius-pill);
    background: rgba(206, 0, 0, 0.12);
    color: var(--accent-color);
    font-size: 11px;
    font-weight: var(--font-weight-semibold);
}

body.page-home .cart-count {
    background: rgba(255, 255, 255, 0.18);
    color: var(--header-color);
}

body.page-home header {
    position: fixed;
    left: 0;
    right: 0;
    background: transparent;
    border-bottom: none;
}

body.page-home .brand,
body.page-home .header-action,
body.page-home .header-links .header-action {
    color: var(--header-color);
}

body.page-home .header-links {
    background: transparent;
    border-color: transparent;
}

body.page-home .header-links .header-action:hover {
    color: rgba(255, 255, 255, 0.7);
    background: transparent;
}

body.page-home .header-actions .header-action,
body.page-home .header-actions button.header-action {
    background: transparent;
    border-color: transparent;
}

body.page-home .header-actions .header-action:hover,
body.page-home .header-actions button.header-action:hover {
    color: rgba(255, 255, 255, 0.7);
}

body.page-home .header-links a[href="/ticker"] {
    display: none;
}
/* Buttons */
.btn,
.primary-btn,
.buy-now-btn,
.cta-button,
.add-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: var(--radius-button);
    padding: 13px 26px;
    font-size: 15px;
    font-weight: var(--font-weight-medium);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-smooth);
    -webkit-tap-highlight-color: transparent;
    position: relative;
    overflow: hidden;
    letter-spacing: -0.01em;
    gap: 6px;
}

.btn::before,
.primary-btn::before,
.buy-now-btn::before,
.cta-button::before,
.add-btn::before {
    content: none;
}

.btn:hover,
.primary-btn:hover,
.buy-now-btn:hover,
.cta-button:hover,
.add-btn:hover {
    transform: none;
    box-shadow: none;
}

/* 버튼 active — 아래 Phase 1에서 scale(0.96)으로 통합 (충돌 제거) */

.btn-primary,
.primary-btn,
.buy-now-btn,
.cta-button,
.add-btn {
    background: #1d1d1f;
    color: #ffffff;
    box-shadow: none;
}

.btn-primary:hover,
.primary-btn:hover,
.buy-now-btn:hover,
.cta-button:hover,
.add-btn:hover {
    background: #000000;
}

.btn-secondary,
.outline-btn,
.download-btn,
.manage-btn,
.popup-outline,
.ghost-btn,
.action-btn,
.action-link {
    background: transparent;
    color: var(--text-color);
    border: 1px solid rgba(0, 0, 0, 0.06);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.btn-secondary:hover,
.outline-btn:hover,
.download-btn:hover,
.manage-btn:hover,
.popup-outline:hover,
.ghost-btn:hover,
.action-btn:hover,
.action-link:hover {
    background: #1d1d1f;
    color: #ffffff;
    border-color: #1d1d1f;
}

.cta-sheen::after {
    content: '';
    position: absolute;
    inset: -40% -20%;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.55) 40%, transparent 70%);
    transform: translateX(-120%);
    animation: liquidSweep 1.8s ease-out 0.3s 1;
    pointer-events: none;
    opacity: 0.75;
}

.cta-muted {
    background: rgba(255, 255, 255, 0.8) !important;
    color: var(--text-color) !important;
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
}

.cta-muted::before,
.cta-muted::after {
    opacity: 0 !important;
}
.cta-line {
    width: 100%;
}

.danger-btn {
    background: linear-gradient(135deg, #b00020 0%, #e31b3e 50%, #8f0019 100%);
    color: #ffffff;
    border: none;
}

.danger-btn:hover {
    background: linear-gradient(135deg, #8f0019 0%, #c41333 60%, #6f0014 100%);
}

/* Clean surfaces */
.liquid-glass {
    background: #ffffff;
    border: 1px solid var(--line-color);
    border-radius: var(--radius-large);
    position: relative;
    overflow: hidden;
}

.liquid-glass::before {
    content: none;
}

.liquid-glass::after {
    content: none;
}

.glass-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.55);
    border: none;
    font-size: 11px;
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-color-secondary);
}

/* Cards */
.card,
.product-item,
.detail-info,
.panel,
.modal-panel,
.table-wrap,
.cart-popup-panel {
    background: var(--surface-color);
    border: none;
    border-radius: var(--radius-large);
    padding: 32px;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.card::before,
.product-item::before,
.detail-info::before,
.panel::before,
.modal-panel::before,
.table-wrap::before,
.cart-popup-panel::before {
    content: none;
}

/* 카드 호버 — 아래 Phase 1에서 -6px로 통합 (충돌 제거) */
.detail-info:hover,
.panel:hover,
.table-wrap:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
}

.detail-info:hover {
    transform: none;
}

.product-item::before,
.detail-visual.card::before {
    content: none;
}

/* Cart popup */
.cart-popup {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(8, 10, 15, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-smooth);
}

.cart-popup.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.cart-popup-backdrop {
    position: absolute;
    inset: 0;
}

.cart-popup-panel {
    width: min(360px, 90vw);
    display: grid;
    gap: 16px;
    text-align: center;
    border-radius: var(--radius-large);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border-strong);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturation));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturation));
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.cart-popup-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 6px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes homeRise {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes homeDrop {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes heroZoomIn {
    from {
        opacity: 0;
        transform: scale(1.06);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes liquidSweep {
    0%, 60% { transform: translateX(-120%); }
    100% { transform: translateX(120%); }
}

@keyframes floatOrb {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(14px); }
}

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(206, 0, 0, 0); }
    50% { box-shadow: 0 0 16px 4px rgba(206, 0, 0, 0.15); }
}

@keyframes cartPulse {
    0% { transform: scale(1); }
    30% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

/* Layout helpers */
main {
    padding: 0 var(--page-padding) var(--space-section);
}

.page-shell {
    max-width: 1120px;
    margin: 0 auto;
    padding: var(--space-3xl) var(--page-padding) var(--space-4xl);
}

body.page-home .page-shell {
    max-width: none;
    padding: 0;
}

body.page-home .page-shell > section:not(.landing-hero) {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 var(--page-padding);
}

.page-hero {
    display: grid;
    gap: 14px;
    padding: 12px 0 64px;
}

.page-kicker {
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-color-muted);
    font-weight: var(--font-weight-semibold);
}

.page-title-lg {
    font-size: clamp(32px, 5vw, var(--font-size-4xl));
    line-height: 1.06;
    letter-spacing: -0.03em;
    font-weight: var(--font-weight-semibold);
}

.page-subtitle {
    font-size: 18px;
    color: var(--text-color-secondary);
    max-width: 680px;
}

.section-stack {
    display: grid;
    gap: 24px;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

.section-title {
    font-size: 28px;
    font-weight: var(--font-weight-semibold);
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.section-subtitle {
    color: var(--text-color-secondary);
    max-width: 520px;
}

body.page-home .section-head .section-title {
    margin: 0 0 4px;
}

body.page-home .section-head .section-subtitle {
    margin: 0;
}

.section-card {
    background: var(--surface-color);
    border: none;
    border-radius: var(--radius-large);
    padding: 32px;
    box-shadow: var(--shadow-card);
}

.section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
}

.section-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.business-info {
    margin: 40px auto 20px;
    padding: 14px 20px;
    width: min(980px, 92%);
    text-align: center;
    font-size: 12px;
    color: var(--text-color-secondary);
    background: rgba(255, 255, 255, 0.65);
    border-radius: var(--radius-pill);
    border: none;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
}

/* Hero */
.landing-hero {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    min-height: 100vh;
    height: 100vh;
    display: grid;
    align-items: stretch;
    margin-bottom: 50px;
}

.landing-hero + .section-stack {
    margin-top: 0;
}

.landing-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 9, 12, 0.55) 0%, rgba(7, 9, 12, 0.2) 55%, rgba(7, 9, 12, 0.1) 100%);
    z-index: 1;
}

.landing-hero-media {
    position: absolute;
    inset: 0;
    border-radius: 0;
}

.landing-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

@keyframes heroPan {
    0% {
        transform: translateX(-7.5%);
    }
    100% {
        transform: translateX(0%);
    }
}

.landing-hero-overlay {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 80px 24px;
}

.landing-hero-content {
    position: relative;
    width: min(760px, 90vw);
    height: 100%;
    min-height: 520px;
    color: #ffffff;
}

.landing-hero-content .glass-chip {
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
}

.landing-hero-title {
    font-size: clamp(32px, 5vw, var(--font-size-display));
    line-height: 1.1;
    font-weight: var(--font-weight-semibold);
    letter-spacing: -0.03em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 8px 32px rgba(0, 0, 0, 0.15);
    margin: 0;
}

.landing-hero-title .mobile-break {
    display: none;
}

.landing-hero-logo {
    width: min(180px, 52vw);
    height: auto;
    margin: 0 auto 23px;
    border-radius: 0;
}

.btn-hero {
    font-size: 17px;
    padding: 16px 32px;
    border-radius: var(--radius-button);
    background: #ffffff !important;
    color: #0b0d12 !important;
    width: 80%;
    justify-content: center;
}

.btn-hero:hover {
    background: var(--accent-color) !important;
    color: #ffffff !important;
    border-color: var(--accent-color) !important;
}

.hero-cta-block #banner-cta.btn-hero:not(.cta-muted):hover,
.hero-cta-block #banner-cta.btn-hero:not(.cta-muted):active,
.hero-cta-block #banner-cta.btn-hero:not(.cta-muted):focus-visible {
    background: #000000 !important;
    color: #ffffff !important;
    border-color: #000000 !important;
}

.hero-cta-block #banner-ticker-cta.btn-hero {
    background: var(--accent-color) !important;
    color: #ffffff !important;
    border-color: var(--accent-color) !important;
}

.hero-cta-block #banner-ticker-cta.btn-hero:hover {
    background: #000000 !important;
    color: #ffffff !important;
    border-color: #000000 !important;
    filter: none;
}

.hero-cta-block #banner-ticker-cta.btn-hero:active,
.hero-cta-block #banner-ticker-cta.btn-hero:focus-visible {
    background: #000000 !important;
    color: #ffffff !important;
    border-color: #000000 !important;
    filter: none;
}

.hero-title-block,
.hero-cta-block {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(760px, 90vw);
    display: grid;
    justify-items: center;
}

.hero-title-block {
    top: var(--hero-title-position, 25%);
}

.hero-cta-block {
    top: var(--hero-cta-position, 76%);
    gap: 20px;
}

.landing-hero-notes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

/* Home page load motion */
body.page-home header {
    animation: homeDrop 0.45s ease-out both;
    animation-delay: 0s;
}

body.page-home .landing-hero::before {
    animation: heroFadeIn 0.55s ease-out both;
}

body.page-home .landing-hero-media {
    animation: heroZoomIn 0.7s ease-out both;
}

/* 히어로 애니메이션 — 아래 blur-to-clear 섹션에서 재정의됨 (충돌 제거) */

body.page-home .section-head {
    animation: homeRise 0.5s ease-out both;
    animation-delay: 0.3s;
}

body.page-home .product-grid {
    animation: homeRise 0.5s ease-out both;
    animation-delay: 0.38s;
}

.hero-note {
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    border: none;
    background: rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 32px;
    align-items: center;
    padding: 20px 0 30px;
}

.hero-content {
    grid-column: 1 / span 7;
    display: grid;
    gap: 18px;
}

.hero-title {
    font-size: clamp(38px, 5vw, var(--font-size-display));
    line-height: 1.06;
    letter-spacing: -0.03em;
    font-weight: var(--font-weight-semibold);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-color-secondary);
    max-width: 560px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.metric-card {
    padding: 14px 16px;
    border-radius: var(--radius-medium);
    background: rgba(255, 255, 255, 0.75);
    border: none;
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    box-shadow: var(--shadow-soft);
}

.metric-card strong {
    display: block;
    font-size: 18px;
    font-weight: var(--font-weight-semibold);
}

.metric-card span {
    font-size: 12px;
    color: var(--text-color-secondary);
}

.hero-visual {
    grid-column: 8 / span 5;
    position: relative;
    display: grid;
    place-items: center;
}

.hero-stack {
    width: min(420px, 92%);
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-large);
    padding: 18px;
    display: grid;
    gap: 12px;
}

.hero-stack img,
.hero-stack video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: calc(var(--radius-large) - 6px);
}

.hero-stack .stack-meta {
    display: grid;
    gap: 6px;
    padding: 12px 14px;
    border-radius: var(--radius-medium);
    background: rgba(255, 255, 255, 0.75);
    border: none;
    box-shadow: var(--shadow-soft);
    font-size: 13px;
    color: var(--text-color-secondary);
}

.hero-stack .stack-meta strong {
    color: var(--text-color);
    font-size: 15px;
}

.hero-orb {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.15));
    filter: blur(1px);
    top: -26px;
    right: -10px;
    animation: floatOrb 8s ease-in-out infinite;
}

.spotlight {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 28px;
    align-items: center;
}

.spotlight-visual {
    grid-column: 1 / span 7;
}

.spotlight-copy {
    grid-column: 8 / span 5;
    display: grid;
    gap: 14px;
}

.spotlight-visual img,
.spotlight-visual video {
    width: 100%;
    border-radius: var(--radius-large);
}

/* Products */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
}

.product-visual,
.detail-visual {
    background: #F5F5F7;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-medium);
}

.product-visual img,
.product-visual iframe,
.product-visual .pdf-preview {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: contain;
}

/* 이미지 로드 실패 시 텍스트 fallback */
.doc-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 100%;
    padding: 20px;
    text-align: center;
    color: var(--text-color-secondary);
}

.doc-preview span {
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: 0.5;
}

.doc-preview h3 {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
    color: var(--text-color);
    word-break: keep-all;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.diamond-shimmer {
    position: relative;
    overflow: hidden;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.42),
        0 14px 30px rgba(15, 23, 42, 0.06);
}

.diamond-shimmer::before {
    content: "";
    position: absolute;
    inset: -10%;
    border-radius: inherit;
    /* Premium linear "diamond" sweep: subtle, slow, prismatic band. */
    background: linear-gradient(
        110deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0) 38%,
        rgba(255, 255, 255, 0.06) 44%,
        rgba(180, 255, 246, 0.28) 48%,
        rgba(255, 210, 255, 0.32) 52%,
        rgba(185, 220, 255, 0.28) 56%,
        rgba(255, 255, 255, 0.06) 60%,
        rgba(255, 255, 255, 0) 66%,
        rgba(255, 255, 255, 0) 100%
    );
    opacity: 0.48;
    mix-blend-mode: screen;
    filter: blur(10px) saturate(1.2);
    transform: translateX(-170%);
    animation: diamondSweep 6.4s cubic-bezier(0.22, 1, 0.36, 1) infinite;
    will-change: transform;
    pointer-events: none;
    z-index: 1;
}

.diamond-shimmer::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(8px 8px at 18% 26%, rgba(255, 255, 255, 0.42), transparent 62%),
        radial-gradient(10px 10px at 78% 18%, rgba(185, 255, 246, 0.32), transparent 62%),
        radial-gradient(8px 8px at 86% 72%, rgba(255, 210, 255, 0.3), transparent 62%),
        radial-gradient(7px 7px at 30% 82%, rgba(190, 220, 255, 0.26), transparent 62%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
    opacity: 0.22;
    mix-blend-mode: screen;
    animation: diamondSparkle 5.6s ease-in-out infinite;
    will-change: opacity, filter;
    pointer-events: none;
    z-index: 1;
}

.diamond-shimmer .preview-cart-btn {
    position: absolute;
    z-index: 2;
}

@keyframes diamondSweep {
    0% { transform: translateX(-170%); }
    45% { transform: translateX(170%); }
    100% { transform: translateX(170%); }
}

@keyframes diamondSparkle {
    0%, 100% { opacity: 0.18; filter: blur(0px) saturate(1.05); }
    50% { opacity: 0.28; filter: blur(0.4px) saturate(1.35); }
}

.product-item {
    padding: 18px;
    background: #ffffff;
    border: none;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.5s ease, transform 0.5s ease, box-shadow var(--transition-smooth);
    transition-delay: var(--delay, 0s);
    box-shadow: var(--shadow-card);
}

.product-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.product-link {
    display: grid;
    gap: 14px;
}

.product-title {
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    letter-spacing: -0.2px;
    line-height: 1.35;
}

.product-price-wrapper {
    font-size: 15px;
    font-weight: var(--font-weight-semibold);
}

body.page-home .product-price-wrapper {
    font-size: 13px;
    font-weight: 500;
}

.original-price {
    text-decoration: line-through;
    color: rgba(29, 29, 31, 0.4);
    margin-right: 8px;
}

.sale-price {
    color: var(--accent-color);
}

.price-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.preview-cart-btn {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #ffffff;
    color: #111111;
    display: grid;
    place-items: center;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: background var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.preview-cart-btn svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.preview-cart-btn:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #ffffff;
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(206, 0, 0, 0.2);
}

.preview-cart-btn:active {
    transform: scale(0.95);
    transition-duration: 0.08s;
}

/* Forms */
input[type="text"]:not(.report-qa-input):not(.ticker-input),
input[type="email"]:not(.report-qa-input):not(.ticker-input),
input[type="password"]:not(.report-qa-input):not(.ticker-input),
input[type="number"]:not(.report-qa-input):not(.ticker-input),
input[type="search"]:not(.report-qa-input):not(.ticker-input),
input[type="url"]:not(.report-qa-input):not(.ticker-input),
input[type="file"]:not(.report-qa-input):not(.ticker-input),
textarea,
select {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-medium);
    border: 1px solid transparent;
    background: var(--surface-secondary);
    color: var(--text-color);
    font-size: 14px;
    transition: border-color var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
}

input:not(.report-qa-input):not(.ticker-input)::placeholder,
textarea::placeholder {
    color: rgba(29, 29, 31, 0.45);
}

input:focus:not(.report-qa-input):not(.ticker-input),
textarea:focus,
select:focus {
    outline: none;
    border-color: rgba(206, 0, 0, 0.35);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(206, 0, 0, 0.06);
}

@media (max-width: 720px) {
    input,
    textarea,
    select {
        font-size: 16px !important;
    }
}

label {
    font-weight: var(--font-weight-medium);
    color: var(--text-color-secondary);
}

/* Dialogs */
body.dialog-open {
    overflow: hidden;
}

@keyframes dialogFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes dialogPopIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.app-dialog-backdrop {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(7, 10, 16, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 3000;
    opacity: 0;
    animation: dialogFadeIn 0.2s ease-out forwards;
}

.app-dialog-panel {
    width: min(420px, 92vw);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-radius: var(--radius-large);
    border: 1px solid rgba(255, 255, 255, 0.7);
    padding: 22px 24px;
    display: grid;
    gap: 14px;
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.18), 0 8px 24px rgba(15, 23, 42, 0.08);
    opacity: 0;
    transform: translateY(12px) scale(0.97);
    animation: dialogPopIn 0.28s cubic-bezier(0.22, 0.85, 0.3, 1) forwards;
    will-change: transform, opacity;
}

.app-dialog-title {
    font-size: 15px;
    font-weight: 600;
}

.app-dialog-message {
    font-size: 14px;
    line-height: 1.6;
    color: #222;
    white-space: pre-line;
}

.app-dialog-input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid transparent;
    background: var(--surface-secondary);
    font-size: 14px;
    transition: border-color var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.app-dialog-input:focus {
    background: #ffffff;
    border-color: rgba(206, 0, 0, 0.35);
    box-shadow: 0 0 0 4px rgba(206, 0, 0, 0.06);
}

.app-dialog-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.app-dialog-btn {
    border-radius: var(--radius-button);
    border: 1px solid #111;
    padding: 9px 18px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    background: #111;
    color: #fff;
}

.app-dialog-btn.app-dialog-cancel {
    background: #fff;
    color: #111;
    border-color: rgba(12, 14, 20, 0.2);
}

.app-dialog-btn:focus-visible,
.app-dialog-input:focus-visible {
    outline: 2px solid rgba(206, 0, 0, 0.35);
    outline-offset: 2px;
}

.status,
.note {
    color: var(--text-color-secondary);
}

/* 빈 상태 컴포넌트 */
.empty-state {
    display: grid;
    place-items: center;
    padding: 56px 24px;
    text-align: center;
    color: var(--text-color-secondary);
}

.empty-state__icon {
    width: 72px;
    height: 72px;
    margin-bottom: 20px;
    display: grid;
    place-items: center;
    border-radius: var(--radius-large);
    background: var(--accent-soft);
    color: var(--accent-color);
}

.empty-state__icon svg {
    width: 32px;
    height: 32px;
}

.empty-state__title {
    font-size: 20px;
    font-weight: var(--font-weight-bold);
    letter-spacing: var(--letter-tight);
    margin-bottom: 6px;
    color: var(--text-color);
}

.empty-state__message {
    font-size: 14px;
    color: var(--text-color-muted);
    max-width: 280px;
    margin: 0 auto 24px;
    line-height: 1.6;
}

.empty-state__action {
    display: inline-flex;
}

/* Tables */
.table-wrap {
    padding: 16px;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

th,
td {
    padding: 12px 10px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

th {
    font-weight: var(--font-weight-semibold);
    color: var(--text-color);
    background: rgba(255, 255, 255, 0.6);
}

tbody tr:hover {
    background: rgba(255, 255, 255, 0.45);
}

/* Ticker search */
.ticker-form {
    width: min(520px, 100%);
    display: grid;
    gap: 10px;
}

.ticker-input {
    background: var(--surface-secondary) !important;
    border-radius: var(--radius-medium) !important;
    border: 1px solid transparent !important;
    transition: border-color var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.ticker-input:focus {
    background: #ffffff !important;
    border-color: rgba(206, 0, 0, 0.35) !important;
    box-shadow: 0 0 0 4px rgba(206, 0, 0, 0.06);
}

.ticker-suggestions {
    list-style: none;
    margin: 0;
    padding: 8px;
    border-radius: var(--radius-medium) !important;
    border: 1px solid var(--glass-border-color) !important;
    background: var(--glass-bg) !important;
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturation)) !important;
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturation)) !important;
}

.ticker-suggestions li {
    padding: 10px 12px;
    border-radius: 12px;
}

.ticker-suggestions li:hover {
    background: rgba(255, 255, 255, 0.7);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Responsive */
@media (max-width: 960px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hero-content,
    .hero-visual {
        grid-column: 1 / -1;
    }

    .hero-visual {
        order: -1;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .spotlight {
        grid-template-columns: 1fr;
    }

    .spotlight-visual,
    .spotlight-copy {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    :root {
        --page-padding: var(--page-padding-mobile);
        --font-size-base: 15px;
        --space-section: 72px;
        --space-4xl: 80px;
    }

    .header-links {
        display: none;
    }

    body.show-ticker-link .header-links {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    body.show-ticker-link .header-links .header-action {
        display: none;
    }

    body.show-ticker-link .header-links a[href="/ticker"] {
        display: inline-flex;
    }

    .page-shell {
        padding: 48px var(--page-padding) 80px;
    }

    .landing-hero {
        min-height: 420px;
    }

    .landing-hero-overlay {
        padding: 60px var(--page-padding-mobile);
    }

    .landing-hero-media img {
        width: 115%;
        max-width: none;
        animation: heroZoomIn 0.8s ease-out both, heroPan 18s ease-in-out infinite alternate;
        will-change: transform;
    }

    body.page-home {
        --hero-title-position: 30%;
        --hero-cta-position: 55%;
    }

    /* 모바일에서 CTA 버튼 간격 축소 */
    .hero-cta-block {
        gap: 14px;
    }

    .landing-hero-notes {
        gap: 6px;
    }

    .landing-hero-content {
        min-height: 420px;
    }

    .landing-hero-title {
        font-size: clamp(26px, 7.2vw, 38px);
        line-height: 1.28;
    }

    .landing-hero-title .mobile-break {
        display: block;
    }

    .landing-hero-logo {
        width: min(130px, 65vw);
        margin-bottom: 12px;
    }

    .btn-hero {
        width: 80%;
        justify-content: center;
    }

    .landing-hero + .section-stack {
        margin-top: 0;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .hero-title {
        font-size: clamp(32px, 7vw, 44px);
    }

    /* 모바일에서 상품 카드 패딩 보정 */
    .product-item {
        padding: 14px;
    }

    .product-title {
        font-size: 14px;
    }

    .product-price-wrapper {
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .landing-hero-media img {
        animation: none;
        transform: none;
    }
}

/* ── Premium Enhancements ── */

/* Focus-visible ring — 아래 Phase 1 섹션에서 재정의됨 (충돌 제거) */

button:focus-visible,
a:focus-visible {
    outline-offset: 2px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(12, 14, 20, 0.12);
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(12, 14, 20, 0.22);
}

/* Sale badge enhancement */
.sale-price {
    font-weight: var(--font-weight-bold);
    letter-spacing: -0.3px;
}

/* Section card refinement */
.section-card {
    box-shadow: var(--shadow-soft);
    transition: box-shadow var(--transition-smooth);
}

/* Cart popup enhancement */
.cart-popup-panel {
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.18), 0 8px 24px rgba(15, 23, 42, 0.08);
}

/* Business info footer polish */
.business-info {
    box-shadow: 0 1px 6px rgba(12, 14, 20, 0.03);
    transition: background var(--transition-fast);
}

/* Header link hover underline effect */
.header-links .header-action {
    position: relative;
}

.header-links .header-action::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: currentColor;
    transition: width var(--transition-smooth);
    border-radius: 1px;
}

.header-links .header-action:hover::after {
    width: 100%;
}

/* Product visual image zoom on hover */
.product-item:hover .product-visual img,
.product-item:hover .product-visual .pdf-preview {
    transform: scale(1.03);
}

.product-visual img,
.product-visual .pdf-preview {
    transition: transform 0.4s cubic-bezier(0.21, 0.61, 0.35, 1);
}

/* Glass chip subtle hover */
.glass-chip {
    transition: background var(--transition-fast), border-color var(--transition-fast);
}

.glass-chip:hover {
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(255, 255, 255, 0.9);
}

/* Hero note hover */
.hero-note {
    transition: background var(--transition-fast), border-color var(--transition-fast);
}

.hero-note:hover {
    background: rgba(0, 0, 0, 0.28);
    border-color: rgba(255, 255, 255, 0.45);
}

/* Metric card hover */
.metric-card {
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.metric-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-tight);
}

/* Dialog button refinement */
.app-dialog-btn {
    transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.app-dialog-btn:hover {
    transform: translateY(-1px);
}

.app-dialog-btn:active {
    transform: translateY(0) scale(0.97);
}

/* Smooth page transitions — 아래 Phase 1 섹션에서 pageEnter로 재정의됨 (충돌 제거) */

/* Price row alignment */
.price-row {
    align-items: baseline;
}

/* Original price subtlety */
.original-price {
    font-size: 0.88em;
    opacity: 0.55;
}

/* Download button enhancement */
.download-btn {
    transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.download-btn:active {
    transform: scale(0.97);
}

/* ═══════════════════════════════════════════════════════════════════
   Apple-grade Micro-Interaction System
   ═══════════════════════════════════════════════════════════════════ */

/* ── 1. Enhanced Transition Tokens ── */
:root {
    --spring-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --spring-gentle: cubic-bezier(0.22, 0.68, 0.35, 1.12);
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-in-out-quint: cubic-bezier(0.83, 0, 0.17, 1);
    --transition-micro: 0.12s var(--ease-out-quart);
    --transition-medium: 0.28s var(--ease-out-expo);
    --transition-dramatic: 0.5s var(--ease-out-expo);
}

/* ── 2. Scroll-based Reveal System ── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
    will-change: opacity, transform;
}

.reveal.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.94);
    transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
    will-change: opacity, transform;
}

.reveal-scale.is-revealed {
    opacity: 1;
    transform: scale(1);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-32px);
    transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
    will-change: opacity, transform;
}

.reveal-left.is-revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(32px);
    transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
    will-change: opacity, transform;
}

.reveal-right.is-revealed {
    opacity: 1;
    transform: translateX(0);
}

/* 스태거 딜레이 유틸리티 */
.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.1s; }
.stagger-3 { transition-delay: 0.15s; }
.stagger-4 { transition-delay: 0.2s; }
.stagger-5 { transition-delay: 0.25s; }
.stagger-6 { transition-delay: 0.3s; }

/* ── 3. Button Ripple & Press Feedback ── */
.btn-ripple {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.btn-ripple .ripple-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    transform: scale(0);
    animation: rippleExpand 0.55s var(--ease-out-expo) forwards;
    pointer-events: none;
    z-index: 0;
}

@keyframes rippleExpand {
    0% {
        transform: scale(0);
        opacity: 0.6;
    }
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

/* 모든 primary 버튼에 누름 피드백 */
.btn-primary:active,
.primary-btn:active,
.buy-now-btn:active,
.cta-button:active,
.add-btn:active {
    transform: translateY(0px) scale(0.96);
    transition-duration: 0.06s;
    box-shadow: 0 1px 4px rgba(206, 0, 0, 0.18);
}

/* secondary 버튼 누름 피드백 */
.btn-secondary:active,
.outline-btn:active,
.ghost-btn:active,
.action-btn:active {
    transform: scale(0.96);
    transition-duration: 0.06s;
}

/* ── 4. Enhanced Focus Styles (접근성 + 미학) ── */
:focus-visible {
    outline: 2px solid rgba(206, 0, 0, 0.45);
    outline-offset: 3px;
    border-radius: 4px;
    transition: outline-offset 0.18s var(--ease-out-quart);
}

.btn:focus-visible,
.primary-btn:focus-visible,
.btn-primary:focus-visible {
    outline-offset: 4px;
    box-shadow: 0 0 0 4px rgba(206, 0, 0, 0.12);
}

/* ── 5. Form Input Focus Motion ── */
input:not(.report-qa-input):not(.ticker-input):focus,
textarea:focus,
select:focus {
    border-color: rgba(206, 0, 0, 0.4);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 0 0 4px rgba(206, 0, 0, 0.06);
    transition: border-color 0.25s var(--ease-out-expo), box-shadow 0.25s var(--ease-out-expo), background 0.25s ease;
}

/* ── 6. Card Hover Lift Enhancement — 3단계 그림자 위계 ── */
.card:hover,
.product-item:hover,
.section-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
    transition-timing-function: var(--spring-gentle);
    transition-duration: 0.35s;
}

.card:active,
.product-item:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: var(--shadow-card-pressed);
    transition-duration: 0.1s;
}

/* ── 7. Header Scroll Enhancement ── */
header.is-scrolled {
    background: rgba(255, 255, 255, 0.92);
    border-bottom-color: rgba(12, 14, 20, 0.06);
    box-shadow: 0 1px 8px rgba(12, 14, 20, 0.04);
}

body.page-home header.is-scrolled {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(12, 14, 20, 0.04);
}

/* ── 8. Page Transition System ── */
@keyframes pageEnter {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pageFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.page-shell {
    animation: pageEnter 0.55s var(--ease-out-expo) both;
}

.page-hero {
    animation: pageEnter 0.6s var(--ease-out-expo) 0.05s both;
}

/* ── 9. Loading Skeleton ── */
@keyframes shimmerFlow {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.skeleton {
    background: linear-gradient(90deg, rgba(12, 14, 20, 0.04) 25%, rgba(12, 14, 20, 0.08) 50%, rgba(12, 14, 20, 0.04) 75%);
    background-size: 200% 100%;
    animation: shimmerFlow 1.8s ease-in-out infinite;
    border-radius: var(--radius-medium);
}

.skeleton-text {
    height: 14px;
    border-radius: 6px;
    margin-bottom: 10px;
}

.skeleton-text:last-child {
    width: 60%;
    margin-bottom: 0;
}

.skeleton-title {
    height: 22px;
    width: 70%;
    border-radius: 8px;
    margin-bottom: 14px;
}

.skeleton-image {
    aspect-ratio: 210 / 297;
    border-radius: var(--radius-medium);
}

.skeleton-card {
    padding: 20px;
    border-radius: var(--radius-large);
    background: var(--surface-color);
    border: none;
    box-shadow: var(--shadow-card);
}

.skeleton-card .skeleton-image {
    margin-bottom: 16px;
}

.skeleton-price {
    height: 18px;
    width: 40%;
    border-radius: 6px;
}

/* ── 10. Smooth Number Counter ── */
.counter-value {
    display: inline-block;
    font-variant-numeric: tabular-nums;
    transition: transform 0.4s var(--spring-bounce);
}

.counter-value.is-updating {
    transform: scale(1.08);
}

/* ── 11. Cart Badge Bounce ── */
@keyframes badgePop {
    0% { transform: scale(1); }
    30% { transform: scale(1.3); }
    60% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

.cart-count.is-bounce {
    animation: badgePop 0.4s var(--spring-bounce);
}

/* ── 12. Dialog Entrance Enhancement ── */
.app-dialog-panel {
    animation: dialogSlideUp 0.35s var(--ease-out-expo) forwards;
}

@keyframes dialogSlideUp {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ── 13. Tooltip & Toast System ── */
@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes toastOut {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateY(-8px) scale(0.96);
    }
}

.toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    background: rgba(11, 13, 18, 0.88);
    color: #ffffff;
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    z-index: 4000;
    animation: toastIn 0.3s var(--ease-out-expo) both;
    pointer-events: auto;
}

.toast.is-leaving {
    animation: toastOut 0.25s ease-in forwards;
}

/* ── 14. Price Animation ── */
@keyframes priceReveal {
    from {
        opacity: 0;
        transform: translateY(6px);
        filter: blur(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.price-animate {
    animation: priceReveal 0.45s var(--ease-out-expo) both;
}

/* ── 16. Sticky Header Transition ── */
header {
    transition: background 0.35s var(--ease-out-expo), box-shadow 0.35s var(--ease-out-expo), border-color 0.35s var(--ease-out-expo);
}

/* ── 17. Product Grid Stagger ── */
.product-grid .product-item:nth-child(1) { transition-delay: 0.00s; }
.product-grid .product-item:nth-child(2) { transition-delay: 0.06s; }
.product-grid .product-item:nth-child(3) { transition-delay: 0.12s; }
.product-grid .product-item:nth-child(4) { transition-delay: 0.18s; }
.product-grid .product-item:nth-child(5) { transition-delay: 0.24s; }
.product-grid .product-item:nth-child(6) { transition-delay: 0.30s; }
.product-grid .product-item:nth-child(7) { transition-delay: 0.36s; }
.product-grid .product-item:nth-child(8) { transition-delay: 0.42s; }

/* ── 18. Reduced Motion Override ── */
@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal-scale,
    .reveal-left,
    .reveal-right {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .toast {
        animation: none;
    }

    .skeleton {
        animation: none;
    }

}

/* ═══════════════════════════════════════════════════════════════════
   Apple-grade UI Revolution — Phase 1
   ═══════════════════════════════════════════════════════════════════ */

/* ── 1. 타이포그래피 정교화 ── */
:root {
    --tracking-tight: var(--letter-tight);
    --tracking-heading: var(--letter-normal);
    --tracking-body: -0.011em;
    --tracking-caption: var(--letter-wide);
}

/* 대형 타이틀 — 애플 스타일 타이트 트래킹 */
.page-title-lg,
.landing-hero-title,
.hero-title {
    letter-spacing: var(--tracking-tight);
    font-feature-settings: 'kern' 1, 'liga' 1;
    text-wrap: balance;
}

.section-title {
    letter-spacing: var(--tracking-heading);
    font-feature-settings: 'kern' 1;
}

/* 본문 + 캡션 */
.page-subtitle,
.hero-subtitle,
.summary {
    letter-spacing: var(--tracking-body);
    text-wrap: pretty;
}

.page-kicker,
.category,
.glass-chip,
.hero-note {
    letter-spacing: var(--tracking-caption);
}

/* 가격 — 고정폭 숫자 */
.product-price-wrapper,
.sale-price,
.original-price,
.price,
.cart-item-price,
.cart-total,
#cart-total {
    font-variant-numeric: tabular-nums;
    font-feature-settings: 'tnum' 1;
}

/* ── 2. 향상된 스크롤 리빌 시스템 ── */
.reveal-blur {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(8px);
    transition: opacity 0.7s var(--ease-out-expo),
                transform 0.7s var(--ease-out-expo),
                filter 0.7s var(--ease-out-expo);
    will-change: opacity, transform, filter;
}

.reveal-blur.is-revealed {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* ── 3. 부드러운 페이지 전환 ── */
@keyframes pageSlideIn {
    from {
        opacity: 0;
        transform: translateY(12px);
        filter: blur(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

main {
    animation: pageSlideIn 0.6s var(--ease-out-expo) both;
}

/* ── 4. 카드 홀로그래픽 반사 효과 (고급 호버) ── */
.product-item {
    --mouse-x: 50%;
    --mouse-y: 50%;
}

.product-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        300px circle at var(--mouse-x) var(--mouse-y),
        rgba(255, 255, 255, 0.06),
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.product-item:hover::after {
    opacity: 1;
}

/* ── 5. 강화된 버튼 시스템 ── */

/* Primary 버튼 호버 광택 */
.btn-primary:hover,
.primary-btn:hover,
.buy-now-btn:hover,
.cta-button:hover,
.add-btn:hover {
    box-shadow: 0 6px 20px rgba(206, 0, 0, 0.25),
                0 0 0 1px rgba(206, 0, 0, 0.1);
}

/* 버튼 아이콘 회전 효과 */
.btn svg,
.btn .icon {
    transition: transform 0.3s var(--ease-out-expo);
}

.btn:hover svg,
.btn:hover .icon {
    transform: translateX(2px);
}

/* ── 6. 인풋 포커스 애플 스타일 ── */
input:not(.report-qa-input):not(.ticker-input):not(.access-input):focus,
textarea:focus,
select:focus {
    border-color: rgba(206, 0, 0, 0.35);
    box-shadow: 0 0 0 4px rgba(206, 0, 0, 0.08),
                0 1px 3px rgba(0, 0, 0, 0.04);
}

/* ── 7. 섹션 디바이더 그라데이션 ── */
.section-stack + .section-stack {
    position: relative;
}

.section-stack + .section-stack::before {
    content: '';
    display: block;
    height: 1px;
    margin: 0 auto 40px;
    max-width: 200px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(12, 14, 20, 0.08) 30%,
        rgba(12, 14, 20, 0.08) 70%,
        transparent
    );
}

/* ── 8. 향상된 이미지 로드 전환 ── */
.product-visual img,
.product-visual .pdf-preview,
.detail-visual img {
    transition: transform 0.5s var(--ease-out-expo),
                opacity 0.5s ease;
}

.product-item:hover .product-visual img {
    transform: scale(1.04);
}

/* ── 9. 스무스 스크롤바 ── */
html {
    scrollbar-gutter: stable;
}

/* ── 10. 향상된 토스트 시스템 ── */
.toast {
    border: 1px solid rgba(255, 255, 255, 0.08);
    letter-spacing: var(--tracking-body);
}

/* ── 11. 비즈니스 인포 바 강화 ── */
.business-info {
    letter-spacing: var(--tracking-caption);
    font-variant-numeric: tabular-nums;
}

/* ── 12. 헤더 전환 강화 (home→scroll) ── */
body.page-home header.is-scrolled {
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    box-shadow: 0 1px 12px rgba(12, 14, 20, 0.06);
}

/* ── 13. 장바구니 아이템 인터랙션 ── */
.cart-row {
    transition: background 0.2s ease, opacity 0.3s ease;
}

.cart-row:hover {
    background: rgba(206, 0, 0, 0.02);
}

/* ── 14. 결제 프로그레스 그라데이션 강화 ── */
.checkout-progress-bar {
    background: linear-gradient(90deg, var(--accent-color), var(--accent-deep), var(--accent-color));
    background-size: 200% 100%;
}

/* ── 15. 모바일 터치 최적화 ── */
@media (hover: none) and (pointer: coarse) {
    .card:hover,
    .product-item:hover,
    .section-card:hover {
        transform: none;
        box-shadow: var(--shadow-card);
    }

    .product-item:hover .product-visual img {
        transform: none;
    }

    .product-item::after {
        display: none;
    }

    .btn:hover,
    .primary-btn:hover,
    .btn-primary:hover {
        transform: none;
    }

    .btn:active,
    .primary-btn:active,
    .btn-primary:active {
        transform: scale(0.97);
    }

    .product-item:active {
        transform: scale(0.98);
        transition-duration: 0.1s;
    }
}

/* ── 16. 스크롤 인디케이터 ── */
.scroll-indicator {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: homeRise 0.55s ease-out both;
    animation-delay: 0.45s;
}

.scroll-indicator-line {
    width: 1px;
    height: 32px;
    background: rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
    border-radius: 1px;
}

.scroll-indicator-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { top: -100%; }
    50% { top: 100%; }
    100% { top: 100%; }
}

/* ── 17. 상품 카드 인터랙션 (index.html 카드 마우스 팔로우) ── */
.product-item {
    will-change: transform;
}

/* ── 18. 상품 그리드 스태거 강화 (JS 기반 딜레이 사용) ── */
.product-grid .product-item {
    transition-timing-function: var(--ease-out-expo);
}

/* ── 19. 아이템 제거/슬라이드 애니메이션 ── */
@keyframes slideOutRight {
    from { opacity: 1; transform: translateX(0); max-height: 200px; }
    to   { opacity: 0; transform: translateX(40px); max-height: 0; padding-top: 0; padding-bottom: 0; margin-top: 0; margin-bottom: 0; }
}

@keyframes slideOutLeft {
    from { opacity: 1; transform: translateX(0); max-height: 200px; }
    to   { opacity: 0; transform: translateX(-40px); max-height: 0; padding-top: 0; padding-bottom: 0; margin-top: 0; margin-bottom: 0; }
}

.item-removing {
    animation: slideOutRight 0.38s var(--ease-out-expo) forwards;
    overflow: hidden;
    pointer-events: none;
}

/* ── 20. 신뢰 배지 (결제 페이지용) ── */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 16px 0;
    margin-top: 16px;
    color: var(--text-color-muted);
    font-size: 12px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 5px;
}

.trust-badge svg {
    width: 14px;
    height: 14px;
    opacity: 0.6;
}

/* ── 21. 할인율 뱃지 ── */
.discount-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: var(--radius-pill);
    background: var(--accent-soft);
    color: var(--accent-color);
    font-size: 12px;
    font-weight: var(--font-weight-bold);
    letter-spacing: var(--letter-wide);
}

/* ── 22. Reduced Motion 확장 ── */
@media (prefers-reduced-motion: reduce) {
    .reveal-blur {
        opacity: 1;
        transform: none;
        filter: none;
        transition: none;
    }

    main {
        animation: none;
    }

    .product-item::after {
        display: none;
    }

    .scroll-indicator-line::after {
        animation: none;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   Phase 2 — View Transitions + Bento Grid + 시네마틱 + 프로필 카드
   ═══════════════════════════════════════════════════════════════════ */

/* ── 1. View Transitions API ── */
@view-transition {
    navigation: auto;
}

::view-transition-old(root) {
    animation: vtFadeOut 0.25s ease-in both;
}

::view-transition-new(root) {
    animation: vtFadeIn 0.3s ease-out 0.05s both;
}

@keyframes vtFadeOut {
    from { opacity: 1; transform: scale(1); }
    to   { opacity: 0; transform: scale(0.98); }
}

@keyframes vtFadeIn {
    from { opacity: 0; transform: scale(1.02); }
    to   { opacity: 1; transform: scale(1); }
}

/* 공유 요소 전환 — 상품 카드 ↔ 상세 */
.product-visual img,
.detail-visual img {
    view-transition-name: product-image;
}

.product-title {
    view-transition-name: product-title;
}

/* 중복 view-transition-name 방지: JS에서 클릭한 카드에만 부여 */
.product-item .product-visual img,
.product-item .product-title {
    view-transition-name: none;
}

::view-transition-old(product-image),
::view-transition-new(product-image) {
    animation-duration: 0.35s;
    animation-timing-function: var(--ease-out-expo);
}

::view-transition-old(product-title),
::view-transition-new(product-title) {
    animation-duration: 0.3s;
    animation-timing-function: var(--ease-out-expo);
}

/* ── 2. Bento Grid (index.html 상품 그리드) ── */
.product-grid.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: auto;
    gap: 20px;
}

/* 첫 번째 상품: 2x2 featured 카드 */
.product-grid.bento-grid .product-item:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

.product-grid.bento-grid .product-item:first-child .product-visual {
    aspect-ratio: 3 / 4;
}

.product-grid.bento-grid .product-item:first-child .product-title {
    font-size: 20px;
    font-weight: var(--font-weight-bold);
}

.product-grid.bento-grid .product-item:first-child .product-price-wrapper {
    font-size: 16px;
}

/* 나머지 상품: 표준 카드 */
.product-grid.bento-grid .product-item .product-visual {
    aspect-ratio: 210 / 297;
}

/* 태블릿 */
@media (max-width: 960px) {
    .product-grid.bento-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .product-grid.bento-grid .product-item:first-child {
        grid-column: span 2;
        grid-row: span 1;
    }

    .product-grid.bento-grid .product-item:first-child .product-visual {
        aspect-ratio: 16 / 9;
    }
}

/* 모바일 */
@media (max-width: 600px) {
    .product-grid.bento-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-grid.bento-grid .product-item:first-child {
        grid-column: span 2;
        grid-row: span 1;
    }

    .product-grid.bento-grid .product-item:first-child .product-visual {
        aspect-ratio: 4 / 3;
    }

    .product-grid.bento-grid .product-item:first-child .product-title {
        font-size: 16px;
    }

    .product-grid.bento-grid .product-item:first-child .product-price-wrapper {
        font-size: 14px;
    }
}

/* ── 3. 시네마틱 상세 레이아웃 (product.html) ── */
.cinematic-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.cinematic-detail .detail-visual {
    position: sticky;
    top: 72px;
    border-radius: var(--radius-large);
    overflow: hidden;
    aspect-ratio: 3 / 4;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.04);
}

.cinematic-detail .detail-visual img,
.cinematic-detail .detail-visual .pdf-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-large);
}

.cinematic-detail .detail-info {
    padding: 40px 0 80px;
    box-shadow: none;
    background: transparent;
    border: none;
    display: grid;
    gap: 20px;
}

.cinematic-detail .detail-info:hover {
    transform: none;
    box-shadow: none;
}

.cinematic-detail .category {
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-color-muted);
    font-weight: var(--font-weight-semibold);
}

.cinematic-detail .title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--tracking-tight);
    line-height: 1.12;
    text-wrap: balance;
}

.cinematic-detail .price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 20px 0;
    border-top: 1px solid var(--line-color);
    border-bottom: 1px solid var(--line-color);
}

.cinematic-detail .sale-price {
    font-size: 28px;
    font-weight: var(--font-weight-bold);
}

.cinematic-detail .summary {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-color-secondary);
}

.cinematic-detail .action-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 20px;
}

.cinematic-detail .action-stack .btn {
    padding: 16px 24px;
    font-size: 15px;
    border-radius: var(--radius-button);
}

/* 시네마틱 모바일 */
@media (max-width: 768px) {
    .cinematic-detail {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .cinematic-detail .detail-visual {
        position: relative;
        top: 0;
        aspect-ratio: 4 / 5;
    }

    .cinematic-detail .detail-info {
        padding: 0 0 40px;
    }

    .cinematic-detail .title {
        font-size: 24px;
    }

    .cinematic-detail .sale-price {
        font-size: 22px;
    }

    .cinematic-detail .action-stack {
        grid-template-columns: 1fr;
    }
}

/* ── 4. 프로필 카드 (my.html) ── */
.profile-card {
    background: var(--surface-color);
    border-radius: var(--radius-large);
    padding: 32px;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-deep));
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* 구독 활성 시 accent 라인 표시 */
.profile-card.is-subscribed::before {
    opacity: 1;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.profile-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--surface-secondary);
    display: grid;
    place-items: center;
    font-size: 20px;
    font-weight: var(--font-weight-bold);
    color: var(--text-color-muted);
    flex-shrink: 0;
    overflow: hidden;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.profile-name {
    font-size: 22px;
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--tracking-heading);
    line-height: 1.2;
}

.profile-email {
    font-size: 13px;
    color: var(--text-color-muted);
    margin-top: 2px;
}

.profile-membership {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    background: var(--surface-secondary);
    font-size: 13px;
    font-weight: var(--font-weight-semibold);
    color: var(--text-color-secondary);
    margin-bottom: 16px;
}

.profile-membership.is-active {
    background: var(--accent-soft);
    color: var(--accent-color);
}

.profile-membership .badge-icon {
    width: 16px;
    height: 16px;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line-color);
    border-radius: var(--radius-medium);
    overflow: hidden;
    margin-top: 20px;
}

.profile-stat {
    background: var(--surface-color);
    padding: 16px 12px;
    text-align: center;
}

.profile-stat-value {
    font-size: 20px;
    font-weight: var(--font-weight-bold);
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
    color: var(--text-color);
}

.profile-stat-label {
    font-size: 11px;
    color: var(--text-color-muted);
    margin-top: 4px;
    letter-spacing: 0.02em;
}

/* 프로필 카드 모바일 */
@media (max-width: 600px) {
    .profile-card {
        padding: 24px 20px;
    }

    .profile-name {
        font-size: 18px;
    }

    .profile-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .profile-stat {
        padding: 12px 8px;
    }

    .profile-stat-value {
        font-size: 16px;
    }
}

/* ── 5. my.html 섹션 카드 래퍼 ── */
.my-section-card {
    background: var(--surface-color);
    border-radius: var(--radius-large);
    padding: 24px;
    box-shadow: var(--shadow-card);
    margin-top: 20px;
}

.my-section-card .my-section-title {
    margin-top: 0;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line-color);
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--tracking-heading);
}

.my-section-card .list {
    margin-top: 8px;
}

.my-section-card .empty-state {
    padding: 32px 16px;
    font-size: 13px;
}

/* ═══════════════════════════════════════════════════════════
   Phase 3 — 구조화 Footer + Bento Grid 강화 + 시네마틱 개선
   ═══════════════════════════════════════════════════════════ */

/* ── 6. 구조화 Site Footer ── */
.site-footer {
    margin-top: var(--space-section);
    padding: 64px var(--page-padding) 40px;
    background: var(--surface-color);
    border-top: 1px solid var(--line-color);
}

.site-footer__inner {
    max-width: 980px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: start;
}

/* 왼쪽: 브랜드 + 사업자 정보 */
.site-footer__brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.site-footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-color);
}

.site-footer__logo img {
    height: 22px;
    width: auto;
    opacity: 0.85;
}

.site-footer__logo-text {
    font-size: 15px;
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--tracking-heading);
}

.site-footer__legal {
    font-size: 12px;
    line-height: 1.7;
    color: var(--text-color-muted);
    letter-spacing: var(--tracking-caption);
    font-variant-numeric: tabular-nums;
}

.site-footer__legal span {
    display: inline;
}

.site-footer__legal span::before {
    content: '·';
    margin: 0 6px;
    color: var(--text-color-tertiary);
}

.site-footer__legal span:first-child::before {
    display: none;
}

/* 오른쪽: 내비게이션 링크 */
.site-footer__nav {
    display: flex;
    gap: 24px;
}

.site-footer__link {
    font-size: 13px;
    color: var(--text-color-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
    white-space: nowrap;
}

.site-footer__link:hover {
    color: var(--text-color);
}

/* 하단 카피라이트 */
.site-footer__bottom {
    max-width: 980px;
    margin: 32px auto 0;
    padding-top: 20px;
    border-top: 1px solid var(--line-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-footer__copy {
    font-size: 11px;
    color: var(--text-color-tertiary);
    letter-spacing: var(--tracking-caption);
}

/* Footer 모바일 */
@media (max-width: 600px) {
    .site-footer {
        padding: 48px var(--page-padding-mobile) 32px;
    }

    .site-footer__inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .site-footer__nav {
        flex-wrap: wrap;
        gap: 16px;
    }

    .site-footer__bottom {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
}

/* ── 7. Bento Grid 강화 — featured 카드 비주얼 ── */
.product-grid.bento-grid .product-item:first-child {
    background: var(--surface-color);
    box-shadow: var(--shadow-elevated);
}

.product-grid.bento-grid .product-item:first-child:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1), 0 4px 16px rgba(0, 0, 0, 0.04);
    transform: translateY(-8px);
}

/* featured 카드 배지 */
.product-grid.bento-grid .product-item:first-child .product-visual::after {
    content: 'FEATURED';
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 4px 12px;
    font-size: 10px;
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.12em;
    color: #fff;
    background: var(--accent-color);
    border-radius: var(--radius-pill);
    z-index: 2;
}

/* featured 카드 타이틀/가격 강화 */
.product-grid.bento-grid .product-item:first-child .product-body {
    padding: 20px 24px;
}

/* ── 8. 시네마틱 상세 — 스크롤 프로그레스 바 ── */
.cinematic-detail .detail-visual::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.03), transparent);
    border-radius: 0 0 var(--radius-large) var(--radius-large);
    pointer-events: none;
    z-index: 1;
}

/* 시네마틱 상세 가격 영역 강화 */
.cinematic-detail .price-tag {
    font-size: 13px;
    font-weight: var(--font-weight-semibold);
    color: var(--accent-color);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* 시네마틱 상세 메타 정보 */
.cinematic-detail .detail-meta {
    display: flex;
    gap: 20px;
    padding: 16px 0;
    font-size: 13px;
    color: var(--text-color-muted);
}

.cinematic-detail .detail-meta__item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cinematic-detail .detail-meta__item svg {
    width: 16px;
    height: 16px;
    opacity: 0.5;
}

/* ── 9. Bento Grid 카운트 뱃지 ── */
.bento-grid__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    font-size: 12px;
    font-weight: var(--font-weight-semibold);
    color: var(--text-color-secondary);
    background: var(--surface-secondary);
    border-radius: var(--radius-pill);
    margin-left: 8px;
}

/* ═══════════════════════════════════════════════════════════════════
   Phase 3 — View Transitions 강화 + 히어로 Blur-to-Clear 애니메이션
   ═══════════════════════════════════════════════════════════════════ */

/* ── 1. View Transitions API 강화 — 크로스페이드 + 모핑 ── */

/* 루트 전환: 자연스러운 크로스페이드 + 스케일 모핑 */
::view-transition-group(root) {
    animation-duration: 0.35s;
    animation-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* 나가는 페이지: 살짝 축소하며 페이드아웃 */
::view-transition-old(root) {
    animation: vtMorphOut 0.28s cubic-bezier(0.4, 0, 1, 1) both;
}

/* 들어오는 페이지: 살짝 확대에서 원위치로 페이드인 */
::view-transition-new(root) {
    animation: vtMorphIn 0.35s cubic-bezier(0, 0, 0.2, 1) 0.03s both;
}

@keyframes vtMorphOut {
    from {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
    to {
        opacity: 0;
        transform: scale(0.96);
        filter: blur(4px);
    }
}

@keyframes vtMorphIn {
    from {
        opacity: 0;
        transform: scale(1.04);
        filter: blur(4px);
    }
    to {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

/* 공유 요소: 상품 이미지 — 부드러운 모핑 전환 */
::view-transition-group(product-image) {
    animation-duration: 0.4s;
    animation-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1);
    overflow: hidden;
    border-radius: var(--radius-large);
}

::view-transition-old(product-image) {
    animation: vtImageOut 0.3s ease-in both;
    object-fit: cover;
}

::view-transition-new(product-image) {
    animation: vtImageIn 0.4s cubic-bezier(0.22, 0.61, 0.36, 1) both;
    object-fit: cover;
}

@keyframes vtImageOut {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.92);
    }
}

@keyframes vtImageIn {
    from {
        opacity: 0;
        transform: scale(1.08);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 공유 요소: 상품 제목 — 텍스트 슬라이드 전환 */
::view-transition-group(product-title) {
    animation-duration: 0.35s;
    animation-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1);
}

::view-transition-old(product-title) {
    animation: vtTitleOut 0.2s ease-in both;
}

::view-transition-new(product-title) {
    animation: vtTitleIn 0.35s cubic-bezier(0.22, 0.61, 0.36, 1) 0.05s both;
}

@keyframes vtTitleOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-8px);
    }
}

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

/* ── 2. 히어로 Blur-to-Clear 애니메이션 ── */

/* 히어로 배경 이미지: blur에서 선명하게 */
@keyframes heroBlurToClear {
    0% {
        filter: blur(20px) saturate(120%);
        transform: scale(1.1);
        opacity: 0;
    }
    30% {
        opacity: 1;
    }
    100% {
        filter: blur(0) saturate(100%);
        transform: scale(1);
        opacity: 1;
    }
}

/* 히어로 텍스트: blur에서 선명하게 + 위로 슬라이드 */
@keyframes heroTextBlurIn {
    0% {
        filter: blur(12px);
        opacity: 0;
        transform: translateY(20px);
    }
    40% {
        filter: blur(4px);
        opacity: 0.6;
    }
    100% {
        filter: blur(0);
        opacity: 1;
        transform: translateY(0);
    }
}

/* 히어로 CTA: blur에서 선명하게 + 스케일 업 */
@keyframes heroCtaBlurIn {
    0% {
        filter: blur(8px);
        opacity: 0;
        transform: translateY(16px) scale(0.95);
    }
    50% {
        filter: blur(2px);
        opacity: 0.7;
    }
    100% {
        filter: blur(0);
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 히어로 오버레이: 점진적 비네트 효과 */
@keyframes heroVignetteIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* 히어로 배경 이미지에 blur-to-clear 적용 */
body.page-home .landing-hero-media img {
    animation: heroBlurToClear 1.4s cubic-bezier(0.22, 0.61, 0.36, 1) both;
    will-change: filter, transform, opacity;
}

/* 히어로 로고: blur-to-clear */
body.page-home .landing-hero-logo {
    animation: heroTextBlurIn 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) 0.3s both;
    will-change: filter, opacity, transform;
}

/* 히어로 타이틀: blur-to-clear (약간 늦게) */
body.page-home .landing-hero-title {
    animation: heroTextBlurIn 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) 0.5s both;
    will-change: filter, opacity, transform;
}

/* 히어로 노트 배지: blur-to-clear */
body.page-home .landing-hero-notes {
    animation: heroTextBlurIn 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) 0.65s both;
    will-change: filter, opacity, transform;
}

/* 히어로 CTA 버튼: blur-to-clear */
body.page-home #banner-cta {
    animation: heroCtaBlurIn 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) 0.7s both;
    will-change: filter, opacity, transform;
}

body.page-home #banner-ticker-cta {
    animation: heroCtaBlurIn 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) 0.8s both;
    will-change: filter, opacity, transform;
}

/* 히어로 오버레이 비네트 */
body.page-home .landing-hero::before {
    animation: heroVignetteIn 1.2s ease-out 0.2s both;
}

/* ── 3. 모바일 히어로 blur-to-clear 보정 ── */
@media (max-width: 960px) {
    body.page-home .landing-hero-media img {
        animation: heroBlurToClear 1.2s cubic-bezier(0.22, 0.61, 0.36, 1) both,
                   heroPan 18s ease-in-out infinite alternate;
        animation-delay: 0s, 1.2s;
        will-change: filter, transform, opacity;
    }

    body.page-home .landing-hero-logo {
        animation-delay: 0.2s;
    }

    body.page-home .landing-hero-title {
        animation-delay: 0.35s;
    }

    body.page-home .landing-hero-notes {
        animation-delay: 0.45s;
    }

    body.page-home #banner-cta {
        animation-delay: 0.5s;
    }

    body.page-home #banner-ticker-cta {
        animation-delay: 0.6s;
    }
}

/* ── 4. 서브페이지 page-hero blur-to-clear ── */
@keyframes pageHeroBlurIn {
    0% {
        filter: blur(8px);
        opacity: 0;
        transform: translateY(12px);
    }
    100% {
        filter: blur(0);
        opacity: 1;
        transform: translateY(0);
    }
}

.page-hero {
    animation: pageHeroBlurIn 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) 0.05s both;
}

.page-hero .hero-title {
    animation: heroTextBlurIn 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) 0.15s both;
}

.page-hero .hero-subtitle {
    animation: heroTextBlurIn 0.5s cubic-bezier(0.22, 0.61, 0.36, 1) 0.25s both;
}

/* ── 5. Reduced Motion — 새 애니메이션 접근성 대응 ── */
@media (prefers-reduced-motion: reduce) {
    /* 페이지 전환 blur 비활성화 */
    ::view-transition-old(root),
    ::view-transition-new(root) {
        animation: none;
        opacity: 1;
    }

    ::view-transition-old(product-image),
    ::view-transition-new(product-image),
    ::view-transition-old(product-title),
    ::view-transition-new(product-title) {
        animation: none;
    }

    /* 히어로 blur-to-clear 비활성화 — 즉시 표시 */
    body.page-home .landing-hero-media img,
    body.page-home .landing-hero-logo,
    body.page-home .landing-hero-title,
    body.page-home .landing-hero-notes,
    body.page-home #banner-cta,
    body.page-home #banner-ticker-cta,
    body.page-home .landing-hero::before {
        animation: none;
        opacity: 1;
        filter: none;
        transform: none;
    }

    /* 서브페이지 hero blur 비활성화 */
    .page-hero,
    .page-hero .hero-title,
    .page-hero .hero-subtitle {
        animation: none;
        opacity: 1;
        filter: none;
        transform: none;
    }
}


/* ═══════════════════════════════════════════════════════════════════
   뉴스레터 플랫폼 — 티어 시스템, 프라이싱, 뉴스레터 카드, Gated Content
   ═══════════════════════════════════════════════════════════════════ */

/* ── 1. 티어 색상 변수 ── */
:root {
    --tier-free: #CD7F32;
    --tier-free-bg: rgba(205, 127, 50, 0.08);
    --tier-free-glow: rgba(205, 127, 50, 0.10);
    --tier-basic: #A0A0A0;
    --tier-basic-bg: rgba(160, 160, 160, 0.08);
    --tier-basic-glow: rgba(160, 160, 160, 0.14);
    --tier-pro: #D4A017;
    --tier-pro-bg: rgba(212, 160, 23, 0.08);
    --tier-pro-glow: rgba(212, 160, 23, 0.18);
    --tier-premium: #7EC8E3;
    --tier-premium-bg: rgba(126, 200, 227, 0.08);
    --tier-premium-glow: rgba(126, 200, 227, 0.22);
}

/* ── 2. 티어 뱃지 ── */
.tier-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.6;
    white-space: nowrap;
    border: 1px solid transparent;
}

.tier-badge--free {
    color: var(--tier-free);
    background: var(--tier-free-bg);
    border-color: rgba(205, 127, 50, 0.15);
}

.tier-badge--basic {
    color: var(--tier-basic);
    background: var(--tier-basic-bg);
    border-color: rgba(160, 160, 160, 0.15);
}

.tier-badge--pro {
    color: var(--tier-pro);
    background: var(--tier-pro-bg);
    border-color: rgba(212, 160, 23, 0.15);
}

.tier-badge--premium {
    color: var(--tier-premium);
    background: var(--tier-premium-bg);
    border-color: rgba(126, 200, 227, 0.15);
}

/* 큰 뱃지 (내 정보 페이지용) */
.tier-badge--lg {
    padding: 5px 14px;
    font-size: 13px;
    gap: 6px;
}

/* 뱃지 내 자물쇠 아이콘 */
.tier-badge__lock {
    width: 11px;
    height: 11px;
    opacity: 0.7;
}

/* ── 3. 프라이싱 테이블 ── */
.pricing-section {
    padding: 80px var(--page-padding) 40px;
    text-align: center;
}

.pricing-title {
    font-size: clamp(24px, 3.4vw, 36px);
    font-weight: var(--font-weight-bold);
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0 0 8px;
}

.pricing-subtitle {
    font-size: 15px;
    color: var(--text-color-secondary);
    margin: 0 0 40px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 960px;
    margin: 0 auto;
    align-items: start;
}

.pricing-card {
    background: var(--surface-color);
    border-radius: var(--radius-large);
    padding: 0;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

/* 추천 카드 강조 */
.pricing-card--featured {
    box-shadow: var(--shadow-card-hover);
    border: 1.5px solid var(--tier-pro);
}

.pricing-card--featured:hover {
    box-shadow: 0 12px 40px rgba(212, 160, 23, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* 카드 상단 티어 색상 라인 */
.pricing-card__accent {
    height: 3px;
    width: 100%;
    flex-shrink: 0;
}

.pricing-card--free .pricing-card__accent { background: var(--tier-free); }
.pricing-card--basic .pricing-card__accent { background: var(--tier-basic); }
.pricing-card--pro .pricing-card__accent { background: linear-gradient(90deg, var(--tier-pro), #E8B500); }
.pricing-card--premium .pricing-card__accent { background: linear-gradient(90deg, var(--tier-premium), #A8D8EA, #B9F2FF); }

.pricing-card__body {
    padding: 28px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

.pricing-card__header {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    text-align: center;
}

.pricing-card__tier-name {
    font-size: 12px;
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pricing-card--free .pricing-card__tier-name { color: var(--tier-free); }
.pricing-card--basic .pricing-card__tier-name { color: var(--tier-basic); }
.pricing-card--pro .pricing-card__tier-name { color: var(--tier-pro); }
.pricing-card--premium .pricing-card__tier-name { color: var(--tier-premium); }

.pricing-card__price {
    font-size: clamp(26px, 3vw, 32px);
    font-weight: var(--font-weight-bold);
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--text-color);
}

.pricing-card__period {
    font-size: 13px;
    color: var(--text-color-muted);
    font-weight: var(--font-weight-regular);
}

/* "인기" 뱃지 */
.pricing-card__popular {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    background: var(--tier-pro-bg);
    color: var(--tier-pro);
    font-size: 11px;
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.02em;
}

/* 기능 목록 */
.pricing-card__features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.pricing-card__feature {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: var(--text-color-secondary);
    line-height: 1.45;
    text-align: left;
}

.pricing-card__feature-icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 1px;
}

.pricing-card__feature-icon--check {
    color: #22c55e;
}

.pricing-card__feature-icon--x {
    color: var(--text-color-tertiary);
    opacity: 0.4;
}

.pricing-card__feature--disabled {
    opacity: 0.4;
}

/* CTA 버튼 */
.pricing-card__cta {
    margin-top: auto;
    padding-top: 4px;
}

.pricing-card__cta .btn,
.pricing-card__cta .primary-btn {
    width: 100%;
    justify-content: center;
}

/* 현재 플랜 표시 */
.pricing-card__current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 13px 26px;
    border-radius: var(--radius-button);
    font-size: 15px;
    font-weight: var(--font-weight-medium);
    color: var(--text-color-muted);
    background: var(--surface-secondary);
    border: none;
    cursor: default;
}

/* 모바일 반응형 */
@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

@media (max-width: 520px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        max-width: 360px;
    }

    .pricing-section {
        padding: 60px var(--page-padding-mobile) 32px;
    }

    .pricing-card__body {
        padding: 24px 20px 20px;
    }
}

/* ── 4. 뉴스레터 카드 ── */
.newsletter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.newsletter-card {
    background: var(--surface-color);
    border-radius: var(--radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
}

.newsletter-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
}

.newsletter-card__cover {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--surface-secondary);
    overflow: hidden;
    position: relative;
}

.newsletter-card__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: transform 0.5s ease;
}

.newsletter-card:hover .newsletter-card__cover img {
    transform: scale(1.03);
}

/* 커버 위 티어 뱃지 */
.newsletter-card__tier {
    position: absolute;
    top: 12px;
    left: 12px;
}

/* 잠긴 글 아이콘 */
.newsletter-card__lock {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: grid;
    place-items: center;
    color: #ffffff;
}

.newsletter-card__lock svg {
    width: 14px;
    height: 14px;
}

.newsletter-card__body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.newsletter-card__category {
    font-size: 11px;
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent-color);
}

.newsletter-card__title {
    font-size: 17px;
    font-weight: var(--font-weight-semibold);
    letter-spacing: -0.02em;
    line-height: 1.35;
    color: var(--text-color);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.newsletter-card__excerpt {
    font-size: 13px;
    color: var(--text-color-secondary);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.newsletter-card__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 4px;
    font-size: 12px;
    color: var(--text-color-muted);
}

.newsletter-card__meta-dot {
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: var(--text-color-tertiary);
    flex-shrink: 0;
}

.newsletter-card__link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.newsletter-card__link:hover {
    color: inherit;
}

/* Featured 카드 (첫 번째 큰 카드) */
.newsletter-card--featured {
    grid-column: 1 / -1;
}

.newsletter-card--featured .newsletter-card__link {
    flex-direction: row;
}

.newsletter-card--featured .newsletter-card__cover {
    width: 50%;
    aspect-ratio: auto;
    min-height: 240px;
    flex-shrink: 0;
}

.newsletter-card--featured .newsletter-card__body {
    padding: 28px 32px;
    justify-content: center;
}

.newsletter-card--featured .newsletter-card__title {
    font-size: clamp(20px, 2.5vw, 26px);
    -webkit-line-clamp: 3;
}

.newsletter-card--featured .newsletter-card__excerpt {
    -webkit-line-clamp: 3;
}

@media (max-width: 640px) {
    .newsletter-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .newsletter-card--featured .newsletter-card__link {
        flex-direction: column;
    }

    .newsletter-card--featured .newsletter-card__cover {
        width: 100%;
        aspect-ratio: 16 / 9;
        min-height: auto;
    }

    .newsletter-card--featured .newsletter-card__body {
        padding: 18px 20px 20px;
    }

    .newsletter-card--featured .newsletter-card__title {
        font-size: 19px;
    }
}

/* 카테고리 필터 탭 */
.newsletter-filters {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px 0;
}

.newsletter-filters::-webkit-scrollbar { display: none; }

.newsletter-filter-btn {
    padding: 7px 16px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--line-color);
    background: transparent;
    font-size: 13px;
    font-weight: var(--font-weight-medium);
    color: var(--text-color-secondary);
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition-fast);
}

.newsletter-filter-btn:hover {
    border-color: var(--text-color);
    color: var(--text-color);
}

.newsletter-filter-btn.is-active {
    background: var(--text-color);
    color: #ffffff;
    border-color: var(--text-color);
}

/* ── 5. Gated Content 블러 오버레이 ── */
.gated-content {
    position: relative;
    overflow: hidden;
}

.gated-content__preview {
    /* 미리보기 영역 — 그대로 표시 */
}

.gated-content__blur {
    position: relative;
    max-height: 200px;
    overflow: hidden;
    user-select: none;
    pointer-events: none;
}

.gated-content__blur::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.6) 40%,
        rgba(255, 255, 255, 0.95) 80%,
        #ffffff 100%
    );
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 1;
}

.gated-content__overlay {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 40px 24px 48px;
    text-align: center;
    margin-top: -40px;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.85) 0%,
        #ffffff 20%
    );
}

.gated-content__icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--surface-secondary);
    color: var(--text-color-muted);
}

.gated-content__icon svg {
    width: 22px;
    height: 22px;
}

.gated-content__label {
    font-size: 15px;
    font-weight: var(--font-weight-semibold);
    color: var(--text-color);
    line-height: 1.4;
}

.gated-content__sublabel {
    font-size: 13px;
    color: var(--text-color-secondary);
    max-width: 340px;
}

.gated-content__cta {
    margin-top: 4px;
}

/* 티어별 gated 아이콘 배경 */
.gated-content__icon--basic { background: var(--tier-basic-bg); color: var(--tier-basic); }
.gated-content__icon--pro { background: var(--tier-pro-bg); color: var(--tier-pro); }
.gated-content__icon--premium { background: var(--tier-premium-bg); color: var(--tier-premium); }

/* ── 5-A. 잠금 카드 글로우/보더 (뉴스레터 + 라이브러리) ── */
.newsletter-card--locked {
    position: relative;
    overflow: hidden;
}
.newsletter-card--locked-basic {
    border: 1.5px solid rgba(160, 160, 160, 0.35);
    box-shadow: 0 0 18px var(--tier-basic-glow), 0 4px 16px rgba(0,0,0,0.04);
}
.newsletter-card--locked-pro {
    border: 1.5px solid rgba(212, 160, 23, 0.4);
    box-shadow: 0 0 22px var(--tier-pro-glow), 0 0 44px rgba(212, 160, 23, 0.06);
}
.newsletter-card--locked-premium {
    border: 1.5px solid rgba(126, 200, 227, 0.4);
    box-shadow: 0 0 22px var(--tier-premium-glow), 0 0 44px rgba(126, 200, 227, 0.06);
}
.newsletter-card--locked:hover {
    transform: translateY(-4px);
}
.newsletter-card--locked-pro:hover {
    box-shadow: 0 0 32px var(--tier-pro-glow), 0 0 56px rgba(212, 160, 23, 0.1);
}
.newsletter-card--locked-premium:hover {
    box-shadow: 0 0 32px var(--tier-premium-glow), 0 0 56px rgba(126, 200, 227, 0.1);
}

/* ── 5-B. 잠금 카드 커버 오버레이 ── */
.newsletter-card__cover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.45) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    opacity: 0.85;
    transition: opacity 0.3s ease;
    z-index: 2;
}
.newsletter-card--locked:hover .newsletter-card__cover-overlay {
    opacity: 1;
}
.newsletter-card__cover-overlay svg {
    width: 28px;
    height: 28px;
    color: #fff;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}
.newsletter-card__cover-overlay-text {
    font-size: 11px;
    font-weight: var(--font-weight-semibold);
    color: #fff;
    letter-spacing: 0.04em;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.newsletter-card__cover-cta {
    font-size: 11px;
    font-weight: var(--font-weight-medium);
    color: rgba(255,255,255,0.8);
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.newsletter-card--locked:hover .newsletter-card__cover-cta {
    opacity: 1;
    transform: translateY(0);
}

/* ── 5-C. 잠금 카드 하단 업그레이드 배너 ── */
.newsletter-card__upgrade-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    font-size: 12px;
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.01em;
    color: #fff;
    text-decoration: none;
    transition: filter 0.2s;
}
.newsletter-card__upgrade-bar:hover { filter: brightness(1.1); }
.newsletter-card__upgrade-bar svg { width: 12px; height: 12px; flex-shrink: 0; }
.newsletter-card__upgrade-bar--basic { background: var(--tier-basic); }
.newsletter-card__upgrade-bar--pro { background: linear-gradient(90deg, var(--tier-pro), #E8B500); }
.newsletter-card__upgrade-bar--premium { background: linear-gradient(90deg, var(--tier-premium), #A8D8EA); }

/* ── 5-D. 잠금 카드 excerpt fade-out 효과 ── */
.newsletter-card--locked .newsletter-card__excerpt {
    position: relative;
    -webkit-line-clamp: 3;
}
.newsletter-card--locked .newsletter-card__excerpt::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 24px;
    background: linear-gradient(to bottom, transparent, var(--surface-color));
    pointer-events: none;
}

/* ── 5-E. Social Proof 뱃지 ── */
.social-proof {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--text-color-muted);
}
.social-proof svg {
    width: 12px;
    height: 12px;
    opacity: 0.6;
}
.social-proof--hot {
    color: var(--accent-color);
}
.social-proof--hot svg { opacity: 0.9; }

/* ── 5-F. 업그레이드 프로모션 배너 (뉴스레터 + 라이브러리) ── */
.upgrade-promo {
    border-radius: var(--radius-large);
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
    position: relative;
    overflow: hidden;
}
.upgrade-promo--basic {
    background: linear-gradient(135deg, rgba(160,160,160,0.08) 0%, rgba(160,160,160,0.03) 100%);
    border: 1px solid rgba(160,160,160,0.18);
}
.upgrade-promo--pro {
    background: linear-gradient(135deg, rgba(212,160,23,0.08) 0%, rgba(212,160,23,0.02) 100%);
    border: 1px solid rgba(212,160,23,0.18);
}
.upgrade-promo--premium {
    background: linear-gradient(135deg, rgba(126,200,227,0.08) 0%, rgba(126,200,227,0.02) 100%);
    border: 1px solid rgba(126,200,227,0.18);
}
.upgrade-promo__header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    color: var(--text-color);
    letter-spacing: -0.02em;
}
.upgrade-promo__header svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}
.upgrade-promo__benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    font-size: 13px;
    color: var(--text-color-secondary);
}
.upgrade-promo__benefit {
    display: flex;
    align-items: center;
    gap: 5px;
}
.upgrade-promo__benefit svg {
    width: 14px;
    height: 14px;
    color: var(--tier-pro);
    flex-shrink: 0;
}
.upgrade-promo__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.upgrade-promo__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: var(--font-weight-semibold);
    color: #fff;
    text-decoration: none;
    transition: filter 0.2s, transform 0.2s;
}
.upgrade-promo__cta:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}
.upgrade-promo__cta--pro { background: linear-gradient(90deg, var(--tier-pro), #E8B500); }
.upgrade-promo__cta--premium { background: linear-gradient(90deg, var(--tier-premium), #A8D8EA); }
.upgrade-promo__cta--basic { background: var(--tier-basic); }
.upgrade-promo__price {
    font-size: 13px;
    color: var(--text-color-muted);
}
@media (max-width: 640px) {
    .upgrade-promo { padding: 20px; }
    .upgrade-promo__footer { flex-direction: column; align-items: flex-start; }
}

/* ── 5-G. 인기 잠금 글 추천 섹션 ── */
.locked-popular {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--line-color);
}
.locked-popular__title {
    font-size: 17px;
    font-weight: var(--font-weight-semibold);
    color: var(--text-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.locked-popular__title svg {
    width: 18px;
    height: 18px;
    color: var(--tier-pro);
}

/* ── 5-H. Gated 오버레이 강화 (플랜 비교 + 혜택) ── */
.gated-plan-compare {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 8px 0;
}
.gated-plan-card {
    padding: 14px 20px;
    border-radius: 16px;
    text-align: center;
    min-width: 120px;
}
.gated-plan-card--current {
    background: var(--surface-secondary);
    border: 1px solid var(--line-color);
}
.gated-plan-card--required {
    border: 1.5px solid var(--tier-pro);
    background: var(--tier-pro-bg);
    box-shadow: 0 0 16px var(--tier-pro-glow);
}
.gated-plan-card--required.gated-plan-card--premium {
    border-color: var(--tier-premium);
    background: var(--tier-premium-bg);
    box-shadow: 0 0 16px var(--tier-premium-glow);
}
.gated-plan-card--required.gated-plan-card--basic {
    border-color: var(--tier-basic);
    background: var(--tier-basic-bg);
    box-shadow: 0 0 16px var(--tier-basic-glow);
}
.gated-plan-card__name {
    font-size: 13px;
    font-weight: var(--font-weight-semibold);
    margin-bottom: 4px;
}
.gated-plan-card__price {
    font-size: 11px;
    color: var(--text-color-secondary);
}
.gated-plan-arrow {
    font-size: 18px;
    color: var(--text-color-muted);
}
.gated-daily-price {
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    color: var(--text-color);
    margin: 4px 0;
}
.gated-benefits {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
    max-width: 300px;
    margin: 8px auto;
}
.gated-benefit-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-color-secondary);
}
.gated-benefit-item svg {
    width: 14px;
    height: 14px;
    color: var(--tier-pro);
    flex-shrink: 0;
}
.gated-social-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 12px;
    color: var(--text-color-muted);
    margin-top: 4px;
}
.gated-social-proof svg {
    width: 14px;
    height: 14px;
    opacity: 0.6;
}

/* ── 5-I. 라이브러리 잠금 카드 스타일 ── */
.lib-card--locked .product-visual {
    position: relative;
    opacity: 1;
    filter: none;
}
.lib-card--locked .product-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(4px) grayscale(0.3);
    -webkit-backdrop-filter: blur(4px) grayscale(0.3);
    border-radius: inherit;
    z-index: 1;
}
.lib-card__lock-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: grid;
    place-items: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.lib-card__lock-badge svg {
    width: 20px;
    height: 20px;
}
.lib-card__lock-badge--pro { color: var(--tier-pro); }
.lib-card__lock-badge--premium { color: var(--tier-premium); }
.lib-card__lock-badge--basic { color: var(--tier-basic); }
.lib-card--locked-basic {
    border: 1.5px solid rgba(160,160,160,0.3);
    box-shadow: 0 0 16px var(--tier-basic-glow);
}
.lib-card--locked-pro {
    border: 1.5px solid rgba(212,160,23,0.3);
    box-shadow: 0 0 20px var(--tier-pro-glow);
}
.lib-card--locked-premium {
    border: 1.5px solid rgba(126,200,227,0.3);
    box-shadow: 0 0 20px var(--tier-premium-glow);
}
.lib-card__tier-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: var(--font-weight-semibold);
    border-radius: var(--radius-pill);
    border: none;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    transition: filter 0.2s, transform 0.2s;
}
.lib-card__tier-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}
.lib-card__tier-btn--basic { background: var(--tier-basic); }
.lib-card__tier-btn--pro { background: linear-gradient(90deg, var(--tier-pro), #E8B500); }
.lib-card__tier-btn--premium { background: linear-gradient(90deg, var(--tier-premium), #A8D8EA); color: #1a1a2e; }
.lib-card__tier-btn svg { width: 12px; height: 12px; }

/* ── 6. 뉴스레터 글 상세 레이아웃 ── */
.article-layout {
    max-width: 680px;
    margin: 0 auto;
    padding: 32px var(--page-padding) 80px;
}

.article-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--line-color);
    margin-bottom: 32px;
}

.article-header__category {
    font-size: 12px;
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent-color);
}

.article-header__title {
    font-size: clamp(26px, 4vw, 36px);
    font-weight: var(--font-weight-bold);
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin: 0;
}

.article-header__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-color-muted);
}

.article-header__meta-dot {
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: var(--text-color-tertiary);
}

.article-cover {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-large);
    overflow: hidden;
    margin-bottom: 32px;
    background: var(--surface-secondary);
}

.article-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.article-body {
    font-size: 17px;
    line-height: 1.75;
    color: var(--text-color);
    letter-spacing: -0.01em;
}

.article-body p {
    margin: 0 0 1.4em;
}

.article-body h2 {
    font-size: 22px;
    font-weight: var(--font-weight-semibold);
    margin: 2em 0 0.6em;
    letter-spacing: -0.02em;
}

.article-body h3 {
    font-size: 18px;
    font-weight: var(--font-weight-semibold);
    margin: 1.6em 0 0.5em;
}

.article-body img {
    width: 100%;
    border-radius: var(--radius-medium);
    margin: 1.2em 0;
}

.article-body blockquote {
    margin: 1.4em 0;
    padding: 16px 20px;
    border-left: 3px solid var(--accent-color);
    background: var(--accent-soft);
    border-radius: 0 var(--radius-medium) var(--radius-medium) 0;
    font-size: 15px;
    color: var(--text-color-secondary);
}

.article-body ul,
.article-body ol {
    padding-left: 1.4em;
    margin: 0.8em 0 1.4em;
}

.article-body li {
    margin-bottom: 0.3em;
}

/* ── 7. 쿠폰 입력 필드 ── */
.coupon-field {
    display: flex;
    gap: 8px;
    align-items: center;
}

.coupon-field input {
    flex: 1;
    min-width: 0;
}

.coupon-field .btn {
    flex-shrink: 0;
    white-space: nowrap;
}

/* ── 8. 뉴스레터 메인 히어로 ── */
.newsletter-hero {
    padding: 80px var(--page-padding) 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.newsletter-hero__kicker {
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-color-muted);
    font-weight: var(--font-weight-semibold);
}

.newsletter-hero__title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: var(--font-weight-bold);
    letter-spacing: -0.025em;
    line-height: 1.15;
    margin: 0;
}

.newsletter-hero__subtitle {
    font-size: 15px;
    color: var(--text-color-secondary);
    max-width: 480px;
}
.newsletter-hero__stats {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.stat-pill {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    background: var(--accent-soft);
    color: var(--accent-color);
    font-size: 12px;
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.01em;
}

@media (max-width: 640px) {
    .newsletter-hero {
        padding: 60px var(--page-padding-mobile) 24px;
    }

    .article-layout {
        padding: var(--page-padding-mobile) var(--page-padding-mobile) 60px;
    }
}


/* ═══════════════════════════════════════════════════════════════════
   잠금 카드 글로우 시스템 — 티어별 발광 + 자물쇠 배지 + 업그레이드 유도
   ═══════════════════════════════════════════════════════════════════ */

/* ── 티어 글로우 pulse 애니메이션 ── */
@keyframes tierGlowPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* ── 잠금 카드 공용 스타일 ── */
.locked-card {
    position: relative;
    cursor: pointer;
}

/* 티어별 글로우 보더 — 은은한 box-shadow */
.locked-card--basic {
    box-shadow: 0 0 0 1px rgba(160, 160, 160, 0.12),
                0 0 16px var(--tier-basic-glow),
                var(--shadow-card);
}

.locked-card--pro {
    box-shadow: 0 0 0 1px rgba(212, 160, 23, 0.15),
                0 0 20px var(--tier-pro-glow),
                var(--shadow-card);
}

.locked-card--premium {
    box-shadow: 0 0 0 1px rgba(126, 200, 227, 0.18),
                0 0 24px var(--tier-premium-glow),
                var(--shadow-card);
}

/* 호버 시 글로우 강화 (살짝만) */
.locked-card--basic:hover {
    box-shadow: 0 0 0 1.5px rgba(160, 160, 160, 0.2),
                0 0 24px rgba(160, 160, 160, 0.2),
                var(--shadow-card-hover);
}

.locked-card--pro:hover {
    box-shadow: 0 0 0 1.5px rgba(212, 160, 23, 0.22),
                0 0 28px rgba(212, 160, 23, 0.24),
                var(--shadow-card-hover);
}

.locked-card--premium:hover {
    box-shadow: 0 0 0 1.5px rgba(126, 200, 227, 0.25),
                0 0 32px rgba(126, 200, 227, 0.28),
                var(--shadow-card-hover);
}

/* ── Glassmorphism 자물쇠 배지 ── */
.lock-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.6);
    animation: tierGlowPulse 3s ease-in-out infinite;
}

.lock-badge svg {
    width: 16px;
    height: 16px;
}

/* 티어별 자물쇠 배지 색상 */
.lock-badge--basic {
    color: var(--tier-basic);
    border-color: rgba(160, 160, 160, 0.3);
}

.lock-badge--pro {
    color: var(--tier-pro);
    border-color: rgba(212, 160, 23, 0.3);
    background: rgba(255, 253, 240, 0.7);
}

.lock-badge--premium {
    color: var(--tier-premium);
    border-color: rgba(126, 200, 227, 0.35);
    background: rgba(240, 250, 255, 0.7);
}

/* ── 중앙 배치 자물쇠 변형 (56px + glow) ── */
.lock-badge--center {
    top: 50%;
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10),
                0 0 0 1px rgba(255, 255, 255, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.7);
    animation: lockCenterGlow 2.5s ease-in-out infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lock-badge--center svg {
    width: 22px;
    height: 22px;
}

/* 티어별 중앙 자물쇠 glow */
.lock-badge--center.lock-badge--basic {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10),
                0 0 20px rgba(160, 160, 160, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.lock-badge--center.lock-badge--pro {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10),
                0 0 24px rgba(212, 160, 23, 0.30),
                inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.lock-badge--center.lock-badge--premium {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10),
                0 0 28px rgba(126, 200, 227, 0.35),
                inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

/* 중앙 자물쇠 아래 라벨 텍스트 */
.lock-badge-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 22px);
    z-index: 3;
    font-size: 11px;
    font-weight: var(--font-weight-semibold);
    white-space: nowrap;
    letter-spacing: 0.02em;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.lock-badge-label--basic { color: var(--tier-basic); }
.lock-badge-label--pro { color: #B8860B; }
.lock-badge-label--premium { color: var(--tier-premium); }

/* 배지 내부 라벨 (lock-badge__label — 내부 span 패턴) */
.lock-badge__label {
    display: block;
    font-size: 9px;
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.04em;
    margin-top: 1px;
    white-space: nowrap;
}

.lock-badge--center .lock-badge__label {
    font-size: 10px;
}

/* 중앙 자물쇠일 때 아이콘+라벨 세로 배치 */
.lock-badge--center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

/* 중앙 자물쇠 전용 glow 애니메이션 */
@keyframes lockCenterGlow {
    0%, 100% {
        opacity: 0.85;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.06);
    }
}

/* 중앙 자물쇠 호버 시 강조 */
.locked-card:hover .lock-badge--center {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 6px 32px rgba(0, 0, 0, 0.14),
                0 0 36px rgba(206, 0, 0, 0.12),
                inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.locked-card:hover .lock-badge--center.lock-badge--pro {
    box-shadow: 0 6px 32px rgba(0, 0, 0, 0.14),
                0 0 36px rgba(212, 160, 23, 0.35),
                inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.locked-card:hover .lock-badge--center.lock-badge--premium {
    box-shadow: 0 6px 32px rgba(0, 0, 0, 0.14),
                0 0 36px rgba(126, 200, 227, 0.40),
                inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* ── 잠금 카드 내 콘텐츠 흐림 처리 ── */
.locked-card .product-visual,
.locked-card .newsletter-card__cover img {
    filter: grayscale(0.3) brightness(0.92);
    opacity: 0.65;
    transition: filter 0.4s ease, opacity 0.4s ease;
}

.locked-card:hover .product-visual,
.locked-card:hover .newsletter-card__cover img {
    filter: grayscale(0.15) brightness(0.96);
    opacity: 0.8;
}

/* ── 잠금 카드 하단 업그레이드 CTA 버튼 ── */
.locked-upgrade-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: var(--font-weight-semibold);
    border-radius: var(--radius-pill);
    border: 1.5px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.locked-upgrade-btn svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

.locked-upgrade-btn--basic {
    color: var(--tier-basic);
    background: var(--tier-basic-bg);
    border-color: rgba(160, 160, 160, 0.2);
}

.locked-upgrade-btn--basic:hover {
    background: rgba(160, 160, 160, 0.15);
    color: #808080;
}

.locked-upgrade-btn--pro {
    color: #B8860B;
    background: var(--tier-pro-bg);
    border-color: rgba(212, 160, 23, 0.2);
}

.locked-upgrade-btn--pro:hover {
    background: rgba(212, 160, 23, 0.14);
    color: #996600;
}

.locked-upgrade-btn--premium {
    color: var(--tier-premium);
    background: var(--tier-premium-bg);
    border-color: rgba(126, 200, 227, 0.25);
}

.locked-upgrade-btn--premium:hover {
    background: rgba(126, 200, 227, 0.15);
    color: #5BA8C4;
}

/* ── 업그레이드 프로모션 배너 (라이브러리/뉴스레터 상단) ── */
.upgrade-promo-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, rgba(212, 160, 23, 0.06) 0%, rgba(126, 200, 227, 0.04) 100%);
    border: 1px solid rgba(212, 160, 23, 0.12);
    border-radius: var(--radius-large);
}

.upgrade-promo-banner__icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--tier-pro-bg);
    color: var(--tier-pro);
    flex-shrink: 0;
}

.upgrade-promo-banner__icon svg {
    width: 20px;
    height: 20px;
}

.upgrade-promo-banner__text {
    flex: 1;
    min-width: 0;
}

.upgrade-promo-banner__title {
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    color: var(--text-color);
    margin-bottom: 2px;
}

.upgrade-promo-banner__desc {
    font-size: 12px;
    color: var(--text-color-secondary);
}

.upgrade-promo-banner__cta {
    padding: 8px 16px;
    font-size: 12px;
    font-weight: var(--font-weight-semibold);
    color: #B8860B;
    background: var(--tier-pro-bg);
    border: 1px solid rgba(212, 160, 23, 0.2);
    border-radius: var(--radius-pill);
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.upgrade-promo-banner__cta:hover {
    background: rgba(212, 160, 23, 0.14);
    color: #996600;
}

@media (max-width: 600px) {
    .upgrade-promo-banner {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        padding: 16px;
    }
    .upgrade-promo-banner__cta {
        width: 100%;
        text-align: center;
        padding: 10px 16px;
    }
}

/* ── CTA 잠금 스타일 (불스리서치 입장 Premium 잠금) ── */
.cta-locked {
    position: relative;
    opacity: 0.92;
}
.cta-lock-icon {
    width: 16px;
    height: 16px;
    vertical-align: -2px;
    margin-right: 4px;
}
.cta-tier-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--tier-premium, #7EC8E3);
    color: #fff;
    margin-left: 8px;
    vertical-align: 1px;
}

/* ── Premium 업그레이드 모달 ── */
.premium-upgrade-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}
.premium-upgrade-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}
.premium-upgrade-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.premium-upgrade-modal__content {
    position: relative;
    background: #fff;
    border-radius: var(--border-radius-medium, 20px);
    padding: 40px 36px 32px;
    max-width: 400px;
    width: 90vw;
    text-align: center;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
    transform: translateY(20px) scale(0.96);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.premium-upgrade-modal.is-open .premium-upgrade-modal__content {
    transform: translateY(0) scale(1);
}
.premium-upgrade-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: grid;
    place-items: center;
    color: var(--text-color-secondary);
    transition: background 0.15s;
}
.premium-upgrade-modal__close:hover {
    background: rgba(0, 0, 0, 0.1);
}
.premium-upgrade-modal__icon {
    margin-bottom: 16px;
    color: var(--tier-premium, #7EC8E3);
    width: 72px;
    height: 72px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 50%;
    background: rgba(126, 200, 227, 0.08);
    display: grid;
    place-items: center;
    box-shadow: 0 0 24px rgba(126, 200, 227, 0.2);
    animation: lockCenterGlow 2.5s ease-in-out infinite;
}
.premium-upgrade-modal__icon svg {
    width: 32px;
    height: 32px;
}
.premium-upgrade-modal__title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 10px;
    color: var(--text-color);
}
.premium-upgrade-modal__desc {
    font-size: 14px;
    color: var(--text-color-secondary);
    line-height: 1.6;
    margin: 0 0 24px;
}
.premium-upgrade-modal__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.premium-upgrade-modal__actions .btn-primary {
    width: 100%;
}
.premium-upgrade-modal__actions .btn-ghost {
    background: none;
    border: none;
    color: var(--text-color-secondary);
    font-size: 13px;
    cursor: pointer;
    padding: 8px;
}
.premium-upgrade-modal__actions .btn-ghost:hover {
    color: var(--text-color);
}

/* ── 메인 서비스 카드 섹션 ── */
.service-cards-section {
    padding: 0 var(--page-padding, 20px);
    max-width: var(--page-max-width, 1200px);
    margin: 0 auto 48px;
}
.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 36px 24px 28px;
    background: #fff;
    border-radius: var(--border-radius-medium, 20px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    text-decoration: none;
    color: var(--text-color);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}
.service-card__icon {
    width: 52px;
    height: 52px;
    margin-bottom: 16px;
    padding: 12px;
    border-radius: 16px;
    color: var(--accent-color);
    background: var(--accent-soft, rgba(206, 0, 0, 0.06));
    transition: transform 0.2s ease;
}
.service-card:hover .service-card__icon {
    transform: scale(1.08);
}
.service-card__title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px;
}
.service-card__desc {
    font-size: 13px;
    color: var(--text-color-secondary);
    line-height: 1.5;
    margin: 0;
}
.service-card__arrow {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-color, #CE0000);
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    margin-top: 4px;
}
.service-card:hover .service-card__arrow {
    opacity: 1;
    transform: translateY(0);
}
.service-card__icon--newsletter {
    color: var(--accent-color, #CE0000);
    background: rgba(206, 0, 0, 0.06);
}
.service-card__icon--ticker {
    color: var(--tier-pro, #D4A017);
    background: rgba(212, 160, 23, 0.06);
}
.service-card__icon--library {
    color: var(--tier-premium, #7EC8E3);
    background: rgba(126, 200, 227, 0.08);
}
@media (max-width: 768px) {
    .service-cards-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .service-card {
        flex-direction: row;
        text-align: left;
        padding: 20px 24px;
        gap: 16px;
    }
    .service-card__icon {
        margin-bottom: 0;
        flex-shrink: 0;
    }
    .service-card__arrow {
        display: none;
    }
}

/* ── 잠금 아이콘 중앙 배치 변형 (최종 통합) ── */
/* 참고: 기본 .lock-badge--center는 위 ~라인 4985에 선언됨. 여기는 추가 보완 */

/* 중앙 잠금 + 블러 오버레이 (커버 영역 전체) */
.lock-cover-blur {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(6px) grayscale(0.25);
    -webkit-backdrop-filter: blur(6px) grayscale(0.25);
    border-radius: inherit;
    z-index: 2;
    transition: backdrop-filter 0.3s ease, background 0.3s ease;
}
.locked-card:hover .lock-cover-blur {
    backdrop-filter: blur(4px) grayscale(0.15);
    -webkit-backdrop-filter: blur(4px) grayscale(0.15);
    background: rgba(255, 255, 255, 0.2);
}

/* 중앙 잠금 시 기존 filter/opacity 대신 블러 오버레이 사용 */
.locked-card--center-lock .product-visual,
.locked-card--center-lock .newsletter-card__cover img {
    filter: none;
    opacity: 1;
}

/* 중앙 잠금 라벨 그룹 (아이콘 + 티어 텍스트) */
.lock-center-group {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    pointer-events: none;
}
.lock-center-group .lock-badge--center {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
}
.locked-card:hover .lock-center-group .lock-badge--center {
    transform: scale(1.08);
}
.lock-center-group__text {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    white-space: nowrap;
}
.lock-center-group--basic .lock-center-group__text { color: var(--tier-basic); }
.lock-center-group--pro .lock-center-group__text { color: #B8860B; }
.lock-center-group--premium .lock-center-group__text { color: var(--tier-premium); }

/* ── 홈 — 무료 뉴스레터 미리보기 섹션 ── */
.free-newsletter-section {
    padding: 0 var(--page-padding);
}

.free-newsletter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.free-newsletter-card {
    background: var(--surface-color);
    border-radius: var(--radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
    display: flex;
    flex-direction: column;
}

.free-newsletter-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
    transition-timing-function: var(--spring-gentle);
}

.free-newsletter-card:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: var(--shadow-card-pressed);
    transition-duration: 0.1s;
}

.free-newsletter-card__cover {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--surface-secondary);
    position: relative;
}

/* FREE 배지 */
.free-newsletter-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    background: rgba(34, 197, 94, 0.9);
    color: #fff;
    font-size: 10px;
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1;
}

/* 빈 커버 플레이스홀더 */
.free-newsletter-card__cover--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--surface-secondary) 0%, rgba(206, 0, 0, 0.03) 100%);
}

.free-newsletter-card__cover--empty::after {
    content: 'BULLS RESEARCH';
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-color-tertiary);
    font-weight: var(--font-weight-semibold);
}

.free-newsletter-card__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.free-newsletter-card:hover .free-newsletter-card__cover img {
    transform: scale(1.04);
}

.free-newsletter-card__body {
    padding: 16px 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.free-newsletter-card__category {
    font-size: 11px;
    font-weight: var(--font-weight-semibold);
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.free-newsletter-card__title {
    font-size: 15px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.35;
    letter-spacing: var(--letter-tight);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.free-newsletter-card__excerpt {
    font-size: 13px;
    color: var(--text-color-secondary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.free-newsletter-card__meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-color-muted);
    margin-top: auto;
    padding-top: 6px;
}

.free-newsletter-card__meta-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--text-color-tertiary);
}

.free-newsletter-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: var(--font-weight-semibold);
    color: var(--accent-color);
    margin-top: auto;
    padding-top: 8px;
    transition: gap var(--transition-fast);
}

.free-newsletter-card:hover .free-newsletter-card__cta {
    gap: 8px;
}

.free-newsletter-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.free-newsletter-card__link:hover {
    color: inherit;
}

.section-more-link {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.section-more-link a {
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    color: var(--text-color-secondary);
    transition: color var(--transition-fast);
}

.section-more-link a:hover {
    color: var(--accent-color);
}

/* ── 홈 — 잠긴 콘텐츠 티저 섹션 ── */
.locked-teaser-section {
    padding: 0 var(--page-padding);
}

.locked-teaser-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.locked-teaser-card {
    background: var(--surface-color);
    border-radius: var(--radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    position: relative;
    transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
}

.locked-teaser-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.locked-teaser-card__link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.locked-teaser-card__link:hover {
    color: inherit;
}

.locked-teaser-card__cover {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--surface-secondary);
    position: relative;
}

.locked-teaser-card__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(4px) saturate(0.7);
    transform: scale(1.08);
    transition: filter 0.3s ease;
}

.locked-teaser-card:hover .locked-teaser-card__cover img {
    filter: blur(3px) saturate(0.8);
}

.locked-teaser-card__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.25);
    z-index: 2;
}

/* 중앙 자물쇠 아이콘 */
.locked-teaser-card__lock-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.3s var(--spring-gentle);
}

.locked-teaser-card:hover .locked-teaser-card__lock-icon {
    transform: scale(1.08);
}

.locked-teaser-card__lock-icon svg {
    width: 22px;
    height: 22px;
}

.locked-teaser-card__overlay svg:not(.locked-teaser-card__lock-icon svg) {
    width: 32px;
    height: 32px;
    color: #fff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* 티어 라벨 */
.locked-teaser-card__tier-label {
    font-size: 11px;
    font-weight: var(--font-weight-semibold);
    color: #fff;
    padding: 3px 12px;
    border-radius: var(--radius-pill);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    white-space: nowrap;
}

/* 티어별 색상 */
.locked-teaser-card--basic .locked-teaser-card__lock-icon { color: var(--tier-basic); }
.locked-teaser-card--pro .locked-teaser-card__lock-icon { color: var(--tier-pro); }
.locked-teaser-card--premium .locked-teaser-card__lock-icon { color: var(--tier-premium); }

.locked-teaser-card--basic .locked-teaser-card__tier-label { background: rgba(160, 160, 160, 0.7); }
.locked-teaser-card--pro .locked-teaser-card__tier-label { background: rgba(180, 134, 11, 0.7); }
.locked-teaser-card--premium .locked-teaser-card__tier-label { background: rgba(126, 200, 227, 0.7); }

/* 하단 업그레이드 바 */
.locked-teaser-card__upgrade {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    font-size: 12px;
    font-weight: var(--font-weight-semibold);
    color: #fff;
    text-decoration: none;
    transition: filter 0.2s ease;
}

.locked-teaser-card__upgrade:hover {
    filter: brightness(1.1);
    color: #fff;
}

.locked-teaser-card__upgrade svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

.locked-teaser-card--basic .locked-teaser-card__upgrade { background: var(--tier-basic); }
.locked-teaser-card--pro .locked-teaser-card__upgrade { background: linear-gradient(90deg, var(--tier-pro), #E8B500); }
.locked-teaser-card--premium .locked-teaser-card__upgrade { background: linear-gradient(90deg, var(--tier-premium), #A8D8EA); }

.locked-teaser-card__body {
    padding: 16px 18px 20px;
}

.locked-teaser-card__title {
    font-size: 15px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.35;
    letter-spacing: var(--letter-tight);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 4px;
}

.locked-teaser-card__excerpt {
    font-size: 13px;
    color: var(--text-color-secondary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
    position: relative;
}

.locked-teaser-card__excerpt::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 18px;
    background: linear-gradient(transparent, var(--surface-color));
    pointer-events: none;
}

.locked-teaser-cta {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.locked-teaser-cta a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    color: var(--accent-color);
    transition: gap var(--transition-fast);
}

.locked-teaser-cta a:hover {
    gap: 10px;
}

/* ── 홈 — 미니 구독 플랜 비교표 ── */
.mini-plan-section {
    padding: 0 var(--page-padding);
}

.mini-plan-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 20px;
}

.mini-plan-card {
    background: var(--surface-color);
    border-radius: var(--radius-large);
    padding: 28px 20px 24px;
    text-align: center;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s var(--ease-out-expo);
    border: 1.5px solid transparent;
    position: relative;
}

.mini-plan-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.mini-plan-card--recommended {
    border-color: var(--accent-color);
    position: relative;
}

.mini-plan-card__badge {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    font-weight: var(--font-weight-bold);
    color: #fff;
    background: var(--accent-color);
    padding: 3px 14px;
    border-radius: var(--radius-pill);
    white-space: nowrap;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.mini-plan-card__name {
    font-size: 15px;
    font-weight: var(--font-weight-bold);
    letter-spacing: var(--letter-tight);
}

.mini-plan-card__price {
    font-size: 24px;
    font-weight: var(--font-weight-bold);
    letter-spacing: -0.03em;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.mini-plan-card__price small {
    font-size: 13px;
    font-weight: var(--font-weight-regular);
    color: var(--text-color-secondary);
}

.mini-plan-card__desc {
    font-size: 12px;
    color: var(--text-color-secondary);
    line-height: 1.45;
    min-height: 36px;
}

/* 기능 체크리스트 */
.mini-plan-card__features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 12px;
    color: var(--text-color-secondary);
    line-height: 1.4;
    width: 100%;
}

.mini-plan-card__features li {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
}

.mini-plan-card__features li::before {
    content: '';
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: rgba(34, 197, 94, 0.12);
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M3.5 7.5l2.5 2.5 4.5-5' stroke='%2322c55e' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 14px;
}

.mini-plan-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 11px 20px;
    border-radius: var(--radius-button);
    font-size: 13px;
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-smooth);
    margin-top: auto;
    border: none;
}

.mini-plan-card__cta--free {
    background: var(--surface-secondary);
    color: var(--text-color);
}

.mini-plan-card__cta--free:hover {
    background: rgba(0, 0, 0, 0.08);
    color: var(--text-color);
}

.mini-plan-card__cta--paid {
    background: #1d1d1f;
    color: #fff;
}

.mini-plan-card__cta--paid:hover {
    background: #000;
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

/* 추천 플랜 CTA 강조 */
.mini-plan-card--recommended .mini-plan-card__cta--paid {
    background: var(--accent-color);
}

.mini-plan-card--recommended .mini-plan-card__cta--paid:hover {
    background: var(--accent-deep);
    box-shadow: 0 4px 14px rgba(206, 0, 0, 0.2);
}

.mini-plan-more {
    display: flex;
    justify-content: center;
    margin-top: 16px;
}

.mini-plan-more a {
    font-size: 13px;
    color: var(--text-color-secondary);
    font-weight: var(--font-weight-medium);
}

.mini-plan-more a:hover {
    color: var(--accent-color);
}

/* ── 뉴스레터 히어로 — 강화 (CTA + 티어 표시) ── */
.newsletter-hero__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}

.newsletter-hero__tier-info {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-color-secondary);
}

.newsletter-hero__cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 28px;
    border-radius: var(--radius-button);
    background: #1d1d1f;
    color: #fff;
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    text-decoration: none;
    transition: all var(--transition-smooth);
    border: none;
}

.newsletter-hero__cta-btn:hover {
    background: #000;
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.newsletter-hero__tier-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: var(--font-weight-semibold);
    background: var(--accent-soft);
    color: var(--accent-color);
}

.newsletter-hero__cta-note {
    font-size: 12px;
    color: var(--text-color-muted);
}

/* ── 뉴스레터 — 무료 글 하이라이트 영역 ── */
.newsletter-free-highlight {
    padding: 0 var(--page-padding);
    margin-bottom: 32px;
}

.newsletter-free-highlight__banner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    border-radius: var(--radius-large);
    background: rgba(34, 197, 94, 0.05);
    border: 1px solid rgba(34, 197, 94, 0.12);
    margin-bottom: 18px;
}

.newsletter-free-highlight__icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.newsletter-free-highlight__icon svg {
    width: 20px;
    height: 20px;
}

.newsletter-free-highlight__banner-text {
    flex: 1;
}

.newsletter-free-highlight__banner-title {
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    color: var(--text-color);
}

.newsletter-free-highlight__banner-desc {
    font-size: 13px;
    color: var(--text-color-secondary);
}

.newsletter-free-highlight__title {
    font-size: 18px;
    font-weight: var(--font-weight-semibold);
    margin: 0 0 14px;
    letter-spacing: var(--tracking-heading);
}

.newsletter-free-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

/* ── 뉴스레터 — 인라인 업그레이드 배너 ── */
.newsletter-inline-upgrade {
    margin: 8px 0 24px;
    padding: 20px 24px;
    border-radius: var(--radius-large);
    background: linear-gradient(135deg, var(--accent-soft), rgba(206, 0, 0, 0.02));
    border: 1px solid rgba(206, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 16px;
}

.newsletter-inline-upgrade__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-inline-upgrade__icon svg {
    width: 20px;
    height: 20px;
    color: #fff;
}

.newsletter-inline-upgrade__text {
    flex: 1;
}

.newsletter-inline-upgrade__title {
    font-size: 15px;
    font-weight: var(--font-weight-semibold);
    margin-bottom: 2px;
}

.newsletter-inline-upgrade__desc {
    font-size: 13px;
    color: var(--text-color-secondary);
}

.newsletter-inline-upgrade__cta {
    flex-shrink: 0;
    padding: 10px 20px;
    border-radius: var(--radius-button);
    background: var(--accent-color);
    color: #fff;
    font-size: 13px;
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    transition: background var(--transition-fast);
}

.newsletter-inline-upgrade__cta:hover {
    background: var(--accent-deep);
    color: #fff;
}

/* ── 홈 — 뉴스레터 CTA 배너 ── */
.newsletter-cta-banner {
    padding: 0 var(--page-padding);
    margin-top: var(--space-xl);
}

.newsletter-cta-banner__inner {
    padding: 44px 32px;
    border-radius: var(--radius-large);
    background: linear-gradient(135deg, #0b0d12 0%, #1a1c24 100%);
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.newsletter-cta-banner__title {
    font-size: 24px;
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--tracking-heading);
    line-height: 1.2;
}

.newsletter-cta-banner__desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.65);
    max-width: 480px;
    line-height: 1.55;
}

.newsletter-cta-banner__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 32px;
    border-radius: var(--radius-button);
    background: #fff;
    color: #0b0d12;
    font-size: 15px;
    font-weight: var(--font-weight-medium);
    text-decoration: none;
    transition: all var(--transition-smooth);
    border: none;
}

.newsletter-cta-banner__btn:hover {
    background: var(--accent-color);
    color: #fff;
}

/* ── 모바일 반응형 — 퍼널 개편 섹션 ── */
@media (max-width: 960px) {
    .mini-plan-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .free-newsletter-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .locked-teaser-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .mini-plan-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .mini-plan-card {
        padding: 22px 16px 20px;
    }
    .mini-plan-card__price {
        font-size: 20px;
    }
    .mini-plan-card__features {
        font-size: 11px;
    }
    .newsletter-free-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .newsletter-inline-upgrade {
        flex-direction: column;
        text-align: center;
        padding: 16px 18px;
    }
    .newsletter-inline-upgrade__cta {
        width: 100%;
        text-align: center;
    }
    .newsletter-cta-banner__inner {
        padding: 32px 20px;
    }
    .newsletter-cta-banner__title {
        font-size: 20px;
    }
    .newsletter-free-highlight__banner {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    .newsletter-hero__actions {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .free-newsletter-grid {
        grid-template-columns: 1fr;
    }
    .mini-plan-grid {
        grid-template-columns: 1fr;
    }
}

/* ── 인스타그램 쿠폰 배너 (newsletter.html) ── */
.instagram-coupon-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: linear-gradient(135deg, #fafafa 0%, #fff5f5 100%);
    border: 1px solid var(--line-color);
    border-radius: var(--radius-large);
    margin: 0 var(--page-padding) 28px;
    max-width: 1100px;
}

.instagram-coupon-banner__icon {
    font-size: 28px;
    flex-shrink: 0;
}

.instagram-coupon-banner__text {
    flex: 1;
    min-width: 0;
}

.instagram-coupon-banner__text strong {
    display: block;
    font-size: 15px;
    font-weight: var(--font-weight-bold);
    margin-bottom: 2px;
}

.instagram-coupon-banner__text span {
    font-size: 13px;
    color: var(--text-color-secondary);
}

.instagram-coupon-banner__input {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.instagram-coupon-banner__input input {
    width: 160px;
    padding: 10px 14px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-medium);
    font-size: 13px;
    font-family: var(--font-family);
    background: var(--surface-color);
    outline: none;
    transition: border-color var(--transition-fast);
}

.instagram-coupon-banner__input input:focus {
    border-color: var(--accent-color);
}

.instagram-coupon-banner__input .btn {
    white-space: nowrap;
    padding: 10px 18px;
    font-size: 13px;
}

.instagram-coupon-banner__result {
    font-size: 13px;
    font-weight: var(--font-weight-medium);
    margin-top: 6px;
}

.instagram-coupon-banner__result--success {
    color: #16a34a;
}

.instagram-coupon-banner__result--error {
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .instagram-coupon-banner {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    .instagram-coupon-banner__input {
        width: 100%;
    }
    .instagram-coupon-banner__input input {
        flex: 1;
        width: auto;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   Designer 추가 — 가치 제안 + 잠긴 카드 글로우 + 히어로 stats + 하이라이트 badge
   ═══════════════════════════════════════════════════════════════════ */

/* ── 잠긴 티저 카드 — 티어별 보더 글로우 ── */
.locked-teaser-card--basic {
    border: 1.5px solid rgba(160, 160, 160, 0.25);
}
.locked-teaser-card--pro {
    border: 1.5px solid rgba(212, 160, 23, 0.3);
    box-shadow: 0 0 18px var(--tier-pro-glow), var(--shadow-card);
}
.locked-teaser-card--premium {
    border: 1.5px solid rgba(126, 200, 227, 0.3);
    box-shadow: 0 0 18px var(--tier-premium-glow), var(--shadow-card);
}
.locked-teaser-card--pro:hover {
    box-shadow: 0 0 28px var(--tier-pro-glow), var(--shadow-card-hover);
}
.locked-teaser-card--premium:hover {
    box-shadow: 0 0 28px var(--tier-premium-glow), var(--shadow-card-hover);
}

/* 잠긴 티저 카드 하단 업그레이드 바 */
.locked-teaser-card__upgrade {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    font-size: 12px;
    font-weight: var(--font-weight-semibold);
    color: #fff;
    text-decoration: none;
    transition: filter 0.2s;
    margin-top: 12px;
}
.locked-teaser-card__upgrade:hover {
    filter: brightness(1.1);
    color: #fff;
}
.locked-teaser-card__upgrade svg { width: 12px; height: 12px; flex-shrink: 0; }
.locked-teaser-card__upgrade--basic { background: var(--tier-basic); }
.locked-teaser-card__upgrade--pro { background: linear-gradient(90deg, var(--tier-pro), #E8B500); }
.locked-teaser-card__upgrade--premium { background: linear-gradient(90deg, var(--tier-premium), #A8D8EA); }

/* 잠긴 티저 excerpt fade-out */
.locked-teaser-card__excerpt {
    position: relative;
}
.locked-teaser-card__excerpt::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 18px;
    background: linear-gradient(to bottom, transparent, var(--surface-color));
    pointer-events: none;
}

/* ── 가치 제안 섹션 (index.html) ── */
.value-prop-section {
    padding: var(--space-xl) var(--page-padding);
    max-width: var(--page-max-width, 1200px);
    margin: 0 auto;
    text-align: center;
}

.value-prop-section .section-head {
    justify-content: center;
    margin-bottom: var(--space-lg);
}

.value-prop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 900px;
    margin: 20px auto 0;
}

.value-prop-card {
    background: var(--surface-color);
    border-radius: var(--radius-large);
    padding: 32px 24px 28px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.value-prop-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
}

.value-prop-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 24px;
    background: var(--accent-soft);
}

.value-prop-card__title {
    font-size: 16px;
    font-weight: var(--font-weight-bold);
    letter-spacing: -0.02em;
    margin: 0;
}

.value-prop-card__desc {
    font-size: 13px;
    color: var(--text-color-secondary);
    line-height: 1.55;
    margin: 0;
}

@media (max-width: 768px) {
    .value-prop-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        max-width: 400px;
    }
    .value-prop-card {
        flex-direction: row;
        text-align: left;
        padding: 20px 24px;
    }
    .value-prop-card__icon {
        flex-shrink: 0;
    }
}

/* ── 뉴스레터 히어로 stats 필 ── */
.newsletter-hero__stats {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 4px;
}

.newsletter-hero__stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    background: var(--surface-color);
    border: 1px solid var(--line-color);
    font-size: 12px;
    font-weight: var(--font-weight-medium);
    color: var(--text-color-secondary);
}

/* ── 뉴스레터 히어로 티어 뱃지 색상별 ── */
.newsletter-hero__tier-badge--free { background: var(--tier-free-bg); color: var(--tier-free); }
.newsletter-hero__tier-badge--basic { background: var(--tier-basic-bg); color: var(--tier-basic); }
.newsletter-hero__tier-badge--pro { background: var(--tier-pro-bg); color: var(--tier-pro); }
.newsletter-hero__tier-badge--premium { background: var(--tier-premium-bg); color: var(--tier-premium); }

/* ── 뉴스레터 무료 글 하이라이트 — 헤더 badge ── */
.newsletter-free-highlight__header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.newsletter-free-highlight__badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    background: rgba(50, 180, 50, 0.08);
    color: #2ea043;
    font-size: 10px;
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.03em;
}

/* ── 뉴스레터 쿠폰 배너 (newsletter.html 전용) ── */
.newsletter-coupon-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    margin: 0 var(--page-padding) 24px;
    background: var(--surface-color);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.newsletter-coupon-banner__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 20px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
}

.newsletter-coupon-banner__text {
    flex: 1;
    min-width: 0;
}

.newsletter-coupon-banner__title {
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    color: var(--text-color);
}

.newsletter-coupon-banner__desc {
    font-size: 12px;
    color: var(--text-color-secondary);
    margin-top: 2px;
}

.newsletter-coupon-banner__input {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.newsletter-coupon-banner__input input {
    width: 130px;
    padding: 7px 12px;
    border-radius: var(--radius-medium);
    border: 1px solid var(--line-color);
    font-size: 13px;
    font-family: var(--font-family);
    background: var(--surface-secondary);
}

.newsletter-coupon-banner__input input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.newsletter-coupon-banner__input .btn {
    padding: 7px 16px;
    font-size: 13px;
}

.newsletter-coupon-banner__result {
    font-size: 12px;
    margin-top: 6px;
}
.newsletter-coupon-banner__result--success { color: #16a34a; }
.newsletter-coupon-banner__result--error { color: var(--accent-color); }

@media (max-width: 768px) {
    .newsletter-coupon-banner {
        flex-direction: column;
        text-align: center;
        padding: 16px 18px;
    }
    .newsletter-coupon-banner__input {
        width: 100%;
    }
    .newsletter-coupon-banner__input input {
        flex: 1;
        width: auto;
    }
}
