/* ==========================================================
   JOINPAY MODERN DESIGN SYSTEM & MOBILE-FIRST APP STYLESHEET
   ========================================================== */

/* 1. CSS Custom Properties / Design Tokens */
:root {
    --bg-main: #0b0f19;
    --bg-secondary: #111827;
    --card-bg: rgba(255, 255, 255, 0.04);
    --card-border: rgba(255, 255, 255, 0.08);
    --card-hover-border: rgba(99, 102, 241, 0.4);
    
    --text-main: #f9fafb;
    --text-muted: #9ca3af;
    --text-sub: #6b7280;
    
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --primary-glow: rgba(99, 102, 241, 0.35);
    
    --accent: #06b6d4;
    --accent-glow: rgba(6, 182, 212, 0.35);
    
    --pink: #ec4899;
    --danger: #ef4444;
    --success: #10b981;
    --kakao-yellow: #fee500;
    --kakao-text: #191919;
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --font-family: 'Noto Sans KR', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --shadow-glow: 0 0 25px rgba(99, 102, 241, 0.3);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light Theme Variables Override */
body.light-theme {
    --bg-main: #f3f4f6;
    --bg-secondary: #ffffff;
    --card-bg: rgba(255, 255, 255, 0.85);
    --card-border: rgba(209, 213, 219, 0.8);
    --card-hover-border: rgba(99, 102, 241, 0.6);
    
    --text-main: #111827;
    --text-muted: #4b5563;
    --text-sub: #9ca3af;
    
    --shadow-glass: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* 2. Global Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-glass);
    transition: var(--transition);
}

.glass-card:hover {
    border-color: var(--card-hover-border);
}

/* 3. Helper Typography & Utilities */
.text-gradient {
    background: linear-gradient(to right, #38bdf8 0%, #818cf8 45%, #c084fc 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.text-accent { color: var(--accent); }
.text-primary { color: var(--primary); }
.text-danger { color: var(--danger); }
.text-kakao { color: #facc15; }
.text-highlight { color: #38bdf8; font-weight: 700; }

.section {
    padding: 80px 0;
}

.section-title-wrap {
    margin-bottom: 48px;
}

.sub-title {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--accent);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 12px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.text-center { text-align: center; }

/* 4. Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-weight: 700;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #4338ca 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-glow);
}

.btn-kakao {
    background-color: var(--kakao-yellow);
    color: var(--kakao-text);
}

.btn-kakao:hover {
    background-color: #fada0a;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--card-border);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
}

.btn-sm {
    padding: 6px 14px;
    font-size: 0.8rem;
    border-radius: var(--radius-sm);
}

.btn-full { width: 100%; }

.btn-hero {
    padding: 16px 28px;
    font-size: 1.1rem;
    border-radius: var(--radius-md);
}

.btn-text {
    background: none;
    border: none;
    color: var(--accent);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
}

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

/* 5. Top Announcement Banner */
.top-announcement {
    background: linear-gradient(90deg, #1e1b4b 0%, #311b92 50%, #0f172a 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 0;
    font-size: 0.85rem;
    color: #e2e8f0;
}

.announcement-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.pulse-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--success);
    font-weight: 600;
}

.pulse-badge i {
    font-size: 0.6rem;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.3); }
    100% { opacity: 1; transform: scale(1); }
}

.announcement-link {
    color: var(--accent);
    font-weight: 700;
}

.announcement-link:hover { text-decoration: underline; }

/* 6. Header & Navigation */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border);
    transition: var(--transition);
}

body.light-theme .site-header {
    background: rgba(255, 255, 255, 0.9);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 40%, #06b6d4 100%);
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.35rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.45), 0 4px 15px rgba(6, 182, 212, 0.35);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.logo-icon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 45%, rgba(255, 255, 255, 0.35) 50%, transparent 55%);
    animation: logoShine 3.5s infinite;
}

@keyframes logoShine {
    0% { transform: translateX(-100%) translateY(-100%); }
    20% { transform: translateX(100%) translateY(100%); }
    100% { transform: translateX(100%) translateY(100%); }
}

.logo:hover .logo-icon {
    transform: scale(1.08) rotate(-4deg);
    box-shadow: 0 0 25px rgba(99, 102, 241, 0.75), 0 6px 20px rgba(6, 182, 212, 0.55);
}

.logo-icon i {
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: -0.6px;
    color: #ffffff;
}

.brand-name .highlight {
    background: linear-gradient(135deg, #38bdf8, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}

.brand-sub {
    font-size: 0.7rem;
    color: #94a3b8;
    font-weight: 800;
    letter-spacing: 2px;
    margin-top: -1px;
    line-height: 1;
}

.main-nav .nav-list {
    display: flex;
    list-style: none;
    gap: 24px;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--text-main);
    background: var(--card-bg);
}

.nav-link i {
    font-size: 0.9rem;
    color: var(--primary);
}

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

.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.theme-toggle:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    cursor: pointer;
    font-size: 1.2rem;
}

/* 7. Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--bg-secondary);
    z-index: 2000;
    padding: 24px;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    transition: right 0.3s ease;
}

.mobile-drawer.open {
    right: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.drawer-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.drawer-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.drawer-link {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    padding: 10px;
    border-radius: var(--radius-sm);
}

.drawer-link:hover {
    background: var(--card-bg);
    color: var(--primary);
}

.drawer-footer {
    margin-top: auto;
}

/* 8. Hero Section */
.hero-section {
    padding: 35px 0 60px 0;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: stretch;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 18px;
    height: 100%;
    padding-top: 0;
    margin-top: 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: var(--radius-full);
    color: #a5b4fc;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 4px;
    align-self: flex-start;
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 0;
    letter-spacing: -0.8px;
}

.hero-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 0;
}

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

.feature-chip {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    padding: 8px 14px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
}

.feature-chip i { color: var(--accent); }

/* Live Ticker Box */
.live-ticker-box {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    pointer-events: none;
    touch-action: none;
}

.ticker-label {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--accent);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    pointer-events: none;
}

@keyframes verticalTickerMarquee {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

.ticker-wrapper {
    overflow: hidden;
    height: 24px;
    width: 100%;
    pointer-events: none;
}

.ticker-content {
    display: flex;
    flex-direction: column;
    will-change: transform;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.ticker-item {
    font-size: 0.85rem;
    color: var(--text-muted);
    white-space: nowrap;
    height: 24px;
    line-height: 24px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.ticker-item strong {
    color: var(--text-main);
    font-weight: 700;
}

.ticker-time {
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 600;
    flex-shrink: 0;
    white-space: nowrap;
}

/* Quick Popular Voucher Cards & Mini Trust Badges */
.quick-rates-header {
    margin-bottom: 10px;
}

.quick-title {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--text-main);
}

.quick-rates-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.quick-rate-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.quick-rate-card:hover {
    border-color: var(--accent);
    background: rgba(6, 182, 212, 0.1);
    transform: translateY(-2px);
}

.q-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #ffffff;
    flex-shrink: 0;
}

.q-icon.culture { background: linear-gradient(135deg, #6366f1, #4f46e5); }
.q-icon.shinsegae { background: linear-gradient(135deg, #f59e0b, #d97706); }
.q-icon.book { background: linear-gradient(135deg, #10b981, #059669); }
.q-icon.google { background: linear-gradient(135deg, #3b82f6, #2563eb); }

.q-info {
    display: flex;
    flex-direction: column;
}

.q-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
}

.q-rate {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--accent);
}

/* Unified Hero Bottom Trust & Review Card */
.hero-bottom-trust-card {
    padding: 22px;
    border-radius: var(--radius-lg);
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    gap: 16px;
}

.hero-bottom-trust-card .review-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-bottom-trust-card .review-title {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-bottom-trust-card .review-rating {
    font-size: 0.82rem;
    color: #fbbf24;
    font-weight: 700;
    margin-left: 4px;
}

.hero-bottom-trust-card .review-stars {
    color: #fbbf24;
    font-size: 0.8rem;
    display: flex;
    gap: 3px;
}

.hero-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.review-mini-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.review-mini-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.review-mini-card .review-stars {
    color: #fbbf24;
    font-size: 0.75rem;
    display: flex;
    gap: 2px;
}

.review-mini-card .review-user {
    font-size: 0.78rem;
    color: #cbd5e1;
    font-weight: 700;
}

.review-mini-text {
    font-size: 0.85rem;
    color: #f1f5f9;
    font-weight: 500;
    line-height: 1.45;
    margin: 0;
}

.btn-review-write {
    background: rgba(6, 182, 212, 0.15);
    color: var(--accent);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: var(--radius-full);
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.btn-review-write:hover {
    background: var(--accent);
    color: #ffffff;
    transform: translateY(-1px);
}

/* Star Rating Picker */
.star-rating-picker {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 1.3rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 6px 0;
}

.star-rating-picker i {
    transition: color 0.2s ease, transform 0.2s ease;
}

.star-rating-picker i:hover,
.star-rating-picker i.active {
    color: #fbbf24;
}

.star-rating-picker .rating-text {
    font-size: 0.85rem;
    color: var(--text-main);
    font-weight: 700;
    margin-left: 8px;
}

.hero-trust-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 12px 0;
    border-top: 1px dashed var(--card-border);
    border-bottom: 1px dashed var(--card-border);
}

.trust-mini-pill {
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-mini-pill i {
    font-size: 1.1rem;
}

.trust-mini-pill div {
    display: flex;
    flex-direction: column;
}

.trust-mini-pill strong {
    font-size: 0.78rem;
    color: var(--text-main);
    line-height: 1.2;
}

.trust-mini-pill span {
    font-size: 0.68rem;
    color: var(--text-muted);
}

.hero-contact-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid var(--card-border);
    gap: 12px;
}

.hero-contact-info {
    display: flex;
    flex-direction: column;
}

.hc-tag {
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--accent);
}

.hc-num {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.hero-contact-btns {
    display: flex;
    gap: 8px;
}

.trust-mini-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed var(--card-border);
    border-radius: var(--radius-md);
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.trust-mini-item i {
    font-size: 1.3rem;
}

.trust-mini-item div {
    display: flex;
    flex-direction: column;
}

.trust-mini-item strong {
    font-size: 0.8rem;
    color: var(--text-main);
}

.trust-mini-item span {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Hero Live Customer Review Box */
.hero-review-box {
    user-select: none;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.review-title {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 6px;
}

.review-rating {
    font-size: 0.78rem;
    font-weight: 700;
    color: #fbbf24;
    margin-left: 6px;
}

.review-card {
    padding: 14px 16px;
    border-radius: var(--radius-md);
    background: var(--card-bg);
    border: 1px solid var(--card-border);
}

.review-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.review-stars {
    font-size: 0.75rem;
    display: flex;
    gap: 2px;
    color: #fbbf24;
}

.review-user {
    font-size: 0.78rem;
    color: #cbd5e1;
    font-weight: 700;
}

.review-text {
    font-size: 0.85rem;
    color: #f1f5f9;
    font-weight: 500;
    line-height: 1.45;
    margin: 0;
    transition: opacity 0.3s ease;
}

/* Hero Support Banner & Mini FAQ */
.hero-support-banner {
    width: 100%;
}

.support-banner-inner {
    padding: 14px 16px;
    border-radius: var(--radius-md);
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.s-banner-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.s-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(6, 182, 212, 0.15);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.s-info {
    display: flex;
    flex-direction: column;
}

.s-tag {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent);
}

.s-num {
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--text-main);
    letter-spacing: -0.3px;
}

.s-sub {
    font-size: 0.68rem;
    color: var(--text-muted);
}

.s-banner-btns {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-shrink: 0;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.75rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
}

.btn-call-sm {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.btn-kakao-sm {
    background: #fee500;
    color: #191919;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.hero-mini-faq {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.m-faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.76rem;
    gap: 10px;
}

.m-faq-item .q {
    font-weight: 700;
    color: var(--text-main);
    white-space: nowrap;
}

.m-faq-item .a {
    color: var(--text-sub);
    text-align: right;
}

/* 9. Core Exchange Form Widget */
.exchange-card {
    padding: 32px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.exchange-card .card-header {
    margin-bottom: 24px;
}

.card-title {
    font-size: 1.4rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.form-sublabel {
    display: block;
    font-size: 0.78rem;
    color: var(--text-sub);
    margin-bottom: 6px;
}

.label-with-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* COMPACT MINI CALCULATOR INSIDE FORM */
.mini-calc-box {
    background: rgba(6, 182, 212, 0.06);
    border: 1px solid rgba(6, 182, 212, 0.25);
    border-radius: var(--radius-sm);
    padding: 14px;
}

.mini-calc-label {
    font-size: 0.85rem;
    color: var(--accent);
}

.mini-calc-display {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--accent);
}

.mini-slider {
    margin: 8px 0 10px 0;
    height: 6px;
}

.mini-presets {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.mini-preset-btn {
    flex: 1;
    padding: 4px 8px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--card-border);
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.mini-preset-btn:hover {
    background: rgba(6, 182, 212, 0.2);
    border-color: var(--accent);
    color: var(--text-main);
}

/* HIGH-CONTRAST SELECT BOX & OPTION STYLES */
select, .form-select {
    width: 100%;
    background-color: #111827 !important;
    color: #ffffff !important;
    border: 1px solid var(--card-border);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2306b6d4'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2.5' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
    padding-right: 40px;
    transition: var(--transition);
}

select:focus, .form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 12px var(--primary-glow);
}

select option, .form-select option, .voucher-dropdown option {
    background-color: #1e293b !important;
    color: #ffffff !important;
    padding: 14px 16px;
    font-size: 0.95rem;
    font-weight: 600;
}

select option:hover, select option:focus, select option:checked,
.form-select option:hover, .form-select option:focus, .form-select option:checked {
    background-color: #4f46e5 !important;
    color: #ffffff !important;
}

body.light-theme select, body.light-theme .form-select {
    background-color: #ffffff !important;
    color: #111827 !important;
    border-color: #d1d5db;
}

body.light-theme select option, body.light-theme .form-select option {
    background-color: #ffffff !important;
    color: #111827 !important;
}

.voucher-dropdown {
    font-size: 1rem;
    font-weight: 700;
}

.voucher-pills-grid.aligned-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 6px;
}

.v-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--card-border);
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.v-pill:hover {
    background: rgba(99, 102, 241, 0.15);
    border-color: var(--primary);
    color: var(--text-main);
}

.v-pill.active {
    background: rgba(6, 182, 212, 0.15);
    border-color: var(--accent);
    color: #ffffff;
    box-shadow: 0 0 12px rgba(6, 182, 212, 0.25);
}

.v-pill-rate {
    font-size: 0.76rem;
    font-weight: 800;
    color: var(--accent);
    background: rgba(6, 182, 212, 0.12);
    padding: 2px 6px;
    border-radius: 4px;
}

.v-pill.active .v-pill-rate {
    background: var(--accent);
    color: #000000;
}

.v-pill:hover, .v-pill.active {
    background: rgba(99, 102, 241, 0.2);
    border-color: var(--primary);
    color: var(--text-main);
}

.form-textarea, .form-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    color: var(--text-main);
    transition: var(--transition);
}

body.light-theme .form-textarea, 
body.light-theme .form-input {
    background: #ffffff;
    color: #111827;
}

.form-textarea:focus, .form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

.input-hint {
    font-size: 0.75rem;
    color: var(--text-sub);
    margin-top: 4px;
    display: block;
}

.form-row {
    display: flex;
    gap: 12px;
}

.col-6 { flex: 1; }

/* Calculation Summary */
.calc-summary-box {
    background: rgba(0, 0, 0, 0.25);
    border: 1px dashed var(--card-border);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 20px;
}

body.light-theme .calc-summary-box {
    background: rgba(99, 102, 241, 0.05);
}

.summary-line {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 6px;
    color: var(--text-muted);
}

.final-line {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--card-border);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-main);
}

/* Checkbox Styling */
.checkbox-group {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.custom-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
}

/* 10. Calculator Section */
.calc-card {
    padding: 40px;
}

.calc-slider-group {
    margin-bottom: 36px;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.slider-title {
    font-weight: 700;
    font-size: 1.1rem;
}

.slider-value-display {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--accent);
}

.range-slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: var(--card-border);
    outline: none;
    -webkit-appearance: none;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 0 15px var(--primary-glow);
    transition: transform 0.1s ease;
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.slider-ticks {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-sub);
    margin-top: 8px;
}

.calc-result-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.res-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-sm);
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.res-card.highlight-card {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
}

.res-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.res-val {
    font-size: 1.3rem;
    font-weight: 800;
}

/* 11. Full Rates Grid (All 14 Items) */
.full-rates-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.rate-card {
    padding: 24px 16px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.rate-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--pink);
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: var(--radius-full);
}

.rate-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin: 0 auto 12px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.rate-icon.culture { background: rgba(236, 72, 153, 0.15); color: #ec4899; }
.rate-icon.maple { background: rgba(249, 115, 22, 0.2); color: #f97316; }
.rate-icon.happy { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.rate-icon.book { background: rgba(16, 185, 129, 0.15); color: #10b981; }
.rate-icon.google { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.rate-icon.lotte { background: rgba(234, 179, 8, 0.15); color: #eab308; }

.maple-highlight-card {
    border: 2px solid #f97316 !important;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.15), rgba(236, 72, 153, 0.1)) !important;
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.3) !important;
}

.maple-badge {
    background: linear-gradient(135deg, #f97316, #ec4899) !important;
}

.buy-action-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.btn-sms {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #10b981;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: var(--transition);
}

.btn-sms:hover {
    background: #10b981;
    color: #ffffff;
}

/* Maple Planet Left Hero Card (Harmonized Glassmorphism Design System) */
.maple-planet-card {
    margin-top: 14px;
    margin-bottom: 16px;
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--card-border);
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.maple-card-glow-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 220%;
    height: 220%;
    background: radial-gradient(circle at center, rgba(148, 163, 184, 0.14) 0%, rgba(99, 102, 241, 0.06) 45%, transparent 70%);
    pointer-events: none;
}

.maple-planet-card:hover {
    border-color: rgba(99, 102, 241, 0.6);
    box-shadow: 0 25px 60px rgba(99, 102, 241, 0.25);
    transform: translateY(-3px);
}

.maple-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.maple-badge-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.maple-badge {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 900;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.maple-hot-tag {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.25), rgba(249, 115, 22, 0.25));
    border: 1px solid rgba(239, 68, 68, 0.6);
    color: #f87171;
    font-size: 0.78rem;
    font-weight: 900;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    box-shadow: 0 0 14px rgba(239, 68, 68, 0.35);
    letter-spacing: -0.2px;
    white-space: nowrap;
    word-break: keep-all;
    flex-shrink: 0;
}

.planet-hot-tag {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.25), rgba(99, 102, 241, 0.25));
    border: 1px solid rgba(6, 182, 212, 0.5);
    color: #38bdf8;
    font-size: 0.78rem;
    font-weight: 900;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    box-shadow: 0 0 14px rgba(6, 182, 212, 0.35);
    letter-spacing: -0.2px;
    white-space: nowrap;
    word-break: keep-all;
    flex-shrink: 0;
}

.maple-live {
    font-size: 0.78rem;
    color: #4ade80;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    word-break: keep-all;
    flex-shrink: 0;
    background: rgba(16, 185, 129, 0.1);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.pulse-dot {
    font-size: 0.6rem;
    animation: pulseGlow 1.5s infinite;
}

@keyframes pulseGlow {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.3); }
    100% { opacity: 1; transform: scale(1); }
}

.maple-card-title {
    font-size: 1.4rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.maple-planet-title-highlight {
    background: linear-gradient(to right, #fef08a 0%, #facc15 45%, #f97316 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    font-weight: 900;
    letter-spacing: -0.5px;
    filter: drop-shadow(0 2px 8px rgba(249, 115, 22, 0.3));
}

.maple-leaf-icon {
    font-size: 1.5rem;
    filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.6));
    animation: leafFloat 2.5s ease-in-out infinite alternate;
}

@keyframes leafFloat {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-4px) rotate(8deg); }
}

.meso-rate-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: var(--radius-md);
    padding: 12px 18px;
    margin: 14px 0;
}

.meso-rate-info {
    display: flex;
    flex-direction: column;
}

.meso-rate-label {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 6px;
}

.meso-rate-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.meso-rate-price-tag {
    display: flex;
    align-items: baseline;
    background: rgba(17, 24, 39, 0.6);
    padding: 4px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(251, 191, 36, 0.4);
}

.meso-rate-val {
    font-size: 1.75rem;
    font-weight: 900;
    color: #fbbf24;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
    letter-spacing: -0.5px;
}

.meso-unit {
    font-size: 1.05rem;
    font-weight: 800;
    color: #f59e0b;
    margin-left: 3px;
}

.maple-card-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 18px;
    line-height: 1.5;
}

.maple-action-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.maple-btn-call {
    background: linear-gradient(135deg, #6366f1, #4338ca) !important;
    border: none !important;
    color: #ffffff !important;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.35);
    transition: var(--transition);
}

.maple-btn-call,
.maple-btn-call *,
.maple-btn-call i,
.maple-btn-call .btn-main-txt {
    color: #ffffff !important;
}

.maple-btn-call:hover {
    background: linear-gradient(135deg, #4f46e5, #3730a3) !important;
    box-shadow: 0 12px 25px rgba(99, 102, 241, 0.55);
    transform: translateY(-2px);
}

.maple-btn-sms {
    background: rgba(16, 185, 129, 0.12) !important;
    border: 1px solid rgba(16, 185, 129, 0.35) !important;
    color: #10b981 !important;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
}

.maple-btn-sms i,
.maple-btn-sms .btn-main-txt {
    color: #10b981 !important;
}

.maple-btn-sms:hover {
    background: #10b981 !important;
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
    transform: translateY(-2px);
}

.maple-btn-sms:hover i,
.maple-btn-sms:hover .btn-main-txt {
    color: #ffffff !important;
}

/* Light Theme Explicit Override for Maple Buttons */
body.light-theme .maple-btn-call {
    background: linear-gradient(135deg, #4f46e5, #3730a3) !important;
    color: #ffffff !important;
}

body.light-theme .maple-btn-call *,
body.light-theme .maple-btn-call i,
body.light-theme .maple-btn-call .btn-main-txt {
    color: #ffffff !important;
}

body.light-theme .maple-btn-sms {
    background: #10b981 !important;
    border-color: #10b981 !important;
    color: #ffffff !important;
}

body.light-theme .maple-btn-sms *,
body.light-theme .maple-btn-sms i,
body.light-theme .maple-btn-sms .btn-main-txt {
    color: #ffffff !important;
}

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

.btn-main-txt {
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.2;
}

.btn-sub-txt {
    font-size: 0.72rem;
    opacity: 0.88;
    font-weight: 600;
}

.maple-btn-call i, .maple-btn-sms i {
    font-size: 1.35rem;
}
.rate-icon.shinsegae { background: rgba(239, 68, 68, 0.15); color: #ef4444; }
.rate-icon.corp { background: rgba(168, 85, 247, 0.15); color: #a855f7; }
.rate-icon.payz { background: rgba(236, 72, 153, 0.15); color: #f43f5e; }
.rate-icon.tincash { background: rgba(14, 165, 233, 0.15); color: #0ea5e9; }
.rate-icon.general { background: rgba(100, 116, 139, 0.15); color: #94a3b8; }

.rate-name {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.rate-percent {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 4px;
}

.rate-sub {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}

.rate-info {
    font-size: 0.75rem;
    color: var(--text-sub);
    margin-bottom: 16px;
}

/* 12. Join Easy Pay Section */
.easypay-wrapper {
    padding: 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.easypay-features-list {
    margin: 24px 0 32px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ep-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 600;
}

.easypay-mockup {
    display: flex;
    justify-content: center;
}

.pay-card-visual {
    width: 320px;
    height: 200px;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #db2777 100%);
    border-radius: 18px;
    padding: 24px;
    color: white;
    box-shadow: 0 15px 35px rgba(124, 58, 237, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transform: rotate(-3deg);
    transition: var(--transition);
}

.pay-card-visual:hover {
    transform: rotate(0deg) scale(1.03);
}

.card-chip {
    font-size: 1.8rem;
    color: #fde047;
}

.card-brand {
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-align: right;
    margin-top: -30px;
}

.card-number {
    font-family: 'Plus Jakarta Sans', monospace;
    font-size: 1.25rem;
    letter-spacing: 2px;
    font-weight: 700;
}

.card-bottom {
    display: flex;
    justify-content: space-between;
}

.card-bottom .lbl {
    display: block;
    font-size: 0.6rem;
    opacity: 0.8;
}

.card-bottom .val {
    font-size: 0.85rem;
    font-weight: 700;
}

/* 13. Guide Section Steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.step-card {
    padding: 36px 24px;
    position: relative;
    text-align: center;
}

.step-num {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 1.8rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.1);
}

.step-icon {
    width: 64px;
    height: 64px;
    background: rgba(99, 102, 241, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    margin: 0 auto 20px auto;
}

.step-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* 14. Trust Section */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.trust-item {
    text-align: center;
    padding: 24px;
}

.trust-item i {
    font-size: 2.2rem;
    color: var(--accent);
    margin-bottom: 14px;
}

.trust-item h4 {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.trust-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* 15. FAQ Accordion */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.accordion-header {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    text-align: left;
}

.accordion-header i.acc-icon {
    transition: transform 0.3s ease;
}

.accordion-item.open .acc-icon {
    transform: rotate(180deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 24px;
}

.accordion-item.open .accordion-body {
    max-height: 200px;
    padding: 0 24px 20px 24px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* 16. Footer */
.site-footer {
    background: #070911;
    border-top: 1px solid var(--card-border);
    padding: 60px 0 40px 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--card-border);
    flex-wrap: wrap;
    gap: 24px;
}

.footer-desc {
    margin-top: 12px;
    max-width: 480px;
    line-height: 1.6;
    word-break: keep-all;
}

.footer-maple-highlight {
    background: linear-gradient(135deg, #f87171, #fb923c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    text-shadow: 0 0 14px rgba(248, 113, 113, 0.4);
    display: inline-block;
    white-space: nowrap;
}

.contact-box {
    background: var(--card-bg);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--card-border);
    display: flex;
    flex-direction: column;
}

.c-title { font-weight: 700; color: var(--text-main); }
.c-num { font-size: 1.8rem; font-weight: 900; color: var(--accent); }
.c-hours { font-size: 0.75rem; color: var(--text-sub); }

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: var(--text-sub);
}

.copyright {
    margin-top: 12px;
    font-size: 0.8rem;
}

/* 17. Modals & Overlays */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    width: 90%;
    max-width: 440px;
    padding: 32px;
    position: relative;
    transform: translateY(20px);
    transition: var(--transition);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.kakao-modal-card {
    max-width: 440px;
    text-align: center;
}

.kakao-direct-action-box {
    margin-bottom: 20px;
}

.direct-kakao-btn {
    box-shadow: 0 8px 25px rgba(254, 229, 0, 0.3);
    font-size: 1.05rem;
}

.kakao-qr-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.qr-img-box {
    width: 220px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin-bottom: 16px;
    border: 3px solid #fee500;
}

.kakao-qr-img {
    width: 100%;
    height: auto;
    display: block;
}

.id-copy-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(254, 229, 0, 0.1);
    border: 1px solid rgba(254, 229, 0, 0.3);
    padding: 8px 16px;
    border-radius: var(--radius-full);
}

.id-label {
    font-size: 0.9rem;
    color: var(--text-main);
}

.qr-sub-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text-muted);
}

.modal-header {
    text-align: center;
    margin-bottom: 20px;
}

.modal-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.qr-code-box {
    text-align: center;
    margin-bottom: 24px;
}

.qr-img-placeholder {
    width: 180px;
    height: 180px;
    background: white;
    color: black;
    margin: 0 auto 12px auto;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-timer {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--danger);
}

.confirm-details {
    background: rgba(0,0,0,0.3);
    padding: 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.9rem;
}

.c-row {
    display: flex;
    justify-content: space-between;
}

.row-btn {
    display: flex;
    gap: 10px;
}

.row-btn .btn { flex: 1; }

/* 18. Toast Notifications & Floating Kakao */
.toast-container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 4000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: var(--bg-secondary);
    border: 1px solid var(--card-border);
    border-left: 4px solid var(--primary);
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideIn 0.3s ease forwards;
}

.toast.success { border-left-color: var(--success); }
.toast.error { border-left-color: var(--danger); }

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

.floating-kakao {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--kakao-yellow);
    color: var(--kakao-text);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 8px 25px rgba(254, 229, 0, 0.4);
    z-index: 1000;
    cursor: pointer;
    transition: var(--transition);
}

.floating-kakao:hover {
    transform: scale(1.1);
}

.floating-kakao .badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--danger);
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: var(--radius-full);
}

/* 19. Mobile App Bottom Navigation Bar */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 64px;
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--card-border);
    z-index: 2500;
    justify-content: space-around;
    align-items: center;
}

.m-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 600;
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.m-nav-item i {
    font-size: 1.2rem;
}

.m-nav-item.active, .m-nav-item:hover {
    color: var(--accent);
}

.m-nav-kakao {
    color: var(--kakao-yellow);
}

.m-nav-kakao:hover {
    color: #fada0a;
}

/* 20. Responsive Design Breakpoints */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; }
    .easypay-wrapper { grid-template-columns: 1fr; }
    .full-rates-grid { grid-template-columns: repeat(3, 1fr); }
    .calc-result-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        width: 100vw !important;
        max-width: 100vw !important;
    }
    .container {
        padding: 0 12px;
        max-width: 100%;
        box-sizing: border-box;
    }
    .main-nav { display: none; }
    .header-actions .btn-kakao { display: none; }
    .mobile-menu-btn { display: flex; align-items: center; justify-content: center; }
    .mobile-bottom-nav { display: flex; }
    .floating-kakao { display: none; } /* Mobile app bottom nav already has Kakao talk tab */
    .toast-container { bottom: 80px; left: 16px; right: 16px; }
    
    /* Announcement Banner Mobile Fix */
    .announcement-inner {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 3px;
        font-size: 0.72rem;
    }

    /* Live Ticker Mobile Responsive Fix (Prevents Truncation inside [ ] and (X초 전)) */
    .live-ticker-box {
        padding: 6px 10px !important;
        gap: 6px !important;
    }

    .ticker-label {
        font-size: 0.74rem !important;
        gap: 4px !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }

    .ticker-item {
        font-size: 0.73rem !important;
        gap: 4px !important;
        white-space: nowrap !important;
    }

    .ticker-item strong {
        font-size: 0.73rem !important;
    }

    .ticker-time {
        font-size: 0.7rem !important;
        flex-shrink: 0 !important;
        white-space: nowrap !important;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 4px 10px;
        max-width: 100%;
        box-sizing: border-box;
    }

    .hero-title {
        font-size: 1.4rem;
        line-height: 1.32;
        word-break: keep-all;
        max-width: 100%;
    }

    .hero-desc {
        font-size: 0.85rem;
        line-height: 1.5;
        word-break: keep-all;
        max-width: 100%;
    }

    .full-rates-grid { grid-template-columns: repeat(2, 1fr); }
    .top-announcement { font-size: 0.72rem; padding: 6px 0; }
    .exchange-card { padding: 16px 12px; }
    
    /* Maple Planet Mobile Responsiveness */
    .maple-planet-card {
        padding: 14px 12px;
        margin-top: 10px;
        margin-bottom: 14px;
    }
    .maple-card-header {
        flex-wrap: wrap !important;
        gap: 8px !important;
    }
    .maple-badge-wrap {
        flex-wrap: wrap !important;
        gap: 6px !important;
    }
    .maple-hot-tag, .planet-hot-tag, .maple-live {
        font-size: 0.72rem !important;
        padding: 3px 9px !important;
        white-space: nowrap !important;
        word-break: keep-all !important;
    }
    .maple-card-title {
        font-size: 1.1rem;
        word-break: keep-all;
        line-height: 1.35;
    }
    .maple-action-btns {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .maple-btn-call, .maple-btn-sms {
        padding: 12px;
        width: 100%;
        justify-content: center;
    }
    .meso-rate-box {
        padding: 10px 12px;
    }
    .meso-rate-val {
        font-size: 1.45rem;
    }
}

@media (max-width: 480px) {
    .full-rates-grid { grid-template-columns: 1fr; }
    .modal-content { padding: 20px; width: 94%; }
    .maple-card-title { font-size: 1.05rem; }
}

/* ==========================================================
   21. Maintenance Mode Overlay System
   ========================================================== */
.maintenance-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(7, 9, 17, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.maintenance-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.maintenance-card {
    max-width: 440px;
    width: 100%;
    text-align: center;
    padding: 32px 24px;
    border: 1px solid rgba(245, 158, 11, 0.4);
    box-shadow: 0 0 50px rgba(245, 158, 11, 0.2);
    border-radius: var(--radius-lg);
}

.maintenance-icon {
    font-size: 3.5rem;
    color: #f59e0b;
    margin-bottom: 16px;
    display: inline-block;
}

.animated-gear {
    animation: spinGear 8s linear infinite;
}

@keyframes spinGear {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.maintenance-title {
    font-size: 1.4rem;
    font-weight: 900;
    margin-bottom: 8px;
    color: #ffffff;
    word-break: keep-all;
}

.maintenance-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 20px;
    word-break: keep-all;
}

.maintenance-info-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    margin-bottom: 20px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.m-info-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
}

.m-lbl { font-weight: 700; color: var(--text-main); }
.m-val { color: var(--accent); font-weight: 600; }

.maintenance-action-btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.maintenance-footer-hint {
    font-size: 0.73rem;
    color: var(--text-sub);
    margin-top: 14px;
    word-break: keep-all;
}

/* ==========================================================
   22. Comprehensive Meticulous Light Theme System (Ultra-High Contrast)
   ========================================================== */
body.light-theme {
    --bg-main: #f8fafc;
    --bg-secondary: #ffffff;
    --card-bg: #ffffff;
    --card-border: #cbd5e1;
    --card-hover-border: #4f46e5;
    
    --text-main: #0f172a;
    --text-muted: #334155;
    --text-sub: #475569;

    --shadow-glass: 0 4px 20px rgba(0, 0, 0, 0.06);
    background-color: #f8fafc !important;
    color: #0f172a !important;
}

/* Header & Mobile Navigation in Light Theme */
body.light-theme .site-header {
    background: rgba(255, 255, 255, 0.94) !important;
    border-bottom-color: #e2e8f0 !important;
}

body.light-theme .logo-text .brand-name {
    color: #0f172a !important;
}

body.light-theme .logo-text .brand-sub {
    color: #475569 !important;
}

body.light-theme .nav-link {
    color: #334155 !important;
}

body.light-theme .nav-link:hover,
body.light-theme .nav-link.active {
    color: #4f46e5 !important;
}

body.light-theme .theme-toggle,
body.light-theme .mobile-menu-btn {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}

body.light-theme .mobile-drawer {
    background: #ffffff !important;
    color: #0f172a !important;
}

body.light-theme .drawer-link {
    color: #1e293b !important;
}

body.light-theme .drawer-close {
    color: #0f172a !important;
}

/* All Headings, Titles, Labels, Text in Light Theme */
body.light-theme h1, body.light-theme h2, body.light-theme h3, 
body.light-theme h4, body.light-theme h5, body.light-theme h6,
body.light-theme .hero-title,
body.light-theme .section-title,
body.light-theme .quick-title,
body.light-theme .maple-card-title,
body.light-theme .review-title,
body.light-theme .q-name,
body.light-theme .trust-mini-pill strong,
body.light-theme .trust-mini-item strong,
body.light-theme .step-card h3,
body.light-theme .s-num,
body.light-theme .hc-num,
body.light-theme .m-lbl,
body.light-theme .form-label,
body.light-theme label,
body.light-theme .ep-item,
body.light-theme .faq-question,
body.light-theme .rate-name {
    color: #0f172a !important;
}

body.light-theme p,
body.light-theme span:not(.btn-main-txt):not(.pulse-badge):not(.status-badge),
body.light-theme .hero-desc,
body.light-theme .section-desc,
body.light-theme .maple-card-desc,
body.light-theme .review-mini-text,
body.light-theme .review-text,
body.light-theme .trust-mini-pill span,
body.light-theme .trust-mini-item span,
body.light-theme .s-sub,
body.light-theme .ticker-item,
body.light-theme .rate-sub,
body.light-theme .rate-info,
body.light-theme .faq-answer,
body.light-theme .footer-desc,
body.light-theme .footer-copy,
body.light-theme .calc-summary-label {
    color: #334155 !important;
}

/* Badges & Pills */
body.light-theme .hero-badge {
    background: #e0e7ff !important;
    border-color: #c7d2fe !important;
    color: #3730a3 !important;
}

body.light-theme .feature-chip {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #334155 !important;
}

body.light-theme .planet-hot-tag {
    background: #e0f2fe !important;
    border-color: #7dd3fc !important;
    color: #0369a1 !important;
}

/* All Cards */
body.light-theme .glass-card,
body.light-theme .exchange-card,
body.light-theme .maple-planet-card,
body.light-theme .quick-rate-card,
body.light-theme .hero-bottom-trust-card,
body.light-theme .live-ticker-box,
body.light-theme .step-card,
body.light-theme .rate-card,
body.light-theme .faq-card,
body.light-theme .review-mini-card,
body.light-theme .review-card,
body.light-theme .trust-mini-item,
body.light-theme .easypay-wrapper,
body.light-theme .calc-result-box {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
}

body.light-theme .quick-rate-card:hover {
    background: #f0f9ff !important;
    border-color: #0284c7 !important;
}

/* Form Inputs, Selects, Textareas, Presets */
body.light-theme .form-input,
body.light-theme .form-textarea,
body.light-theme select,
body.light-theme .form-select {
    background-color: #ffffff !important;
    color: #0f172a !important;
    border-color: #cbd5e1 !important;
}

body.light-theme .form-input::placeholder,
body.light-theme .form-textarea::placeholder {
    color: #94a3b8 !important;
}

body.light-theme select option,
body.light-theme .form-select option {
    background-color: #ffffff !important;
    color: #0f172a !important;
}

body.light-theme .v-pill {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #334155 !important;
}

body.light-theme .v-pill.active {
    background: #4f46e5 !important;
    border-color: #4338ca !important;
    color: #ffffff !important;
}

body.light-theme .v-pill.active span {
    color: #ffffff !important;
}

body.light-theme .mini-preset-btn {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #334155 !important;
}

body.light-theme .mini-preset-btn:hover {
    background: #e0e7ff !important;
    border-color: #4f46e5 !important;
    color: #3730a3 !important;
}

/* Meso Box in Light Mode */
body.light-theme .meso-rate-box {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
}

body.light-theme .meso-rate-label {
    color: #334155 !important;
}

body.light-theme .meso-rate-sub {
    color: #64748b !important;
}

body.light-theme .meso-rate-val {
    color: #4338ca !important;
}

/* Modals in Light Theme */
body.light-theme .modal-content {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15) !important;
}

body.light-theme .modal-close {
    color: #0f172a !important;
}

/* Footer in Light Theme */
body.light-theme .site-footer {
    background: #f1f5f9 !important;
    border-top-color: #cbd5e1 !important;
    color: #334155 !important;
}

body.light-theme .footer-brand .brand-name {
    color: #0f172a !important;
}

body.light-theme .contact-box {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
}

body.light-theme .contact-num {
    color: #0f172a !important;
}

/* Mobile Bottom Navigation Bar in Light Theme */
body.light-theme .mobile-bottom-nav {
    background: #ffffff !important;
    border-top-color: #cbd5e1 !important;
}

body.light-theme .m-nav-item {
    color: #64748b !important;
}

body.light-theme .m-nav-item.active {
    color: #4f46e5 !important;
}

/* Left to Right Gradient Text in Light Theme */
body.light-theme .text-gradient {
    background: linear-gradient(to right, #0284c7 0%, #4338ca 45%, #7e22ce 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    filter: none !important;
}

/* High-Contrast Meso Rate Box for Light Theme */
body.light-theme .meso-rate-box {
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
}

body.light-theme .meso-rate-label {
    color: #0f172a !important;
    font-weight: 700 !important;
}

body.light-theme .meso-rate-sub {
    color: #475569 !important;
}

body.light-theme .meso-rate-price-tag {
    background: #ffffff !important;
    border: 1px solid #d97706 !important;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.15) !important;
}

body.light-theme .meso-rate-val {
    color: #b45309 !important;
    text-shadow: none !important;
    font-weight: 900 !important;
}

body.light-theme .meso-unit {
    color: #d97706 !important;
    font-weight: 800 !important;
}

/* High-Contrast Customer Reviews for Light Theme */
body.light-theme .review-mini-text,
body.light-theme .review-text {
    color: #0f172a !important;
    font-weight: 600 !important;
}

body.light-theme .review-mini-card .review-user,
body.light-theme .review-user {
    color: #334155 !important;
    font-weight: 700 !important;
}

/* Light Mode Maple Planet Title Highlight Gradient */
body.light-theme .maple-planet-title-highlight {
    background: linear-gradient(to right, #d97706 0%, #ea580c 50%, #c2410c 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    filter: none !important;
}

