/* =================================================================
   AI Quote Result — /ai-quote/result/<secret_key>/
   본인 전용 견적서 페이지. 30% 할인 + 50% 계약금 CTA 중심.
   ================================================================= */

.aiq_result_wrap {
    padding: 0;
}
.aiq_result_inner {
    position: relative;
    z-index: 1;
    max-width: 920px;
    padding-top: 40px;
    padding-bottom: 96px;
}

/* ─── Hero ─── */
.aiq_result_hero {
    text-align: center;
    margin-bottom: 40px;
}
.aiq_result_breadcrumb {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}
.aiq_result_breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
}
.aiq_result_breadcrumb a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    text-decoration: none;
}
.aiq_result_seal {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 12px;
    background: rgba(16, 201, 138, 0.18);
    color: #10c98a;
    border: 1px solid rgba(16, 201, 138, 0.4);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 800;
}
.aiq_result_seal i { font-size: 13px; }

.aiq_result_title {
    font-size: 38px;
    line-height: 1.3;
    letter-spacing: -0.6px;
    margin: 0 0 16px;
    color: #fff;
}
.aiq_result_title_light {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 600;
    display: inline-block;
    margin-bottom: 4px;
}
.aiq_result_sub {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.78);
    max-width: 560px;
    margin: 0 auto;
}
.aiq_result_sub strong { color: #fff; font-weight: 800; }

/* ═══════════════════════════════════════════ */
/* 24시간 카운트다운 배너                          */
/* ═══════════════════════════════════════════ */
.aiq_countdown {
    background: linear-gradient(135deg, #1a1f3a 0%, #0a0e2e 100%);
    border-radius: 24px;
    padding: 28px 32px 20px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 48px -16px rgba(10, 14, 46, 0.6);
}
.aiq_countdown::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(91, 108, 255, 0.1) 50%, transparent 70%);
    animation: aiqCdSweep 4s ease-in-out infinite;
    pointer-events: none;
}
@keyframes aiqCdSweep {
    0%, 100% { transform: translateX(-100%); }
    50%      { transform: translateX(100%); }
}

.aiq_countdown_inner {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}
.aiq_countdown_icon {
    font-size: 36px;
    flex-shrink: 0;
    animation: aiqCdIconPulse 1.5s ease-in-out infinite;
}
@keyframes aiqCdIconPulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.12); }
}
.aiq_countdown_text {
    flex: 1;
    min-width: 0;
}
.aiq_countdown_text strong {
    display: block;
    font-size: 17px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 2px;
}
.aiq_countdown_text small {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

/* 타이머 숫자 */
.aiq_countdown_timer {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.aiq_cd_block {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 56px;
}
.aiq_cd_num {
    display: block;
    font-size: 38px;
    font-weight: 900;
    font-family: 'GmarketSans', monospace;
    color: #fff;
    line-height: 1;
    letter-spacing: -1px;
    text-shadow: 0 0 20px rgba(91, 108, 255, 0.6);
}
.aiq_cd_label {
    font-size: 10px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}
.aiq_cd_sep {
    font-size: 28px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.3);
    padding-bottom: 16px;
    animation: aiqCdBlink 1s step-end infinite;
}
@keyframes aiqCdBlink {
    50% { opacity: 0.2; }
}

/* 프로그레스 바 */
.aiq_countdown_bar {
    margin-top: 18px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}
.aiq_countdown_bar_fill {
    height: 100%;
    background: linear-gradient(90deg, #10c98a, #5b6cff);
    border-radius: 4px;
    transition: width 1s linear;
}

/* 긴급 모드 (3시간 이하) */
.aiq_countdown.urgent {
    background: linear-gradient(135deg, #3a1a1a 0%, #2e0a0a 100%);
}
.aiq_countdown.urgent .aiq_cd_num {
    color: #ff5e7e;
    text-shadow: 0 0 24px rgba(255, 94, 126, 0.7);
}
.aiq_countdown.urgent .aiq_countdown_bar_fill {
    background: linear-gradient(90deg, #ff5e7e, #d93662);
}
.aiq_countdown.urgent .aiq_countdown_icon {
    animation: aiqCdIconShake 0.4s ease-in-out infinite;
}
@keyframes aiqCdIconShake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-8deg); }
    75% { transform: rotate(8deg); }
}

/* 초긴급 (1시간 이하) — 배경 펄스 */
.aiq_countdown.critical {
    animation: aiqCdCriticalPulse 1.2s ease-in-out infinite;
}
@keyframes aiqCdCriticalPulse {
    0%, 100% { box-shadow: 0 20px 48px -16px rgba(255, 94, 126, 0.3); }
    50%      { box-shadow: 0 20px 48px -16px rgba(255, 94, 126, 0.7); }
}

/* 만료 */
.aiq_countdown.expired {
    background: #2a2a2a;
    animation: none;
}
.aiq_countdown.expired .aiq_cd_num {
    color: #666;
    text-shadow: none;
}
.aiq_countdown.expired .aiq_countdown_bar_fill {
    width: 0 !important;
}
.aiq_countdown.expired .aiq_countdown_icon {
    animation: none;
    opacity: 0.4;
}

/* 반응형 */
@media (max-width: 767px) {
    .aiq_countdown { padding: 22px 20px 16px; border-radius: 20px; }
    .aiq_countdown_inner { gap: 14px; }
    .aiq_countdown_icon { font-size: 28px; }
    .aiq_countdown_text strong { font-size: 14px; }
    .aiq_countdown_text small { font-size: 11px; }
    .aiq_cd_block { min-width: 44px; }
    .aiq_cd_num { font-size: 28px; }
    .aiq_cd_sep { font-size: 20px; padding-bottom: 12px; }
    .aiq_cd_label { font-size: 9px; }
}
@media (max-width: 380px) {
    .aiq_countdown { padding: 18px 16px 14px; }
    .aiq_cd_num { font-size: 24px; }
    .aiq_cd_block { min-width: 38px; }
}

/* ─── 가격 카드 ─── */
.aiq_price_card {
    background: #fff;
    color: var(--aiq-text);
    border-radius: 28px;
    padding: 32px 36px 36px;
    box-shadow: 0 30px 64px -20px rgba(10, 14, 46, 0.55);
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}
.aiq_price_card::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(166, 117, 255, 0.12), transparent 70%);
    pointer-events: none;
}

.aiq_price_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--aiq-border-lt);
    flex-wrap: wrap;
    position: relative;
}
.aiq_price_label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--aiq-text-mute);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}
.aiq_price_count {
    font-size: 14px;
    font-weight: 800;
    color: var(--aiq-text);
}
.aiq_price_badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    background: linear-gradient(135deg, #ff5e7e, #d93662);
    color: #fff;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 10px 24px -8px rgba(255, 94, 126, 0.5);
    animation: aiqBadgePulse 2.4s ease-in-out infinite;
}
.aiq_badge_flame {
    font-size: 14px;
    animation: aiqFlame 1.8s ease-in-out infinite;
}
@keyframes aiqFlame {
    0%, 100% { transform: scale(1) rotate(-3deg); }
    50% { transform: scale(1.15) rotate(3deg); }
}
@keyframes aiqBadgePulse {
    0%, 100% { box-shadow: 0 10px 24px -8px rgba(255, 94, 126, 0.5); }
    50% { box-shadow: 0 16px 32px -6px rgba(255, 94, 126, 0.75); }
}

.aiq_price_lines {
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
}
.aiq_price_line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    color: var(--aiq-text-sub);
}
.aiq_price_line_label { font-weight: 600; }
.aiq_price_line_label small {
    font-size: 11px;
    color: var(--aiq-text-mute);
    font-weight: 500;
    margin-left: 4px;
}
.aiq_price_line_val {
    font-weight: 700;
    font-family: monospace;
    color: var(--aiq-text);
}
.aiq_price_line_total {
    padding-top: 12px;
    border-top: 1px dashed var(--aiq-border-lt);
    font-size: 15px;
}
.aiq_price_line_total .aiq_price_line_val { font-size: 16px; }

.aiq_price_line_discount {
    color: #d93662;
}
.aiq_price_line_discount .aiq_price_line_val { color: #d93662; }
.aiq_price_discount_tag {
    display: inline-block;
    padding: 3px 9px;
    background: #fdecee;
    color: #9c2230;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 800;
}

/* 최종 결제 금액 — 강조 */
.aiq_price_final {
    margin-top: 20px;
    padding: 24px 28px;
    background: linear-gradient(135deg, #fff9e6, #ffecb3);
    border: 2px solid #ffd54f;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    position: relative;
    overflow: hidden;
    flex-wrap: wrap;
}
.aiq_price_final::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.4) 50%, transparent 70%);
    transform: translateX(-100%);
    animation: aiqPriceSweep 3.2s ease-in-out infinite;
    pointer-events: none;
}
@keyframes aiqPriceSweep {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.aiq_price_final_left {
    position: relative;
    z-index: 1;
}
.aiq_price_final_strike {
    display: block;
    text-decoration: line-through;
    font-size: 13px;
    color: #9c8300;
    font-weight: 600;
    margin-bottom: 2px;
}
.aiq_price_final_label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    color: #b36800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}
.aiq_price_final_num {
    display: block;
    font-size: 38px;
    font-weight: 900;
    color: #c94500;
    line-height: 1.1;
    letter-spacing: -1px;
    font-family: 'GmarketSans', monospace;
}
.aiq_price_final_save {
    display: inline-block;
    margin-top: 6px;
    padding: 4px 10px;
    background: #c94500;
    color: #fff;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 800;
}

.aiq_price_final_right {
    position: relative;
    z-index: 1;
    text-align: right;
    padding-left: 20px;
    border-left: 2px dashed #e5a600;
}
.aiq_price_final_right small {
    display: block;
    font-size: 10px;
    font-weight: 800;
    color: #b36800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 4px;
}
.aiq_price_final_right strong {
    display: block;
    font-size: 24px;
    font-weight: 900;
    color: #c94500;
    font-family: monospace;
    line-height: 1.1;
}
.aiq_price_final_right > span {
    display: block;
    font-size: 10px;
    color: #9c8300;
    margin-top: 4px;
}

/* 메인 CTA */
.aiq_price_cta_wrap {
    margin-top: 24px;
    position: relative;
}
.aiq_price_cta_main {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 22px 28px;
    background: linear-gradient(135deg, #5b6cff, #2a3ab8);
    color: #fff;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: transform 0.25s, box-shadow 0.3s;
    box-shadow: 0 24px 48px -16px rgba(91, 108, 255, 0.55);
    overflow: hidden;
    isolation: isolate;
    text-align: left;
}
.aiq_price_cta_main:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 32px 60px -16px rgba(91, 108, 255, 0.7);
}
.apcm_glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.25) 50%, transparent 70%);
    transform: translateX(-100%);
    z-index: -1;
    animation: aiqCtaSweep 3s ease-in-out infinite;
}
@keyframes aiqCtaSweep {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}
.apcm_icon {
    font-size: 32px;
    flex-shrink: 0;
    animation: aiqIconBounce 2s ease-in-out infinite;
}
@keyframes aiqIconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}
.apcm_text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.apcm_text strong {
    font-size: 17px;
    font-weight: 800;
    color: #fff;
}
.apcm_text small {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.72);
}
.apcm_arrow {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.aiq_price_cta_main:hover .apcm_arrow {
    transform: translateX(6px) rotate(-10deg);
    background: rgba(255, 255, 255, 0.3);
}
.aiq_cta_shake { animation: aiqCtaShake 0.7s; }
@keyframes aiqCtaShake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-8px); }
    20%, 40%, 60%, 80% { transform: translateX(8px); }
}

.aiq_price_cta_note {
    margin-top: 12px;
    font-size: 11.5px;
    color: var(--aiq-text-mute);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* ═══════════════════════════════════════════ */
/* 프로모션 안심 문구                                  */
/* ═══════════════════════════════════════════ */
.aiq_promo_trust {
    margin-top: 20px;
    padding: 18px 22px;
    background: #f0fdf4;
    border: 1px solid #bfe5ca;
    border-radius: 14px;
}
.aiq_promo_trust ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.aiq_promo_trust li {
    font-size: 13px;
    color: #1b6c3a;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.6;
}
.aiq_promo_trust li i {
    color: #10c98a;
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}
.aiq_promo_trust li strong { font-weight: 800; }

/* ═══════════════════════════════════════════ */
/* 프로모션 종료 배너 (간결)                          */
/* ═══════════════════════════════════════════ */
.aiq_promo_ended_banner {
    margin-top: 20px;
    padding: 14px 20px;
    background: #f7f8fd;
    border: 1px solid var(--aiq-border, #e6e8f0);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--aiq-text-sub, #5e6580);
}
.aiq_promo_ended_banner i {
    font-size: 18px;
    color: var(--aiq-text-mute, #8b97b3);
    flex-shrink: 0;
}

/* 정가 기준 가격 카드 — 글로우/펄스 없이 깔끔하게 */
.aiq_price_card_normal .aiq_price_final {
    background: #f7f8fd;
    border: 1px solid var(--aiq-border, #e6e8f0);
}
.aiq_price_card_normal .aiq_price_final::before { display: none; }
.aiq_price_card_normal .aiq_price_final_num { color: var(--aiq-text, #1a1f3a); }
.aiq_price_cta_normal {
    background: linear-gradient(135deg, #5e6580, #3a3f56) !important;
    box-shadow: 0 12px 24px -10px rgba(0,0,0,0.25) !important;
}
.aiq_price_cta_normal .apcm_glow { display: none; }

/* ═══════════════════════════════════════════ */
/* 프로모션 만료 시 가격 카드 전환 (JS 동적 클래스)    */
/* ═══════════════════════════════════════════ */
.aiq_price_card.promo-expired .aiq_price_badge {
    background: #8b97b3;
    box-shadow: none;
    animation: none;
}
.aiq_price_card.promo-expired .aiq_badge_flame { animation: none; }
.aiq_price_card.promo-expired .aiq_price_line_discount {
    opacity: 0.4;
    text-decoration: line-through;
}
.aiq_price_card.promo-expired .aiq_price_final {
    background: linear-gradient(135deg, #f0f0f0, #e8e8e8);
    border-color: #ccc;
}
.aiq_price_card.promo-expired .aiq_price_final::before { display: none; }
.aiq_price_card.promo-expired .aiq_price_final_label {
    color: #8b97b3;
}
.aiq_price_card.promo-expired .aiq_price_final_num {
    color: #8b97b3;
    text-decoration: line-through;
    font-size: 28px;
}
.aiq_price_card.promo-expired .aiq_price_final_save { display: none; }
.aiq_price_card.promo-expired .aiq_price_final_strike {
    text-decoration: none;
    color: var(--aiq-text);
    font-weight: 800;
    font-size: 15px;
}
.aiq_price_card.promo-expired .aiq_price_final_right {
    border-left-color: #ccc;
}
.aiq_price_card.promo-expired .aiq_price_final_right small { color: #8b97b3; }
.aiq_price_card.promo-expired .aiq_price_final_right strong { color: #8b97b3; }

/* CTA 버튼도 전환 */
.aiq_price_card.promo-expired .aiq_price_cta_main {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    box-shadow: 0 12px 24px -10px rgba(0,0,0,0.25);
}
.aiq_price_card.promo-expired .apcm_text strong::after {
    content: ' (프로모션 종료)';
    font-size: 12px;
    color: rgba(255,255,255,0.6);
}
.aiq_price_card.promo-expired .apcm_text small {
    color: rgba(255,255,255,0.5);
}

/* ═══════════════════════════════════════════ */
/* CEO 카드                                       */
/* ═══════════════════════════════════════════ */
.aiq_ceo_card {
    background: #fff;
    border-radius: 28px;
    padding: 36px 40px;
    box-shadow: 0 24px 56px -20px rgba(10, 14, 46, 0.45);
    margin-bottom: 32px;
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 32px;
    align-items: flex-start;
}
.aiq_ceo_avatar {
    position: relative;
    width: 140px;
    height: 140px;
    flex-shrink: 0;
}
.aiq_ceo_avatar_inner {
    position: absolute;
    inset: 14px;
    background: linear-gradient(135deg, #0a0e2e 0%, #1a2166 50%, #2a3ab8 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    font-weight: 900;
    font-family: 'GmarketSans', sans-serif;
    text-align: center;
    line-height: 1.05;
    letter-spacing: -1px;
    box-shadow: inset 0 -8px 20px rgba(0, 0, 0, 0.2);
}
.aiq_ceo_avatar_ring {
    position: absolute;
    inset: 0;
    background: conic-gradient(from 180deg, #5b6cff, #a675ff, #ff5e7e, #5b6cff);
    border-radius: 50%;
    animation: aiqCeoRotate 10s linear infinite;
}
@keyframes aiqCeoRotate {
    to { transform: rotate(360deg); }
}

.aiq_ceo_eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #eef1ff;
    color: #2a3ab8;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 14px;
}
.aiq_ceo_title {
    font-size: 24px;
    line-height: 1.4;
    color: #1a1f3a;
    margin: 0 0 16px;
}
.aiq_ceo_body {
    font-size: 14px;
    line-height: 1.85;
    color: #5e6580;
    margin-bottom: 22px;
}
.aiq_ceo_body strong {
    color: #1a1f3a;
    font-weight: 800;
}

.aiq_ceo_proofs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.aiq_ceo_proof {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 14px 10px;
    background: var(--aiq-surface-lt);
    border: 1px solid var(--aiq-border-lt);
    border-radius: 12px;
    text-align: center;
}
.aiq_ceo_proof i {
    font-size: 20px;
    color: #5b6cff;
    margin-bottom: 2px;
}
.aiq_ceo_proof strong {
    font-size: 12px;
    font-weight: 800;
    color: #1a1f3a;
}
.aiq_ceo_proof small {
    font-size: 10px;
    color: #8b97b3;
}

/* ═══════════════════════════════════════════ */
/* 품목 breakdown                                */
/* ═══════════════════════════════════════════ */
.aiq_items_wrap {
    background: #fff;
    border-radius: 28px;
    padding: 32px 36px;
    box-shadow: 0 24px 56px -20px rgba(10, 14, 46, 0.45);
    margin-bottom: 32px;
}
.aiq_items_head {
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--aiq-border-lt);
}
.aiq_items_head h3 {
    font-size: 20px;
    color: #1a1f3a;
    margin: 0 0 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.aiq_items_head_num { font-size: 22px; }
.aiq_items_head small {
    font-size: 12px;
    color: #8b97b3;
}

.aiq_item_cat {
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f0f2fa;
}
.aiq_item_cat:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.aiq_item_cat_head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--aiq-surface-lt);
    border-radius: 10px;
    margin-bottom: 10px;
}
.aiq_item_cat_icon { font-size: 18px; }
.aiq_item_cat_name {
    font-size: 14px;
    font-weight: 800;
    color: #1a1f3a;
    flex: 1;
}
.aiq_item_cat_count {
    font-size: 10px;
    color: #8b97b3;
    font-weight: 700;
    padding: 2px 8px;
    background: #fff;
    border-radius: 100px;
}
.aiq_item_cat_subtotal {
    font-size: 14px;
    font-weight: 800;
    color: #2a3ab8;
    font-family: monospace;
}

.aiq_item_list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.aiq_item_row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 12px;
    border-radius: 8px;
    transition: background 0.15s;
}
.aiq_item_row:hover {
    background: var(--aiq-surface-lt);
}
.aiq_item_row.is-estimated {
    background: #fffbeb;
    border-left: 3px solid #d97706;
    padding-left: 12px;
}

.aiq_item_main {
    flex: 1;
    min-width: 0;
}
.aiq_item_name {
    font-size: 13.5px;
    font-weight: 700;
    color: #1a1f3a;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.aiq_item_est_badge {
    display: inline-block;
    padding: 1px 7px;
    background: #d97706;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    border-radius: 3px;
    text-transform: uppercase;
}
.aiq_item_cycle_badge {
    display: inline-block;
    padding: 1px 6px;
    background: #eef1ff;
    color: #5b6cff;
    font-size: 9px;
    font-weight: 800;
    border-radius: 3px;
}
/* 반복과금 안내 */
.aiq_item_recurring_notice {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    margin-top: 6px;
    padding: 6px 10px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 6px;
    font-size: 11px;
    color: #9a3412;
    line-height: 1.5;
}
.aiq_item_recurring_notice i {
    color: #ea580c;
    font-size: 13px;
    flex-shrink: 0;
    margin-top: 1px;
}
.aiq_item_recurring_notice strong { font-weight: 800; }

.aiq_item_desc {
    font-size: 12px;
    color: #8b97b3;
    margin-top: 6px;
    line-height: 1.6;
    padding-left: 12px;
    border-left: 2px solid rgba(91, 108, 255, 0.2);
}

/* 하위 페이지 리스트 (per-unit 항목) — 한 줄씩 나열 */
.aiq_item_pages {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.aiq_item_pages li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0 5px 14px;
    border-left: 2px solid rgba(91, 108, 255, 0.2);
    color: var(--aiq-text-sub, #5e6580);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
}
.aiq_item_pages li::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--aiq-primary, #5b6cff);
    flex-shrink: 0;
}
.aiq_item_pages li:first-child { padding-top: 2px; }
.aiq_item_pages li:last-child { padding-bottom: 2px; }

.aiq_item_meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    flex-shrink: 0;
    text-align: right;
}
.aiq_item_unit {
    font-size: 11.5px;
    color: #8b97b3;
    font-family: monospace;
}
.aiq_item_unit small { font-size: 9px; }
.aiq_item_qty {
    font-size: 10px;
    color: #8b97b3;
}
.aiq_item_total {
    font-size: 14px;
    font-weight: 800;
    color: #2a3ab8;
    font-family: monospace;
    margin-top: 2px;
}

/* Empty state */
.aiq_empty {
    text-align: center;
    padding: 60px 20px;
    color: #8b97b3;
}
.aiq_empty_icon {
    font-size: 48px;
    margin-bottom: 14px;
}
.aiq_empty_back {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 20px;
    padding: 10px 18px;
    background: #eef1ff;
    color: #2a3ab8;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

/* ═══════════════════════════════════════════ */
/* 왜 지금                                       */
/* ═══════════════════════════════════════════ */
.aiq_why_now {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    padding: 36px 40px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    margin-bottom: 32px;
}
.aiq_why_now h3 {
    font-size: 24px;
    color: #fff;
    text-align: center;
    margin: 0 0 28px;
}

.aiq_why_list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.aiq_why_list li {
    display: flex;
    gap: 14px;
    padding: 20px 22px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    transition: transform 0.2s, background 0.2s;
}
.aiq_why_list li:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.08);
}
.aiq_why_num {
    font-size: 20px;
    font-weight: 900;
    color: #8a9aff;
    font-family: 'GmarketSans', sans-serif;
    flex-shrink: 0;
}
.aiq_why_list li strong {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
}
.aiq_why_list li p {
    font-size: 12.5px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.68);
    margin: 0;
}

/* ═══════════════════════════════════════════ */
/* 하단 sticky CTA                                */
/* ═══════════════════════════════════════════ */
.aiq_bottom_cta {
    background: linear-gradient(135deg, #ff5e7e, #c94500);
    border-radius: 24px;
    padding: 28px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 24px 50px -18px rgba(255, 94, 126, 0.45);
    flex-wrap: wrap;
}
.aiq_bottom_cta_text strong {
    display: block;
    font-size: 17px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}
.aiq_bottom_cta_text small {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.82);
}
.aiq_bottom_cta_btns {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.aiq_bottom_btn_pay,
.aiq_bottom_btn_ask {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 13px 22px;
    border: none;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
}
.aiq_bottom_btn_pay {
    background: #fff;
    color: #c94500;
    box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.3);
}
.aiq_bottom_btn_pay:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.4);
}
.aiq_bottom_btn_ask {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
}
.aiq_bottom_btn_ask:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    text-decoration: none;
}

/* ═══════════════════════════════════════════ */
/* 가상계좌 발급 정보 (결제 전 상시 표시)               */
/* ═══════════════════════════════════════════ */
.aiq_vbank_info {
    margin-top: 20px;
    padding: 22px 24px;
    background: linear-gradient(135deg, #fff9e6, #fff3cd);
    border: 2px solid #ffd54f;
    border-radius: 16px;
    position: relative;
}
.aiq_vbank_head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 800;
    color: #8a6100;
    margin-bottom: 14px;
}
.aiq_vbank_head i { font-size: 20px; }
.aiq_vbank_body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.aiq_vbank_row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}
.aiq_vbank_row span { color: #8a6100; font-weight: 600; }
.aiq_vbank_row strong { color: #1a1f3a; font-weight: 800; }
.aiq_vbank_acct {
    font-family: monospace;
    font-size: 16px;
    letter-spacing: 1px;
}
.aiq_vbank_note {
    margin-top: 12px;
    font-size: 11.5px;
    color: #8a6100;
    display: flex;
    align-items: center;
    gap: 5px;
}
.aiq_vbank_note i { font-size: 14px; }

/* ═══════════════════════════════════════════ */
/* 결제 모달                                       */
/* ═══════════════════════════════════════════ */
.aiq_pay_overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(10,14,46,0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
}
.aiq_pay_overlay.show {
    opacity: 1;
    pointer-events: all;
}

.aiq_pay_modal {
    background: #fff;
    border-radius: 24px;
    max-width: 460px;
    width: 92%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 32px 64px -20px rgba(0,0,0,0.5);
    animation: aiqPayIn 0.3s cubic-bezier(0.22,1,0.36,1);
}
@keyframes aiqPayIn {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.aiq_pay_modal_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 28px 18px;
    border-bottom: 1px solid #eef1ff;
}
.aiq_pay_modal_head h3 {
    font-size: 18px;
    font-weight: 800;
    color: #1a1f3a;
    margin: 0;
}
.aiq_pay_close {
    width: 36px; height: 36px;
    border: none;
    background: #f7f8fd;
    border-radius: 50%;
    font-size: 20px;
    color: #8b97b3;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}
.aiq_pay_close:hover { background: #eef1ff; color: #1a1f3a; }

.aiq_pay_modal_body {
    padding: 24px 28px 28px;
}

/* 프로젝트 정보 */
.aiq_pay_info {
    padding: 18px 20px;
    background: #f7f8fd;
    border-radius: 14px;
    margin-bottom: 22px;
}
.aiq_pay_info_row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
}
.aiq_pay_info_label {
    font-size: 13px;
    color: #8b97b3;
    font-weight: 600;
}
.aiq_pay_info_row strong {
    font-size: 14px;
    font-weight: 800;
    color: #1a1f3a;
}
.aiq_pay_amount {
    font-size: 20px !important;
    color: #5b6cff !important;
    font-family: monospace;
}
.aiq_pay_info_hint {
    display: block;
    margin-top: 8px;
    font-size: 11px;
    color: #8b97b3;
    text-align: center;
}

/* 결제수단 선택 */
.aiq_pay_method {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}
.aiq_pay_method_option {
    cursor: pointer;
}
.aiq_pay_method_option input { display: none; }
.aiq_pay_method_box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 18px 14px;
    border: 2px solid #e6e8f0;
    border-radius: 14px;
    transition: all 0.2s;
    text-align: center;
}
.aiq_pay_method_box i {
    font-size: 24px;
    color: #8b97b3;
    transition: color 0.2s;
}
.aiq_pay_method_box strong {
    font-size: 14px;
    font-weight: 800;
    color: #1a1f3a;
}
.aiq_pay_method_box small {
    font-size: 11px;
    color: #8b97b3;
}
.aiq_pay_method_option input:checked + .aiq_pay_method_box {
    border-color: #5b6cff;
    background: #eef1ff;
}
.aiq_pay_method_option input:checked + .aiq_pay_method_box i {
    color: #5b6cff;
}

/* 가상계좌 섹션 */
.aiq_pay_vbank_section {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.aiq_pay_field label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #5b6cff;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.aiq_pay_select,
.aiq_pay_input {
    display: block;
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    background: #f7f8fd;
    border: 1.5px solid #e6e8f0;
    border-radius: 12px;
    outline: none;
    color: #1a1f3a;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none;
}
.aiq_pay_select:focus,
.aiq_pay_input:focus {
    border-color: #5b6cff;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(91,108,255,0.1);
}

/* 에러 */
.aiq_pay_error {
    display: none;
    padding: 10px 14px;
    background: #fdecee;
    color: #9c2230;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
}

/* 결제 버튼 */
.aiq_pay_submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 17px;
    background: linear-gradient(135deg, #5b6cff, #2a3ab8);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 12px 28px -8px rgba(91,108,255,0.5);
}
.aiq_pay_submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px -10px rgba(91,108,255,0.65);
}
.aiq_pay_submit i { font-size: 20px; }

.aiq_pay_footer {
    margin-top: 14px;
    font-size: 11px;
    color: #8b97b3;
    text-align: center;
}

@media (max-width: 767px) {
    .aiq_pay_modal {
        max-width: 100%;
        width: 96%;
        border-radius: 20px;
    }
    .aiq_pay_modal_head { padding: 18px 22px 14px; }
    .aiq_pay_modal_body { padding: 20px 22px 24px; }
    .aiq_pay_method_box { padding: 14px 10px; }
    .aiq_pay_method_box strong { font-size: 13px; }
}

/* ─── 반응형 ─── */
@media (max-width: 1023px) {
    .aiq_result_inner { padding-top: 32px; padding-bottom: 72px; }
    .aiq_result_title { font-size: 30px; }
    .aiq_ceo_card {
        grid-template-columns: 100px 1fr;
        padding: 28px 26px;
        gap: 22px;
    }
    .aiq_ceo_avatar { width: 100px; height: 100px; }
    .aiq_ceo_avatar_inner { font-size: 26px; }
    .aiq_ceo_title { font-size: 20px; }
    .aiq_why_list { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
    .aiq_result_inner { padding-top: 24px; padding-bottom: 60px; }

    .aiq_result_title { font-size: 24px; }
    .aiq_result_title_light { font-size: 16px; }
    .aiq_result_sub { font-size: 13.5px; }

    .aiq_price_card {
        padding: 24px 22px 28px;
        border-radius: 22px;
    }
    .aiq_price_head { gap: 10px; }
    .aiq_price_count { font-size: 12px; }
    .aiq_price_badge { font-size: 11px; padding: 7px 12px; }

    .aiq_price_lines { padding: 16px 0; gap: 10px; }
    .aiq_price_line { font-size: 13px; }

    .aiq_price_final {
        padding: 18px 20px;
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .aiq_price_final_num { font-size: 30px; }
    .aiq_price_final_right {
        padding-left: 0;
        padding-top: 14px;
        margin-top: 4px;
        border-left: none;
        border-top: 2px dashed #e5a600;
        text-align: center;
    }
    .aiq_price_final_right strong { font-size: 20px; }

    .aiq_price_cta_main { padding: 18px 20px; gap: 12px; }
    .apcm_icon { font-size: 26px; }
    .apcm_text strong { font-size: 14.5px; }
    .apcm_text small { font-size: 11px; }
    .apcm_arrow { width: 36px; height: 36px; font-size: 16px; }

    .aiq_ceo_card {
        grid-template-columns: 1fr;
        padding: 24px 22px;
        gap: 18px;
        text-align: center;
    }
    .aiq_ceo_avatar { margin: 0 auto; width: 90px; height: 90px; }
    .aiq_ceo_title { font-size: 18px; }
    .aiq_ceo_body { font-size: 13px; text-align: left; }
    .aiq_ceo_proofs { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
    .aiq_ceo_proof { padding: 10px 6px; }
    .aiq_ceo_proof strong { font-size: 11px; }
    .aiq_ceo_proof small { font-size: 9px; }

    .aiq_items_wrap {
        padding: 24px 20px;
        border-radius: 22px;
    }
    .aiq_items_head h3 { font-size: 17px; }
    .aiq_item_row {
        padding: 8px 10px;
        gap: 8px;
        flex-direction: column;
    }
    .aiq_item_name { font-size: 12.5px; }
    .aiq_item_desc { font-size: 11px; padding-left: 10px; }
    .aiq_item_pages li { font-size: 11px; padding: 4px 0 4px 10px; }
    .aiq_item_meta {
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        gap: 8px;
        width: 100%;
    }
    .aiq_item_total { font-size: 13px; }

    .aiq_why_now { padding: 26px 22px; border-radius: 22px; }
    .aiq_why_now h3 { font-size: 19px; margin-bottom: 20px; }
    .aiq_why_list li { padding: 16px 18px; }
    .aiq_why_list li strong { font-size: 13.5px; }
    .aiq_why_list li p { font-size: 11.5px; }

    .aiq_bottom_cta {
        padding: 22px 20px;
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 16px;
    }
    .aiq_bottom_cta_btns {
        flex-direction: column;
    }
    .aiq_bottom_btn_pay,
    .aiq_bottom_btn_ask {
        justify-content: center;
        padding: 14px 20px;
    }

    .aiq_promo_trust {
        padding: 14px 16px;
        border-radius: 10px;
    }
    .aiq_promo_trust ul { gap: 6px; }
    .aiq_promo_trust li {
        font-size: 12px;
        gap: 6px;
        line-height: 1.5;
    }
    .aiq_promo_trust li i {
        font-size: 14px;
        margin-top: 1px;
    }
}

@media (max-width: 380px) {
    .aiq_result_title { font-size: 20px; }
    .aiq_price_card { padding: 20px 16px 24px; }
    .aiq_price_final_num { font-size: 26px; }
    .apcm_text strong { font-size: 13px; }
    .aiq_ceo_card { padding: 20px 16px; }
    .aiq_items_wrap { padding: 20px 16px; }
    .aiq_item_cat_head { padding: 8px 10px; }
    .aiq_ceo_proofs { grid-template-columns: 1fr; }
}
