:root {
    --brand: #ff6900;
    --brand-dark: #f54900;
    --brand-soft: #fff1e8;
    --navy: #0d1b3e;
    --navy-2: #142657;
    --ink: #18233d;
    --muted: #6a7282;
    --line: #e5e7eb;
    --surface: #ffffff;
    --surface-alt: #f9fafb;
    --surface-warm: rgba(250, 250, 249, 0.88);
    --bg: #f5f7fb;
    --shadow-lg: 0 26px 48px rgba(13, 27, 62, 0.1);
    --shadow-md: 0 16px 32px rgba(0, 0, 0, 0.08);
    --radius-xl: 30px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 12px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Noto Sans KR", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(255, 105, 0, 0.12), transparent 32%),
        radial-gradient(circle at top right, rgba(13, 27, 62, 0.09), transparent 28%),
        linear-gradient(180deg, #fbfcff 0%, #f5f7fb 50%, #f7f7f5 100%);
    min-height: 100vh;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

.page-shell {
    
}

.page-shell section {
      width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 28px 0 168px;
}

.section-heading {
    text-align: center;
    margin-bottom: 28px;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brand);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-heading h2 {
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.16;
    font-weight: 900;
    color: var(--navy);
    letter-spacing: -0.03em;
}

.section-heading h2 strong {
    color: var(--brand);
}

.section-heading p {
    margin-top: 10px;
    font-size: 15px;
    color: var(--muted);
    line-height: 1.75;
}

.page-shell section.hero {
    position: relative;
    width: min(1391px, calc(100vw - 24px));
    margin: 0 auto;
    padding: 64px 0;
}

.hero-track {
    display: grid;
    grid-template-columns: repeat(3, 400px);
    justify-content: center;
    gap: 24px;
}

.hero-arrow {
    position: absolute;
    top: 180px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 24px rgba(13, 27, 62, 0.12);
    color: var(--navy);
    font-size: 20px;
    font-weight: 700;
    z-index: 2;
}

.hero-arrow:hover {
    transform: translateY(-2px);
}

.hero-arrow.prev {
    left: -12px;
}

.hero-arrow.next {
    right: -12px;
}

.hero-card {
    width: 400px;
    min-height: 480px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    padding: 24px;
    color: #fff;
}

.hero-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.06) 0%, rgba(0, 0, 0, 0.64) 78%, rgba(0, 0, 0, 0.84) 100%),
        linear-gradient(120deg, rgba(255, 255, 255, 0.18), transparent 38%);
    z-index: -1;
}

.hero-card::after {
    content: "";
    position: absolute;
    right: -30px;
    top: 18px;
    width: 210px;
    height: 260px;
    border-radius: 120px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.08) 55%, transparent 70%);
    opacity: 0.85;
    filter: blur(0.5px);
    z-index: -2;
}

.hero-card.card-1 {
    background:
        linear-gradient(140deg, rgba(108, 64, 26, 0.72), rgba(33, 23, 20, 0.4)),
        linear-gradient(135deg, #71574b 0%, #bea18c 48%, #614738 100%);
}

.hero-card.card-2 {
    background:
        linear-gradient(140deg, rgba(61, 40, 32, 0.58), rgba(22, 18, 32, 0.28)),
        linear-gradient(135deg, #8a5d3d 0%, #d3b19c 46%, #7a5c65 100%);
}

.hero-card.card-3 {
    background:
        linear-gradient(140deg, rgba(24, 24, 24, 0.58), rgba(12, 18, 40, 0.28)),
        linear-gradient(135deg, #d8d1cb 0%, #f3efe9 38%, #5f4741 100%);
}

.hero-chip-row {
    position: absolute;
    inset: 18px 16px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.hero-thumb {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 48%;
    opacity: 1;
}

.hero-chip,
.hero-type {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

.hero-chip {
    background: rgba(255, 255, 255, 0.92);
    color: #3f2f22;
}

.hero-type {
    background: rgba(13, 27, 62, 0.92);
    color: #fff;
}

.hero-type.live::before,
.hero-type.vod::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 999px;
    margin-right: 8px;
}

.hero-type.live::before {
    background: #ff6d5e;
}

.hero-type.vod::before {
    background: #9ed2ff;
}

.hero-card-content {
    width: 100%;
}

.hero-card-content .teacher {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 800;
    color: #ff9e62;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.hero-card-content .teacher::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: currentColor;
    box-shadow: 0 0 0 4px rgba(255, 158, 98, 0.14);
}

.hero-card-content h3 {
    margin-top: 10px;
    font-size: 23px;
    line-height: 1.28;
    font-weight: 800;
    letter-spacing: -0.03em;
    word-break: keep-all;
}

.hero-card-content p {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    line-height: 1.6;
}

.hero-card-footer {
    margin-top: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.hero-price {
    font-size: 34px;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.hero-link {
    min-width: 126px;
    height: 44px;
    padding: 0 18px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 12px 24px rgba(255, 105, 0, 0.28);
}

.hero-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
}

.hero-dots span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #dadde4;
}

.hero-dots .active {
    width: 24px;
    background: var(--brand);
}

.page-shell section.cta-strip {
    margin-top: 28px;
    background: linear-gradient(90deg, var(--navy) 0%, #162d63 100%);
    width: 100%;
    border-radius: 0;
    padding: 34px 0;
    color: #fff;
    box-shadow: var(--shadow-md);
}

.cta-strip-inner {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cta-strip h3 {
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.cta-strip h3 strong {
    color: #ff9f57;
}

.cta-meta {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    list-style: none;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    font-weight: 500;
}

.cta-meta li::before {
    content: "✓";
    color: #ffb277;
    margin-right: 8px;
    font-weight: 800;
}

.cta-button,
.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    box-shadow: 0 16px 32px rgba(255, 105, 0, 0.24);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover,
.primary-button:hover,
.hero-link:hover,
.qna-action:hover,
.hero-arrow:hover,
.calc-option:hover,
.calc-channel-btn:hover,
.calculator-submit:hover {
    transform: translateY(-2px);
}

.calculator-section,
.benefits-section,
.qna-section {
    margin-top: 96px;
}

.calculator-section .section-heading {
    margin-bottom: 48px;
}

.calculator-section .section-heading h2 {
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1;
}

.calculator-section .section-heading .calculator-lead {
    margin-top: 16px;
    color: #4a5565;
    font-size: 20px;
    line-height: 1.4;
    font-weight: 400;
}

.calculator-section .section-heading .calculator-sub {
    margin-top: 8px;
    color: #6a7282;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
}

.calculator-panel {
    width: min(1000px, 100%);
    margin: 0 auto;
    background: linear-gradient(138deg, #f9fafb 0%, #f3f4f6 100%);
    border: 1.8px solid #e5e7eb;
    border-radius: 24px;
    padding: 42px;
    box-shadow: 0 20px 12.5px rgba(0, 0, 0, 0.1), 0 8px 5px rgba(0, 0, 0, 0.08);
}

.calculator-group + .calculator-group {
    margin-top: 32px;
}

.calculator-label {
    color: var(--navy);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.55;
}

.calc-option-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 16px;
}

.calc-option {
    min-height: 92px;
    border-radius: 14px;
    background: #fff;
    border: 1.8px solid #e5e7eb;
    color: #364153;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    transition: all 0.2s ease;
}

.calc-option svg,
.calc-channel-btn svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.calc-option.active {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 10px 7.5px rgba(0, 0, 0, 0.1), 0 4px 3px rgba(0, 0, 0, 0.1);
}

.calc-channel-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 16px;
}

.calc-channel-btn {
    min-height: 60px;
    border-radius: 14px;
    background: #fff;
    border: 1.8px solid #e5e7eb;
    color: #364153;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    transition: all 0.2s ease;
}

.calc-channel-btn.active {
    background: var(--navy);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 10px 7.5px rgba(0, 0, 0, 0.1), 0 4px 3px rgba(0, 0, 0, 0.1);
}

.field-grid {
    display: flex;
    gap: 24px;
    margin-top: 32px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.field label {
    color: var(--navy);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.5;
}

.field input,
.field select {
    width: 100%;
    height: 56px;
    border: 1.8px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
    padding: 0 18px;
    color: #0a0a0a;
    font-size: 18px;
    font-weight: 700;
    outline: none;
    appearance: none;
}

.field input:focus,
.field select:focus {
    border-color: rgba(255, 105, 0, 0.55);
    box-shadow: 0 0 0 4px rgba(255, 105, 0, 0.1);
}

.calculator-submit {
    display: none;
}

.calculator-result {
    margin-top: 32px;
    background: linear-gradient(135deg, #111f46 0%, #172e64 100%);
    color: #fff;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
}

.calculator-result small {
    display: block;
    color: #99a1af;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}

.calculator-result strong {
    display: block;
    margin-top: 8px;
    font-size: clamp(42px, 5vw, 48px);
    line-height: 1;
    font-weight: 900;
    color: #ff8904;
    letter-spacing: -0.04em;
}

.calculator-formula {
    margin-top: 12px;
    color: #d1d5dc;
    font-size: 16px;
    line-height: 1.5;
}

.result-meta {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 0.9px solid rgba(255, 255, 255, 0.2);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    text-align: center;
}

.result-meta span {
    display: block;
    color: #99a1af;
    font-size: 14px;
    line-height: 1.43;
}

.result-meta strong {
    margin-top: 4px;
    font-size: 22px;
    color: #fff;
}

.result-meta .accent {
    color: #ff8904;
}

.calculator-note {
    margin-top: 24px;
    text-align: center;
    color: #6a7282;
    font-size: 14px;
    line-height: 1.43;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(229, 231, 235, 0.94);
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 12px 24px rgba(13, 27, 62, 0.06);
}

.benefit-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(180deg, #fff4ea 0%, #fff8f3 100%);
    border: 1px solid rgba(255, 105, 0, 0.16);
}

.benefit-icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.benefit-card h4 {
    margin-top: 18px;
    color: var(--navy);
    font-size: 19px;
    line-height: 1.35;
    font-weight: 800;
}

.benefit-card p {
    margin-top: 10px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

.referral-banner {
    margin-top: 18px;
    background: linear-gradient(135deg, #ff7a0c 0%, #ff5f00 100%);
    border-radius: 16px;
    padding: 24px 28px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-shadow: 0 18px 34px rgba(255, 105, 0, 0.22);
}

.referral-banner .badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 12px;
    font-weight: 700;
}

.referral-banner h4 {
    margin-top: 10px;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.referral-banner p {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 14px;
}

.section-cta {
    margin-top: 26px;
    text-align: center;
}

.section-cta small {
    display: block;
    margin-top: 14px;
    color: #8b93a3;
    font-size: 12px;
}

.qna-board {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(229, 231, 235, 0.92);
    border-radius: 18px;
    padding: 26px;
    box-shadow: 0 20px 36px rgba(13, 27, 62, 0.08);
}

.qna-board-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(229, 231, 235, 0.9);
}

.qna-board-head h3 {
    color: var(--navy);
    font-size: 20px;
    font-weight: 800;
}

.qna-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #8d95a4;
    font-size: 12px;
    font-weight: 600;
}

.qna-live::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #34c759;
    box-shadow: 0 0 0 4px rgba(52, 199, 89, 0.12);
}

.qna-list {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    max-height: 500px;
    overflow-y: auto;
      
}

.qna-item {
    padding-top: 12px;
}

.qna-item-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 26px;
    background: var(--surface-alt);
    border: 1.8px solid var(--line);
    border-radius: 14px;
}

.qna-item-card.warm {
    background: var(--surface-warm);
    border-color: #f2cdb6;
}

.qna-copy {
    flex: 1;
    min-width: 0;
}

.qna-meta-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.qna-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 24px;
    padding: 0 12px;
    border-radius: 10px;
    background: var(--navy);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.qna-time {
    color: var(--muted);
    font-size: 12px;
}

.qna-title {
    margin-top: 12px;
    color: var(--navy);
    font-size: 18px;
    line-height: 1.56;
    font-weight: 800;
    word-break: keep-all;
}

.qna-action {
    flex-shrink: 0;
    min-width: 126px;
    height: 48px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 12px 22px rgba(255, 105, 0, 0.16);
}

.reward-card {
    width: min(448px, 100%);
    margin: 40px auto 0;
    padding: 40px 20px 34px;
    border: 1.8px solid #ff8904;
    border-radius: 16px;
    background: linear-gradient(153deg, #ff6900 0%, #f54900 100%);
    box-shadow: 0 20px 32px rgba(0, 0, 0, 0.1), 0 8px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
    color: #fff;
}

.reward-card strong {
    display: block;
    font-size: clamp(48px, 7vw, 60px);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.reward-card h3 {
    margin-top: 12px;
    font-size: 24px;
    font-weight: 800;
}

.reward-card p {
    margin-top: 8px;
    color: #ffedd4;
    font-size: 16px;
}

.fixed-cta-bar {
    position: sticky;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    background: var(--navy);
    box-shadow: 0 -10px 30px rgba(13, 27, 62, 0.22);
}

.fixed-cta-inner {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.fixed-cta-copy h3 {
    color: #fff;
    font-size: 20px;
    line-height: 1.4;
    font-weight: 700;
}

.fixed-cta-copy p {
    margin-top: 2px;
    color: #ffb86a;
    font-size: 14px;
    line-height: 1.43;
    font-weight: 400;
}

.fixed-cta-button {
    width: 168px;
    min-width: 168px;
    height: 52px;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    box-shadow: 0 10px 16px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.08);
}

.fade-up {
    opacity: 0;
    transform: translateY(24px);
    animation: fadeUp 0.7s ease forwards;
}

.fade-up.delay-1 { animation-delay: 0.08s; }
.fade-up.delay-2 { animation-delay: 0.16s; }
.fade-up.delay-3 { animation-delay: 0.24s; }
.fade-up.delay-4 { animation-delay: 0.32s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1100px) {
    .page-shell {
        width: min(100%, calc(100% - 24px));
    }

    .benefit-grid {
        grid-template-columns: 1fr;
    }

    .cta-strip-inner,
    .referral-banner,
    .qna-item-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .calc-option-grid,
    .calc-channel-row,
    .field-grid {
        grid-template-columns: 1fr;
        display: grid;
    }

    .qna-action,
    .cta-button,
    .primary-button {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-shell {
        padding-top: 18px;
        padding-bottom: 56px;
        width: 100%;
    }

    .hero {
        overflow: hidden;
    }

    .hero-track {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 10px;
        justify-content: flex-start;
    }

    .hero-track::-webkit-scrollbar {
        display: none;
    }

    .hero-card {
        min-width: min(86vw, 360px);
        width: min(86vw, 360px);
        min-height: 420px;
        scroll-snap-align: start;
    }

    .hero-card-content h3 {
        font-size: 24px;
    }

    .hero-arrow {
        display: none;
    }

    .cta-strip {
        padding: 24px 0;
    }

    .cta-strip-inner,
    .calculator-panel,
    .qna-board {
        padding: 22px 18px;
    }

    .section-heading h2 {
        font-size: 28px;
    }

    .calculator-section .section-heading .calculator-lead {
        font-size: 18px;
    }

    .calculator-section .section-heading .calculator-sub {
        font-size: 14px;
    }

    .result-meta {
        grid-template-columns: 1fr;
    }

    .qna-board-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .qna-title {
        font-size: 16px;
    }

    .fixed-cta-inner {
        width: calc(100% - 24px);
        padding: 12px 0;
        flex-direction: column;
        align-items: stretch;
    }

    .fixed-cta-copy h3 {
        font-size: 17px;
    }

    .fixed-cta-copy p {
        font-size: 12px;
    }

    .fixed-cta-button {
        width: 100%;
        min-width: 0;
    }
}