@charset "utf-8";

/* ==========================================================
   HINT 명리심리(命理心理) 전용 디자인 시스템
   - 동양 정통 명리학의 음양오행과 현대 인지심리학의 조화
   - Typography: Pretendard (본문) + Noto Serif KR (명조/철학)
   ========================================================== */

:root {
    /* Palette : Deep Midnight & Mystic Gold */
    --mr-bg-dark: #090d16;
    --mr-bg-card: rgba(18, 24, 38, 0.85);
    --mr-bg-light: #f8fafc;
    --mr-bg-white: #ffffff;
    
    --mr-primary: #1e293b;
    --mr-primary-light: #334155;
    
    --mr-gold-100: #fbf5db;
    --mr-gold-200: #f4e39d;
    --mr-gold-400: #e5c07b;
    --mr-gold-500: #d4af37;
    --mr-gold-600: #b89223;
    --mr-gold-grad: linear-gradient(135deg, #f6e6b4 0%, #d4af37 50%, #9a781b 100%);
    --mr-gold-glow: 0 0 25px rgba(212, 175, 55, 0.35);

    /* Five Elements (오행) Colors */
    --mr-wood: #10b981;    /* 木 : 청/녹 */
    --mr-fire: #ef4444;    /* 火 : 적 */
    --mr-earth: #f59e0b;   /* 土 : 황 */
    --mr-metal: #94a3b8;   /* 金 : 백/은 */
    --mr-water: #0ea5e9;   /* 水 : 흑/청수 */

    /* Typography */
    --mr-font-sans: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', sans-serif;
    --mr-font-serif: 'Noto Serif KR', 'Batang', serif;

    /* Shadow & Radius */
    --mr-radius-sm: 8px;
    --mr-radius-md: 14px;
    --mr-radius-lg: 22px;
    --mr-shadow-card: 0 12px 35px -8px rgba(0, 0, 0, 0.08);
    --mr-shadow-dark: 0 16px 40px -10px rgba(0, 0, 0, 0.5);
    --mr-border-glass: rgba(255, 255, 255, 0.08);
}

/* Base Reset */
#hd_login_msg { display: none !important; }
.mr_mobile_toggle_btn { display: none; }
.mr_mobile_user_area { display: none; }
.mr_mobile_drawer_overlay, .mr_mobile_drawer { display: none; }

html { overflow-y: scroll; box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body {
    margin: 0;
    padding: 0;
    background: #f8fafc;
    color: #1e293b;
    font-size: 15px;
    line-height: 1.6;
    font-family: var(--mr-font-sans);
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
    font-family: var(--mr-font-serif);
    font-weight: 700;
    color: #0f172a;
}

ul, ol, li { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; transition: all 0.2s ease; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: 14px; }

/* Container */
.mr_container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================
   Header Component (#mr_header)
   ========================================================== */
#mr_header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(9, 13, 22, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.mr_header_inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 28px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mr_logo_link {
    display: flex;
    align-items: center;
    gap: 14px;
}

.mr_logo_badge {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mr_yin_yang {
    width: 42px;
    height: 42px;
    animation: mr_rotate_slow 40s linear infinite;
}

@keyframes mr_rotate_slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.mr_brand_title {
    font-family: var(--mr-font-serif);
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 0.5px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mr_brand_title .mr_hanja {
    display: inline-block;
    padding: 2px 7px;
    font-size: 13px;
    font-weight: 700;
    color: #0b0f19;
    background: var(--mr-gold-grad);
    border-radius: 4px;
    line-height: 1.2;
}

.mr_brand_sub {
    font-size: 11px;
    letter-spacing: 1.2px;
    color: #94a3b8;
    text-transform: uppercase;
}

/* Navigation */
.mr_nav {
    display: flex;
    align-items: center;
}

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

.mr_menu_item {
    position: relative;
}

.mr_menu_item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 18px;
    border-radius: var(--mr-radius-sm);
    color: #cbd5e1;
    transition: all 0.25s ease;
}

.mr_menu_kr {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.mr_menu_en {
    font-size: 10px;
    letter-spacing: 0.5px;
    color: #64748b;
    text-transform: uppercase;
    transition: color 0.25s ease;
}

.mr_menu_item:hover a,
.mr_menu_item.active a {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.mr_menu_item:hover .mr_menu_kr,
.mr_menu_item.active .mr_menu_kr {
    color: var(--mr-gold-400);
}

.mr_menu_item:hover .mr_menu_en,
.mr_menu_item.active .mr_menu_en {
    color: var(--mr-gold-200);
}

.mr_menu_item.active a:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background: var(--mr-gold-grad);
    border-radius: 2px;
}

.mr_menu_hot {
    position: absolute;
    top: -4px;
    right: 4px;
    padding: 2px 5px;
    font-size: 9px;
    font-weight: 800;
    background: #ef4444;
    color: #ffffff;
    border-radius: 10px;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
}

/* User Area */
.mr_user_area {
    display: flex;
    align-items: center;
}

.mr_auth_buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mr_btn_auth {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.25s ease;
}

.mr_login_btn {
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.04);
}

.mr_login_btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.35);
}

.mr_register_btn {
    color: #0b0f19;
    background: var(--mr-gold-grad);
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.3);
}

.mr_register_btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.mr_user_pill {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 30px;
}

.mr_user_greeting {
    font-size: 13px;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mr_user_greeting strong {
    color: var(--mr-gold-400);
}

.mr_btn_mypage {
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    background: rgba(212, 175, 55, 0.15);
    color: var(--mr-gold-200);
    border-radius: 20px;
}

.mr_btn_mypage:hover {
    background: rgba(212, 175, 55, 0.3);
}

.mr_btn_admin {
    font-size: 12px;
    font-weight: 600;
    color: #38bdf8;
}

.mr_logout {
    font-size: 12px;
    color: #94a3b8;
}

.mr_logout:hover {
    color: #f87171;
}

/* ==========================================================
   Hero Section (.mr_hero)
   ========================================================== */
.mr_hero {
    position: relative;
    min-height: 720px;
    padding: 140px 24px 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: var(--mr-bg-dark);
}

.mr_hero_bg {
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
    opacity: 0.95;
    transform: scale(1.02);
    transition: transform 10s ease;
}

.mr_hero:hover .mr_hero_bg {
    transform: scale(1.05);
}

.mr_hero_overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 25%, rgba(11, 15, 25, 0.2) 0%, rgba(9, 13, 22, 0.85) 75%, #090d16 100%);
    pointer-events: none;
}

.mr_hero_inner {
    position: relative;
    z-index: 2;
    max-width: 960px;
    margin: 0 auto;
    padding-top: 20px;
}

.mr_hero_badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(18, 24, 38, 0.7);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 40px;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.mr_badge_symbol {
    font-size: 16px;
    color: var(--mr-gold-400);
}

.mr_badge_text {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #f1f5f9;
}

.mr_hero_title {
    font-family: var(--mr-font-serif);
    font-size: 46px;
    line-height: 1.35;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 24px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    word-break: keep-all;
}

.mr_gold_text {
    background: var(--mr-gold-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.3));
}

.mr_hero_desc {
    font-size: 18px;
    line-height: 1.7;
    color: #cbd5e1;
    margin-bottom: 40px;
    font-weight: 400;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    word-break: keep-all;
}

.mr_hero_cta_group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.mr_btn_primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    font-size: 17px;
    font-weight: 700;
    color: #0b0f19;
    background: var(--mr-gold-grad);
    border-radius: 40px;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mr_btn_primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.6);
    color: #000000;
}

.mr_btn_secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 40px;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.mr_btn_secondary:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    color: #ffffff;
}

/* 5 Elements Strip */
.mr_elements_strip {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.mr_element_item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: rgba(18, 24, 38, 0.65);
    border: 1px solid var(--mr-border-glass);
    border-radius: 30px;
    backdrop-filter: blur(6px);
    transition: all 0.3s ease;
}

.mr_element_item:hover {
    transform: translateY(-3px);
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.el_hanja {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-family: var(--mr-font-serif);
    font-size: 14px;
    font-weight: 900;
    color: #ffffff;
}

.el_info {
    text-align: left;
    display: flex;
    flex-direction: column;
}

.el_name {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.el_trait {
    font-size: 11px;
    color: #94a3b8;
}

.el_wood .el_hanja { background: var(--mr-wood); }
.el_fire .el_hanja { background: var(--mr-fire); }
.el_earth .el_hanja { background: var(--mr-earth); }
.el_metal .el_hanja { background: var(--mr-metal); color: #0b0f19; }
.el_water .el_hanja { background: var(--mr-water); }

/* ==========================================================
   Fast Assessment Form (.mr_fast_check_section)
   ========================================================== */
.mr_fast_check_section {
    position: relative;
    z-index: 10;
    margin-top: -45px;
    margin-bottom: 60px;
}

.mr_fast_box {
    background: #ffffff;
    border-radius: var(--mr-radius-md);
    padding: 28px 36px;
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.mr_fast_header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
}

.mr_fast_icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fef3c7;
    color: #b45309;
    border-radius: 12px;
    font-size: 20px;
}

.mr_fast_title {
    font-family: var(--mr-font-serif);
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
}

.mr_fast_sub {
    font-size: 13px;
    color: #64748b;
    margin-top: 2px;
}

.mr_fast_form {
    display: flex;
    align-items: flex-end;
    gap: 14px;
    flex-wrap: wrap;
}

.mr_input_col {
    flex: 1;
    min-width: 140px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mr_input_col label {
    font-size: 12px;
    font-weight: 700;
    color: #475569;
}

.mr_select {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid #cbd5e1;
    border-radius: var(--mr-radius-sm);
    background-color: #f8fafc;
    color: #1e293b;
    font-size: 14px;
    font-weight: 600;
    outline: none;
    transition: all 0.2s ease;
}

.mr_select:focus {
    border-color: var(--mr-gold-500);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.mr_btn_col {
    flex: 1.3;
    min-width: 180px;
}

.mr_fast_submit_btn {
    width: 100%;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--mr-gold-grad);
    color: #0b0f19;
    font-size: 15px;
    font-weight: 700;
    border-radius: var(--mr-radius-sm);
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
    transition: all 0.25s ease;
}

.mr_fast_submit_btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

/* ==========================================================
   Section Common
   ========================================================== */
.mr_section {
    padding: 90px 0;
}

.mr_section_header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 60px;
}

.mr_section_sub {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--mr-gold-600);
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.mr_section_title {
    font-family: var(--mr-font-serif);
    font-size: 34px;
    line-height: 1.35;
    font-weight: 800;
    color: #0f172a;
    word-break: keep-all;
}

.mr_gold_highlight {
    color: #d97706;
    background: linear-gradient(120deg, rgba(245, 158, 11, 0.12) 0%, rgba(217, 119, 6, 0.18) 100%);
    padding: 2px 10px;
    border-radius: 6px;
    display: inline-block;
}

.mr_deco_line {
    width: 80px;
    height: 1px;
    background: #cbd5e1;
    margin: 18px auto;
    position: relative;
}

.mr_deco_dot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: var(--mr-gold-500);
    border-radius: 50%;
}

.mr_section_desc {
    font-size: 16px;
    color: #64748b;
    line-height: 1.65;
    word-break: keep-all;
}

/* ==========================================================
   Value Cards (.mr_value_grid)
   ========================================================== */
.mr_value_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.mr_value_card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--mr-radius-md);
    padding: 42px 32px 36px;
    box-shadow: var(--mr-shadow-card);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.mr_value_card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.12);
    border-color: rgba(212, 175, 55, 0.6);
}

.mr_value_card.mr_featured {
    border: 2px solid var(--mr-gold-500);
    box-shadow: 0 16px 40px -8px rgba(212, 175, 55, 0.2);
}

.mr_featured_tag {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    background: #fef3c7;
    color: #92400e;
    border-radius: 20px;
    border: 1px solid #fde68a;
}

.mr_card_icon_wrap {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    font-size: 26px;
    color: var(--mr-gold-600);
    margin-bottom: 24px;
    position: relative;
}

.mr_hanja_watermark {
    position: absolute;
    right: -10px;
    bottom: -15px;
    font-family: var(--mr-font-serif);
    font-size: 48px;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.04);
    pointer-events: none;
}

.mr_card_title {
    font-family: var(--mr-font-serif);
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
}

.mr_card_sub {
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 16px;
}

.mr_card_desc {
    font-size: 14px;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 24px;
    word-break: keep-all;
}

.mr_card_tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.mr_card_tags span {
    font-size: 12px;
    color: #64748b;
    background: #f1f5f9;
    padding: 3px 9px;
    border-radius: 6px;
}

/* ==========================================================
   Five Elements Psychology (.mr_elements_section)
   ========================================================== */
.mr_elements_section {
    background: #0f172a;
    color: #ffffff;
    position: relative;
}

.mr_section_header.light .mr_section_title {
    color: #ffffff;
}

.mr_section_header.light .mr_section_desc {
    color: #94a3b8;
}

.mr_section_header.light .mr_deco_line {
    background: #334155;
}

.mr_element_cards_wrap {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.mr_el_card {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--mr-radius-md);
    padding: 30px 20px;
    text-align: center;
    backdrop-filter: blur(8px);
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
}

.mr_el_card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.4);
}

.el_symbol {
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-family: var(--mr-font-serif);
    font-size: 26px;
    font-weight: 900;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.card_wood .el_symbol { background: var(--mr-wood); }
.card_wood:hover { border-color: var(--mr-wood); }

.card_fire .el_symbol { background: var(--mr-fire); }
.card_fire:hover { border-color: var(--mr-fire); }

.card_earth .el_symbol { background: var(--mr-earth); }
.card_earth:hover { border-color: var(--mr-earth); }

.card_metal .el_symbol { background: var(--mr-metal); color: #0b0f19; }
.card_metal:hover { border-color: var(--mr-metal); }

.card_water .el_symbol { background: var(--mr-water); }
.card_water:hover { border-color: var(--mr-water); }

.el_title {
    font-family: var(--mr-font-serif);
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
}

.el_keyword {
    font-size: 12px;
    font-weight: 700;
    color: var(--mr-gold-400);
    margin-bottom: 14px;
}

.el_desc {
    font-size: 13px;
    line-height: 1.6;
    color: #cbd5e1;
    margin-bottom: 18px;
    flex-grow: 1;
    word-break: keep-all;
}

.el_recommend {
    font-size: 11px;
    color: #94a3b8;
    background: rgba(0, 0, 0, 0.25);
    padding: 8px 10px;
    border-radius: 8px;
    line-height: 1.4;
}

/* ==========================================================
   Target Section (.mr_target_section)
   ========================================================== */
.mr_target_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.mr_target_box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--mr-radius-md);
    padding: 34px 26px;
    box-shadow: var(--mr-shadow-card);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mr_target_box:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px -8px rgba(0, 0, 0, 0.12);
    border-color: rgba(212, 175, 55, 0.5);
}

.mr_target_icon_bg {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #f1f5f9;
    color: #0f172a;
    font-size: 22px;
    margin-bottom: 20px;
}

.mr_target_title {
    font-family: var(--mr-font-serif);
    font-size: 19px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
}

.mr_target_desc {
    font-size: 13px;
    line-height: 1.7;
    color: #64748b;
    margin-bottom: 20px;
    flex-grow: 1;
    word-break: keep-all;
}

.mr_target_point {
    font-size: 12px;
    font-weight: 700;
    color: #b45309;
    padding-top: 14px;
    border-top: 1px dashed #e2e8f0;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ==========================================================
   Process Section (.mr_process_section)
   ========================================================== */
.mr_process_section {
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.mr_steps_wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.mr_step_item {
    flex: 1;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--mr-radius-md);
    padding: 28px 22px;
    transition: all 0.3s ease;
}

.mr_step_item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    border-color: var(--mr-gold-500);
}

.mr_step_item.highlight {
    background: #fefce8;
    border-color: #fde047;
}

.mr_step_num {
    font-family: var(--mr-font-serif);
    font-size: 24px;
    font-weight: 900;
    color: var(--mr-gold-600);
    margin-bottom: 12px;
}

.mr_step_content h4 {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.mr_step_content p {
    font-size: 13px;
    line-height: 1.5;
    color: #64748b;
    word-break: keep-all;
}

.mr_step_arrow {
    color: #94a3b8;
    font-size: 18px;
}

/* ==========================================================
   Bottom CTA (.mr_bottom_cta)
   ========================================================== */
.mr_bottom_cta {
    padding: 100px 24px;
    text-align: center;
    background: radial-gradient(circle at 50% 50%, #1e293b 0%, #0f172a 100%);
    color: #ffffff;
    position: relative;
}

.mr_bottom_cta_inner {
    max-width: 780px;
    margin: 0 auto;
}

.mr_cta_badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 700;
    color: var(--mr-gold-400);
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    margin-bottom: 24px;
}

.mr_cta_title {
    font-family: var(--mr-font-serif);
    font-size: 38px;
    line-height: 1.35;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    word-break: keep-all;
}

.mr_cta_desc {
    font-size: 17px;
    line-height: 1.7;
    color: #cbd5e1;
    margin-bottom: 40px;
    word-break: keep-all;
}

.mr_cta_btn_row {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.mr_btn_primary.large {
    padding: 18px 42px;
    font-size: 18px;
}

.mr_btn_secondary.large {
    padding: 18px 36px;
    font-size: 17px;
}

/* ==========================================================
   Footer Component (#mr_footer)
   ========================================================== */
#mr_footer {
    background: #090d16;
    color: #94a3b8;
    font-size: 13px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.mr_footer_inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.mr_footer_top {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    padding: 20px 0;
}

.mr_footer_top .mr_footer_inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.mr_footer_nav {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.mr_footer_nav a {
    color: #cbd5e1;
    font-weight: 500;
}

.mr_footer_nav a:hover,
.mr_footer_nav a.mr_highlight {
    color: var(--mr-gold-400);
}

.mr_footer_nav .mr_dot {
    color: #475569;
}

.mr_footer_hours {
    font-size: 12px;
    color: #64748b;
}

.mr_footer_bottom {
    padding: 50px 0 30px;
}

.mr_footer_grid {
    display: grid;
    grid-template-columns: 1.5fr 1.5fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.mr_ft_logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 14px;
}

.mr_hanja_badge {
    padding: 2px 7px;
    font-size: 12px;
    font-weight: 700;
    color: #0b0f19;
    background: var(--mr-gold-grad);
    border-radius: 4px;
}

.mr_ft_desc {
    font-size: 12px;
    line-height: 1.7;
    color: #64748b;
    margin-bottom: 16px;
}

.mr_ft_patent {
    font-size: 12px;
    color: var(--mr-gold-400);
}

.mr_ft_title {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    font-family: var(--mr-font-sans);
}

.mr_ft_list li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: #94a3b8;
}

.mr_ft_list span {
    color: #64748b;
}

.mr_ft_list a {
    color: #cbd5e1;
}

.mr_divider {
    color: #334155;
    margin: 0 6px;
}

.mr_ft_links li {
    margin-bottom: 10px;
}

.mr_ft_links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #cbd5e1;
    font-size: 13px;
}

.mr_ft_links a:hover {
    color: var(--mr-gold-400);
    transform: translateX(3px);
}

.mr_copyright_area {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    text-align: center;
}

.mr_copyright {
    font-size: 12px;
    color: #475569;
}

/* ==========================================================
   Floating Tools
   ========================================================== */
#mr_floating_tools {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.mr_floating_cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--mr-gold-grad);
    color: #0b0f19;
    font-size: 14px;
    font-weight: 700;
    border-radius: 30px;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
    transition: all 0.25s ease;
}

.mr_floating_cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.7);
}

#mr_btn_top {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #1e293b;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

#mr_btn_top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#mr_btn_top:hover {
    background: var(--mr-gold-500);
    color: #0b0f19;
}

/* ==========================================================
   Subpage Common Style
   ========================================================== */
.mr_subpage_header {
    background: radial-gradient(circle at 50% 30%, #1e293b 0%, #090d16 100%);
    padding: 60px 24px;
    text-align: center;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.mr_subpage_title {
    font-family: var(--mr-font-serif);
    font-size: 32px;
    color: #ffffff;
    margin-bottom: 10px;
}

.mr_subpage_desc {
    font-size: 15px;
    color: #94a3b8;
}

#mr_body_wrapper {
    min-height: 600px;
}

/* 기존 그누보드 서브페이지 및 게시판 컨테이너 호환 */
#container {
    width: 100%;
    max-width: 1140px;
    margin: 40px auto;
    padding: 40px 30px;
    background: #ffffff;
    border-radius: var(--mr-radius-md);
    box-shadow: var(--mr-shadow-card);
    border: 1px solid #e2e8f0;
}

#container_title {
    font-family: var(--mr-font-serif);
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #0f172a;
}

/* 로그인 / 회원가입 페이지 모던 카드 스타일 */
#mb_login, #register_form, .mbskin {
    max-width: 480px;
    margin: 40px auto;
    padding: 40px 32px;
    background: #ffffff;
    border-radius: var(--mr-radius-md);
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

#mb_login h1 {
    font-family: var(--mr-font-serif);
    font-size: 26px;
    font-weight: 800;
    text-align: center;
    color: #0f172a;
    margin-bottom: 24px;
}

/* Responsive */
@media (max-width: 1024px) {
    .mr_value_grid { grid-template-columns: 1fr; }
    .mr_element_cards_wrap { grid-template-columns: repeat(2, 1fr); }
    .mr_target_grid { grid-template-columns: repeat(2, 1fr); }
    .mr_steps_wrap { flex-direction: column; }
    .mr_step_arrow { transform: rotate(90deg); margin: 6px 0; }
    .mr_footer_grid { grid-template-columns: 1fr; }
    .mr_hero_title { font-size: 34px; }
}

@media (max-width: 860px) {
    .mr_header_inner {
        height: 66px;
        padding: 0 16px;
    }
    .mr_brand_title {
        font-size: 19px;
    }
    .mr_brand_sub {
        display: none;
    }
    .mr_mobile_toggle_btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(212, 175, 55, 0.35);
        border-radius: 10px;
        color: #f5e197;
        font-size: 18px;
        cursor: pointer;
        transition: all 0.2s ease;
    }
    .mr_mobile_toggle_btn:hover, .mr_mobile_toggle_btn:active {
        background: rgba(212, 175, 55, 0.2);
        color: #ffffff;
    }
    .mr_pc_nav {
        display: none !important;
    }
    .mr_user_area {
        display: none !important;
    }

    /* Mobile Drawer Overlay */
    .mr_mobile_drawer_overlay {
        display: block !important;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.75);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        z-index: 99998;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    .mr_mobile_drawer_overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Mobile Drawer Aside Panel */
    .mr_mobile_drawer {
        display: flex !important;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 320px;
        max-width: 86vw;
        height: 100vh;
        height: 100dvh;
        background: #090d16;
        border-left: 1px solid rgba(212, 175, 55, 0.3);
        box-shadow: -10px 0 35px rgba(0, 0, 0, 0.7);
        z-index: 99999;
        flex-direction: column;
        transform: translateX(100%);
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        overflow: hidden;
    }
    .mr_mobile_drawer.active {
        transform: translateX(0);
    }

    .mr_mobile_drawer_header {
        height: 66px;
        padding: 0 18px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        background: #0d1424;
        flex-shrink: 0;
    }
    .mr_drawer_brand {
        display: flex;
        align-items: center;
        gap: 8px;
        font-family: var(--mr-font-serif);
        font-size: 17px;
        font-weight: 800;
        color: #ffffff;
    }
    .mr_drawer_brand .mr_hanja {
        padding: 2px 7px;
        font-size: 12px;
        font-weight: 700;
        color: #0b0f19;
        background: var(--mr-gold-grad);
        border-radius: 4px;
        line-height: 1.2;
    }
    .mr_drawer_close_btn {
        width: 38px;
        height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.15);
        color: #e2e8f0;
        font-size: 18px;
        cursor: pointer;
        transition: all 0.2s ease;
    }
    .mr_drawer_close_btn:hover, .mr_drawer_close_btn:active {
        background: rgba(239, 68, 68, 0.2);
        border-color: #ef4444;
        color: #ef4444;
    }

    .mr_mobile_drawer_body {
        flex: 1;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 18px 16px 36px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 20px;
    }
    .mr_drawer_nav_list {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin: 0;
        padding: 0;
        list-style: none;
    }
    .mr_drawer_nav_item a {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 14px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.06);
        color: #f1f5f9;
        text-decoration: none;
        transition: all 0.2s ease;
    }
    .mr_drawer_nav_item.active a, .mr_drawer_nav_item a:hover {
        background: rgba(212, 175, 55, 0.12);
        border-color: rgba(212, 175, 55, 0.4);
        color: #ffffff;
    }
    .mr_drawer_icon {
        width: 36px;
        height: 36px;
        border-radius: 8px;
        background: rgba(212, 175, 55, 0.15);
        color: #f5e197;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 15px;
        flex-shrink: 0;
    }
    .mr_drawer_text {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 2px;
    }
    .mr_d_kr {
        font-size: 15px;
        font-weight: 700;
        letter-spacing: -0.3px;
        display: flex;
        align-items: center;
        gap: 6px;
    }
    .mr_d_badge {
        font-size: 9px;
        font-weight: 800;
        background: #ef4444;
        color: #ffffff;
        padding: 1px 6px;
        border-radius: 10px;
    }
    .mr_d_en {
        font-size: 11px;
        color: #64748b;
        letter-spacing: 0.3px;
    }
    .mr_d_arr {
        font-size: 12px;
        color: #64748b;
    }

    .mr_drawer_user_area {
        margin-top: auto;
        padding-top: 16px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
    .mr_drawer_user_card {
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(212, 175, 55, 0.25);
        border-radius: 14px;
        padding: 14px;
    }
    .mr_drawer_user_info {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 12px;
    }
    .mr_drawer_avatar {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: var(--mr-gold-grad);
        color: #0b0f19;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        flex-shrink: 0;
    }
    .mr_drawer_uname {
        font-size: 14px;
        color: #ffffff;
    }
    .mr_drawer_uname strong {
        color: var(--mr-gold-400);
    }
    .mr_drawer_uemail {
        font-size: 11px;
        color: #94a3b8;
    }
    .mr_drawer_user_btns {
        display: flex;
        gap: 6px;
    }
    .mr_d_btn_sub, .mr_d_btn_admin {
        flex: 1;
        height: 40px;
        font-size: 13px;
        font-weight: 600;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.15);
        color: #e2e8f0;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        text-decoration: none;
    }
    .mr_d_btn_logout {
        height: 40px;
        padding: 0 12px;
        font-size: 13px;
        font-weight: 600;
        background: rgba(239, 68, 68, 0.12);
        border: 1px solid rgba(239, 68, 68, 0.3);
        color: #fca5a5;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        text-decoration: none;
    }
    .mr_drawer_guest_card {
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 14px;
        padding: 14px;
        text-align: center;
    }
    .mr_drawer_guest_msg {
        font-size: 12.5px;
        color: #94a3b8;
        margin: 0 0 12px;
        line-height: 1.4;
    }
    .mr_drawer_guest_btns {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    .mr_d_btn_login {
        width: 100%;
        height: 44px;
        font-size: 14px;
        font-weight: 700;
        background: var(--mr-gold-grad);
        color: #0b0f19;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        text-decoration: none;
        box-shadow: 0 4px 14px rgba(212, 175, 55, 0.3);
    }
    .mr_d_btn_reg {
        width: 100%;
        height: 44px;
        font-size: 14px;
        font-weight: 600;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: #e2e8f0;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        text-decoration: none;
    }
    body.mr_drawer_locked {
        overflow: hidden !important;
        touch-action: none;
    }
    .mr_hero { padding: 70px 16px 45px; min-height: auto; }
    .mr_hero_title { font-size: 28px; line-height: 1.35; }
    .mr_hero_desc { font-size: 15px; line-height: 1.65; }
    .mr_element_cards_wrap { grid-template-columns: 1fr; }
    .mr_target_grid { grid-template-columns: 1fr; }
    .mr_fast_form { flex-direction: column; align-items: stretch; }
}
/* ==========================================================
   Analysis Page Dedicated Styles (.mr_analysis_page)
   ========================================================== */
.mr_analysis_page {
    padding-bottom: 90px;
}

.mr_an_hero {
    background: radial-gradient(circle at 50% 30%, #172033 0%, #090d16 100%);
    padding: 80px 24px 60px;
    text-align: center;
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
    margin-bottom: 50px;
}

.mr_an_hero_inner {
    max-width: 860px;
    margin: 0 auto;
}

.mr_an_badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--mr-gold-400);
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    margin-bottom: 20px;
}

.mr_an_hero_title {
    font-family: var(--mr-font-serif);
    font-size: 38px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 18px;
}

.mr_an_hero_desc {
    font-size: 16px;
    line-height: 1.7;
    color: #cbd5e1;
    margin-bottom: 28px;
    word-break: keep-all;
}

.mr_an_notice_bar {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    color: #fde68a;
}

/* Pricing Grid */
.mr_pricing_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 70px;
}

.mr_price_card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--mr-radius-md);
    padding: 38px 30px;
    box-shadow: var(--mr-shadow-card);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mr_price_card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.12);
    border-color: rgba(212, 175, 55, 0.6);
}

.mr_price_card.featured {
    border: 2px solid var(--mr-gold-500);
    box-shadow: 0 16px 40px -8px rgba(212, 175, 55, 0.25);
    background: #fffdfa;
}

.mr_price_badge {
    position: absolute;
    top: 18px;
    right: 20px;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
}

.mr_price_badge.free {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.mr_price_badge.gold {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.mr_price_badge.counsel {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.mr_price_icon_wrap {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    font-size: 24px;
    color: #0f172a;
    margin-bottom: 20px;
}

.mr_price_icon_wrap.gold {
    background: #fefce8;
    border-color: #fef08a;
    color: var(--mr-gold-600);
}

.mr_price_title {
    font-family: var(--mr-font-serif);
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.mr_price_cost {
    font-size: 32px;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 14px;
    font-family: var(--mr-font-sans);
}

.mr_price_cost span {
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    margin-left: 4px;
}

.mr_price_desc {
    font-size: 14px;
    line-height: 1.65;
    color: #64748b;
    margin-bottom: 24px;
    word-break: keep-all;
}

.mr_price_features {
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
    margin-bottom: 30px;
    flex-grow: 1;
}

.mr_price_features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #334155;
    margin-bottom: 10px;
}

.mr_price_features li i {
    color: #10b981;
    font-size: 12px;
}

.mr_price_btn {
    width: 100%;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: var(--mr-radius-sm);
    font-size: 15px;
    font-weight: 700;
    transition: all 0.25s ease;
}

.mr_price_btn.primary {
    background: var(--mr-gold-grad);
    color: #0b0f19;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35);
}

.mr_price_btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(212, 175, 55, 0.5);
    color: #000000;
}

.mr_price_btn.secondary {
    background: #0f172a;
    color: #ffffff;
}

.mr_price_btn.secondary:hover {
    background: #1e293b;
    transform: translateY(-2px);
    color: #ffffff;
}

/* Sample Section */
.mr_sample_section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--mr-radius-md);
    padding: 50px 40px;
    box-shadow: var(--mr-shadow-card);
}

.mr_sample_header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}

.mr_sample_sub {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--mr-gold-600);
}

.mr_sample_title {
    font-family: var(--mr-font-serif);
    font-size: 28px;
    color: #0f172a;
    margin-top: 6px;
}

.mr_sample_desc {
    font-size: 14px;
    color: #64748b;
}

.mr_sample_box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--mr-radius-sm);
    padding: 30px;
}

.mr_sample_box_header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
}

.mr_sample_tag {
    font-size: 11px;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 4px;
    background: #dbeafe;
    color: #1e40af;
}

.mr_sample_tag.acting {
    background: #fce7f3;
    color: #9d174d;
}

.mr_sample_box_title {
    font-family: var(--mr-font-serif);
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
}

.mr_sample_content_grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 36px;
    align-items: center;
}

.mr_graph_preview {
    text-align: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px;
}

.mr_graph_img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

.mr_graph_caption {
    font-size: 12px;
    color: #64748b;
    margin-top: 10px;
}

.mr_sample_nav_guide {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
}

.mr_sample_btn_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

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

.mr_sample_tab_btn {
    display: flex;
    flex-direction: column;
    padding: 18px 16px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.mr_sample_tab_btn i {
    font-size: 20px;
    color: var(--mr-gold-600);
    margin-bottom: 8px;
}

.mr_sample_tab_btn span {
    font-family: var(--mr-font-serif);
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.mr_sample_tab_btn small {
    font-size: 11px;
    color: #64748b;
}

.mr_sample_tab_btn:hover {
    border-color: var(--mr-gold-500);
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(212, 175, 55, 0.2);
}

/* Modal Popup Window (.mr_modal_window) */
.mr_modal_window {
    max-width: 760px !important;
    padding: 0 !important;
    border-radius: var(--mr-radius-md) !important;
    overflow: hidden !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3) !important;
}

.mr_modal_header {
    background: radial-gradient(circle at 50% 20%, #1e293b 0%, #090d16 100%);
    padding: 28px 30px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.mr_modal_type_badge {
    display: inline-block;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 700;
    color: #0b0f19;
    background: var(--mr-gold-grad);
    border-radius: 4px;
    margin-bottom: 10px;
}

.mr_modal_title {
    font-family: var(--mr-font-serif);
    font-size: 22px;
    color: #ffffff;
    margin: 0;
}

.mr_modal_body_content {
    padding: 30px;
    background: #ffffff;
    max-height: 480px;
    overflow-y: auto;
}

.mr_an_item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #f1f5f9;
}

.mr_an_item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.mr_an_num {
    font-family: var(--mr-font-serif);
    font-size: 20px;
    font-weight: 900;
    color: var(--mr-gold-600);
    min-width: 28px;
}

.mr_an_heading {
    font-family: var(--mr-font-serif);
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
    line-height: 1.4;
}

.mr_an_desc {
    font-size: 13.5px;
    line-height: 1.7;
    color: #475569;
}

@media (max-width: 1024px) {
    .mr_pricing_grid { grid-template-columns: 1fr; }
    .mr_sample_content_grid { grid-template-columns: 1fr; }
}

/* ==========================================================
   Service Page Dedicated Styles (.mr_service_page)
   - 완전한 중앙 정렬과 균형 잡힌 카드 그리드 레이아웃
   ========================================================== */
.mr_service_page {
    padding-bottom: 100px;
}

/* Service Hero */
.mr_sv_hero {
    background: radial-gradient(circle at 50% 25%, #1b2438 0%, #090d16 100%);
    padding: 85px 24px 70px;
    text-align: center;
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
    margin-bottom: 50px;
}

.mr_sv_hero_inner {
    max-width: 900px;
    margin: 0 auto;
}

.mr_sv_badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--mr-gold-400);
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    margin-bottom: 20px;
}

.mr_sv_hero_title {
    font-family: var(--mr-font-serif);
    font-size: 38px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
}

.mr_sv_hero_quote {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--mr-radius-md);
    padding: 28px 36px;
    margin-top: 30px;
    backdrop-filter: blur(8px);
}

.mr_sv_hero_quote p {
    font-size: 17px;
    line-height: 1.8;
    color: #e2e8f0;
    word-break: keep-all;
}

.mr_sv_hero_quote p strong {
    color: var(--mr-gold-400);
}

.mr_sv_hero_quote p em {
    font-style: normal;
    color: #93c5fd;
    font-weight: 600;
}

.mr_sv_hero_subquote {
    font-size: 15px !important;
    color: #94a3b8 !important;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

/* Service Section */
.mr_sv_section {
    padding: 50px 0 30px;
}

/* 3대 서비스 카드 그리드 */
.mr_sv_card_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.mr_sv_card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--mr-radius-md);
    padding: 44px 30px 36px;
    box-shadow: var(--mr-shadow-card);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.mr_sv_card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.12);
    border-color: rgba(212, 175, 55, 0.6);
}

.mr_sv_card.featured {
    border: 2px solid var(--mr-gold-500);
    box-shadow: 0 16px 40px -8px rgba(212, 175, 55, 0.25);
    background: #fffdf9;
}

.mr_sv_featured_ribbon {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
    border-radius: 20px;
}

.mr_sv_icon_wrap {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    margin-bottom: 24px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease;
}

.mr_sv_card:hover .mr_sv_icon_wrap {
    transform: scale(1.06);
}

.mr_sv_icon_wrap.gold {
    background: #fefce8;
    border-color: #fef08a;
}

.mr_sv_icon_wrap img {
    max-width: 72px;
    max-height: 72px;
}

.mr_sv_step_badge {
    display: inline-block;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #475569;
    background: #f1f5f9;
    border-radius: 20px;
    margin-bottom: 12px;
}

.mr_sv_step_badge.gold {
    color: #92400e;
    background: #fef3c7;
}

.mr_sv_card_title {
    font-family: var(--mr-font-serif);
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 14px;
}

.mr_sv_card_desc {
    font-size: 14px;
    line-height: 1.7;
    color: #64748b;
    margin-bottom: 24px;
    word-break: keep-all;
    flex-grow: 1;
}

.mr_sv_card_footer {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.mr_sv_tag {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 6px;
}

/* Indicators 2대 지표 카드 */
.mr_sv_indicators_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.mr_indicator_card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--mr-radius-md);
    padding: 36px 30px;
    box-shadow: var(--mr-shadow-card);
    transition: all 0.3s ease;
    text-align: center;
}

.mr_indicator_card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.08);
    border-color: rgba(212, 175, 55, 0.5);
}

.mr_indicator_header {
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f1f5f9;
}

.mr_indicator_badge {
    display: inline-block;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 800;
    border-radius: 4px;
    margin-bottom: 10px;
}

.mr_indicator_badge.character {
    background: #dbeafe;
    color: #1e40af;
}

.mr_indicator_badge.acting {
    background: #fce7f3;
    color: #9d174d;
}

.mr_indicator_title {
    font-family: var(--mr-font-serif);
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
}

.mr_indicator_sub {
    font-size: 13px;
    color: #64748b;
}

.mr_indicator_img_box {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.mr_indicator_img {
    max-width: 100%;
    max-height: 380px;
    height: auto;
    object-fit: contain;
}

/* Service Bottom CTA */
.mr_sv_cta_box {
    margin-top: 60px;
    background: radial-gradient(circle at 50% 40%, #1e293b 0%, #090d16 100%);
    border-radius: var(--mr-radius-md);
    padding: 60px 40px;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(212, 175, 55, 0.25);
}

.mr_sv_cta_inner {
    max-width: 760px;
    margin: 0 auto;
}

.mr_sv_cta_sub {
    font-size: 16px;
    color: #cbd5e1;
    font-style: italic;
    margin-bottom: 14px;
}

.mr_sv_cta_title {
    font-family: var(--mr-font-serif);
    font-size: 30px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.4;
    margin-bottom: 34px;
    word-break: keep-all;
}

.mr_sv_cta_actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

@media (max-width: 1024px) {
    .mr_sv_card_grid { grid-template-columns: 1fr; }
    .mr_sv_indicators_grid { grid-template-columns: 1fr; }
    .pc_only { display: none; }
    .mr_sv_hero_title { font-size: 30px; }
    .mr_sv_cta_title { font-size: 24px; }
}

/* ==========================================================
   Prescription Page Dedicated Styles (.mr_prescription_page)
   - 오행 체질별 맞춤 운동 및 건강 처방 레이아웃
   ========================================================== */
.mr_prescription_page {
    padding-bottom: 100px;
}

/* Rx Hero */
.mr_rx_hero {
    background: radial-gradient(circle at 50% 25%, #182236 0%, #090d16 100%);
    padding: 85px 24px 70px;
    text-align: center;
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
    margin-bottom: 50px;
}

.mr_rx_hero_inner {
    max-width: 900px;
    margin: 0 auto;
}

.mr_rx_badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--mr-gold-400);
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    margin-bottom: 20px;
}

.mr_rx_hero_title {
    font-family: var(--mr-font-serif);
    font-size: 38px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
}

.mr_rx_hero_desc {
    font-size: 16px;
    line-height: 1.7;
    color: #cbd5e1;
    margin-top: 24px;
    word-break: keep-all;
}

/* Overview Box (오행과 장부) */
.mr_rx_overview_box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--mr-radius-md);
    padding: 32px 36px;
    box-shadow: var(--mr-shadow-card);
    margin-bottom: 60px;
}

.mr_rx_overview_header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f1f5f9;
}

.mr_rx_overview_header i {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ecfdf5;
    color: #059669;
    border-radius: 12px;
    font-size: 22px;
}

.mr_rx_ov_title {
    font-family: var(--mr-font-serif);
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
}

.mr_rx_ov_desc {
    font-size: 13px;
    color: #64748b;
    margin-top: 2px;
}

.mr_rx_elements_summary {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.mr_rx_el_mini {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 18px 14px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.25s ease;
}

.mr_rx_el_mini:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
}

.mini_hanja {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    font-family: var(--mr-font-serif);
    font-weight: 900;
    font-size: 15px;
    margin-bottom: 10px;
}

.mr_rx_el_mini.el_wood .mini_hanja { background: var(--mr-wood); }
.mr_rx_el_mini.el_fire .mini_hanja { background: var(--mr-fire); }
.mr_rx_el_mini.el_earth .mini_hanja { background: var(--mr-earth); }
.mr_rx_el_mini.el_metal .mini_hanja { background: var(--mr-metal); color: #0b0f19; }
.mr_rx_el_mini.el_water .mini_hanja { background: var(--mr-water); }

.mr_rx_el_mini strong {
    font-size: 14px;
    color: #0f172a;
    margin-bottom: 4px;
}

.mr_rx_el_mini span {
    font-size: 11px;
    color: #64748b;
}

/* Rx Section & Cards Grid */
.mr_rx_section {
    padding: 20px 0 60px;
}

.mr_rx_cards_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.mr_rx_card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--mr-radius-md);
    padding: 34px 30px;
    box-shadow: var(--mr-shadow-card);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mr_rx_card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px -8px rgba(0, 0, 0, 0.1);
}

.mr_rx_card.wood:hover { border-color: var(--mr-wood); }
.mr_rx_card.fire:hover { border-color: var(--mr-fire); }
.mr_rx_card.earth:hover { border-color: var(--mr-earth); }
.mr_rx_card.metal:hover { border-color: var(--mr-metal); }
.mr_rx_card.water:hover { border-color: var(--mr-water); }

.mr_rx_card_top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f1f5f9;
}

.mr_rx_symbol {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    font-family: var(--mr-font-serif);
    font-size: 22px;
    font-weight: 900;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.mr_rx_symbol.wood { background: var(--mr-wood); }
.mr_rx_symbol.fire { background: var(--mr-fire); }
.mr_rx_symbol.earth { background: var(--mr-earth); }
.mr_rx_symbol.metal { background: var(--mr-metal); color: #0b0f19; }
.mr_rx_symbol.water { background: var(--mr-water); }

.mr_rx_badge_pill {
    display: inline-block;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    background: #f1f5f9;
    border-radius: 4px;
    margin-bottom: 4px;
}

.mr_rx_title {
    font-family: var(--mr-font-serif);
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
}

.mr_rx_body {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mr_rx_info_row {
    font-size: 13.5px;
    line-height: 1.65;
    color: #475569;
}

.mr_rx_info_row.highlight {
    background: #f8fafc;
    border-left: 3px solid var(--mr-gold-500);
    padding: 10px 14px;
    border-radius: 0 8px 8px 0;
}

.mr_rx_info_row .label {
    font-weight: 700;
    color: #0f172a;
    display: inline-block;
    margin-right: 6px;
}

.mr_rx_info_row.highlight .label {
    color: #b45309;
}

/* Rx CTA Card */
.mr_rx_cta_card {
    background: radial-gradient(circle at 50% 30%, #1e293b 0%, #090d16 100%);
    border-radius: var(--mr-radius-md);
    padding: 60px 40px;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(212, 175, 55, 0.25);
}

.mr_rx_cta_inner {
    max-width: 760px;
    margin: 0 auto;
}

.mr_rx_cta_tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    font-size: 11px;
    font-weight: 700;
    color: var(--mr-gold-400);
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    margin-bottom: 20px;
}

.mr_rx_cta_title {
    font-family: var(--mr-font-serif);
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
    word-break: keep-all;
}

.mr_rx_cta_desc {
    font-size: 15px;
    line-height: 1.7;
    color: #cbd5e1;
    margin-bottom: 34px;
    word-break: keep-all;
}

.mr_rx_cta_btns {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

@media (max-width: 1024px) {
    .mr_rx_elements_summary { grid-template-columns: repeat(2, 1fr); }
    .mr_rx_cards_grid { grid-template-columns: 1fr; }
    .mr_rx_hero_title { font-size: 30px; }
    .mr_rx_cta_title { font-size: 24px; }
}

/* ==========================================================
   Modern Login Page Styles (.mr_login_card)
   - 모던하고 깔끔한 카드형 로그인 디자인
   ========================================================== */
.mr_login_container {
    padding: 60px 20px 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f8fafc;
}

.mr_login_card {
    width: 100%;
    max-width: 480px;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: var(--mr-radius-md) !important;
    padding: 48px 40px !important;
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.02) !important;
    margin: 0 auto !important;
    float: none !important;
}

.mr_login_header {
    text-align: center;
    margin-bottom: 32px;
}

.mr_login_badge {
    display: inline-block;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #0b0f19;
    background: var(--mr-gold-grad);
    border-radius: 4px;
    margin-bottom: 12px;
}

.mr_login_title {
    font-family: var(--mr-font-serif);
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
}

.mr_login_desc {
    font-size: 13.5px;
    color: #64748b;
}

.mr_login_form {
    display: flex;
    flex-direction: column;
}

.mr_form_group {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mr_form_label {
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    text-align: left;
}

.mr_input_wrap {
    position: relative;
    width: 100%;
}

.mr_input_icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 15px;
    pointer-events: none;
}

.mr_form_input {
    width: 100% !important;
    height: 48px !important;
    padding: 0 16px 0 44px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: var(--mr-radius-sm) !important;
    background: #f8fafc !important;
    color: #1e293b !important;
    font-size: 14px !important;
    outline: none !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    transition: all 0.2s ease !important;
}

.mr_form_input:focus {
    border-color: var(--mr-gold-500) !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15) !important;
}

.mr_form_extra {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0 24px;
    flex-wrap: wrap;
    gap: 8px;
}

.mr_auto_login_label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #64748b;
    cursor: pointer;
}

.mr_auto_login_label input {
    cursor: pointer;
    accent-color: var(--mr-gold-500);
}

.mr_find_link {
    font-size: 12.5px;
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.mr_find_link:hover {
    color: #0f172a;
    text-decoration: underline;
}

.mr_login_submit_btn {
    width: 100% !important;
    height: 50px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: var(--mr-gold-grad) !important;
    color: #0b0f19 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border-radius: var(--mr-radius-sm) !important;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35) !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    border: none !important;
}

.mr_login_submit_btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5) !important;
}

.mr_login_footer {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #f1f5f9;
    text-align: center;
}

.mr_signup_prompt {
    font-size: 14px;
    color: #475569;
    margin-bottom: 12px;
}

.mr_signup_link {
    color: #b45309;
    margin-left: 6px;
    text-decoration: none;
}

.mr_signup_link:hover {
    text-decoration: underline;
}

.mr_back_home a {
    font-size: 12px;
    color: #94a3b8;
    text-decoration: none;
}

.mr_back_home a:hover {
    color: #475569;
}

/* ==========================================================
   Register Pages (Step 1 Terms, Step 2 Form, Step 3 Result)
   ========================================================== */
.mr_reg_container {
    min-height: calc(100vh - 200px);
    padding: 60px 20px 100px;
    background: #f8fafc;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.mr_reg_card {
    width: 100%;
    max-width: 680px;
    background: #ffffff;
    border-radius: 20px;
    padding: 50px 45px;
    box-shadow: 0 20px 50px -15px rgba(15, 23, 42, 0.08), 0 0 1px 1px rgba(15, 23, 42, 0.04);
    border: 1px solid #e2e8f0;
    box-sizing: border-box;
}

.mr_reg_card.wide {
    max-width: 740px;
}

.mr_reg_header {
    text-align: center;
    margin-bottom: 36px;
}

.mr_reg_badge {
    display: inline-block;
    font-family: var(--mr-font-serif);
    font-size: 13px;
    font-weight: 700;
    color: #b45309;
    background: rgba(217, 119, 6, 0.1);
    border: 1px solid rgba(217, 119, 6, 0.25);
    padding: 4px 14px;
    border-radius: 9999px;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.mr_reg_title {
    font-family: var(--mr-font-serif);
    font-size: 32px;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.mr_reg_desc {
    font-size: 15px;
    color: #64748b;
    margin: 0;
}

/* Step Indicator */
.mr_reg_steps {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 36px;
    padding: 0 10px;
}

.mr_step_node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 2;
}

.mr_step_circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    background: #f1f5f9;
    color: #94a3b8;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.mr_step_label {
    font-size: 13px;
    font-weight: 600;
    color: #94a3b8;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.mr_step_node.active .mr_step_circle {
    background: var(--mr-gold-grad);
    color: #0b0f19;
    border-color: #f59e0b;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
}

.mr_step_node.active .mr_step_label {
    color: #0f172a;
    font-weight: 700;
}

.mr_step_node.completed .mr_step_circle {
    background: #0f172a;
    color: #d4af37;
    border-color: #0f172a;
}

.mr_step_node.completed .mr_step_label {
    color: #475569;
}

.mr_step_line {
    flex: 1;
    height: 2px;
    background: #e2e8f0;
    margin: 0 14px 24px;
    min-width: 30px;
    max-width: 70px;
}

.mr_step_line.completed {
    background: #0f172a;
}

/* All Agree Box */
.mr_all_agree_box {
    background: linear-gradient(135deg, #fdfbf7 0%, #fef3c7 100%);
    border: 1px solid #fde68a;
    border-radius: 14px;
    padding: 18px 24px;
    margin-bottom: 26px;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.06);
}

.mr_agree_check_label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.mr_agree_check_label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #d97706;
}

.mr_agree_check_label.all .mr_check_text {
    font-size: 15px;
    color: #78350f;
    font-weight: 700;
}

/* Terms Sections */
.mr_terms_section {
    margin-bottom: 24px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px;
}

.mr_terms_title_row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.mr_terms_heading {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mr_terms_heading i {
    color: #b45309;
}

.mr_required_tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: #ef4444;
    background: #fef2f2;
    border: 1px solid #fecaca;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 6px;
}

.mr_terms_textarea_wrap {
    margin-bottom: 12px;
}

.mr_terms_textarea {
    width: 100%;
    height: 125px;
    padding: 14px;
    font-size: 13px;
    line-height: 1.6;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    resize: none;
    box-sizing: border-box;
    font-family: var(--mr-font-sans);
}

.mr_terms_textarea:focus {
    outline: none;
    border-color: #cbd5e1;
}

.mr_terms_agree_check {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.mr_terms_agree_check .mr_check_text {
    font-size: 13px;
    color: #334155;
}

/* Form Groups for Step 2 */
.mr_form_block {
    margin-bottom: 32px;
}

.mr_block_title {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    padding-bottom: 12px;
    margin-bottom: 20px;
    border-bottom: 2px solid #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mr_block_title.optional {
    border-bottom-color: #cbd5e1;
    color: #475569;
    margin-top: 40px;
}

.mr_field_group {
    margin-bottom: 20px;
}

.mr_field_label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.mr_field_label .req {
    color: #ef4444;
    margin-left: 4px;
}

.mr_field_input {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 14px;
    color: #0f172a;
    background: #ffffff;
    box-sizing: border-box;
    transition: all 0.2s ease;
    font-family: var(--mr-font-sans);
}

.mr_field_input:focus {
    outline: none;
    border-color: #d97706;
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}

.mr_field_hint {
    display: block;
    font-size: 12px;
    color: #64748b;
    margin-top: 6px;
}

.mr_input_action_row {
    display: flex;
    gap: 8px;
}

.mr_input_action_row .mr_field_input {
    flex: 1;
}

.mr_action_btn {
    height: 48px;
    padding: 0 20px;
    border-radius: 10px;
    background: #0f172a;
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.mr_action_btn:hover {
    background: #1e293b;
}

/* Radio / Segmented Groups */
.mr_segmented_row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.mr_segment_pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border: 1px solid #cbd5e1;
    border-radius: 9999px;
    background: #ffffff;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.mr_segment_pill input[type="radio"] {
    accent-color: #d97706;
    margin: 0;
}

.mr_segment_pill:hover {
    border-color: #d97706;
    background: #fffbeb;
}

/* Combodate select overrides */
.combodate select {
    height: 48px;
    padding: 0 12px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 14px;
    color: #0f172a;
    background: #ffffff;
    margin-right: 8px;
    cursor: pointer;
}

.combodate select:focus {
    outline: none;
    border-color: #d97706;
}

/* Submit and Link */
.mr_reg_btn_wrap {
    margin-top: 36px;
}

.mr_reg_submit_btn {
    width: 100% !important;
    height: 54px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    background: var(--mr-gold-grad) !important;
    color: #0b0f19 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 16px rgba(217, 119, 6, 0.35) !important;
    cursor: pointer !important;
    border: none !important;
    transition: all 0.25s ease !important;
}

.mr_reg_submit_btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(217, 119, 6, 0.45) !important;
}

.mr_reg_submit_btn i {
    transition: transform 0.25s ease;
}

.mr_reg_submit_btn:hover i {
    transform: translateX(4px);
}

.mr_reg_login_link {
    text-align: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
    font-size: 14px;
    color: #64748b;
}

.mr_reg_login_link a {
    color: #b45309;
    margin-left: 6px;
    text-decoration: none;
}

.mr_reg_login_link a:hover {
    text-decoration: underline;
}

/* ==========================================================
   Registration Result Page Dedicated Styles (.mr_result_*)
   ========================================================== */
.mr_result_box {
    background: linear-gradient(135deg, #fdfbf7 0%, #fef3c7 100%);
    border: 1px solid #fde68a;
    border-radius: 18px;
    padding: 38px 28px;
    margin-bottom: 28px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.08);
}

.mr_result_icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--mr-gold-grad);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #0b0f19;
    box-shadow: 0 8px 24px rgba(217, 119, 6, 0.35);
}

.mr_result_title {
    font-family: var(--mr-font-serif);
    font-size: 25px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
    line-height: 1.35;
}

.mr_result_sub {
    font-size: 15px;
    color: #78350f;
    margin: 0;
}

.mr_result_guide_box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 22px 24px;
    text-align: left;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}

.mr_result_guide_title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mr_result_guide_desc {
    font-size: 15px;
    line-height: 1.7;
    color: #475569;
    margin: 0;
}

.mr_result_certify_box {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.6;
    color: #1e40af;
    text-align: left;
}

.mr_result_actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.mr_result_btn_primary {
    min-width: 220px;
    height: 52px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.mr_result_btn_sub {
    min-width: 170px;
    height: 52px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    background: #1e293b;
    color: #f8fafc;
    border: 1px solid #334155;
}

/* ==========================================================
   Comprehensive Mobile & Tablet Typography / Readability Styles
   (max-width: 768px & max-width: 480px)
   ========================================================== */
@media (max-width: 768px) {
    /* Global Mobile Typography Boost */
    body {
        font-size: 16px;
        line-height: 1.65;
    }

    /* Subpage Header Banner */
    .mr_subpage_header {
        padding: 38px 16px 30px !important;
    }
    .mr_subpage_title {
        font-size: 25px !important;
        letter-spacing: -0.02em;
        line-height: 1.35;
    }
    .mr_subpage_desc {
        font-size: 15px !important;
        margin-top: 8px;
        line-height: 1.5;
        color: #94a3b8 !important;
    }

    /* Containers and Cards */
    .mr_reg_container, .mr_login_container {
        padding: 20px 12px 60px !important;
    }
    .mr_reg_card, .mr_reg_card.wide, .mr_login_card {
        padding: 28px 16px !important;
        border-radius: 16px !important;
        max-width: 100% !important;
        box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08) !important;
    }
    .mr_reg_header, .mr_login_header {
        margin-bottom: 24px !important;
    }
    .mr_reg_title, .mr_login_title {
        font-size: 26px !important;
        line-height: 1.3 !important;
        margin-bottom: 8px !important;
    }
    .mr_reg_desc, .mr_login_desc {
        font-size: 15px !important;
        line-height: 1.5 !important;
    }

    /* Step Indicators */
    .mr_reg_steps {
        margin-bottom: 26px !important;
    }
    .mr_step_line {
        margin: 0 6px 24px !important;
        min-width: 14px !important;
    }
    .mr_step_circle {
        width: 36px !important;
        height: 36px !important;
        font-size: 14px !important;
    }
    .mr_step_label {
        font-size: 13px !important;
        font-weight: 700 !important;
        margin-top: 6px !important;
    }

    /* Terms and Agreements (Step 1) */
    .mr_all_agree_box {
        padding: 18px 16px !important;
        border-radius: 12px !important;
        margin-bottom: 22px !important;
    }
    .mr_agree_check_label.all .mr_check_text {
        font-size: 16px !important;
        font-weight: 800 !important;
    }
    .mr_terms_section {
        padding: 16px 14px !important;
        border-radius: 12px !important;
        margin-bottom: 18px !important;
    }
    .mr_terms_heading {
        font-size: 15px !important;
    }
    .mr_terms_textarea {
        height: 140px !important;
        font-size: 14px !important;
        line-height: 1.7 !important;
        padding: 12px !important;
    }
    .mr_terms_agree_check .mr_check_text {
        font-size: 14.5px !important;
        font-weight: 600 !important;
    }

    /* Form Fields (Step 2 & Login) */
    .mr_block_title {
        font-size: 17px !important;
        margin-bottom: 16px !important;
        padding-bottom: 10px !important;
    }
    .mr_field_label, .mr_form_label {
        font-size: 15px !important;
        font-weight: 700 !important;
        margin-bottom: 8px !important;
    }
    .mr_field_hint, .mr_form_help {
        font-size: 13.5px !important;
        line-height: 1.5 !important;
        margin-top: 6px !important;
    }
    .mr_field_input, .mr_form_input, input[type="text"], input[type="password"], input[type="email"] {
        height: 50px !important;
        font-size: 16px !important;
        padding: 0 16px !important;
        border-radius: 10px !important;
    }
    .mr_form_input {
        padding-left: 48px !important;
        padding-right: 16px !important;
    }
    .mr_input_icon {
        font-size: 17px !important;
    }
    .mr_input_action_row {
        flex-direction: row !important;
        gap: 8px !important;
    }
    .mr_action_btn, .mr_btn_check, .mr_btn_postcode {
        height: 50px !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        padding: 0 16px !important;
        border-radius: 10px !important;
    }
    .mr_segment_pill {
        padding: 12px 18px !important;
        font-size: 15px !important;
        font-weight: 600 !important;
    }
    .combodate {
        display: flex !important;
        gap: 6px !important;
        width: 100% !important;
    }
    .combodate select {
        flex: 1 !important;
        min-width: 0 !important;
        margin-right: 0 !important;
        height: 50px !important;
        font-size: 15px !important;
        padding: 0 8px !important;
    }
    .mr_reg_submit_btn, .mr_login_submit_btn {
        height: 54px !important;
        font-size: 17px !important;
        font-weight: 800 !important;
        border-radius: 12px !important;
    }
    .mr_reg_login_link {
        font-size: 15px !important;
        margin-top: 20px !important;
    }

    /* Result Page (Step 3) */
    .mr_result_box {
        padding: 28px 16px !important;
        border-radius: 14px !important;
        margin-bottom: 22px !important;
    }
    .mr_result_icon {
        width: 60px !important;
        height: 60px !important;
        font-size: 26px !important;
        margin-bottom: 14px !important;
    }
    .mr_result_title {
        font-size: 21px !important;
        line-height: 1.4 !important;
        margin-bottom: 8px !important;
    }
    .mr_result_sub {
        font-size: 14.5px !important;
        word-break: break-all !important;
    }
    .mr_result_guide_box {
        padding: 18px 16px !important;
        border-radius: 12px !important;
        margin-bottom: 24px !important;
    }
    .mr_result_guide_title {
        font-size: 16px !important;
    }
    .mr_result_guide_desc {
        font-size: 14.5px !important;
        line-height: 1.65 !important;
    }
    .mr_result_actions {
        flex-direction: column !important;
        width: 100% !important;
        gap: 12px !important;
    }
    .mr_result_btn_primary, .mr_result_btn_sub {
        width: 100% !important;
        min-width: 100% !important;
        height: 52px !important;
        font-size: 16px !important;
        justify-content: center !important;
    }

    /* Analysis Page */
    .mr_an_hero {
        padding: 50px 16px 40px !important;
        margin-bottom: 30px !important;
    }
    .mr_an_title {
        font-size: 26px !important;
        line-height: 1.35 !important;
    }
    .mr_an_desc {
        font-size: 15px !important;
        line-height: 1.65 !important;
    }
    .mr_pricing_grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .mr_price_card {
        padding: 30px 20px !important;
    }
    .mr_card_title {
        font-size: 22px !important;
    }
    .mr_card_price {
        font-size: 28px !important;
    }
    .mr_card_features li {
        font-size: 15px !important;
        line-height: 1.6 !important;
    }

    /* Service Page */
    .mr_sv_hero {
        padding: 50px 16px 40px !important;
        margin-bottom: 30px !important;
    }
    .mr_sv_hero_title {
        font-size: 26px !important;
        line-height: 1.35 !important;
    }
    .mr_sv_hero_desc {
        font-size: 15px !important;
        line-height: 1.65 !important;
    }
    .mr_sv_card_title {
        font-size: 20px !important;
    }
    .mr_sv_card_desc {
        font-size: 15px !important;
        line-height: 1.65 !important;
    }

    /* Prescription Page */
    .mr_rx_hero {
        padding: 50px 16px 40px !important;
        margin-bottom: 30px !important;
    }
    .mr_rx_hero_title {
        font-size: 26px !important;
        line-height: 1.35 !important;
    }
    .mr_rx_hero_desc {
        font-size: 15px !important;
        line-height: 1.65 !important;
    }
    .mr_rx_card_title {
        font-size: 20px !important;
    }
    .mr_rx_card_desc, .mr_rx_feature_list li {
        font-size: 15px !important;
        line-height: 1.65 !important;
    }

    /* Floating Tools */
    #mr_floating_tools {
        right: 14px !important;
        bottom: 14px !important;
        gap: 8px !important;
    }
    .mr_floating_cta {
        width: 44px !important;
        height: 44px !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 50% !important;
        box-shadow: 0 4px 14px rgba(212, 175, 55, 0.4) !important;
    }
    .mr_floating_cta .mr_floating_text,
    .mr_floating_cta .mr_pulse {
        display: none !important;
    }
    .mr_floating_cta i {
        font-size: 19px !important;
        margin: 0 !important;
    }
    #mr_btn_top {
        width: 44px !important;
        height: 44px !important;
        font-size: 14px !important;
    }

    /* Footer Mobile */
    .mr_footer_nav {
        font-size: 13px !important;
        line-height: 2.1 !important;
        text-align: center !important;
    }
    .mr_footer_hours {
        font-size: 13px !important;
        text-align: center !important;
        margin-top: 10px !important;
    }
    .mr_ft_col {
        font-size: 14px !important;
    }
    .mr_ft_desc, .mr_ft_list li, .mr_ft_links li a {
        font-size: 14px !important;
        line-height: 1.7 !important;
    }
    .mr_copyright {
        font-size: 12px !important;
        line-height: 1.6 !important;
    }
}

@media (max-width: 480px) {
    .mr_reg_title, .mr_login_title {
        font-size: 24px !important;
    }
    .mr_subpage_title {
        font-size: 23px !important;
    }
    .mr_step_circle {
        width: 32px !important;
        height: 32px !important;
        font-size: 12px !important;
    }
    .mr_step_label {
        font-size: 12px !important;
    }
}


