@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Syne:wght@500;600;700;800&family=Cinzel:wght@600;700;800&display=swap');

:root {
    /* Obsidian Luxury Dark Palette */
    --bg-base: #0b0c0e;
    --bg-surface-1: #111317;
    --bg-surface-2: #161820;
    --bg-surface-3: #1d212b;
    --bg-card-dark: #14171e;

    /* Warm Alabaster / Cream Editorial Light Palette */
    --bg-light-base: #f6f4ee;
    --bg-light-surface: #ffffff;
    --bg-light-card: #fdfcf9;
    --bg-light-muted: #ece9df;

    /* Champagne Gold & Luxury Accents */
    --gold-primary: #d4af37;
    --gold-light: #f5e4b3;
    --gold-dark: #9f7e1b;
    --gold-gradient: linear-gradient(135deg, #f7e7be 0%, #d4af37 50%, #aa8218 100%);
    --gold-subtle: rgba(212, 175, 55, 0.12);
    --gold-glow: 0 8px 24px rgba(212, 175, 55, 0.22);

    /* Text Colors */
    --text-white: #ffffff;
    --text-light-1: #f1f2f5;
    --text-light-2: #c4c8d4;
    --text-muted-dark: #7e8494;
    --text-dark-1: #121316;
    --text-dark-2: #383a42;
    --text-muted-light: #6a6f7d;

    /* Borders */
    --border-dark: rgba(255, 255, 255, 0.08);
    --border-dark-gold: rgba(212, 175, 55, 0.25);
    --border-light: rgba(0, 0, 0, 0.08);

    /* Typography */
    --font-heading: 'Syne', -apple-system, sans-serif;
    --font-display: 'Cinzel', serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Radius & Transitions */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 22px;
    --radius-pill: 9999px;
    --transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #050608;
}

/* ── Always Display as Mobile on All Devices ── */
body {
    background-color: #050608;
    color: var(--text-light-1);
    font-family: var(--font-body);
    font-size: 13.5px;
    line-height: 1.55;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    justify-content: center;
}

body.no-scroll {
    overflow: hidden;
}

/* ── Central Mobile App Shell ── */
.app-wrapper {
    width: 100%;
    max-width: 480px;
    min-height: 100vh;
    background-color: var(--bg-base);
    position: relative;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.9), 0 0 0 1px var(--border-dark);
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--text-white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
}

/* ── Mobile Container ── */
.container {
    width: 100%;
    padding: 0 1rem;
    margin: 0 auto;
}

.page-container {
    width: 100%;
    flex: 1;
    padding-top: 56px; /* Offset for fixed header navbar */
    padding-bottom: 84px; /* Space for bottom fixed action buttons */
}

/* ── Sections ── */
.section {
    padding: 2.8rem 0;
    position: relative;
}

.section-dark {
    background-color: var(--bg-base);
    color: var(--text-light-1);
}

.section-light {
    background-color: var(--bg-light-base);
    color: var(--text-dark-1);
}

.section-light h1,
.section-light h2,
.section-light h3,
.section-light h4 {
    color: var(--text-dark-1);
}

.section-header {
    text-align: center;
    margin: 0 auto 2rem;
    padding: 0 0.5rem;
}

.section-header--left {
    text-align: left;
    margin: 0 0 1.8rem 0;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.8rem;
    width: fit-content;
}

.section-dark .section-tag {
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid var(--border-dark-gold);
    color: var(--gold-light);
}

.section-light .section-tag {
    background: rgba(18, 19, 22, 0.06);
    border: 1px solid rgba(18, 19, 22, 0.12);
    color: var(--text-dark-1);
}

.section-tag::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gold-primary);
}

.section-title {
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.6rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 0.86rem;
    line-height: 1.55;
}

.section-dark .section-subtitle {
    color: var(--text-light-2);
}

.section-light .section-subtitle {
    color: var(--text-muted-light);
}

/* ── Mobile Header (Fixed at Top of Shell on All Screens) ── */
header:not(.article-header) {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    z-index: 1000;
    background: rgba(11, 12, 14, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-dark);
    box-sizing: border-box;
}

.header-container {
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

/* Always hide horizontal header menu & desktop buttons */
.header-auth {
    display: none;
}

/* Mobile Menu Toggle — Always Visible on All Devices */
.mobile-menu-toggle {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 6px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-dark);
}

.mobile-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-white);
    transition: var(--transition);
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Centered Mobile Navigation Modal — 100% Crisp, High Contrast, Centered Modal */
.nav-list {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -46%) scale(0.95);
    width: calc(100% - 32px);
    max-width: 420px;
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
    height: auto;
    background: #0d0f14 !important;
    padding: 1.35rem 1.25rem 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.95), 0 0 35px rgba(212, 175, 55, 0.18);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s ease, visibility 0.28s;
    z-index: 100005 !important; /* Must strictly stay ABOVE backdrop (100000) */
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    filter: none !important;
    -webkit-filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.nav-list.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Backdrop dim overlay for mobile nav drawer (Strictly behind .nav-list) */
.nav-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 100000 !important; /* Below .nav-list (100005), above page & floating bar */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-backdrop.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Header open state fallback */
header.menu-open,
header:has(.nav-list.active) {
    z-index: 100002;
}

.nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-logo img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.nav-close {
    color: var(--text-white);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: var(--transition);
}

.nav-close:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--gold-primary);
    color: var(--gold-light);
}

.nav-close svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

.nav-list ul {
    display: flex !important;
    list-style: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    margin: 0;
    padding: 0 2px 0 0;
    max-height: 45vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(212, 175, 55, 0.4) transparent;
}

.nav-list ul li {
    width: 100%;
}

.nav-list ul li a {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.2s ease;
}

.nav-list ul li a::after {
    content: '→';
    font-size: 0.95rem;
    color: var(--gold-light);
    transition: transform 0.2s ease;
}

.nav-list ul li a:hover {
    background: rgba(212, 175, 55, 0.12);
    border-color: rgba(212, 175, 55, 0.35);
    color: var(--gold-light);
    transform: translateX(3px);
}

.nav-list ul li a:hover::after {
    transform: translateX(3px);
}

.nav-auth {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 1.6rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
}

.nav-auth-login {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    text-align: center;
    transition: var(--transition);
}

.nav-auth-login:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.nav-auth-signup {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 700;
    color: #0b0c0e;
    background: var(--gold-gradient);
    box-shadow: 0 4px 18px rgba(212, 175, 55, 0.35);
    text-align: center;
    letter-spacing: 0.02em;
    transition: var(--transition);
}

.nav-auth-signup:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(212, 175, 55, 0.5);
}

.nav-trust-badge {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-light-2);
    letter-spacing: 0.04em;
    padding: 6px 10px;
    border-radius: var(--radius-pill);
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.btn-signup {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 0.6rem 1.4rem;
    border-radius: var(--radius-pill);
    background: var(--gold-gradient);
    color: #121316;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35);
    letter-spacing: 0.02em;
}

.btn-login {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-light-1);
    padding: 0.55rem 1.1rem;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-dark);
    background: rgba(255, 255, 255, 0.04);
}

/* ── Mobile Trust Items (Single Column Stack) ── */
.trust-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.trust-item {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.4rem 1.2rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.03);
}

.trust-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: #111317;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    flex-shrink: 0;
}

.trust-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--gold-primary);
}

.trust-text strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark-1);
    margin-bottom: 0.35rem;
}

.trust-text span {
    display: block;
    font-size: 0.84rem;
    color: var(--text-muted-light);
    line-height: 1.5;
}

/* ── Mobile FAQ Section (Single Column Stack) ── */
.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.3rem 1.2rem;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.03);
}

.faq-question {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text-dark-1);
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.faq-answer {
    font-size: 0.84rem;
    color: var(--text-muted-light);
    line-height: 1.55;
    padding-left: 24px;
}

/* ── Mobile Testimonials (Single Column Stack) ── */
.testimonials-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.testimonial-card {
    background: var(--bg-surface-2);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-lg);
    padding: 1.4rem 1.2rem;
    position: relative;
    overflow: hidden;
}

.testimonial-stars {
    color: var(--gold-primary);
    font-size: 0.95rem;
    letter-spacing: 3px;
    margin-bottom: 0.8rem;
}

.testimonial-text {
    font-size: 0.86rem;
    line-height: 1.6;
    color: var(--text-light-2);
    margin-bottom: 1.2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.testimonial-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--gold-subtle);
    border: 1px solid var(--border-dark-gold);
    color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.84rem;
}

.testimonial-author strong {
    display: block;
    color: var(--text-white);
    font-size: 0.88rem;
    font-weight: 600;
}

.testimonial-author span {
    font-size: 0.74rem;
    color: var(--text-muted-dark);
}

/* ── Ad Wrapper ── */
.ad-wrapper {
    margin: 2.2rem 0;
}

.ad-container {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-dark);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.ad-container img {
    width: 100%;
    height: auto;
    min-height: 55px;
    display: block;
}

/* ── Mobile Footer (Single Column) ── */
footer {
    background-color: #07080a;
    border-top: 1px solid var(--border-dark);
    padding: 3rem 0 1.5rem;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.footer-top {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 0 1rem 2.5rem;
}

.footer-brand img {
    height: 34px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-muted-dark);
    font-size: 0.84rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.footer-banks {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.bank-tag {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 3px 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    color: var(--text-light-2);
}

.footer-nav h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-nav a {
    color: var(--text-muted-dark);
    font-size: 0.86rem;
}

.footer-nav a:hover {
    color: var(--gold-light);
}

.footer-contact p {
    color: var(--text-muted-dark);
    font-size: 0.84rem;
    margin-bottom: 0.4rem;
}

.footer-huge-watermark {
    text-align: center;
    font-family: var(--font-heading);
    font-size: clamp(3rem, 16vw, 6rem);
    font-weight: 800;
    color: rgba(255, 255, 255, 0.025);
    letter-spacing: -0.04em;
    user-select: none;
    pointer-events: none;
    line-height: 0.9;
    white-space: nowrap;
    overflow: hidden;
    margin-top: 0.5rem;
    text-transform: uppercase;
}

.footer-bottom {
    padding: 1.5rem 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
    text-align: center;
    color: var(--text-muted-dark);
    font-size: 0.78rem;
}

.footer-links a {
    color: var(--text-muted-dark);
}

/* ── Mobile Fixed Floating Bottom Bar (Always Active on All Screens) ── */
.mobile-fixed-btn {
    display: flex !important;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    z-index: 9999;
    background: rgba(11, 12, 14, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 10px 14px;
    gap: 10px;
    border-top: 1px solid var(--border-dark);
    box-sizing: border-box;
}

.mobile-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 11px 14px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.9rem;
    text-align: center;
    letter-spacing: 0.02em;
}

.mobile-btn--outline {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.mobile-btn--solid {
    background: var(--gold-gradient);
    color: #121316;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}
