
/* ========================================
   CSS Variables
   ======================================== */
:root {
    --primary: #FFD100;
    --primary-dark: #e6bc00;
    --brand-blue: #0047AB;
    --brand-dark: #003580;
    --surface-light: #FFFFFF;
    --surface-gray: #F8F9FA;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    --text-main: #1F2937;
    --text-sub: #4B5563;
    --success: #10b981;
    --success-light: #ecfdf5;
    --warning: #f59e0b;
    --warning-light: #fef3c7;
    --danger: #ef4444;
    --danger-light: #fef2f2;
    --shadow-soft: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
    --shadow-card-hover: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
    --shadow-mag: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --max-web-container: 1280px;
    --max-blog-container: 1080px;
}

/* ========================================
   Reset & Base
   ======================================== */
.case-detail-magazine *,
.case-detail-magazine *::before,
.case-detail-magazine *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.case-detail-magazine {
    font-family: 'Noto Sans KR', sans-serif;
    color: var(--text-main);
    background: var(--surface-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.case-detail-magazine img {
    max-width: 100%;
    height: auto;
    display: block;
}

.case-detail-magazine a {
    text-decoration: none;
    color: inherit;
}

.case-detail-magazine ul,
.case-detail-magazine ol {
    list-style: none;
}

.case-detail-magazine button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.case-detail-magazine ::selection {
    background: var(--brand-blue);
    color: white;
}

/* ========================================
   Layout Containers
   ======================================== */
.cdm-container {
    max-width: var(--max-web-container);
    margin: 0 auto;
    padding: 0 20px;
}

.cdm-blog-container {
    max-width: var(--max-blog-container);
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   Header
   ======================================== */
.cdm-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-100);
    transition: all 0.3s ease;
}

.cdm-header-inner {
    max-width: var(--max-web-container);
    margin: 0 auto;
    padding: 0 20px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cdm-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cdm-logo-icon {
    color: var(--brand-blue);
    font-size: 28px;
}

.cdm-logo-text {
    font-weight: 900;
    font-size: 20px;
    letter-spacing: -0.025em;
    color: var(--gray-900);
}

.cdm-nav {
    display: none;
    gap: 32px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
}

.cdm-nav a {
    transition: color 0.2s ease;
}

.cdm-nav a:hover {
    color: var(--brand-blue);
}

.cdm-nav a.active {
    color: var(--brand-blue);
    font-weight: 700;
}

.cdm-header-btn {
    background: var(--gray-900);
    color: white;
    font-weight: 500;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 9999px;
    transition: all 0.2s ease;
}

.cdm-header-btn:hover {
    background: var(--gray-800);
}

.cdm-header-btn:active {
    transform: scale(0.95);
}

@media (min-width: 768px) {
    .cdm-nav {
        display: flex;
    }
}

/* ========================================
   Hero Section
   ======================================== */
.cdm-hero {
    position: relative;
    padding: 80px 0 64px;
    overflow: hidden;
}

.cdm-hero-bg {
    position: absolute;
    inset: 0;
    background: var(--gray-50);
    z-index: -1;
    transform: skewY(-2deg);
    transform-origin: top left;
    height: 150%;
    margin-top: -50%;
}

.cdm-hero-tags {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}

.cdm-hero-tag {
    background: black;
    color: white;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.cdm-hero-tag-divider {
    height: 1px;
    width: 48px;
    background: var(--gray-300);
}

.cdm-hero-tag-sub {
    font-size: 14px;
    font-weight: 700;
    color: var(--brand-blue);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cdm-hero-title {
    font-size: 36px;
    font-weight: 900;
    color: var(--gray-900);
    line-height: 1.1;
    margin-bottom: 32px;
    word-break: keep-all;
}

.cdm-hero-title-highlight {
    display: inline-block;
    position: relative;
}

.cdm-hero-title-highlight::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 12px;
    background: rgba(255, 209, 0, 0.4);
    z-index: -1;
}

.cdm-hero-title-blue {
    color: var(--brand-blue);
}

.cdm-hero-lead {
    font-size: 20px;
    color: var(--gray-600);
    font-style: italic;
    line-height: 1.6;
    max-width: 768px;
    margin-bottom: 48px;
    padding-left: 24px;
    border-left: 4px solid var(--brand-blue);
}

.cdm-hero-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 16px;
    padding: 32px 0;
    border-top: 1px solid rgba(17, 24, 39, 0.1);
    border-bottom: 1px solid rgba(17, 24, 39, 0.1);
}

.cdm-hero-info-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.cdm-hero-info-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
}

@media (min-width: 768px) {
    .cdm-hero {
        padding: 96px 0 80px;
    }

    .cdm-hero-title {
        font-size: 48px;
    }

    .cdm-hero-lead {
        font-size: 24px;
    }

    .cdm-hero-info-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1024px) {
    .cdm-hero-title {
        font-size: 60px;
    }
}

/* ========================================
   Article
   ======================================== */
.cdm-article {
    padding: 48px 0 80px;
}

.cdm-article-sections {
    display: flex;
    flex-direction: column;
    gap: 128px;
}

@media (min-width: 768px) {
    .cdm-article {
        padding: 80px 0;
    }

    .cdm-article-sections {
        gap: 192px;
    }
}

/* ========================================
   Section Header
   ======================================== */
.cdm-section-header {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: baseline;
    margin-bottom: 48px;
}

.cdm-section-number {
    font-size: 96px;
    font-weight: 900;
    color: var(--gray-300);
    line-height: 1;
    margin-bottom: -40px;
    user-select: none;
}

.cdm-section-title {
    font-size: 30px;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.3;
    position: relative;
    z-index: 1;
    padding-left: 16px;
}

@media (min-width: 768px) {
    .cdm-section-header {
        flex-direction: row;
    }

    .cdm-section-title {
        padding-left: 0;
    }
}

/* ========================================
   Drop Cap
   ======================================== */
.cdm-drop-cap::first-letter {
    float: left;
    font-size: 56px;
    line-height: 0.8;
    font-weight: 900;
    margin-right: 12px;
    color: var(--brand-blue);
}

/* ========================================
   Magazine Quote
   ======================================== */
.cdm-magazine-quote {
    position: relative;
    margin: 64px 0;
    padding: 40px;
    background: var(--gray-50);
    border-radius: 0 48px 0 48px;
    box-shadow: var(--shadow-soft);
}

.cdm-magazine-quote::before {
    content: '"';
    position: absolute;
    top: -32px;
    left: -16px;
    font-size: 96px;
    color: var(--gray-200);
    opacity: 0.5;
    z-index: -1;
}

.cdm-magazine-quote-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-800);
    text-align: center;
    line-height: 1.6;
    font-style: italic;
}

.cdm-magazine-quote-author {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    font-weight: 700;
    color: var(--brand-blue);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@media (min-width: 768px) {
    .cdm-magazine-quote {
        margin: 64px 48px;
    }
}

/* ========================================
   Content Grid (Image + Card)
   ======================================== */
.cdm-content-grid {
    display: grid;
    gap: 32px;
    align-items: center;
}

.cdm-content-grid-image {
    position: relative;
}

.cdm-content-grid-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow-mag);
    transition: all 0.5s ease;
}

.cdm-content-grid-image:hover img {
    box-shadow: var(--shadow-2xl);
    transform: scale(1.02);
}

.cdm-content-grid-caption {
    margin-top: 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    gap: 8px;
}

.cdm-content-grid-caption::before {
    content: '';
    width: 32px;
    height: 1px;
    background: var(--gray-400);
}

.cdm-content-grid-card {
    background: white;
    padding: 32px;
    box-shadow: var(--shadow-xl);
    border-radius: 12px;
    border: 1px solid var(--gray-100);
}

.cdm-content-grid-card-title {
    font-weight: 700;
    color: var(--gray-900);
    font-size: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-100);
    margin-bottom: 24px;
}

.cdm-content-grid-card-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cdm-content-grid-card-item {
    display: flex;
    gap: 16px;
}

.cdm-content-grid-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cdm-content-grid-card-icon.blue {
    background: rgba(0, 71, 171, 0.1);
    color: var(--brand-blue);
}

.cdm-content-grid-card-icon.yellow {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.cdm-content-grid-card-icon.red {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.cdm-content-grid-card-content strong {
    display: block;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.cdm-content-grid-card-content span {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

@media (min-width: 768px) {
    .cdm-content-grid {
        grid-template-columns: 7fr 5fr;
    }

    .cdm-content-grid-card {
        margin-left: -48px;
        padding: 40px;
    }
}

/* ========================================
   Prose Content
   ======================================== */
.cdm-prose {
    font-size: 18px;
    color: var(--gray-600);
    line-height: 2;
}

.cdm-prose p {
    margin-bottom: 24px;
}

.cdm-prose strong {
    color: var(--brand-blue);
    font-weight: 700;
}

.cdm-prose-lg {
    font-size: 20px;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 48px;
    color: var(--gray-600);
}

.cdm-prose-lg strong {
    font-weight: 700;
    color: var(--brand-blue);
}

@media (min-width: 768px) {
    .cdm-prose-lg {
        width: 75%;
    }
}

/* ========================================
   Image Grid
   ======================================== */
.cdm-image-grid {
    display: grid;
    gap: 32px;
    margin-bottom: 48px;
}

.cdm-image-grid figure {
    position: relative;
}

.cdm-image-grid img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow-mag);
    transition: transform 0.7s ease;
}

.cdm-image-grid img:hover {
    transform: scale(1.03);
}

.cdm-image-grid figcaption {
    margin-top: 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    gap: 8px;
}

.cdm-image-grid figcaption::before {
    content: '';
    width: 32px;
    height: 1px;
    background: var(--gray-400);
}

@media (min-width: 768px) {
    .cdm-image-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   Alert Boxes
   ======================================== */
.cdm-alert-box {
    padding: 32px;
    border-radius: 0 12px 12px 0;
    border-left: 4px solid;
    margin: 32px 0;
}

.cdm-alert-box-inner {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.cdm-alert-box-icon {
    font-size: 24px;
    margin-top: 4px;
}

.cdm-alert-box-title {
    font-weight: 700;
    color: var(--gray-900);
    font-size: 18px;
    margin-bottom: 8px;
}

.cdm-alert-box-content {
    color: var(--gray-700);
    line-height: 1.7;
}

.cdm-alert-box.danger {
    background: var(--danger-light);
    border-color: var(--danger);
}

.cdm-alert-box.danger .cdm-alert-box-icon {
    color: var(--danger);
}

.cdm-alert-box.success {
    background: var(--success-light);
    border-color: var(--success);
}

.cdm-alert-box.success .cdm-alert-box-icon {
    color: var(--success);
}

.cdm-alert-box.warning {
    background: #fef3c7;
    border-color: var(--warning);
}

.cdm-alert-box.warning .cdm-alert-box-icon {
    color: var(--warning);
}

/* ========================================
   Check List
   ======================================== */
.cdm-check-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cdm-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--gray-600);
}

.cdm-check-list .check-icon {
    color: var(--success);
    font-weight: 700;
}

/* ========================================
   Dark Card
   ======================================== */
.cdm-dark-card {
    background: var(--gray-900);
    color: white;
    border-radius: 24px;
    padding: 32px;
    box-shadow: var(--shadow-2xl);
    position: relative;
    overflow: hidden;
    margin: 48px 0;
}

.cdm-dark-card-blur-1 {
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: rgba(0, 71, 171, 0.2);
    border-radius: 50%;
    filter: blur(80px);
    margin-right: -128px;
    margin-top: -128px;
    pointer-events: none;
}

.cdm-dark-card-blur-2 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 300px;
    height: 300px;
    background: rgba(255, 209, 0, 0.1);
    border-radius: 50%;
    filter: blur(80px);
    margin-left: -80px;
    margin-bottom: -80px;
    pointer-events: none;
}

.cdm-dark-card-blur-red {
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: rgba(239, 68, 68, 0.2);
    border-radius: 50%;
    filter: blur(80px);
    margin-right: -128px;
    margin-top: -128px;
    pointer-events: none;
}

.cdm-dark-card-inner {
    position: relative;
    z-index: 1;
}

.cdm-dark-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 40px;
}

.cdm-dark-card-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--brand-blue);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 8px;
}

.cdm-dark-card-label.danger {
    color: var(--danger);
}

.cdm-dark-card-title {	
	color:white;
    font-size: 24px;
    font-weight: 700;
}

.cdm-dark-card-header-icon {
    font-size: 36px;
    color: rgba(255, 255, 255, 0.2);
}

.cdm-dark-card-grid {
    display: grid;
    gap: 48px;
}

@media (min-width: 768px) {
    .cdm-dark-card {
        padding: 48px;
    }

    .cdm-dark-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cdm-dark-card-grid.cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ========================================
   Comparison Card
   ======================================== */
.cdm-comparison-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cdm-comparison-card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cdm-comparison-card-title.highlight {
    color: var(--primary);
}

.cdm-comparison-card-rows {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cdm-comparison-card-row label {
    display: block;
    font-size: 14px;
    color: var(--gray-400);
    margin-bottom: 4px;
}

.cdm-comparison-card-row span {
    color: white;
}

.cdm-comparison-card-dots {
    display: flex;
    gap: 4px;
    margin-top: 4px;
}

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

.cdm-comparison-card-dot.active {
    background: var(--primary);
}

.cdm-comparison-card-dot.inactive {
    background: rgba(255, 255, 255, 0.2);
}

/* ========================================
   Step Layout
   ======================================== */
.cdm-steps-container {
    display: flex;
    flex-direction: column;
    gap: 128px;
}

.cdm-step {
    display: flex;
    flex-direction: column;
    gap: 48px;
    align-items: center;
}

.cdm-step-image-wrap {
    width: 100%;
    position: relative;
}

.cdm-step-number {
    position: absolute;
    top: -24px;
    left: -24px;
    font-size: 144px;
    font-weight: 900;
    color: var(--gray-50);
    z-index: -1;
    line-height: 1;
}

.cdm-step-number.right {
    left: auto;
    right: -24px;
}

.cdm-step-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-mag);
    aspect-ratio: 4/3;
}

.cdm-step-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.cdm-step-image:hover img {
    transform: scale(1.1);
}

.cdm-step-image-grid {
    display: grid;
    gap: 16px;
}

.cdm-step-image-grid .cdm-step-image {
    aspect-ratio: 4/3;
}

.cdm-step-content {
    width: 100%;
}

.cdm-step-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 24px;
    line-height: 1.4;
}

.cdm-step-content h3 .highlight {
    color: var(--brand-blue);
}

.cdm-step-content p {
    font-size: 18px;
    color: var(--gray-600);
    line-height: 2;
    margin-bottom: 24px;
}

.cdm-step-content .emphasis {
    font-size: 20px;
    color: var(--brand-blue);
    font-weight: 700;
    margin-bottom: 16px;
}

.cdm-step-tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.cdm-step-tag {
    padding: 8px 16px;
    border: 1px solid var(--gray-200);
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cdm-step-caption {
    margin-top: 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    gap: 8px;
}

.cdm-step-caption::before {
    content: '';
    width: 32px;
    height: 1px;
    background: var(--gray-400);
}

.cdm-step-caption.right {
    justify-content: flex-end;
}

.cdm-step-caption.right::before {
    display: none;
}

.cdm-step-caption.right::after {
    content: '';
    width: 32px;
    height: 1px;
    background: var(--gray-400);
}

@media (min-width: 768px) {
    .cdm-step {
        flex-direction: row;
        gap: 80px;
    }

    .cdm-step.reverse {
        flex-direction: row-reverse;
    }

    .cdm-step-image-wrap {
        width: 50%;
    }

    .cdm-step-content {
        width: 50%;
    }

    .cdm-step.reverse .cdm-step-content {
        text-align: left;
    }

    .cdm-step.reverse .cdm-step-tags {
        justify-content: flex-start;
    }
}

/* ========================================
   Problem Card (Dark)
   ======================================== */
.cdm-problem-card {
    background: var(--gray-900);
    color: white;
    border-radius: 24px;
    padding: 32px;
    box-shadow: var(--shadow-2xl);
    position: relative;
    overflow: hidden;
}

.cdm-problem-card-grid {
    display: grid;
    gap: 32px;
    align-items: center;
}

.cdm-problem-card figure {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.cdm-problem-card figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cdm-problem-card figcaption {
    margin-top: 12px;
    font-size: 14px;
    color: var(--gray-400);
}

.cdm-problem-card-content p {
    color: var(--gray-300);
    line-height: 1.7;
    margin-bottom: 24px;
}

.cdm-problem-card-alert {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cdm-problem-card-alert p {
    font-size: 14px;
    color: var(--gray-300);
    margin: 0;
}

.cdm-problem-card-alert strong {
    color: var(--primary);
}

.cdm-problem-card-solution {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cdm-problem-card-solution > p {
    color: white;
    font-weight: 700;
    margin-bottom: 16px;
}

.cdm-problem-card-solution-grid {
    display: grid;
    gap: 32px;
    align-items: center;
}

.cdm-problem-card-solution .cdm-check-list li {
    color: var(--gray-300);
}

@media (min-width: 768px) {
    .cdm-problem-card {
        padding: 48px;
    }

    .cdm-problem-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cdm-problem-card-solution-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   Completion Section
   ======================================== */
.cdm-completion-card {
    background: var(--gray-50);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--gray-100);
}

.cdm-completion-card-inner {
    padding: 32px;
}

.cdm-completion-card-grid {
    display: flex;
    flex-direction: column;
    gap: 48px;
    align-items: center;
}

.cdm-completion-card-content {
    order: 2;
}

.cdm-completion-card-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--brand-blue);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.cdm-completion-card-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.3;
    margin-bottom: 32px;
}

.cdm-completion-card-title span {
    background: linear-gradient(to right, var(--brand-blue), #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cdm-completion-card-desc {
    font-size: 18px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 40px;
}

.cdm-completion-card-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cdm-completion-card-list-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--gray-50);
}

.cdm-completion-card-list-item .icon {
    font-size: 24px;
    color: var(--success);
}

.cdm-completion-card-list-item span {
    font-weight: 500;
    color: var(--gray-800);
}

.cdm-completion-card-image {
    order: 1;
    width: 100%;
}

.cdm-completion-card-image-wrap {
    position: relative;
    cursor: pointer;
}

.cdm-completion-card-image-bg {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    transform: rotate(3deg) scale(0.95);
    transition: transform 0.5s ease;
}

.cdm-completion-card-image-wrap:hover .cdm-completion-card-image-bg {
    transform: rotate(6deg) scale(0.95);
}

.cdm-completion-card-image-main {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    border: 6px solid white;
    aspect-ratio: 16/9;
}

.cdm-completion-card-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.cdm-completion-card-image-wrap:hover .cdm-completion-card-image-main img {
    transform: scale(1.05);
}

.cdm-completion-card-image-badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    color: var(--gray-900);
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 9999px;
    font-size: 14px;
    box-shadow: var(--shadow-mag);
    border: 1px solid var(--gray-200);
}

.cdm-completion-card-bar {
    height: 12px;
    background: linear-gradient(to right, var(--brand-blue), var(--primary));
}

@media (min-width: 768px) {
    .cdm-completion-card-inner {
        padding: 64px;
    }

    .cdm-completion-card-grid {
        /* flex-direction: row; */
    }

    .cdm-completion-card-content {
        order: 1;
        flex: 1;
    }

    .cdm-completion-card-image {
        order: 2;
        flex: 1;
    }

    .cdm-completion-card-title {
        font-size: 48px;
    }
}

/* ========================================
   Key Points Grid
   ======================================== */
.cdm-key-points-grid {
    display: grid;
    gap: 24px;
}

.cdm-key-point-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-mag);
    border: 1px solid var(--gray-100);
    transition: all 0.5s ease;
}

.cdm-key-point-card:hover {
    box-shadow: var(--shadow-2xl);
    transform: translateY(-8px);
}

.cdm-key-point-number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--brand-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
}

.cdm-key-point-title {
    font-weight: 700;
    color: var(--gray-900);
    font-size: 20px;
    margin-bottom: 12px;
}

.cdm-key-point-desc {
    color: var(--gray-600);
    line-height: 1.7;
}

@media (min-width: 768px) {
    .cdm-key-points-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ========================================
   Guarantee Box
   ======================================== */
.cdm-guarantee-box {
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-dark) 100%);
    color: white;
    border-radius: 24px;
    padding: 32px;
    box-shadow: var(--shadow-2xl);
    position: relative;
    overflow: hidden;
}

.cdm-guarantee-box-blur {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: rgba(255, 209, 0, 0.2);
    border-radius: 50%;
    filter: blur(80px);
    margin-right: -80px;
    margin-top: -80px;
    pointer-events: none;
}

.cdm-guarantee-box-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
}

.cdm-guarantee-box-icon {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cdm-guarantee-box-icon .icon {
    font-size: 48px;
    color: var(--primary);
}

.cdm-guarantee-box-content p {
    font-size: 20px;
    line-height: 1.7;
}

.cdm-guarantee-box-content strong {
    color: var(--primary);
}

@media (min-width: 768px) {
    .cdm-guarantee-box {
        padding: 48px;
    }

    .cdm-guarantee-box-inner {
        flex-direction: row;
    }

    .cdm-guarantee-box-content p {
        font-size: 24px;
    }
}

/* ========================================
   FAQ Section
   ======================================== */
.cdm-faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cdm-faq-item {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: box-shadow 0.3s ease;
}

.cdm-faq-item:hover {
    box-shadow: var(--shadow-card-hover);
}

.cdm-faq-question {
    padding: 24px;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-100);
}

.cdm-faq-question h4 {
    font-weight: 700;
    color: var(--brand-blue);
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.cdm-faq-question-badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--brand-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.cdm-faq-answer {
    padding: 24px;
}

.cdm-faq-answer p {
    color: var(--gray-600);
    line-height: 1.7;
    margin: 0;
}

/* ========================================
   Ending Message
   ======================================== */
.cdm-ending-message {
    position: relative;
    margin: 64px 0;
    padding: 48px;
    background: var(--gray-50);
    border-radius: 0 48px 0 48px;
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.cdm-ending-message::before {
    content: '"';
    position: absolute;
    top: -32px;
    left: -16px;
    font-size: 96px;
    color: var(--gray-200);
    opacity: 0.5;
    z-index: -1;
}

.cdm-ending-message p {
    font-size: 30px;
    font-weight: 700;
    color: var(--gray-800);
    line-height: 1.5;
    margin: 0;
}

/* ========================================
   Related Section
   ======================================== */
.cdm-related-section {
    background: var(--gray-50);
    padding: 80px 0;
}

.cdm-related-header {
    text-align: center;
    margin-bottom: 48px;
}

.cdm-related-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--brand-blue);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.cdm-related-title {
    font-size: 30px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.cdm-related-subtitle {
    color: var(--gray-600);
}

.cdm-related-grid {
    display: grid;
    gap: 32px;
}

.cdm-related-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--gray-100);
    transition: all 0.5s ease;
}

.cdm-related-card:hover {
    box-shadow: var(--shadow-2xl);
    transform: translateY(-8px);
    border-color: var(--brand-blue);
}

.cdm-related-card-image {
    position: relative;
    height: 192px;
    overflow: hidden;
}

.cdm-related-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.cdm-related-card:hover .cdm-related-card-image img {
    transform: scale(1.1);
}

.cdm-related-card-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--brand-blue);
    color: white;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 9999px;
}

.cdm-related-card-content {
    padding: 24px;
}

.cdm-related-card-title {
    font-weight: 700;
    color: var(--gray-900);
    font-size: 18px;
    margin-bottom: 8px;
}

.cdm-related-card-desc {
    color: var(--gray-500);
    font-size: 14px;
    margin-bottom: 16px;
}

.cdm-related-card-link {
    color: var(--brand-blue);
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.cdm-related-card-link .icon {
    font-size: 18px;
}

@media (min-width: 768px) {
    .cdm-related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ========================================
   CTA Section
   ======================================== */
.cdm-cta-section {
    background: var(--gray-900);
    padding: 128px 20px;
    position: relative;
    overflow: hidden;
}

.cdm-cta-blur-1 {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 60%;
    background: var(--brand-blue);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.2;
    pointer-events: none;
}

.cdm-cta-blur-2 {
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 60%;
    height: 60%;
    background: var(--primary);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.2;
    pointer-events: none;
}

.cdm-cta-inner {
    max-width: 896px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cdm-cta-title {
    font-size: 30px;
    font-weight: 900;
    color: white;
    line-height: 1.3;
    margin-bottom: 32px;
}

.cdm-cta-title span {
    color: var(--primary);
}

.cdm-cta-desc {
    color: var(--gray-300);
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 48px;
    max-width: 672px;
    margin-left: auto;
    margin-right: auto;
}

.cdm-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    margin-bottom: 32px;
}

.cdm-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 40px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 9999px;
    transition: all 0.3s ease;
}

.cdm-cta-btn:active {
    transform: scale(0.95);
}

.cdm-cta-btn.primary {
    background: var(--primary);
    color: var(--gray-900);
    box-shadow: 0 10px 30px rgba(255, 209, 0, 0.3);
}

.cdm-cta-btn.primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.cdm-cta-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
}

.cdm-cta-btn.secondary:hover {
    background: white;
    color: var(--brand-blue);
    border-color: white;
}

.cdm-cta-btn .icon {
    font-size: 26px;
}

.cdm-cta-btn.primary .icon {
    animation: cdm-bounce 1s infinite;
}

.cdm-cta-btn.primary:hover .icon {
    animation: cdm-bounce 0.5s infinite;
}

.cdm-cta-btn.secondary .icon {
    color: var(--primary);
}

.cdm-cta-note {
    font-size: 14px;
    color: var(--gray-500);
    font-weight: 300;
}

@keyframes cdm-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

@media (min-width: 640px) {
    .cdm-cta-buttons {
        flex-direction: row;
    }
}

@media (min-width: 768px) {
    .cdm-cta-title {
        font-size: 48px;
    }

    .cdm-cta-desc {
        font-size: 20px;
    }
}

/* ========================================
   Footer
   ======================================== */
.cdm-footer {
    background: white;
    border-top: 1px solid var(--gray-100);
    padding: 80px 20px 48px;
}

.cdm-footer-inner {
    max-width: var(--max-web-container);
    margin: 0 auto;
    text-align: center;
}

.cdm-footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 32px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-500);
    flex-wrap: wrap;
}

.cdm-footer-links a {
    transition: color 0.2s ease;
}

.cdm-footer-links a:hover {
    color: var(--brand-blue);
}

.cdm-footer-copyright {
    font-size: 12px;
    color: var(--gray-400);
}

/* ========================================
   Single Image with Caption
   ======================================== */
.cdm-single-image {
    margin: 32px 0;
}

.cdm-single-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow-mag);
}

.cdm-single-image figcaption {
    margin-top: 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    gap: 8px;
}

.cdm-single-image figcaption::before {
    content: '';
    width: 32px;
    height: 1px;
    background: var(--gray-400);
}