/*
Theme Name: MyAIGRD Ultimate (Premium)
Theme URI: https://myaigrd.com
Author: MyAIGRD Team
Author URI: https://myaigrd.com
Description: AI 명리학 기반 라이프 코디네이터 서비스를 위한 프리미엄 다크 테마 (디자인 복구 및 404 수정 완료)
Version: 1.1.1
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: myaigrd
Tags: dark, one-column, custom-logo, custom-menu
*/

:root {

    --bg-primary: #0a0e27;
    --bg-secondary: #111638;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-card-hover: rgba(255, 255, 255, 0.08);
    --bg-glass: rgba(17, 22, 56, 0.85);

    --text-primary: #e8e6f0;
    --text-secondary: #9b97b0;
    --text-muted: #6b6785;

    --gold: #D4AF37;
    --gold-light: #F5C542;
    --gold-dark: #B8960C;
    --purple: #7C3AED;
    --purple-light: #A855F7;
    --purple-dark: #5B21B6;

    --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #F5C542 50%, #D4AF37 100%);
    --gradient-purple: linear-gradient(135deg, #7C3AED 0%, #A855F7 100%);
    --gradient-cta: linear-gradient(135deg, #D4AF37 0%, #e8a020 50%, #D4AF37 100%);
    --gradient-hero: linear-gradient(180deg, #0a0e27 0%, #15103a 50%, #0a0e27 100%);

    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-gold: rgba(212, 175, 55, 0.3);
    --border-purple: rgba(124, 58, 237, 0.3);

    --shadow-gold: 0 0 30px rgba(212, 175, 55, 0.15);
    --shadow-purple: 0 0 30px rgba(124, 58, 237, 0.15);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-elevated: 0 20px 60px rgba(0, 0, 0, 0.4);


    --font-primary: 'Pretendard', 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    --font-display: 'Pretendard', 'Inter', sans-serif;

    --fs-hero: clamp(2.2rem, 5vw, 3.8rem);
    --fs-h1: clamp(1.8rem, 4vw, 2.8rem);
    --fs-h2: clamp(1.4rem, 3vw, 2rem);
    --fs-h3: clamp(1.1rem, 2vw, 1.4rem);
    --fs-body: 1rem;
    --fs-small: 0.875rem;
    --fs-xs: 0.75rem;

    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
    --fw-extrabold: 800;


    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-section: clamp(4rem, 8vw, 8rem);


    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;


    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}



*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    color-scheme: dark;
}

/* 고정 헤더 대응 — 앵커 스크롤 오프셋 */
.free-taste,
.services,
.pricing,
.tiers,
.faq,
.cta-section {
    scroll-margin-top: 120px;
}

body {
    font-family: var(--font-primary);
    font-size: var(--fs-body);
    font-weight: var(--fw-regular);
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--gold-light);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--gold);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: var(--fw-bold);
    line-height: 1.3;
    color: var(--text-primary);
}



.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.container--narrow {
    max-width: 800px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}



.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.85rem 2rem;
    font-family: var(--font-primary);
    font-size: var(--fs-body);
    font-weight: var(--fw-semibold);
    line-height: 1;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn--primary {
    background: var(--gradient-cta);
    color: #0a0e27;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.45);
    color: #0a0e27;
}

.btn--secondary {
    background: transparent;
    color: var(--gold-light);
    border: 1.5px solid var(--border-gold);
}

.btn--secondary:hover {
    background: rgba(212, 175, 55, 0.08);
    border-color: var(--gold);
    color: var(--gold);
}

.btn--large {
    padding: 1.1rem 2.8rem;
    font-size: 1.1rem;
}

.btn--small {
    padding: 0.55rem 1.2rem;
    font-size: var(--fs-small);
}



.glass-card {
    background: rgba(17, 22, 56, 0.75);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all var(--transition);
}

.glass-card:hover {
    background: rgba(17, 22, 56, 0.85);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-card);
}



.section-title {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-title__label {
    display: inline-block;
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(212, 175, 55, 0.1);
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
}

.section-title__heading {
    font-size: var(--fs-h1);
    font-weight: var(--fw-extrabold);
    margin-bottom: var(--space-md);
}

.section-title__heading em {
    font-style: normal;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title__desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}



.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}



@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-md);
    }

    .btn--large {
        padding: 0.95rem 2rem;
        font-size: 1rem;
    }

    .hero__trust {
        gap: var(--space-md);
        flex-wrap: nowrap;
        justify-content: center;
    }

    .hero__trust-item {
        font-size: 0.65rem;
        white-space: nowrap;
    }

    /* 모바일 메뉴/햄버거 공통 (모든 페이지) */
    .nav__menu,
    .nav__actions {
        display: none;
    }

    .nav__toggle {
        display: flex;
        position: relative;
        z-index: 10002;
    }

    /* 햄버거 → X 애니메이션 */
    .nav__toggle.active .nav__toggle-bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .nav__toggle.active .nav__toggle-bar:nth-child(2) {
        opacity: 0;
    }
    .nav__toggle.active .nav__toggle-bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* 배경 딤(어두운 오버레이) */
    .site-header.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.6);
        z-index: 999;
        animation: fadeIn 0.3s ease;
    }

    /* 메뉴 열림 시 헤더 배경 초기화 (스크롤 상태에서도 정상 동작) */
    .site-header.menu-open {
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border-bottom: none !important;
    }

    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    /* 오른쪽 슬라이드 메뉴 패널 */
    .site-header.menu-open .nav__menu.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 80%;
        max-width: 320px;
        background: linear-gradient(165deg, rgba(21, 16, 58, 0.97) 0%, rgba(10, 14, 39, 0.98) 100%);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-left: 1px solid rgba(212, 175, 55, 0.25);
        box-shadow: -4px 0 30px rgba(0, 0, 0, 0.5), -1px 0 0 rgba(212, 175, 55, 0.1);
        padding: 5rem 2rem 2rem;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 0;
        z-index: 10001;
        animation: slideInRight 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        overflow-y: auto;
    }

    @keyframes slideInRight {
        from { transform: translateX(100%); }
        to { transform: translateX(0); }
    }

    /* 메뉴 상단 장식 라인 */
    .site-header.menu-open .nav__menu.active::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: var(--gradient-gold);
    }

    /* 메뉴 아이템 스타일 */
    .site-header.menu-open .nav__menu.active li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .site-header.menu-open .nav__menu.active li:last-child {
        border-bottom: none;
    }

    .site-header.menu-open .nav__menu.active .nav__link {
        font-size: 1.05rem;
        display: block;
        padding: 1rem 0.5rem;
        color: var(--text-secondary);
        transition: all 0.2s ease;
        border-radius: var(--radius-sm);
    }

    .site-header.menu-open .nav__menu.active .nav__link:hover,
    .site-header.menu-open .nav__menu.active .nav__link:active {
        color: var(--gold-light);
        background: rgba(212, 175, 55, 0.08);
        padding-left: 1rem;
    }

    /* 상단 액션 버튼 (로그인/시작하기) */
    .site-header.menu-open .nav__actions.active {
        display: flex;
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        max-width: 320px;
        padding: 1.2rem 2rem;
        background: linear-gradient(180deg, rgba(21, 16, 58, 0.99) 0%, rgba(21, 16, 58, 0.95) 80%, transparent 100%);
        border-left: 1px solid rgba(212, 175, 55, 0.25);
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        z-index: 10002;
        gap: var(--space-sm);
        justify-content: center;
        animation: slideInRight 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    /* QR코드 공유 섹션 */
    .site-header.menu-open .nav__menu.active .nav__share-section {
        display: block !important;
        border-bottom: none !important;
        margin-top: auto;
        padding-top: var(--space-lg);
    }

    /* 회원탈퇴 (마이페이지에서만 JS로 보이게 처리) */
    .site-header.menu-open .nav__menu.active .nav__delete-account-section.visible {
        display: block !important;
        border-bottom: none !important;
        padding-top: var(--space-sm);
    }

    .nav__link--danger {
        color: #f87171 !important;
        opacity: 0.7;
        font-size: var(--fs-small);
    }
    .nav__link--danger:hover {
        opacity: 1;
    }

    .nav__share-box {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: var(--space-sm);
        padding: var(--space-lg);
        border: 1px solid rgba(212, 175, 55, 0.15);
        border-radius: var(--radius-md);
        background: rgba(212, 175, 55, 0.03);
    }

    .nav__share-label {
        font-size: var(--fs-small);
        color: var(--gold-light);
        font-weight: var(--fw-semibold);
    }

    .nav__share-qr {
        border-radius: var(--radius-sm);
        border: 2px solid rgba(212, 175, 55, 0.2);
    }

    .nav__share-url {
        font-size: var(--fs-xs);
        color: var(--text-muted);
        letter-spacing: 0.05em;
    }
}

/* QR 공유 섹션 & 회원탈퇴 — 데스크톱에서 숨기기 */
.nav__share-section,
.nav__delete-account-section {
    display: none !important;
}

/* 저사양 환경 배려 — 모션 감소 설정 시 애니메이션 비활성화 */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero__stars {
        display: none;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}





.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 0.8rem 0;
    transition: all var(--transition);
    background: transparent;
}

.site-header.scrolled {
    background: rgba(17, 22, 56, 0.98);
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.5rem 0;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    color: var(--text-primary);
    flex-shrink: 0;
}

.nav__logo-icon {
    font-size: 1.6rem;
}

.nav__logo-brand {
    font-size: 1.15rem;
    font-weight: var(--fw-bold);
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav__logo-sub {
    display: block;
    font-size: 0.65rem;
    color: var(--text-secondary);
    font-weight: var(--fw-medium);
    letter-spacing: 0.05em;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    list-style: none;
}

.nav__link {
    font-size: var(--fs-small);
    font-weight: var(--fw-medium);
    color: var(--text-secondary);
    transition: color var(--transition);
    text-decoration: none;
}

.nav__link:hover,
.nav__link--active {
    color: var(--gold-light);
}

.nav__link--login {
    color: var(--text-secondary);
    margin-right: var(--space-sm);
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.nav__user-group {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.nav__membership-badge {
    font-size: 0.7rem;
    font-weight: var(--fw-bold);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold);
    border: 1px solid var(--border-gold);
    letter-spacing: 0.05em;
}

.nav__coin-badge {
    font-size: 0.75rem;
    font-weight: var(--fw-semibold);
    padding: 3px 8px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
    transition: all var(--transition);
    cursor: default;
}

.nav__coin-badge:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold-light);
    border-color: var(--border-gold);
}

/* 엽전 Twemoji 이미지 스타일 */
.coin-emoji {
    width: 14px;
    height: 14px;
    vertical-align: middle;
    display: inline-block;
}

.coin-emoji-inline {
    width: 18px;
    height: 18px;
    vertical-align: middle;
    display: inline-block;
    margin-right: 2px;
}

.coin-emoji-wallet {
    width: 32px;
    height: 32px;
    vertical-align: middle;
    display: inline-block;
    margin-right: 6px;
}

.coin-emoji-title {
    width: 22px;
    height: 22px;
    vertical-align: middle;
    display: inline-block;
    margin-right: 4px;
}

.nav__coin-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

/* 마이페이지 버튼 스타일 */
.btn--mypage {
    background: rgba(212, 175, 55, 0.12);
    color: var(--gold-light);
    border: 1px solid var(--border-gold);
    padding: 0.45rem 1rem;
    font-size: var(--fs-small);
    font-weight: var(--fw-semibold);
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all var(--transition);
}

.btn--mypage:hover {
    background: rgba(212, 175, 55, 0.25);
    color: var(--gold);
    border-color: var(--gold);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.nav__auth-loading {
    display: flex;
    align-items: center;
}

.spinner-small {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(212, 175, 55, 0.1);
    border-top: 2px solid var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav__toggle-bar {
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition);
}

.nav__toggle.active .nav__toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle.active .nav__toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav__toggle.active .nav__toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}



.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--gradient-hero);
    padding: var(--space-4xl) 0;
}


.hero__stars {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero__star {
    position: absolute;
    border-radius: 50%;
    background: white;
    animation: twinkle linear infinite;
}

.hero__star--1 {
    width: 2px;
    height: 2px;
    box-shadow:
        50px 100px 0 rgba(255, 255, 255, 0.6),
        200px 50px 0 rgba(255, 255, 255, 0.4),
        350px 200px 0 rgba(255, 255, 255, 0.5),
        500px 80px 0 rgba(255, 255, 255, 0.3),
        650px 300px 0 rgba(255, 255, 255, 0.6),
        800px 150px 0 rgba(255, 255, 255, 0.4),
        300px 400px 0 rgba(255, 255, 255, 0.6),
        750px 380px 0 rgba(255, 255, 255, 0.5);
    animation-duration: 3s;
    will-change: opacity;
}

.hero__star--2 {
    width: 3px;
    height: 3px;
    box-shadow:
        100px 200px 0 rgba(212, 175, 55, 0.3),
        400px 100px 0 rgba(124, 58, 237, 0.3),
        700px 350px 0 rgba(212, 175, 55, 0.2),
        250px 450px 0 rgba(212, 175, 55, 0.3),
        850px 500px 0 rgba(212, 175, 55, 0.3);
    animation-duration: 5s;
    animation-delay: 1s;
    will-change: opacity;
}

/* hero__star--3 제거 (성능 최적화: 3→2 레이어) */

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

.hero__container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    letter-spacing: 0.1em;
    color: var(--gold-light);
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-full);
    padding: 0.4rem 1.2rem;
    margin-bottom: var(--space-xl);
}

.hero__badge-dot {
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.5);
    }
}

.hero__title {
    font-size: var(--fs-hero);
    font-weight: var(--fw-extrabold);
    line-height: 1.2;
    margin-bottom: var(--space-lg);
    letter-spacing: -0.02em;
}

.hero__title-accent {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-2xl);
}

.hero__subtitle strong {
    color: var(--text-primary);
    font-weight: var(--fw-semibold);
}

.hero__cta {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-bottom: var(--space-3xl);
}

.hero__trust {
    display: flex;
    justify-content: center;
    gap: var(--space-2xl);
    flex-wrap: wrap;
}

.hero__trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--fs-xs);
    color: var(--text-muted);
}

.hero__trust-icon {
    font-size: 0.9rem;
}




.services {
    padding: var(--space-section) 0;
    background: var(--bg-secondary);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.services__card {
    text-align: center;
    padding: var(--space-2xl) var(--space-xl);
}

.services__card-icon {
    font-size: 2.8rem;
    margin-bottom: var(--space-lg);
    display: block;
}

.services__card-title {
    font-size: var(--fs-h3);
    margin-bottom: var(--space-md);
}

.services__card-desc {
    color: var(--text-secondary);
    font-size: var(--fs-small);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.services__card-features {
    list-style: none;
    text-align: left;
}

.services__card-features li {
    font-size: var(--fs-small);
    color: var(--text-secondary);
    padding: 0.3rem 0;
}




.pricing {
    padding: var(--space-section) 0;
}

.pricing__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    align-items: start;
}

.pricing__grid--4col {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.pricing__card {
    position: relative;
    text-align: center;
    padding: var(--space-2xl) var(--space-xl);
    display: flex;
    flex-direction: column;
}

.pricing__card--featured {
    border-color: var(--border-gold);
    background: rgba(212, 175, 55, 0.03);
    transform: scale(1.04);
    box-shadow: var(--shadow-gold);
}

.pricing__card-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-cta);
    color: #0a0e27;
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    padding: 0.3rem 1.2rem;
    border-radius: var(--radius-full);
    letter-spacing: 0.1em;
}

.pricing__card-header {
    margin-bottom: var(--space-xl);
}

.pricing__card-icon {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
    display: block;
}

.pricing__card-name {
    font-size: var(--fs-h2);
    font-weight: var(--fw-extrabold);
    margin-bottom: var(--space-xs);
}

.pricing__card-desc {
    color: var(--text-secondary);
    font-size: var(--fs-small);
}

.pricing__card-price {
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--border-subtle);
}

.pricing__card-amount {
    font-size: var(--fs-h2);
    font-weight: var(--fw-extrabold);
    color: var(--text-primary);
}

.pricing__card-period {
    font-size: var(--fs-small);
    color: var(--text-muted);
}

.pricing__card-features {
    list-style: none;
    text-align: left;
    flex: 1;
    margin-bottom: var(--space-xl);
}

.pricing__feature {
    padding: 0.5rem 0;
    font-size: var(--fs-small);
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.pricing__feature--included {
    color: var(--text-primary);
}

.pricing__feature--excluded {
    color: var(--text-muted);
}

.pricing__feature-icon {
    flex-shrink: 0;
    width: 1.2rem;
}

.pricing__card-btn {
    width: 100%;
}

.pricing__card-btn--disabled {
    opacity: 0.45;
    pointer-events: none;
    cursor: default;
}

.pricing__note {
    text-align: center;
    color: var(--text-muted);
    font-size: var(--fs-xs);
    margin-top: var(--space-2xl);
}

/* ---- SERVICE PRICE CARDS (svc-grid) ---- */

.svc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    max-width: 1100px;
    margin: 0 auto;
}

.svc-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-2xl) var(--space-lg) var(--space-xl);
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: all 0.35s cubic-bezier(.4,0,.2,1);
    cursor: default;
    overflow: hidden;
}

.svc-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    background: linear-gradient(135deg, rgba(212,175,55,0.06) 0%, rgba(124,58,237,0.06) 100%);
    transition: opacity 0.35s;
}

.svc-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 175, 55, 0.25);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(212, 175, 55, 0.1);
}

.svc-card:hover::before {
    opacity: 1;
}

.svc-card__badge {
    position: absolute;
    top: 12px;
    right: -28px;
    background: linear-gradient(135deg, #d4af37 0%, #f5d97e 100%);
    color: #0a0e27;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 32px;
    transform: rotate(45deg);
    letter-spacing: 0.08em;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.svc-card--popular {
    border-color: rgba(212, 175, 55, 0.2);
    background: rgba(212, 175, 55, 0.02);
}

.svc-card__icon-wrap {
    position: relative;
    z-index: 1;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    transition: transform 0.3s, box-shadow 0.3s;
}

.svc-card:hover .svc-card__icon-wrap {
    transform: scale(1.1);
}

.svc-card__icon-wrap--sun    { background: linear-gradient(135deg, rgba(255,183,77,0.2) 0%, rgba(255,152,0,0.12) 100%); box-shadow: 0 4px 16px rgba(255,183,77,0.15); }
.svc-card__icon-wrap--blue   { background: linear-gradient(135deg, rgba(66,165,245,0.2) 0%, rgba(30,136,229,0.12) 100%); box-shadow: 0 4px 16px rgba(66,165,245,0.15); }
.svc-card__icon-wrap--purple { background: linear-gradient(135deg, rgba(149,117,205,0.2) 0%, rgba(124,58,237,0.12) 100%); box-shadow: 0 4px 16px rgba(149,117,205,0.15); }
.svc-card__icon-wrap--green  { background: linear-gradient(135deg, rgba(102,187,106,0.2) 0%, rgba(67,160,71,0.12) 100%); box-shadow: 0 4px 16px rgba(102,187,106,0.15); }
.svc-card__icon-wrap--pink   { background: linear-gradient(135deg, rgba(240,98,146,0.2) 0%, rgba(233,30,99,0.12) 100%); box-shadow: 0 4px 16px rgba(240,98,146,0.15); }
.svc-card__icon-wrap--gold   { background: linear-gradient(135deg, rgba(212,175,55,0.2) 0%, rgba(245,217,126,0.12) 100%); box-shadow: 0 4px 16px rgba(212,175,55,0.15); }
.svc-card__icon-wrap--red    { background: linear-gradient(135deg, rgba(229,115,115,0.2) 0%, rgba(211,47,47,0.12) 100%); box-shadow: 0 4px 16px rgba(229,115,115,0.15); }
.svc-card__icon-wrap--cyan   { background: linear-gradient(135deg, rgba(77,208,225,0.2) 0%, rgba(0,172,193,0.12) 100%); box-shadow: 0 4px 16px rgba(77,208,225,0.15); }

.svc-card__icon {
    font-size: 1.6rem;
    line-height: 1;
}

.svc-card__body {
    position: relative;
    z-index: 1;
    flex: 1;
    margin-bottom: var(--space-md);
}

.svc-card__name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.svc-card__desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.svc-card__price-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: baseline;
    gap: 4px;
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255,255,255,0.06);
    width: 100%;
    justify-content: center;
}

.svc-card__price {
    font-size: 1.15rem;
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.svc-card__unit {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}




.faq {
    padding: var(--space-section) 0;
    background: var(--bg-secondary);
}

.faq__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.faq__item {
    padding: 0;
    overflow: hidden;
    border-radius: var(--radius-md) !important;
}

.faq__question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg) var(--space-xl);
    font-weight: var(--fw-semibold);
    font-size: var(--fs-body);
    cursor: pointer;
    list-style: none;
    transition: color var(--transition);
    color: var(--text-primary);
}

.faq__question::-webkit-details-marker {
    display: none;
}

.faq__question:hover {
    color: var(--gold-light);
}

.faq__icon {
    font-size: 1.3rem;
    color: var(--gold);
    transition: transform var(--transition);
    flex-shrink: 0;
    margin-left: var(--space-md);
}

details[open] .faq__icon {
    transform: rotate(45deg);
}

.faq__answer {
    padding: 0 var(--space-xl) var(--space-lg);
    color: var(--text-secondary);
    font-size: var(--fs-small);
    line-height: 1.8;
}




.cta-section {
    padding: var(--space-section) 0;
}

.cta-section__inner {
    text-align: center;
    padding: var(--space-4xl) var(--space-xl);
    border-color: var(--border-gold);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
}

.cta-section__title {
    font-size: var(--fs-h1);
    font-weight: var(--fw-extrabold);
    margin-bottom: var(--space-md);
}

.cta-section__accent {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-section__desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: var(--space-2xl);
}




.site-footer {
    padding: var(--space-3xl) 0 var(--space-xl);
    border-top: 1px solid var(--border-subtle);
    background: #060921;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.footer__logo-icon {
    font-size: 1.4rem;
}

.footer__logo-text {
    font-size: 1.1rem;
    font-weight: var(--fw-bold);
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer__tagline {
    color: var(--text-muted);
    font-size: var(--fs-small);
    line-height: 1.7;
}

.footer__heading {
    font-size: var(--fs-small);
    font-weight: var(--fw-semibold);
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    letter-spacing: 0.05em;
}

.footer__links {
    list-style: none;
}

.footer__links li {
    margin-bottom: var(--space-sm);
}

.footer__links a {
    font-size: var(--fs-small);
    color: var(--text-muted);
    transition: color var(--transition);
}

.footer__links a:hover {
    color: var(--gold-light);
}

.footer__disclaimer {
    text-align: right;
    font-size: var(--fs-small);
    color: var(--text-muted);
    padding: var(--space-sm) 0;
}

.footer__bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: var(--space-lg);
}

.footer__business-info p {
    font-size: var(--fs-small);
    color: var(--text-muted);
    line-height: 1.8;
    margin: 0;
}

.footer__business-info a {
    color: var(--text-muted);
    transition: color var(--transition);
}

.footer__business-info a:hover {
    color: var(--gold-light);
}

.footer__copyright {
    font-size: var(--fs-small);
    color: var(--text-muted);
    margin-top: var(--space-sm);
}



@media (max-width: 1024px) {

    .services__grid,
    .pricing__grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .pricing__grid--4col {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
    }

    .pricing__card--featured {
        transform: none;
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {

    .nav__menu,
    .nav__actions {
        display: none;
    }

    .nav__toggle {
        display: flex;
        z-index: 10002;
    }

    .hero {
        min-height: 90vh;
        padding-top: 5rem;
    }

    .hero__trust {
        flex-direction: column;
        align-items: center;
        gap: var(--space-sm);
    }

    .hero__cta {
        flex-direction: column;
        align-items: center;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .footer__disclaimer {
        text-align: center;
    }

    .footer__bottom {
        text-align: center;
    }
}

/* 404 Page Styles */
.page-404 {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 1.5rem;
}

.page-404__content {
    max-width: 600px;
}

.page-404__icon {
    font-size: 5rem;
    margin-bottom: 2rem;
}

.page-404__title {
    font-size: 4rem;
    font-weight: 900;
    color: var(--gold);
    margin-bottom: 1rem;
}

.page-404__text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

/* Reveal Fallback */
.reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}


/* ============================================================
   FREE TASTE (臾대즺 留쏅낫湲? STYLES
   ============================================================ */

.free-taste {
    padding: var(--space-section) 0;
    position: relative;
}

/* ---- FORM WRAP ---- */

.ft-form-wrap {
    max-width: 700px;
    margin: 0 auto;
    border-color: var(--border-gold);
}

.ft-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.ft-form__group:last-child {
    grid-column: 1 / -1;
}

.ft-form__label {
    display: block;
    font-size: var(--fs-small);
    font-weight: var(--fw-semibold);
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.ft-form__input {
    width: 100%;
    padding: 1rem 1.2rem;
    /* 크기 확대 */
    font-family: var(--font-primary);
    font-size: var(--fs-body);
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: all var(--transition);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    color-scheme: dark;
    /* 달력을 다크 테마로 표시 */
}

.ft-form__input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.ft-form__input::placeholder {
    color: var(--text-muted);
}

/* 생년월일 드롭다운 레이아웃 */
.birth-date-selects {
    display: flex;
    gap: 8px;
    align-items: center;
    width: 100%;
}

.birth-date-select {
    width: auto !important;
    min-width: 0;
    padding: 1rem 1.6rem 1rem 0.6rem !important;
    font-size: var(--fs-body) !important;
    text-align: center;
    flex: 1;
    background-size: 12px !important;
    background-position: right 0.4rem center !important;
}

.birth-date-select--year {
    flex: 1.3;
}

.birth-date-select--month,
.birth-date-select--day {
    flex: 1;
}

.ft-form__input-group .birth-date-select {
    padding: 0.8rem 1.4rem 0.8rem 0.5rem !important;
    font-size: 0.85rem !important;
}

.ft-form__input-group .birth-date-select--year {
    width: 80px !important;
}

.ft-form__input-group .birth-date-select--month,
.ft-form__input-group .birth-date-select--day {
    width: 62px !important;
}

@media (max-width: 480px) {
    .birth-date-selects {
        gap: 6px;
    }
    .birth-date-select {
        padding: 0.85rem 1.4rem 0.85rem 0.4rem !important;
        font-size: 0.82rem !important;
    }
    .birth-date-select--year {
        width: 82px !important;
    }
    .birth-date-select--month,
    .birth-date-select--day {
        width: 60px !important;
    }
}

/* Select 화살표 및 드롭다운 가독성 */
.ft-form__select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23D4AF37' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1.2rem center;
    background-size: 14px;
    padding-right: 3rem;
}

.ft-form__select option {
    background-color: #0a0e27;
    /* 다크 배경 */
    color: #ffffff;
    /* 흰색 글자 */
}

/* Radio 洹몃９ */
.ft-form__radio-group {
    display: flex;
    gap: var(--space-md);
}

.ft-form__radio {
    flex: 1;
    cursor: pointer;
}

.ft-form__radio input {
    display: none;
}

.ft-form__radio-btn {
    display: block;
    text-align: center;
    padding: 0.8rem;
    font-size: var(--fs-body);
    font-weight: var(--fw-medium);
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: all var(--transition);
}

.ft-form__radio input:checked+.ft-form__radio-btn {
    color: var(--gold);
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.08);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.15);
}

.ft-form__radio-btn:hover {
    border-color: rgba(212, 175, 55, 0.4);
}

/* Submit 踰꾪듉 */
.ft-form__submit {
    width: 100%;
    padding: 1rem;
}

/* ?ㅽ뵾??*/
.spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(10, 14, 39, 0.3);
    border-top-color: #0a0e27;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    vertical-align: middle;
    margin-right: var(--space-xs);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ---- RESULT AREA ---- */

.ft-result {
    max-width: 700px;
    margin: var(--space-2xl) auto 0;
}

.ft-result__header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.ft-result__title {
    font-size: var(--fs-h2);
    font-weight: var(--fw-extrabold);
    margin-bottom: var(--space-sm);
}

.ft-result__date {
    color: var(--text-muted);
    font-size: var(--fs-small);
}

/* 寃곌낵 移대뱶 洹몃━??*/
.ft-result__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

/* 媛쒕퀎 寃곌낵 移대뱶 */
.ft-result__card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
    padding: var(--space-lg) var(--space-xl);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: all var(--transition);
    overflow: hidden;
}

.ft-result__card:first-child {
    border-color: var(--border-gold);
    background: rgba(212, 175, 55, 0.04);
}

.ft-result__card-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
    width: 2.5rem;
    text-align: center;
}

.ft-result__card-body {
    flex: 1;
    min-width: 0;
}

.ft-result__card-label {
    font-size: var(--fs-small);
    font-weight: var(--fw-semibold);
    color: var(--gold-light);
    margin-bottom: var(--space-xs);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.ft-result__card-content {
    font-size: var(--fs-body);
    color: var(--text-primary);
    line-height: 1.7;
}

/* 釉붾윭 (?좉툑) 泥섎━ */
.ft-result__card--locked .ft-result__card-content {
    filter: blur(8px);
    user-select: none;
    pointer-events: none;
    color: var(--text-muted);
}

.ft-result__card--locked {
    cursor: pointer;
}

.ft-result__card--locked:hover {
    border-color: var(--border-purple);
}

.ft-result__lock-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 14, 39, 0.3);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity var(--transition);
    border-radius: var(--radius-md);
}

.ft-result__card--locked:hover .ft-result__lock-overlay {
    opacity: 1;
}

.ft-result__lock-text {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--fs-small);
    font-weight: var(--fw-semibold);
    color: var(--gold-light);
    background: var(--bg-glass);
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-gold);
}

/* CTA 諛곕꼫 (寃곌낵 ?섎떒) */
.ft-result__cta {
    text-align: center;
    margin-top: var(--space-2xl);
    padding: var(--space-2xl);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.06) 0%, rgba(124, 58, 237, 0.06) 100%);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
}

.ft-result__cta-title {
    font-size: var(--fs-h3);
    font-weight: var(--fw-bold);
    margin-bottom: var(--space-sm);
}

.ft-result__cta-desc {
    color: var(--text-secondary);
    font-size: var(--fs-small);
    margin-bottom: var(--space-lg);
}

/* ---- USAGE BADGE ---- */

.ft-result__usage {
    margin-top: var(--space-sm);
}

.ft-result__usage-badge {
    display: inline-block;
    font-size: var(--fs-small);
    color: var(--gold-light);
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid var(--border-gold);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
}

.ft-result__usage-badge strong {
    color: var(--gold);
    font-weight: var(--fw-bold);
}

/* ---- FORTUNE CHART ---- */

.fortune-chart {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.fortune-chart__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: var(--space-lg);
}

.fortune-chart__item {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.fortune-chart__label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--fs-small);
    font-weight: var(--fw-semibold);
    color: var(--text-secondary);
}

.fortune-chart__value {
    color: var(--text-primary);
    font-family: var(--font-mono);
}

.fortune-chart__bar-bg {
    height: 8px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-full);
    overflow: hidden;
    position: relative;
}

.fortune-chart__bar-fill {
    height: 100%;
    border-radius: var(--radius-full);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    transition: width 1.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    width: 0 !important;
    /* 초기 상태 */
}

/* revealed 클래스 적용 시 애니메이션 시작 */
.revealed .fortune-chart__bar-fill {
    width: var(--final-width, 0%) !important;
}

.ft-summary-text {
    white-space: pre-wrap;
    word-break: break-all;
}

/* ---- ERROR ---- */

.ft-error {
    max-width: 700px;
    margin: var(--space-lg) auto 0;
}

.ft-error__text {
    text-align: center;
    color: #f87171;
    font-size: var(--fs-small);
    font-weight: var(--fw-medium);
    background: rgba(248, 113, 113, 0.08);
    border: 1px solid rgba(248, 113, 113, 0.2);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
}

/* ---- UPGRADE PROMPT ---- */

.ft-upgrade {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
    padding: var(--space-2xl);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.06) 0%, rgba(124, 58, 237, 0.06) 100%);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
}

.ft-upgrade__icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
}

.ft-upgrade__title {
    font-size: var(--fs-h3);
    font-weight: var(--fw-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.ft-upgrade__desc {
    color: var(--text-secondary);
    font-size: var(--fs-body);
    margin-bottom: var(--space-xl);
}

.ft-upgrade__benefits {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
    text-align: left;
}

.ft-upgrade__benefit {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--fs-small);
    color: var(--text-secondary);
    padding: var(--space-sm) var(--space-md);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
}

.ft-upgrade__btn {
    width: 100%;
}

/* ---- RESPONSIVE ---- */

@media (max-width: 768px) {
    .ft-form__grid {
        grid-template-columns: 1fr;
    }

    .ft-form__group:last-child {
        grid-column: auto;
    }

    .ft-result__card {
        padding: var(--space-md) var(--space-lg);
    }

    .ft-upgrade {
        padding: var(--space-xl);
    }
}

/* ============================================================
   MY PAGE (DASHBOARD)
   ============================================================ */

.my-page-section {
    padding: 120px 0 80px;
}

/* 1:1 상담소 레이아웃 고도화 */
.consultation-section {
    padding: 140px 0 60px;
    /* 상단 여백 대폭 확보 (헤더 겹침 방지) */
    min-height: 100vh;
}

.vip-gold-text {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: var(--fw-extrabold) !important;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.chat-header__turn {
    font-size: 0.9rem;
    color: var(--gold-light);
    background: rgba(212, 175, 55, 0.1);
    padding: 5px 12px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-gold);
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.chat-header__turn .icon {
    font-size: 1rem;
}

.chat-messages {
    min-height: 400px;
    max-height: 60vh;
    overflow-y: auto;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.mp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    gap: 20px;
    flex-wrap: wrap;
}

.mp-header__user {
    display: flex;
    align-items: center;
    gap: 24px;
}

.mp-header__avatar {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
}

.mp-header__title {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.mp-header__badges {
    display: flex;
    gap: 10px;
}

.badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge--free {
    background: #64748b;
    color: white;
}

.badge--guardian {
    background: #f59e0b;
    color: white;
}

.badge--sentinel {
    background: #8b5cf6;
    color: white;
}

.badge--dark {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Profile Grid */
.mp-profiles {
    margin-bottom: 80px;
}

.mp-profiles__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 30px;
}

.mp-profile-card {
    padding: 24px;
    position: relative;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: default;
}

.mp-profile-card.active {
    border-color: var(--color-primary);
    box-shadow: 0 0 20px rgba(79, 70, 229, 0.2);
}

.mp-profile-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mp-profile-card__name {
    font-size: 1.25rem;
    font-weight: 700;
}

.mp-profile-card__info {
    font-size: 0.95rem;
    color: var(--color-text-dim);
    line-height: 1.6;
    margin-bottom: 20px;
}

.mp-profile-card__actions {
    display: flex;
    gap: 10px;
}

.mp-profile-card__actions .btn-select {
    flex: 1;
    background: var(--color-primary);
    border: none;
    color: white;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

/* Reports */
.mp-reports__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.mp-report-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    text-align: left;
    transition: all 0.3s;
    cursor: pointer;
}

.mp-report-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.02);
}

.mp-report-card__content h3 {
    font-size: 1.15rem;
    margin-bottom: 4px;
    color: var(--gold-light);
}

.mp-report-card__content p {
    font-size: 0.9rem;
    color: var(--text-primary);
    opacity: 0.9;
}

/* Modal and Others */
/* ============================================================
   GLOBAL MODALS (AD INTERSTITIAL & CUSTOM CONFIRM)
   ============================================================ */
.mp-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: var(--space-md);
}

.mp-modal__content {
    position: relative;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    padding: var(--space-2xl);
    border: 1px solid var(--border-gold);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(212, 175, 55, 0.2);
    overflow-y: auto;
    animation: modalFadeIn 0.4s var(--transition-bounce);
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.mp-modal__close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    transition: all var(--transition);
}

.mp-modal__close:hover {
    background: rgba(212, 175, 55, 0.2);
    color: var(--gold-light);
    border-color: var(--gold);
    transform: rotate(90deg);
}

/* 광고 인터스티셜 전용 */
.mp-modal--ad .mp-modal__content {
    max-width: 520px;
    overflow: hidden;
}

.mp-ad__header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--border-subtle);
}

.mp-ad__badge {
    font-size: var(--fs-xs);
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mp-ad__timer {
    position: relative;
    width: 48px;
    height: 48px;
}

.mp-ad__timer-svg {
    width: 48px;
    height: 48px;
    transform: rotate(-90deg);
}

.mp-ad__timer-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 2;
}

.mp-ad__timer-fill {
    fill: none;
    stroke: var(--gold);
    stroke-width: 2;
    stroke-dasharray: 100;
    stroke-dashoffset: 0;
    stroke-linecap: round;
    transition: stroke-dashoffset 1s linear;
}

.mp-ad__timer-text {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    font-size: 14px !important;
    font-weight: var(--fw-bold) !important;
    color: var(--gold-light) !important;
    margin: 0 !important;
    line-height: 1 !important;
}

.mp-ad__body {
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
}

.mp-ad__slot {
    width: 100%;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.mp-ad__placeholder {
    text-align: center;
    padding: var(--space-2xl);
}

.mp-ad__footer {
    text-align: center;
}

#ad-skip-btn {
    min-width: 220px;
    border-radius: var(--radius-full);
}

#ad-skip-btn:not(:disabled) {
    background: var(--gradient-gold);
    color: #000;
    animation: adPulse 1.5s ease infinite;
}

@keyframes adPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(212, 175, 55, 0);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    }
}

/* 커스텀 확인/알림 모달 (네이티브 대체) */
.mp-modal--confirm {
    z-index: 3000;
}

.mp-confirm {
    max-width: 420px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center;
    padding: var(--space-2xl) var(--space-xl) !important;
}

.mp-confirm__icon {
    font-size: 3.5rem;
    margin-bottom: var(--space-md);
    animation: adCoinSlide 0.6s var(--transition-bounce);
}

@keyframes adCoinSlide {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.mp-confirm__message {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: var(--space-xl);
    white-space: pre-line;
}

.mp-confirm__message strong {
    color: var(--gold-light);
    font-weight: var(--fw-bold);
}

.mp-confirm__actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    width: 100%;
}

.mp-confirm__actions .btn {
    flex: 1;
    max-width: 160px;
}

/* ============================================================
   CONSULTATION SESSION HISTORY
   ============================================================ */
.chat-sessions-wrap {
    margin: 10px 0 20px;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.chat-sessions__title {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
    font-weight: 600;
    opacity: 0.8;
}

.chat-sessions__list {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

.chat-sessions__list::-webkit-scrollbar {
    height: 4px;
}

.chat-sessions__list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.chat-session-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-secondary);
}

.chat-session-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.chat-session-item.active {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold-light);
}

.chat-session-item__delete {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    font-size: 10px;
    margin-left: 4px;
    opacity: 0.5;
    transition: all 0.2s;
}

.chat-session-item__delete:hover {
    background: #f87171;
    opacity: 1;
    transform: scale(1.1);
}

/* ---- SERVICE CARDS RESPONSIVE ---- */
@media (max-width: 1024px) {
    .svc-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }
}

@media (max-width: 480px) {
    .svc-grid {
        grid-template-columns: 1fr;
    }
}