/* IMMO PAY — Professional Modern Design System */

:root {
    --primary: #3B82F6;
    --primary-dark: #2563EB;
    --primary-light: rgba(59, 130, 246, 0.12);
    --gold: #D4A853;
    --gold-dark: #B8923F;
    --gold-light: rgba(212, 168, 83, 0.12);
    --gold-glow: rgba(212, 168, 83, 0.25);
    --cyan: #38BDF8;
    --cyan-glow: rgba(56, 189, 248, 0.2);
    --success: #22C55E;
    --danger: #EF4444;
    --purple: #8B5CF6;
    --paypal: #0070BA;
    --bg: #070B14;
    --bg-elevated: #0F1623;
    --surface: #151D2E;
    --surface-hover: #1A2438;
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);
    --text: #F1F5F9;
    --text-muted: #94A3B8;
    --text-dim: #64748B;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 24px 48px rgba(0, 0, 0, 0.45);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --radius-pill: 999px;
    --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --nav-height: 72px;
    --wa: #22C55E;
    --facebook: #1877F2;
    --discord: #5865F2;
    --instagram: #E1306C;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; color-scheme: dark; }
html.theme-light { color-scheme: light; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    margin: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 50% at 10% -10%, rgba(59, 130, 246, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse 50% 40% at 90% 10%, rgba(212, 168, 83, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 50% 100%, rgba(56, 189, 248, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.container, .container-fluid, main, section { position: relative; z-index: 1; }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 { color: var(--text); letter-spacing: -0.02em; }
.fw-800 { font-weight: 800 !important; }
.text-primary-brand { color: var(--primary) !important; }
.text-gold { color: var(--gold) !important; }
.text-info { color: var(--cyan) !important; }
.text-warning { color: var(--gold) !important; }
.text-success { color: var(--success) !important; }
.text-muted-brand { color: var(--text-muted) !important; }

/* ── Announcement Bar ── */
.announcement-bar {
    background: linear-gradient(90deg, var(--bg-elevated), var(--surface), var(--bg-elevated));
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    border-bottom: 1px solid var(--border);
    letter-spacing: 0.3px;
}
.marquee-container { display: flex; align-items: center; }
.marquee-content { display: inline-block; animation: marquee 28s linear infinite; }
.marquee-content:hover { animation-play-state: paused; }
@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* ── Navbar ── */
.navbar-immo {
    background: rgba(7, 11, 20, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
    z-index: 1050;
}
.navbar-immo.scrolled {
    background: rgba(7, 11, 20, 0.95);
    box-shadow: var(--shadow-sm);
}
.immo-logo {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.03em;
    color: var(--text);
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}
.immo-logo:hover { color: var(--text); opacity: 0.9; }
.immo-logo .logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #fff;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.35);
}
.immo-logo .accent {
    background: linear-gradient(135deg, var(--gold), #F0D78C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.nav-link-menu {
    color: var(--text-muted) !important;
    font-weight: 600 !important;
    font-size: 14px;
    margin: 0 4px;
    padding: 8px 14px !important;
    border-radius: var(--radius-pill);
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}
.nav-link-menu:hover,
.nav-link-menu.active {
    color: var(--text) !important;
    background: rgba(255, 255, 255, 0.06);
}
.btn-nav-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
    border: none !important;
    color: #fff !important;
    font-weight: 700 !important;
    border-radius: var(--radius-pill) !important;
    padding: 10px 20px !important;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35);
    transition: var(--transition);
}
.btn-nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.45);
    color: #fff !important;
}
.btn-nav-outline {
    border: 1px solid var(--border-strong) !important;
    color: var(--text) !important;
    background: transparent !important;
    font-weight: 700 !important;
    border-radius: var(--radius-pill) !important;
    padding: 10px 20px !important;
    transition: var(--transition);
}
.btn-nav-outline:hover {
    border-color: var(--primary) !important;
    background: var(--primary-light) !important;
    color: var(--text) !important;
}
.navbar-toggler { border: none !important; padding: 8px; }
.navbar-toggler:focus { box-shadow: 0 0 0 2px var(--primary-light); }
.navbar-toggler i { color: var(--text); font-size: 1.25rem; }

/* ── Hero Section ── */
.hero-section {
    padding: 48px 0 32px;
    position: relative;
    overflow: hidden;
}
.hero-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15), transparent 70%);
    top: -100px;
    right: -100px;
    pointer-events: none;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-light);
    border: 1px solid rgba(59, 130, 246, 0.25);
    color: var(--cyan);
    font-size: 12px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    margin-bottom: 20px;
    letter-spacing: 0.3px;
}
.hero-title {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}
.hero-title .highlight {
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 540px;
    margin-bottom: 28px;
    line-height: 1.7;
}
.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.hero-stat-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px 18px;
    transition: var(--transition);
}
.hero-stat-chip:hover {
    border-color: var(--border-strong);
    transform: translateY(-2px);
}
.hero-stat-chip i {
    font-size: 18px;
    color: var(--gold);
}
.hero-stat-chip .value {
    font-weight: 800;
    font-size: 15px;
    color: var(--text);
    display: block;
    line-height: 1.2;
}
.hero-stat-chip .label {
    font-size: 11px;
    color: var(--text-dim);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ── Cards ── */
.glass-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}
.glass-card:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-lg);
}
.page-header {
    padding: 40px 0 24px;
    text-align: center;
}
.page-header h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 8px;
}
.page-header p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ── Service Tabs ── */
.service-tabs {
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    padding: 6px;
    border: 1px solid var(--border);
    margin-bottom: 24px;
}
.service-tabs .nav-link {
    color: var(--text-dim) !important;
    font-weight: 700 !important;
    border-radius: var(--radius-md);
    padding: 14px 18px;
    transition: var(--transition);
    background: transparent;
    border: none;
}
.service-tabs .nav-link:hover { color: var(--text) !important; }
.service-tabs .nav-link.active {
    background: var(--surface) !important;
    color: var(--text) !important;
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow-sm);
}

/* ── Forms ── */
.form-control, .form-select {
    background: var(--bg-elevated) !important;
    border: 1px solid var(--border) !important;
    color: var(--text) !important;
    border-radius: var(--radius-md) !important;
    padding: 14px 16px !important;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
}
.form-control:focus, .form-select:focus {
    background: var(--bg-elevated) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px var(--primary-light) !important;
    outline: none;
}
.form-control::placeholder { color: var(--text-dim) !important; }
.form-select option, .form-select optgroup { background: var(--bg-elevated); color: var(--text); }
label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted) !important;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
    letter-spacing: 0.8px;
}
.result-box, .price-box {
    background: var(--gold-light) !important;
    border: 1px solid rgba(212, 168, 83, 0.3) !important;
    color: var(--gold) !important;
    font-size: 22px;
    font-weight: 800;
}
.price-box { text-align: center; border-radius: var(--radius-md); padding: 16px; }

/* ── Buttons ── */
.btn-info {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark)) !important;
    border: none !important;
    color: #0A0F1C !important;
    font-weight: 800 !important;
    transition: var(--transition);
    box-shadow: 0 4px 14px var(--gold-glow);
}
.btn-info:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--gold-glow);
    filter: brightness(1.05);
    color: #0A0F1C !important;
}
.btn-primary-brand {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
    border: none !important;
    color: #fff !important;
    font-weight: 800 !important;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35);
}
.btn-primary-brand:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.45);
    color: #fff !important;
}
.btn-outline-info {
    border: 1px solid var(--border-strong) !important;
    color: var(--text) !important;
    background: transparent !important;
    transition: var(--transition);
}
.btn-outline-info:hover {
    background: var(--primary-light) !important;
    border-color: var(--primary) !important;
    color: var(--text) !important;
}
.btn-paypal {
    background: linear-gradient(135deg, var(--paypal), #003D6B) !important;
    border: none !important;
    color: #fff !important;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(0, 112, 186, 0.35);
}
.btn-paypal:hover { transform: translateY(-2px); color: #fff !important; }
.btn-skrill {
    background: linear-gradient(135deg, var(--purple), #6D28D9) !important;
    border: none !important;
    color: #fff !important;
    transition: var(--transition);
}
.btn-skrill:hover { transform: translateY(-2px); color: #fff !important; }
.btn-warning {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark)) !important;
    border: none !important;
    color: #0A0F1C !important;
    font-weight: 800 !important;
    transition: var(--transition);
}
.btn-warning:hover { transform: translateY(-2px); color: #0A0F1C !important; }

/* ── Mode Selector ── */
.mode-selector {
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
    padding: 5px;
    display: flex;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}
.mode-btn {
    flex: 1;
    border: none;
    background: transparent;
    color: var(--text-dim);
    padding: 13px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 13px;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}
.mode-btn:hover { color: var(--text); }
.mode-btn.active {
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow-sm);
}
.mode-selector::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    width: calc(50% - 5px);
    height: calc(100% - 10px);
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
    opacity: 0;
}
.mode-selector.convert::after { transform: translateX(100%); opacity: 1; }
.mode-selector:not(.convert)::after { opacity: 0; }

/* ── Member Progress ── */
.member-card {
    border-top: 3px solid var(--gold);
}
.progress-glass {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    height: 20px;
    overflow: hidden;
}
.progress-fill {
    background: linear-gradient(90deg, var(--gold), var(--cyan));
    height: 100%;
    border-radius: var(--radius-pill);
    transition: width 1s ease;
}

/* ── Features & Steps ── */
.feature-box {
    text-align: center;
    padding: 32px 20px;
    border-radius: var(--radius-xl);
    background: var(--surface);
    border: 1px solid var(--border);
    transition: var(--transition);
    height: 100%;
}
.feature-box:hover {
    border-color: var(--border-strong);
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}
.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition);
}
.feature-box:hover .feature-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
}
.feature-title { font-size: 17px; font-weight: 800; margin-bottom: 10px; }
.feature-text { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

.step-item { position: relative; padding-left: 52px; margin-bottom: 28px; }
.step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 15px;
}
.step-title { font-weight: 800; font-size: 16px; margin-bottom: 4px; display: block; }
.step-desc { color: var(--text-muted); font-size: 14px; display: block; line-height: 1.6; }

/* ── Stats Banner ── */
.stats-banner {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}
.stats-banner .title {
    font-size: 1.1rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}
.stat-item {
    text-align: center;
    padding: 12px 8px;
}
.stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    line-height: 1.2;
}
.stat-icon {
    font-size: 18px;
    color: var(--gold);
    margin: 0;
}
.stat-label {
    color: var(--text-dim);
    font-size: 11px;
    font-weight: 700;
    margin-top: 6px;
    margin-left: 0;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

/* ── Testimonials & Articles ── */
.testi-card-mini {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}
.testi-card-mini:hover { border-color: var(--border-strong); }
.testi-card-mini i.fa-star { color: var(--gold); font-size: 13px; }
.article-scroll-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 1.25rem;
    padding-bottom: 16px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.article-scroll-container::-webkit-scrollbar { display: none; }
.article-card-item { flex: 0 0 85%; scroll-snap-align: start; transition: var(--transition); }
.article-card-item:hover { transform: translateY(-4px); }
@media (min-width: 768px) {
    .article-card-item { flex: 0 0 calc(33.333% - 0.85rem); }
}

/* ── Trust Row ── */
.trust-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    padding: 24px 0;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 13px;
    transition: var(--transition);
}
.trust-item:hover { color: var(--text); }
.trust-item i { font-size: 20px; }

/* ── Rate Ticker ── */
.rate-ticker {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 10px 16px;
    overflow: hidden;
    white-space: nowrap;
}
.rate-ticker-inner {
    display: inline-block;
    animation: tickerScroll 22s linear infinite;
    color: var(--gold);
    font-weight: 700;
    font-size: 12px;
}
.rate-ticker-inner:hover { animation-play-state: paused; }
@keyframes tickerScroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}
.rate-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold-light);
    border: 1px solid rgba(212, 168, 83, 0.25);
    color: var(--gold);
    font-size: 13px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
}

/* ── PPOB / Digital Store ── */
.main-cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-bottom: 24px; }
.main-cat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 14px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    position: relative;
}
.main-cat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--cat-color, var(--primary));
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    opacity: 0;
    transition: var(--transition);
}
.main-cat-card:hover::before, .main-cat-card.active::before { opacity: 1; }
.main-cat-card:hover, .main-cat-card.active {
    transform: translateY(-4px);
    border-color: var(--cat-color, var(--primary));
    box-shadow: var(--shadow-md);
}
.main-cat-icon { font-size: 36px; margin-bottom: 12px; display: inline-block; transition: var(--transition); }
.main-cat-card:hover .main-cat-icon { transform: scale(1.1); }
.main-cat-name { font-size: 14px; font-weight: 800; display: block; margin-bottom: 4px; }
.main-cat-desc { font-size: 10px; color: var(--text-dim); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.main-cat-count {
    position: absolute;
    top: 10px; right: 12px;
    background: var(--bg-elevated);
    border-radius: var(--radius-pill);
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
}
.sub-cat-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.sub-cat-chip {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 8px 16px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition);
}
.sub-cat-chip:hover { border-color: var(--border-strong); color: var(--text); }
.sub-cat-chip.active {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
}
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin-top: 16px; }
.product-item {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 90px;
}
.product-item:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.product-item.selected {
    border-color: var(--primary);
    background: var(--primary-light);
}
.product-item .prod-name { font-weight: 700; font-size: 13px; flex: 1; }
.product-item .prod-price { font-weight: 800; font-size: 14px; color: var(--gold); }
.product-list-section { display: none; }
.product-list-section.show { display: block; }
.search-box { position: relative; margin-bottom: 16px; }
.search-box input { padding-left: 44px !important; }
.search-box i {
    position: absolute;
    left: 16px; top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
    z-index: 2;
}
.form-area { display: none; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); }
.form-area.show { display: block; }

/* ── Checkout Summary & Sticky CTA ── */
.order-summary {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, rgba(212, 168, 83, 0.08), rgba(56, 189, 248, 0.05));
    border: 1px solid var(--border);
    border-left: 3px solid var(--gold);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    margin-bottom: 18px;
}
.order-summary .sum-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    background: var(--gold-light);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.order-summary .sum-info { flex: 1; min-width: 0; }
.order-summary .sum-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-dim);
}
.order-summary .sum-name {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.order-summary .sum-price {
    font-size: 18px;
    font-weight: 800;
    color: var(--gold);
    white-space: nowrap;
}

#sticky-checkout {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    padding: 10px 16px;
    background: rgba(7, 11, 20, 0.98);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--border);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
    display: none;
}
#sticky-checkout.show { display: block; }
.checkout-summary { display: flex; align-items: center; gap: 12px; }
.checkout-summary .sum-product { flex: 1; min-width: 0; }
.checkout-summary .sum-name {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}
.checkout-summary .sum-price {
    font-size: 18px;
    font-weight: 800;
    color: var(--gold);
    line-height: 1.2;
}
.checkout-summary .btn-pay {
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--gold), #B8960F);
    color: #000;
    font-weight: 800;
    border: none;
    border-radius: var(--radius-pill);
    padding: 14px 20px;
    font-size: 14px;
    letter-spacing: 0.3px;
    white-space: nowrap;
    box-shadow: 0 4px 16px var(--gold-glow);
    transition: var(--transition);
}
.checkout-summary .btn-pay:hover { transform: translateY(-1px); box-shadow: 0 6px 20px var(--gold-glow); }
.checkout-summary .btn-pay:disabled { opacity: 0.6; transform: none; }

@media (min-width: 992px) {
    #sticky-checkout { display: none !important; }
}

/* ── Category buttons (legacy) ── */
.category-btn {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px 8px;
    cursor: pointer;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.category-btn:hover, .category-btn.active {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

/* ── Footer ── */
.immo-footer {
    background: var(--bg-elevated);
    border-top: 1px solid var(--border);
    padding: 64px 0 32px;
    margin-top: 4rem;
}
.footer-brand p { color: var(--text-muted); font-size: 14px; line-height: 1.7; }
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 8px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}
.footer-links a:hover { color: var(--primary); }
.sosmed-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin: 0 6px;
    transition: var(--transition);
    text-decoration: none;
}
.sosmed-icon:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.sosmed-icon.wa { color: var(--wa); }
.sosmed-icon.facebook { color: var(--facebook); }
.sosmed-icon.discord { color: var(--discord); }
.sosmed-icon.instagram { color: var(--instagram); }

/* ── Floating & UI chrome ── */
.wa-float {
    position: fixed;
    bottom: 28px;
    left: 28px;
    background: var(--wa);
    color: #fff !important;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    z-index: 9999;
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.4);
    text-decoration: none;
    transition: var(--transition);
    animation: waPulse 2.5s ease-in-out infinite;
}
.wa-float:hover { transform: scale(1.08); color: #fff !important; }
@keyframes waPulse {
    0%, 100% { box-shadow: 0 8px 24px rgba(34, 197, 94, 0.4); }
    50% { box-shadow: 0 8px 32px rgba(34, 197, 94, 0.6); }
}

#page-loader {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    animation: loaderAutoHide 0.6s ease 2.5s forwards;
}
#page-loader.hidden { opacity: 0; visibility: hidden; animation: none; }
@keyframes loaderAutoHide {
    to { opacity: 0; visibility: hidden; pointer-events: none; }
}
.loader-ring {
    width: 44px;
    height: 44px;
    border: 2px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: loaderSpin 0.8s linear infinite;
    margin-bottom: 14px;
}
@keyframes loaderSpin { to { transform: rotate(360deg); } }
.loader-text { color: var(--text-muted); font-weight: 700; font-size: 13px; letter-spacing: 2px; }

#back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 44px;
    height: 44px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 12px;
    font-size: 18px;
    cursor: pointer;
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
#back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
#back-to-top:hover { border-color: var(--primary); color: var(--primary); }

#theme-toggle {
    position: fixed;
    top: 96px;
    right: 20px;
    width: 42px;
    height: 42px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-muted);
    font-size: 16px;
    cursor: pointer;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
#theme-toggle:hover { border-color: var(--primary); color: var(--primary); }

#toast-container {
    position: fixed;
    top: 88px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.toast-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px 18px;
    color: var(--text);
    font-weight: 600;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-md);
    animation: toastIn 0.35s ease-out, toastOut 0.35s ease-in 3.6s forwards;
    max-width: 320px;
}
.toast-gold { border-left: 3px solid var(--gold); }
.toast-cyan { border-left: 3px solid var(--cyan); }
.toast-green { border-left: 3px solid var(--success); }
@keyframes toastIn { from { opacity: 0; transform: translateX(60px); } to { opacity: 1; transform: translateX(0); } }
@keyframes toastOut { from { opacity: 1; } to { opacity: 0; transform: translateX(60px); } }

#sticky-cta-mobile {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 9997;
    padding: 12px 16px;
    background: rgba(7, 11, 20, 0.95);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--border);
    display: none;
}
@media (max-width: 991px) {
    #sticky-cta-mobile { display: block; }
    body { padding-bottom: 72px; }
}

/* ── Dropdown ── */
.dropdown-menu {
    background: var(--surface) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius-md) !important;
    padding: 8px !important;
    box-shadow: var(--shadow-lg) !important;
}
.dropdown-item {
    color: var(--text-muted) !important;
    border-radius: var(--radius-sm) !important;
    font-weight: 600;
    padding: 10px 14px !important;
    transition: var(--transition);
}
.dropdown-item:hover {
    background: var(--primary-light) !important;
    color: var(--text) !important;
}
.dropdown-divider { border-color: var(--border) !important; }

/* ── Modal tabs ── */
.custom-tabs {
    background: var(--bg-elevated);
    border-radius: var(--radius-pill);
    padding: 5px;
    border: 1px solid var(--border);
}
.custom-tabs .nav-link-modal {
    color: var(--text-dim);
    padding: 12px 18px;
    border-radius: var(--radius-pill);
    background: transparent;
    border: none;
    font-weight: 700;
    font-size: 13px;
    transition: var(--transition);
}
.custom-tabs .nav-link-modal.active {
    background: var(--primary) !important;
    color: #fff !important;
}

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--text);
    font-weight: 700;
    font-size: 15px;
    padding: 18px 0;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}
.faq-question:hover { color: var(--primary); }
.faq-question i { transition: transform 0.3s; color: var(--primary); }
.faq-question.active i { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-answer.open { max-height: 240px; padding-bottom: 16px; }
.faq-answer p { color: var(--text-muted); font-size: 14px; line-height: 1.7; margin: 0; }

.accordion-item {
    background: var(--surface);
    border: 1px solid var(--border) !important;
    border-radius: var(--radius-md) !important;
    margin-bottom: 12px;
    overflow: hidden;
}
.accordion-button {
    background: transparent !important;
    color: var(--text) !important;
    font-weight: 700;
    box-shadow: none !important;
}
.accordion-button:not(.collapsed) {
    background: var(--primary-light) !important;
    color: var(--primary) !important;
}
.accordion-body {
    background: var(--bg-elevated);
    color: var(--text-muted);
}

/* ── SweetAlert ── */
div:where(.swal2-container) div:where(.swal2-popup) {
    background: var(--surface) !important;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl) !important;
    color: var(--text);
    font-family: var(--font);
}
div:where(.swal2-container) button:where(.swal2-confirm) {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
    border-radius: var(--radius-md) !important;
    font-weight: 700 !important;
}

/* ── Utilities ── */
.bg-info, .bg-warning { background: var(--gold) !important; color: #0A0F1C !important; }
.bg-secondary { background: var(--bg-elevated) !important; }
.border-secondary { border-color: var(--border) !important; }
.section-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    margin: 0 auto 40px;
    border-radius: 4px;
}
.section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    margin-bottom: 8px;
}
.section-subtitle { color: var(--text-muted); margin-bottom: 32px; }
.tier-card { height: 100%; border-top: 3px solid var(--border); }
.tier-card.popular {
    border-top-color: var(--gold);
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}
.badge { font-weight: 700; }

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 6px; }
::selection { background: var(--primary-light); color: var(--text); }

/* ── Light mode ── */
html.theme-light body,
body.light-mode {
    --bg: #F8FAFC;
    --bg-elevated: #FFFFFF;
    --surface: #FFFFFF;
    --surface-hover: #F1F5F9;
    --border: rgba(0, 0, 0, 0.08);
    --border-strong: rgba(0, 0, 0, 0.14);
    --text: #0F172A;
    --text-muted: #64748B;
    --text-dim: #94A3B8;
    background: var(--bg);
    color: var(--text);
}
html.theme-light body::before,
body.light-mode::before { opacity: 0.4; }
html.theme-light body .text-white,
body.light-mode .text-white { color: var(--text) !important; }
html.theme-light body .text-white-50,
body.light-mode .text-white-50 { color: var(--text-muted) !important; }
html.theme-light body .navbar-immo,
body.light-mode .navbar-immo { background: rgba(255, 255, 255, 0.9); }
html.theme-light body .immo-footer,
body.light-mode .immo-footer { background: #fff; }
html.theme-light body .glass-card,
body.light-mode .glass-card { background: #fff; border-color: rgba(0, 0, 0, 0.08); }
html.theme-light body .form-control,
html.theme-light body .form-select,
body.light-mode .form-control,
body.light-mode .form-select { background: #fff !important; color: #0F172A !important; border-color: rgba(0, 0, 0, 0.12) !important; }
html.theme-light body #page-loader,
body.light-mode #page-loader { background: #F8FAFC; }
html.theme-light body #theme-toggle,
body.light-mode #theme-toggle { background: #fff; border-color: rgba(0, 0, 0, 0.1); color: var(--gold); }

/* ── Responsive ── */
@media (max-width: 991px) {
    .hero-section { padding: 32px 0 24px; text-align: center; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-stats { justify-content: center; }
    .stats-banner { padding: 20px 16px; }
    .stats-banner .title { font-size: 1rem; margin-bottom: 16px; }
    .stat-value { font-size: 1.35rem; }
    .stat-item { padding: 10px 4px; }
    .glass-card { padding: 24px 20px; }
    .tier-card.popular { transform: none; }
}

@media (max-width: 768px) {
    .immo-logo { font-size: 1.25rem; }
    .wa-float { bottom: 88px; left: 16px; width: 52px; height: 52px; font-size: 24px; }
    #back-to-top { bottom: 88px; right: 16px; }
}

/* ── Page-specific components ── */
.title-gradient {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    background: linear-gradient(90deg, var(--gold), #F5D76E, var(--cyan));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.testi-card {
    background: var(--surface);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-md);
}
.testi-card:hover {
    border-color: var(--border-strong);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.quote-icon { font-size: 36px; color: var(--gold); opacity: 0.35; margin-bottom: 16px; }
.testi-text { font-size: 15px; line-height: 1.8; color: var(--text-muted); font-style: italic; margin-bottom: 24px; font-weight: 500; }
.avatar {
    width: 52px; height: 52px; min-width: 52px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #000; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 20px;
}
.client-name { font-size: 17px; font-weight: 800; color: var(--text); margin-bottom: 2px; }
.client-meta { font-size: 12px; color: var(--gold); font-weight: 700; text-transform: uppercase; }
.client-date { font-size: 12px; color: var(--text-dim); font-weight: 500; }

.pagination .page-link {
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-muted);
    margin: 0 4px;
    border-radius: var(--radius-sm);
    padding: 8px 16px;
    font-weight: 700;
    transition: var(--transition);
}
.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #000;
    border-color: var(--gold);
}
.pagination .page-link:hover:not(.active) {
    background: var(--gold-light);
    color: var(--gold);
}

.seo-content h1 { font-size: 2rem; font-weight: 800; margin-bottom: 0.5rem; color: var(--primary); }
.seo-content h2 {
    font-size: 1.35rem; font-weight: 800; margin-top: 2rem; margin-bottom: 1rem;
    color: var(--text); border-left: 4px solid var(--primary); padding-left: 14px;
}
.seo-content p, .seo-content li { font-size: 1rem; color: var(--text-muted); margin-bottom: 1rem; }
.seo-content strong { color: var(--text); }
.seo-content ul { padding-left: 1.5rem; }
.seo-content .subtitle { text-align: center; color: var(--text-muted); margin-bottom: 2rem; }
.last-updated { font-size: 0.9rem; color: var(--text-dim); font-style: italic; margin-bottom: 2rem; display: block; }
.category-title {
    font-size: 1.2rem; font-weight: 800; margin: 2rem 0 1.25rem;
    display: flex; align-items: center; gap: 10px;
}
.category-title i { color: var(--primary); }
.breadcrumb-item a { color: var(--primary); text-decoration: none; }
.breadcrumb-item.active { color: var(--text-muted); }

.kode-box {
    background: var(--gold-light);
    border: 2px dashed rgba(212, 168, 83, 0.4);
    border-radius: var(--radius-md);
    padding: 16px 24px;
    font-size: 22px; font-weight: 800;
    letter-spacing: 3px; color: var(--gold);
    text-align: center;
}
.stat-big { font-size: 2rem; font-weight: 800; color: var(--gold); }
.stat-label { font-size: 11px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1px; font-weight: 700; }

.auth-modal-content {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}
.auth-otp-icon {
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.3);
}
.auth-otp-input { letter-spacing: 5px; font-size: 20px; }

.article-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.article-card:hover { border-color: var(--border-strong); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.article-card img { width: 100%; height: 180px; object-fit: cover; }
.article-card .card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.article-card h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 8px; }
.article-card p { font-size: 14px; color: var(--text-muted); flex: 1; }

.order-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    transition: var(--transition);
}
.order-card:hover { border-color: var(--border-strong); }

.table-dark-custom {
    --bs-table-bg: transparent;
    color: var(--text) !important;
}
.table-dark-custom thead th {
    color: var(--text-muted) !important;
    border-bottom: 1px solid var(--border) !important;
    font-size: 11px; letter-spacing: 1px; font-weight: 800; text-transform: uppercase;
}
.table-dark-custom tbody td {
    border-bottom: 1px solid var(--border) !important;
    padding: 14px 10px; color: var(--text) !important; vertical-align: middle;
}

/* ── Riwayat / Member Dashboard ── */
.card-mewah {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px 16px;
    text-align: center;
    height: 100%;
    transition: var(--transition);
}
.card-mewah:hover { border-color: var(--border-strong); }
.card-mewah .title {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 8px;
}
.card-mewah .amount-green {
    font-weight: 800;
    color: var(--success);
    line-height: 1.3;
}
.card-mewah .amount-gold {
    font-weight: 800;
    color: var(--gold);
    line-height: 1.3;
}

.quick-stat {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    height: 100%;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.quick-stat:hover {
    border-color: rgba(212, 168, 83, 0.35);
    background: var(--gold-light);
}
.quick-stat .qs-lbl {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}
.quick-stat .qs-val {
    font-weight: 800;
    font-size: 15px;
    color: var(--gold);
    line-height: 1.3;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2px;
    min-height: 28px;
}
.spark-bar {
    display: inline-block;
    width: 6px;
    min-height: 4px;
    background: linear-gradient(180deg, var(--cyan), var(--primary));
    border-radius: 3px;
    margin: 0 1px;
    vertical-align: bottom;
}

.nav-link-custom {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    color: var(--text-muted) !important;
    font-weight: 700;
    font-size: 13px;
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    margin-right: 6px;
    transition: var(--transition);
    cursor: pointer;
}
.nav-link-custom:hover {
    border-color: var(--border-strong);
    color: var(--text) !important;
}
.nav-link-custom.active {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-color: var(--gold);
    color: #000 !important;
    box-shadow: 0 4px 14px var(--gold-glow);
}

.badge-tipe {
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    display: inline-block;
}

.copy-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 2px 6px;
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition);
    vertical-align: middle;
}
.copy-btn:hover,
.copy-btn.copied { color: var(--gold); }

.email-reminder {
    background: var(--gold-light);
    border: 1px solid rgba(212, 168, 83, 0.25);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
}

/* Tabel riwayat — override Bootstrap putih */
.glass-card .table,
.table-dark-custom {
    --bs-table-bg: transparent;
    --bs-table-color: var(--text);
    --bs-table-hover-color: var(--text);
    --bs-table-hover-bg: var(--surface-hover);
    --bs-table-border-color: var(--border);
    --bs-table-striped-bg: rgba(255, 255, 255, 0.02);
    margin-bottom: 0;
    color: var(--text);
}
.glass-card .table thead th,
.table-dark-custom thead th {
    color: var(--text-muted) !important;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-bottom: 1px solid var(--border) !important;
    background: rgba(0, 0, 0, 0.25) !important;
    padding: 14px 12px;
    vertical-align: middle;
}
.glass-card .table tbody td,
.table-dark-custom tbody td {
    border-bottom: 1px solid var(--border) !important;
    color: var(--text) !important;
    padding: 14px 12px;
    vertical-align: middle;
    background: transparent !important;
}
.glass-card .table tbody tr:hover td,
.table-dark-custom tbody tr:hover td {
    background: var(--surface-hover) !important;
}
.glass-card .table > :not(caption) > * > *,
.table-dark-custom > :not(caption) > * > * {
    background-color: transparent;
    box-shadow: none;
}

html.theme-light .quick-stat,
body.light-mode .quick-stat {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.08);
}
html.theme-light .card-mewah,
body.light-mode .card-mewah {
    background: #fff;
}
html.theme-light .glass-card .table thead th,
body.light-mode .glass-card .table thead th {
    background: #F1F5F9 !important;
}