/* === CSS Reset === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* === Custom Properties === */
:root {
    --primary: #C9A84C;
    --primary-glow: rgba(201, 168, 76, 0.4);
    --secondary: #C9A84C;
    --bg: #0a0a0a;
    --bg-light: #111111;
    --text: #f0ede6;
    --text-muted: #a09b90;
    --card-bg: #111111;
    --error: #e53e3e;
    --success: #38a169;
    --advisor-primary: var(--primary);
    --advisor-secondary: var(--secondary);
    --font-display: 'Cinzel', Georgia, serif;
    --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

h1, h2, h3, .nav-brand {
    font-family: var(--font-display);
}

/* === Base === */
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-stack);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

a:hover {
    text-decoration: underline;
}

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

/* === Navigation === */
.nav {
    background-color: rgba(10, 10, 10, 0.95);
    border-bottom: 1px solid rgba(201, 168, 76, 0.2);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    text-decoration: none;
    letter-spacing: 0.05em;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-brand:hover {
    text-decoration: none;
    color: var(--secondary);
}

.nav-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.nav-text-logo {
    height: 30px;
    object-fit: contain;
}

.nav-text {
    letter-spacing: 0.05em;
}

.nav-links {
    display: flex;
    gap: 2rem;
    margin-left: auto;
}

.nav-link {
    color: var(--text);
    font-size: 0.95rem;
    transition: color 0.3s ease;
    text-decoration: none;
}

.nav-link:hover {
    color: var(--primary);
    text-decoration: none;
}

/* === Main Content === */
.main {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    width: 100%;
}

/* === Hero Section === */
.hero {
    text-align: center;
    padding: 3rem 1rem;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 0.75rem;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* === How It Works === */
.how-it-works {
    padding: 2rem 0;
    margin-bottom: 3rem;
    text-align: center;
}

.how-it-works h2 {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 2rem;
}

.how-it-works-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.how-step {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(201, 168, 76, 0.15);
}

.how-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.how-step h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

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

/* === Landing Hero === */
.hero-landing {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1rem;
    background-image:
        linear-gradient(rgba(10, 10, 10, 0.65), rgba(10, 10, 10, 0.80)),
        url('/static/images/backgrounds/mystical-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

/* Fallback for browsers without image or if image fails */
.hero-landing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(1px 1px at 10% 20%, rgba(201,168,76,0.5) 1px, transparent 0),
        radial-gradient(1px 1px at 30% 60%, rgba(201,168,76,0.3) 1px, transparent 0),
        radial-gradient(1px 1px at 50% 10%, rgba(201,168,76,0.4) 1px, transparent 0),
        radial-gradient(1px 1px at 70% 80%, rgba(201,168,76,0.25) 1px, transparent 0),
        radial-gradient(1px 1px at 90% 40%, rgba(201,168,76,0.35) 1px, transparent 0),
        radial-gradient(1.5px 1.5px at 20% 90%, rgba(201,168,76,0.3) 1px, transparent 0),
        radial-gradient(1.5px 1.5px at 80% 30%, rgba(201,168,76,0.2) 1px, transparent 0),
        linear-gradient(180deg, #0a0a0a 0%, #111111 100%);
    pointer-events: none;
    z-index: -1;
}

.hero-landing > * {
    position: relative;
    z-index: 1;
}

.hero-landing .tagline {
    font-size: 0.95rem;
    color: var(--primary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-landing .headline {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 700;
}

.hero-landing .subheading {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-weight: 300;
}

.hero-landing h1 {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-landing p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.7;
    font-weight: 300;
}

.cta-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--primary);
    color: #0a0a0a;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s, transform 0.2s;
}

.cta-primary:hover {
    background: #d4b85c;
    transform: translateY(-2px);
    text-decoration: none;
}

/* === Social Proof === */
.social-proof {
    padding: 4rem 1rem;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.reading-counter {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 3rem;
}

.counter-number {
    font-size: 2.5rem;
    font-weight: 700;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.testimonial-card {
    background: var(--card-bg);
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: left;
}

.testimonial-quote {
    margin-bottom: 0.75rem;
}

.testimonial-quote svg {
    fill: var(--primary);
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 0.75rem;
    font-style: italic;
}

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

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.trust-badge svg {
    fill: var(--primary);
}

/* === How It Works v2 === */
.how-it-works-v2 {
    background: #111111;
    padding: 4rem 1rem;
    text-align: center;
}

.how-it-works-v2 h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 3rem;
}

.how-steps-v2 {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.how-step-v2 {
    flex: 1;
    position: relative;
    padding: 1.5rem 1rem;
}

.how-step-v2:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 2.5rem;
    right: -1.25rem;
    width: 2.5rem;
    height: 2px;
    background: var(--primary);
}

.how-step-v2 svg {
    fill: var(--primary);
    margin-bottom: 1rem;
}

.how-step-v2 .step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--primary);
    color: #0a0a0a;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.how-step-v2 h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.how-step-v2 p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* === Advisor Grid === */
#advisor-grid {
    scroll-margin-top: 80px; /* Account for sticky navigation */
}

.advisor-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1rem 0;
}

/* === Advisor Card (image-based) === */
.advisor-card {
    background: var(--card-bg);
    border: 2px solid rgba(201, 168, 76, 0.2);
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    opacity: 0;
    animation: cardFadeIn 0.4s ease forwards;
    display: flex;
    flex-direction: column;
}

.advisor-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 32px rgba(201, 168, 76, 0.3);
    border-color: var(--primary);
}

/* Council card — standalone full-width banner below the oracle grid */
.advisor-card-council {
    margin-top: 1.5rem;
    border-color: rgba(201, 168, 76, 0.4);
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(201, 168, 76, 0.08) 100%);
}

.advisor-card-link-council {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.advisor-card-image-council {
    width: 100%;
    overflow: hidden;
    max-height: 200px;
}

.advisor-card-image-council img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center 25%;
    display: block;
}

.advisor-card-info-council {
    padding: 1rem 1.5rem;
    text-align: center;
}

.advisor-council-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 0.25rem;
    line-height: 1.4;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.advisor-card-council .btn-cta {
    margin: 0 1.5rem 1rem;
}

.advisor-card-council:hover {
    transform: none;
    box-shadow: 0 8px 32px rgba(201, 168, 76, 0.3);
    border-color: var(--primary);
}

.advisor-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.advisor-card-link:hover {
    text-decoration: none;
}

.advisor-card-image {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    position: relative;
}

.advisor-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.advisor-card-info {
    padding: 1rem;
}

.advisor-card-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--primary);
}

.advisor-title {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.advisor-specialty {
    display: inline-block;
    background: rgba(201, 168, 76, 0.1);
    color: var(--primary);
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
    border: 1px solid rgba(201, 168, 76, 0.2);
    margin-bottom: 0.75rem;
}

.advisor-card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.advisor-card-header h3 {
    margin-bottom: 0;
}

.advisor-specialty-icon {
    font-size: 2rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(201, 168, 76, 0.3);
    border-radius: 8px;
    background: rgba(201, 168, 76, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
}

.advisor-specialty-icon:hover {
    border-color: var(--primary);
    background: rgba(201, 168, 76, 0.15);
    transform: scale(1.1);
}

.advisor-variant-count {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.advisor-variant-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 0 1rem 0.5rem;
}

.variant-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(201, 168, 76, 0.3);
    display: block;
    transition: border-color 0.2s ease;
}

.variant-dot:hover,
.variant-dot.active {
    border-color: var(--primary);
}

.variant-dot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn-cta {
    display: block;
    margin: 0 1rem 1rem;
    padding: 0.6rem 1rem;
    background: var(--primary);
    color: var(--bg);
    border-radius: 8px;
    font-weight: 700;
    font-family: var(--font-display);
    text-decoration: none;
    transition: background 0.2s ease;
    font-size: 0.9rem;
}

.btn-cta:hover {
    background: #d4b454;
    text-decoration: none;
    color: var(--bg);
}

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === Buttons === */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
}

.btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--advisor-primary, var(--primary));
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary);
    color: #fff;
    opacity: 0.9;
}

.btn-secondary {
    background: var(--card-bg);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: #fff;
    opacity: 0.9;
}

.btn-unlock {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--secondary), #e6ac00);
    color: #0a0a0a;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-unlock:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201, 168, 76, 0.5);
    text-decoration: none;
    color: #0a0a0a;
}

/* === Forms === */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: 8px;
    background: rgba(17, 17, 17, 0.8);
    color: var(--text);
    font-family: var(--font-stack);
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.2);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.form-errors {
    background: rgba(229, 62, 62, 0.1);
    border: 1px solid var(--error);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.form-errors .error {
    color: var(--error);
    margin-bottom: 0.25rem;
}

.field-error {
    color: var(--error);
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: block;
}

/* === Advisor Detail Page Hero (D-13) === */
/* === Advisor Hero Section === */
.advisor-hero {
    position: relative;
    width: 100%;
    height: 600px;
    min-height: 600px;
    max-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: -2rem -1rem 2rem;
    width: calc(100% + 2rem);
}

/* Background layer (mystical image) */
.advisor-hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.advisor-hero-background picture {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    filter: brightness(0.95) saturate(1.1);
}

/* Gradient overlay (dark tint with color accent) */
.advisor-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 10, 10, 0.8) 0%,
        rgba(10, 10, 10, 0.6) 100%
    );
    z-index: 1;
}

/* Advisor portrait card (centered, contained) */
.advisor-hero-card {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    animation: fadeInScale 0.8s ease-out;
}

.advisor-portrait-container {
    position: relative;
    width: 280px;
    height: 380px;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(201, 168, 76, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advisor-portrait-container:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 75px rgba(0, 0, 0, 0.7), 0 0 40px rgba(201, 168, 76, 0.3);
}

/* Council detail page — wide banner instead of portrait */
.advisor-hero-card-council {
    width: 100%;
    max-width: 900px;
}

.advisor-portrait-container-council {
    width: 100%;
    height: auto;
    max-height: 220px;
    border-radius: 12px;
}

.advisor-portrait-council {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center 25%;
}

.advisor-hero-picture {
    display: block;
    width: 100%;
    height: 100%;
}

.advisor-portrait {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Text on card */
.advisor-hero-text {
    position: relative;
    z-index: 3;
    color: var(--text);
}

.advisor-hero-name {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 0.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    animation: fadeInDown 0.8s ease-out;
}

.advisor-hero-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 0.25rem;
    letter-spacing: 0.05em;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.advisor-hero-specialty {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 0;
    font-style: italic;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Animations */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === Section Containers === */
.section {
    padding: 4rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-dark {
    background: var(--bg);
}

.section-light {
    background: var(--bg-light);
}

.section h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: 0.02em;
    font-weight: 700;
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.example-question {
    background: rgba(201, 168, 76, 0.05);
    border-left: 4px solid var(--primary);
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem auto;
    max-width: 600px;
    font-style: italic;
    color: var(--text);
    line-height: 1.8;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    text-align: center;
}

.stat-item {
    padding: 1.5rem;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

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

/* === How It Works v2 (Enhanced) === */
.how-it-works-v2 {
    padding: 4rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.how-it-works-v2 h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 3rem;
    text-align: center;
    letter-spacing: 0.02em;
}

.how-steps-v2 {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.how-step-v2 {
    flex: 1;
    min-width: 200px;
    text-align: center;
    position: relative;
    padding: 1.5rem;
}

.how-step-v2:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1rem;
    top: 50%;
    width: 2rem;
    height: 2px;
    background: rgba(201, 168, 76, 0.3);
    transform: translateY(-50%);
}

.how-step-number-v2 {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.how-step-v2 h3 {
    font-size: 1.2rem;
    color: var(--text);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.how-step-v2 p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsive: Tablet */
@media (max-width: 768px) {
    .advisor-hero {
        height: 500px;
        min-height: 500px;
        max-height: 550px;
        padding: 1rem;
    }

    .advisor-portrait-container {
        width: 220px;
        height: 300px;
        margin-bottom: 1rem;
    }

    .advisor-hero-name {
        font-size: 2rem;
    }

    .advisor-hero-title {
        font-size: 1.1rem;
    }

    .advisor-hero-specialty {
        font-size: 0.95rem;
    }
}

/* Responsive: Mobile */
@media (max-width: 480px) {
    .advisor-hero {
        height: 450px;
        min-height: 450px;
        max-height: 500px;
        margin: -1.5rem -0.5rem 1.5rem;
        width: calc(100% + 1rem);
        padding: 0.5rem;
    }

    .advisor-portrait-container {
        width: 180px;
        height: 250px;
        margin-bottom: 0.75rem;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(201, 168, 76, 0.15);
    }

    .advisor-portrait-container:hover {
        transform: translateY(-2px);
        box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6), 0 0 25px rgba(201, 168, 76, 0.2);
    }

    .advisor-hero-name {
        font-size: 1.5rem;
        margin-bottom: 0.25rem;
    }

    .advisor-hero-title {
        font-size: 1rem;
    }

    .advisor-hero-specialty {
        font-size: 0.9rem;
    }
}

/* === Variant Picker (repositioned below hero) === */
.variant-picker {
    margin: 2rem 0;
    padding: 1.5rem;
    text-align: center;
}

.variant-picker-label {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.variant-picker-thumbs {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.variant-thumb {
    position: relative;
    width: 70px;
    height: 90px;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--bg-secondary);
    padding: 0;
}

.variant-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.variant-thumb:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(201, 168, 76, 0.2);
    transform: translateY(-2px);
}

.variant-thumb.selected {
    border-color: var(--primary);
    box-shadow: 0 6px 16px rgba(201, 168, 76, 0.3);
    background: var(--primary);
}

@media (max-width: 480px) {
    .variant-picker {
        margin: 1.5rem 0;
        padding: 1rem;
    }

    .variant-picker-thumbs {
        gap: 0.75rem;
    }

    .variant-thumb {
        width: 60px;
        height: 80px;
    }
}

/* === Advisor Bio Section (D-14) === */
.advisor-bio-section {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2rem;
    padding: 0 1rem;
}

.advisor-bio-text {
    color: var(--text);
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.advisor-category-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.category-tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 999px;
    color: var(--primary);
    font-size: 0.8rem;
    background: rgba(201, 168, 76, 0.05);
}

/* === Intake Form Dark Theme (D-15) === */
.intake-form {
    max-width: 500px;
    margin: 0 auto 2rem;
}

.intake-form h2 {
    font-family: var(--font-display);
    color: var(--primary);
    text-align: center;
    margin-bottom: 1.5rem;
}

.intake-form .form-group label {
    font-family: var(--font-display);
    font-size: 0.9rem;
    color: var(--text);
}

.intake-form .form-group input,
.intake-form .form-group select,
.intake-form .form-group textarea {
    background: rgba(17, 17, 17, 0.9);
    border: 1px solid rgba(201, 168, 76, 0.2);
    color: var(--text);
}

.intake-form .form-group input:focus,
.intake-form .form-group select:focus,
.intake-form .form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

/* === Teaser Content === */
.teaser-content {
    position: relative;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid rgba(201, 168, 76, 0.2);
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* Full teaser — no blur overlay */
.teaser-full {
    max-height: none;
    overflow: visible;
}

.teaser-full::after {
    display: none;
}

/* === Unlock Section === */
.unlock-section {
    background: var(--card-bg);
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    margin: 2rem 0;
}

.unlock-header {
    text-align: center;
    margin-bottom: 2rem;
}

.unlock-header h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--secondary);
    margin-bottom: 0.75rem;
}

.unlock-header p {
    color: var(--text-muted);
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.6;
}

.unlock-what-you-get {
    max-width: 500px;
    margin: 0 auto 2rem;
    padding: 1.25rem 1.5rem;
    background: rgba(201, 168, 76, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(201, 168, 76, 0.15);
}

.unlock-what-you-get h4 {
    color: var(--primary);
    font-size: 1rem;
    margin: 0 0 0.75rem;
}

.unlock-what-you-get ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.unlock-what-you-get li {
    padding: 0.3rem 0;
    color: var(--text);
    font-size: 0.95rem;
}

.unlock-what-you-get li::before {
    content: '✦ ';
    color: var(--primary);
}

.unlock-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .unlock-options {
        grid-template-columns: repeat(3, 1fr);
    }
}

.unlock-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
}

.unlock-card-featured {
    border-color: var(--primary);
    background: rgba(201, 168, 76, 0.08);
    transform: scale(1.03);
}

.unlock-card-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #0a0a0a;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 1rem;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.unlock-card-header {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
}

.unlock-card-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.unlock-card-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

.unlock-card-detail {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.unlock-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    text-align: left;
    flex: 1;
}

.unlock-card-features li {
    padding: 0.35rem 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.unlock-card-features li:last-child {
    border-bottom: none;
}

.unlock-card-features li::before {
    content: '✓ ';
    color: var(--primary);
    font-weight: 700;
}

.btn-unlock-featured {
    background: linear-gradient(135deg, var(--primary), #e6ac00);
    font-size: 1.1rem;
    padding: 0.85rem 2rem;
}

/* === CTA Section === */
.cta-section {
    text-align: center;
    padding: 2rem;
    margin: 2rem 0;
}

.cta-section h3 {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.cta-section p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* === Reading Content === */
.reading-content {
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid rgba(201, 168, 76, 0.2);
    margin-bottom: 2rem;
}

.reading-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* === Markdown Content Styling === */

/* Headings with visual hierarchy */
.reading-content h1,
.teaser-content h1 {
    font-size: 2rem;
    color: var(--primary);
    margin-top: 1.8rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: 0.02em;
    border-bottom: 2px solid rgba(201, 168, 76, 0.3);
    padding-bottom: 0.75rem;
}

.reading-content h1:first-child,
.teaser-content h1:first-child {
    margin-top: 0;
}

.reading-content h2,
.teaser-content h2 {
    font-size: 1.6rem;
    color: var(--primary);
    margin-top: 1.8rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    font-weight: 700;
    border-left: 4px solid var(--primary);
    padding-left: 1rem;
}

.reading-content h3,
.teaser-content h3 {
    font-size: 1.3rem;
    color: var(--secondary);
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    line-height: 1.3;
    font-weight: 700;
}

.reading-content h4,
.teaser-content h4 {
    font-size: 1.15rem;
    color: var(--text);
    margin-top: 1.3rem;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.reading-content h5,
.teaser-content h5 {
    font-size: 1.05rem;
    color: var(--text);
    margin-top: 1.2rem;
    margin-bottom: 0.6rem;
    font-weight: 600;
}

.reading-content h6,
.teaser-content h6 {
    font-size: 1rem;
    color: var(--text-muted);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* Lists with proper formatting */
.reading-content ul,
.reading-content ol,
.teaser-content ul,
.teaser-content ol {
    margin: 1.2rem 0;
    padding-left: 2rem;
    line-height: 1.8;
}

.reading-content ul li,
.reading-content ol li,
.teaser-content ul li,
.teaser-content ol li {
    margin-bottom: 0.6rem;
    line-height: 1.6;
}

.reading-content ul {
    list-style-type: disc;
}

.reading-content ol {
    list-style-type: decimal;
}

.reading-content ul ul,
.reading-content ol ul,
.teaser-content ul ul,
.teaser-content ol ul {
    margin-top: 0.6rem;
    margin-bottom: 0.6rem;
    padding-left: 1.5rem;
}

.reading-content ul ul {
    list-style-type: circle;
}

/* Blockquotes with visual distinction */
.reading-content blockquote,
.teaser-content blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    border-left: 4px solid var(--primary);
    background-color: rgba(201, 168, 76, 0.05);
    font-style: italic;
    color: var(--text-muted);
    line-height: 1.7;
}

.reading-content blockquote p:last-child,
.teaser-content blockquote p:last-child {
    margin-bottom: 0;
}

/* Code blocks and inline code */
.reading-content code,
.teaser-content code {
    font-family: 'Courier New', monospace;
    font-size: 0.95em;
    background-color: rgba(10, 10, 10, 0.5);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    color: #a8e6cf;
    word-break: break-word;
}

.reading-content pre,
.teaser-content pre {
    background-color: rgba(10, 10, 10, 0.7);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(201, 168, 76, 0.2);
    margin: 1.2rem 0;
    overflow-x: auto;
    line-height: 1.5;
}

.reading-content pre code,
.teaser-content pre code {
    background-color: transparent;
    padding: 0;
    color: #a8e6cf;
    font-size: 0.9rem;
}

/* Horizontal rules */
.reading-content hr,
.teaser-content hr {
    margin: 2rem 0;
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(201, 168, 76, 0.3), transparent);
}

/* Links with styling */
.reading-content a,
.teaser-content a {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 1px solid rgba(201, 168, 76, 0.3);
    transition: color 0.3s ease, border-color 0.3s ease;
}

.reading-content a:hover,
.teaser-content a:hover {
    color: var(--secondary);
    border-bottom-color: var(--secondary);
}

/* Tables */
.reading-content table,
.teaser-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.2rem 0;
    border: 1px solid rgba(201, 168, 76, 0.2);
}

.reading-content thead,
.teaser-content thead {
    background-color: rgba(201, 168, 76, 0.1);
}

.reading-content th,
.teaser-content th {
    padding: 0.75rem;
    text-align: left;
    font-weight: 700;
    color: var(--primary);
    border-bottom: 2px solid rgba(201, 168, 76, 0.3);
}

.reading-content td,
.teaser-content td {
    padding: 0.75rem;
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

.reading-content tbody tr:hover,
.teaser-content tbody tr:hover {
    background-color: rgba(201, 168, 76, 0.05);
}

/* Emphasis and strong text */
.reading-content strong,
.teaser-content strong {
    color: var(--secondary);
    font-weight: 700;
}

.reading-content em,
.teaser-content em {
    font-style: italic;
    color: var(--text);
}

.reading-content strong em,
.teaser-content strong em {
    color: var(--secondary);
}

/* Strikethrough */
.reading-content del,
.teaser-content del {
    color: var(--text-muted);
    text-decoration: line-through;
}

.reading-link {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* === Loading Spinner === */
.loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(201, 168, 76, 0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 1rem auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-section {
    text-align: center;
    padding: 3rem 1rem;
}

.loading-section h2 {
    margin-bottom: 1rem;
    color: var(--secondary);
}

.loading-section p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* === Success Page === */
.success-section {
    text-align: center;
    padding: 3rem 1rem;
}

.success-section h2 {
    color: var(--success);
    margin-bottom: 1rem;
}

/* === 404 Page === */
.not-found {
    text-align: center;
    padding: 4rem 1rem;
}

.not-found h1 {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.not-found p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* === Disclaimer === */
.disclaimer {
    font-size: 0.85rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(201, 168, 76, 0.2);
    padding-top: 1rem;
    margin-top: 2rem;
    text-align: center;
}

/* === Footer === */
.footer {
    background: rgba(10, 10, 10, 0.95);
    padding: 2rem 1rem;
    text-align: center;
    margin-top: auto;
}

.footer-copy {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 1rem;
}

/* === Section headers === */
.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 1.75rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

/* === Advisor Toggle === */
.advisor-toggle {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}
.advisor-toggle-btn {
    padding: 0.6rem 1.5rem;
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 8px;
    background: transparent;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
}
.advisor-toggle-btn:hover {
    border-color: var(--primary);
    color: var(--text);
}
.advisor-toggle-btn.active {
    background: rgba(201, 168, 76, 0.15);
    border-color: var(--primary);
    color: var(--primary);
}
.toggle-count {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-left: 0.25rem;
}
.toggle-count-live {
    color: #2ecc71;
    opacity: 1;
}

/* === Responsive Markdown Styling === */

/* Tablet: 768px and below */
@media (max-width: 768px) {
    .reading-content,
    .teaser-content {
        font-size: 1rem;
        line-height: 1.7;
    }

    .reading-content h1,
    .teaser-content h1 {
        font-size: 1.6rem;
        margin-top: 1.2rem;
    }

    .reading-content h2,
    .teaser-content h2 {
        font-size: 1.3rem;
        margin-top: 1.2rem;
    }

    .reading-content h3,
    .teaser-content h3 {
        font-size: 1.1rem;
        margin-top: 1rem;
    }

    .reading-content ul,
    .reading-content ol,
    .teaser-content ul,
    .teaser-content ol {
        padding-left: 1.5rem;
        margin: 1rem 0;
    }

    .reading-content blockquote,
    .teaser-content blockquote {
        padding: 0.75rem 1rem;
        margin: 1rem 0;
    }

    .reading-content table,
    .teaser-content table {
        font-size: 0.9rem;
    }

    .reading-content th,
    .teaser-content th {
        padding: 0.5rem;
    }

    .reading-content td,
    .teaser-content td {
        padding: 0.5rem;
    }
}

/* Mobile: 480px and below */
@media (max-width: 480px) {
    .reading-content,
    .teaser-content {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .reading-content h1,
    .teaser-content h1 {
        font-size: 1.4rem;
        margin-top: 1rem;
        border: none;
        padding-bottom: 0;
        border-top: 2px solid rgba(201, 168, 76, 0.3);
        padding-top: 0.75rem;
    }

    .reading-content h2,
    .teaser-content h2 {
        font-size: 1.1rem;
        margin-top: 0.8rem;
        padding-left: 0.75rem;
        border-left-width: 3px;
    }

    .reading-content h3,
    .teaser-content h3 {
        font-size: 1rem;
        margin-top: 0.8rem;
    }

    .reading-content h4,
    .teaser-content h4 {
        font-size: 0.95rem;
    }

    .reading-content p,
    .teaser-content p {
        margin-bottom: 0.8rem;
    }

    .reading-content ul,
    .reading-content ol,
    .teaser-content ul,
    .teaser-content ol {
        padding-left: 1.25rem;
        margin: 0.8rem 0;
    }

    .reading-content ul li,
    .reading-content ol li,
    .teaser-content ul li,
    .teaser-content ol li {
        margin-bottom: 0.4rem;
    }

    .reading-content blockquote,
    .teaser-content blockquote {
        padding: 0.75rem 0.75rem;
        margin: 0.8rem 0;
        font-size: 0.9rem;
    }

    .reading-content pre,
    .teaser-content pre {
        padding: 0.75rem;
        font-size: 0.8rem;
        margin: 0.8rem 0;
    }

    .reading-content table,
    .teaser-content table {
        font-size: 0.85rem;
    }

    .reading-content th,
    .teaser-content th {
        padding: 0.4rem;
    }

    .reading-content td,
    .teaser-content td {
        padding: 0.4rem;
    }
}

/* === Media Queries === */

/* Tablet: 640px+ */
@media (min-width: 640px) {
    .advisor-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .how-it-works-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}

/* Small Desktop: 768px+ */
@media (min-width: 768px) {
    .advisor-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Desktop: 1024px+ */
@media (min-width: 1024px) {
    .how-it-works-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.25rem;
    }
}

/* Wide Desktop: 1200px+ */
@media (min-width: 1200px) {
    .advisor-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Mobile nav adjustments */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
}

/* Landing page responsive overrides */
@media (max-width: 768px) {
    .hero-landing h1 {
        font-size: 2rem;
    }

    .hero-landing {
        min-height: auto;
        padding: 4rem 1rem;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .how-steps-v2 {
        flex-direction: column;
        align-items: center;
    }

    .how-step-v2:not(:last-child)::after {
        display: none;
    }

    .trust-badges {
        gap: 1.5rem;
    }
}

@media (min-width: 768px) {
    .how-steps-v2 {
        gap: 3rem;
    }
}

/* Phase 5: Payment flow styles */
.btn-unlock[disabled] {
    opacity: 0.6;
    pointer-events: none;
    cursor: not-allowed;
}

.retry-prompt {
    text-align: center;
    padding: 24px;
    background: rgba(229, 62, 62, 0.08);
    border: 1px solid rgba(229, 62, 62, 0.3);
    border-radius: 12px;
    margin: 32px 0;
}

.retry-prompt p {
    color: var(--text-muted);
    margin-bottom: 16px;
}

.timeout-message {
    color: var(--text-muted);
    padding: 16px 0;
    text-align: center;
}

.timeout-message .btn {
    margin-top: 16px;
}

/* === Social Sharing Styles === */
.share-buttons {
    margin: 32px 0;
    text-align: center;
    padding: 20px;
    background: rgba(201, 168, 76, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(201, 168, 76, 0.1);
}

.share-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.share-button-group {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.share-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background-color: rgba(201, 168, 76, 0.15);
    color: var(--secondary);
    border: 1px solid var(--secondary);
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.share-button:hover {
    background-color: var(--secondary);
    color: var(--bg);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 168, 76, 0.3);
}

.share-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(201, 168, 76, 0.2);
}

.share-button.copied {
    background-color: var(--success);
    border-color: var(--success);
    color: white;
}

.share-button span {
    font-size: 1.1em;
}

/* === Print Styles === */
@media print {
    /* Hide navigation, footer, and interactive elements */
    .nav,
    .navbar,
    footer,
    .share-section,
    .share-buttons,
    .cta-section,
    .reading-link,
    .retry-prompt,
    .profile-form-section {
        display: none !important;
    }

    /* Reset for print */
    body {
        background: white;
        color: black;
        margin: 0;
        padding: 0;
    }

    .main {
        max-width: 100%;
        padding: 0;
        margin: 0;
    }

    /* Reading content optimized for print */
    .reading-content,
    .teaser-content {
        width: 100%;
        margin: 0 0 16px 0;
        padding: 0;
        color: black;
        font-size: 14pt;
        line-height: 1.6;
    }

    .advisor-profile {
        width: 100%;
        margin: 0 0 16px 0;
        padding: 0 0 16px 0;
        border-bottom: 2px solid #ccc;
        margin-bottom: 24px;
        page-break-after: avoid;
    }

    .advisor-emoji {
        font-size: 2rem;
        display: block;
        margin-bottom: 0.5rem;
    }

    .reading-content h1,
    .reading-content h2,
    .reading-content h3 {
        color: #333;
        page-break-after: avoid;
        margin-top: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .reading-content h1 { font-size: 20pt; }
    .reading-content h2 { font-size: 18pt; }
    .reading-content h3 { font-size: 16pt; }

    .reading-content p {
        margin-bottom: 1rem;
        orphans: 3;
        widows: 3;
    }

    .reading-content ul,
    .reading-content ol {
        margin-left: 1.5rem;
        margin-bottom: 1rem;
    }

    .reading-content li {
        margin-bottom: 0.5rem;
    }

    h1, h2, h3 {
        color: black;
        page-break-after: avoid;
    }

    p {
        page-break-inside: avoid;
    }

    a {
        color: #0066cc;
        text-decoration: underline;
    }

    a:after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: #666;
    }

    /* Preserve advisor branding colors in printed output */
    .advisor-profile {
        border-bottom-color: var(--advisor-primary);
    }

    .advisor-profile h1 {
        color: var(--advisor-primary, #333);
    }

    .advisor-title {
        color: var(--advisor-secondary, #666);
    }

    /* Disclaimer visible but de-emphasized in print */
    .disclaimer {
        border-top: 1px solid #ccc;
        padding-top: 1rem;
        margin-top: 2rem;
        font-size: 11pt;
        color: #666;
        page-break-before: avoid;
    }

    /* Remove shadow effects for cleaner print */
    * {
        box-shadow: none !important;
        text-shadow: none !important;
    }

    /* Add page breaks for long content blocks */
    .reading-content > * {
        page-break-inside: avoid;
    }

    /* Ensure good spacing between sections */
    h2 {
        margin-top: 24px;
        margin-bottom: 12px;
    }
}

/* === Reveal and animation effects === */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes typingDots {
    0%, 20% {
        content: '.';
    }
    40% {
        content: '..';
    }
    60%, 100% {
        content: '...';
    }
}

/* Reveal animation for teaser page on load */
.reveal-animation {
    animation: fadeIn 0.8s ease-in-out;
}

/* Typing indicator during generation */
.typing-indicator::after {
    content: '.';
    animation: typingDots 1.5s infinite;
    display: inline-block;
    width: 1em;
}

/* Respect accessibility preference for reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal-animation,
    .typing-indicator::after {
        animation: none;
    }
}

/* Profile Form Styling */
.profile-form-section {
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(201, 168, 76, 0.05);
    border-left: 4px solid var(--advisor-primary, #C9A84C);
    border-radius: 4px;
}

.profile-form-section h3 {
    color: var(--advisor-primary, #C9A84C);
    margin-bottom: 0.5rem;
    font-family: 'Cinzel', serif;
}

.form-description {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.profile-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

.form-fieldset legend {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"] {
    padding: 0.75rem;
    border: 1px solid #444;
    background: #0a0a0a;
    color: var(--text-primary);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: var(--advisor-primary, #C9A84C);
    box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.1);
}

.form-group.checkbox {
    flex-direction: row;
    align-items: center;
    margin-bottom: 0.75rem;
}

.form-group.checkbox input[type="checkbox"] {
    margin-right: 0.75rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-group.checkbox label {
    margin: 0;
    font-weight: normal;
    cursor: pointer;
}

.required {
    color: #ff6b6b;
}

.error-message {
    color: #ff6b6b;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.form-error.alert {
    background: rgba(255, 107, 107, 0.1);
    border-left: 4px solid #ff6b6b;
    padding: 1rem;
    border-radius: 4px;
    color: #ff6b6b;
    margin-bottom: 1rem;
}

.consent-section {
    background: rgba(201, 168, 76, 0.03);
    padding: 1.5rem;
    border-radius: 4px;
}

.consent-notice {
    margin-bottom: 1rem;
}

.consent-notice p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
}

.privacy-notice {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

.privacy-link {
    color: var(--advisor-primary, #C9A84C);
    text-decoration: none;
}

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

.form-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.form-actions .btn {
    width: 100%;
    max-width: 300px;
    padding: 1rem;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-actions .btn:hover {
    background: var(--advisor-secondary, #a67c35);
}

.form-actions .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-optional {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

/* Mobile responsiveness */
@media (max-width: 600px) {
    .profile-form-section {
        padding: 1.5rem;
    }

    .form-actions .btn {
        max-width: 100%;
    }
}

/* Share section styles */
.share-section {
    margin: 32px 0;
    text-align: center;
}

.share-heading {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 16px;
    font-weight: 400;
}

/* Reading owned notice styles */
.reading-owned-notice {
    background: rgba(56, 161, 105, 0.1);
    border: 1px solid var(--success);
    border-radius: 4px;
    padding: 16px;
    margin: 16px 0;
    text-align: center;
}

.reading-owned-notice p {
    color: var(--success);
    font-size: 0.95rem;
    margin: 0;
}

/* Favorite section styles */
.favorite-section {
    margin: 32px 0;
    padding: 20px;
    background: var(--card-bg);
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: 8px;
    text-align: center;
}

.favorite-btn {
    background: none;
    border: 1px solid var(--primary);
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    color: var(--primary);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.favorite-btn:hover {
    background: var(--primary);
    color: var(--bg);
}

.favorite-icon {
    font-size: 1.2rem;
}

.favorite-text {
    font-weight: 500;
}

.favorite-count {
    display: block;
    margin-top: 12px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Footer Styles */
.footer {
    background: var(--card-bg);
    color: var(--text);
    border-top: 1px solid rgba(201, 168, 76, 0.2);
    padding: 48px 0 24px;
    margin-top: 80px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 32px;
}

.footer-column h3 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 16px;
    font-weight: 600;
}

.footer-column p {
    color: var(--text-muted);
    margin-bottom: 12px;
    line-height: 1.6;
}

.footer-disclaimer {
    font-size: 0.9rem;
    color: #999;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-link:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(201, 168, 76, 0.1);
    padding-top: 24px;
    text-align: center;
}

.footer-copy {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* Legal Page Styles */
.legal-page {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
}

.legal-page h1 {
    color: var(--primary);
    margin-bottom: 12px;
    font-size: 2.5rem;
}

.last-updated {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 40px;
    display: block;
}

.legal-page section {
    margin-bottom: 48px;
}

.legal-page h2 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 20px;
    margin-top: 32px;
}

.legal-page h3 {
    color: var(--text);
    font-size: 1.1rem;
    margin-bottom: 12px;
    margin-top: 20px;
}

.legal-page p {
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-page ul {
    list-style-position: inside;
    margin-bottom: 16px;
}

.legal-page li {
    color: var(--text);
    margin-bottom: 12px;
    line-height: 1.6;
}

.legal-page a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-page a:hover {
    color: var(--accent);
    text-decoration: underline;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .legal-page {
        margin: 40px auto;
    }

    .legal-page h1 {
        font-size: 2rem;
    }

    .legal-page h2 {
        font-size: 1.3rem;
    }
}

/* How It Works Page */
.how-it-works {
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
}

.how-it-works h1 {
    color: var(--primary);
    margin-bottom: 12px;
    font-size: 2.5rem;
    text-align: center;
}

.how-it-works .subtitle {
    color: var(--text-muted);
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 60px;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-bottom: 80px;
}

.step {
    background: var(--card-bg);
    padding: 32px 24px;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
    text-align: center;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: var(--bg);
    font-size: 28px;
    font-weight: bold;
    border-radius: 50%;
    margin-bottom: 20px;
}

.step h3 {
    color: var(--primary);
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.step p {
    color: var(--text-muted);
    line-height: 1.6;
}

.cta-section {
    text-align: center;
    padding: 40px;
    background: var(--card-bg);
    border-radius: 8px;
    margin-bottom: 80px;
}

.cta-section h2 {
    color: var(--primary);
    margin-bottom: 20px;
}

.faq-section {
    margin-top: 60px;
}

.faq-section h2 {
    color: var(--primary);
    margin-bottom: 32px;
}

.faq-item {
    background: var(--card-bg);
    padding: 24px;
    margin-bottom: 20px;
    border-radius: 8px;
    border-left: 3px solid rgba(201, 168, 76, 0.3);
}

.faq-item h4 {
    color: var(--text);
    margin-bottom: 12px;
}

.faq-item p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Oracles Page */
.oracles-page {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.oracles-page h1,
.pricing-page h1 {
    color: var(--primary);
    margin-bottom: 12px;
    font-size: 2.5rem;
    text-align: center;
}

.advisor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.advisor-card-full {
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.advisor-card-full:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(201, 168, 76, 0.15);
}

.advisor-image,
.advisor-placeholder {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: linear-gradient(135deg, #6b5b95 0%, #1a0033 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
}

.advisor-card-full h3 {
    color: var(--primary);
    margin: 20px 16px 8px;
    font-size: 1.3rem;
}

.advisor-specialty {
    color: var(--accent);
    margin: 0 16px 8px;
    font-size: 0.95rem;
}

.advisor-description {
    color: var(--text-muted);
    margin: 0 16px 16px;
    flex-grow: 1;
    font-size: 0.9rem;
    line-height: 1.5;
}

.advisor-card-full .btn {
    margin: 0 16px 16px;
}

/* Pricing Page */
.pricing-page {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 40px 0 80px;
}

.pricing-card {
    background: var(--card-bg);
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: 8px;
    padding: 32px 24px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(201, 168, 76, 0.15);
}

.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 0;
    right: 20px;
    background: var(--primary);
    color: var(--bg);
    padding: 4px 12px;
    border-radius: 0 0 4px 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

.pricing-card h3 {
    color: var(--text);
    margin-bottom: 16px;
    font-size: 1.3rem;
}

.price {
    margin-bottom: 16px;
}

.amount {
    color: var(--primary);
    font-size: 2rem;
    font-weight: bold;
}

.interval {
    color: var(--text-muted);
    font-size: 1rem;
}

.pricing-card .description {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.features {
    list-style: none;
    padding: 0;
    margin: 24px 0;
    border-top: 1px solid rgba(201, 168, 76, 0.1);
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
    padding: 20px 0;
}

.features li {
    color: var(--text-muted);
    padding: 8px 0;
    font-size: 0.95rem;
}

.pricing-comparison {
    margin: 80px 0;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.comparison-table th,
.comparison-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

.comparison-table th {
    background: var(--card-bg);
    color: var(--primary);
    font-weight: 600;
}

.comparison-table td {
    color: var(--text);
}

/* My Sessions & Preferences */
.my-sessions,
.preferences-page {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
}

.my-sessions h1,
.preferences-page h1 {
    color: var(--primary);
    margin-bottom: 32px;
}

.sessions-container,
.preferences-container {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.auth-prompt {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
}

.auth-prompt h2 {
    color: var(--primary);
    margin-bottom: 16px;
}

.auth-prompt p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 32px 0;
}

.auth-buttons a {
    padding: 12px 24px;
    border-radius: 4px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.auth-info {
    color: #888;
    font-size: 0.9rem;
}

.preferences-info {
    margin-top: 32px;
}

.preferences-info h3 {
    color: var(--primary);
    margin-bottom: 16px;
}

.preferences-info ul {
    list-style-position: inside;
}

.preferences-info li {
    color: var(--text);
    padding: 8px 0;
}

.no-data {
    color: var(--text-muted);
    text-align: center;
    padding: 40px;
}

/* === Profile Capture Modal (Phase 19-04) === */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

.modal-overlay.show {
    display: flex;
}

.modal-content {
    background-color: var(--bg);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.4s ease-out;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--text);
}

.modal-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--primary);
    margin: 0 0 0.5rem;
    text-align: center;
}

.modal-subtitle {
    color: var(--text-muted);
    text-align: center;
    margin: 0 0 1.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.profile-capture-form .form-group {
    margin-bottom: 1.25rem;
}

.profile-capture-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text);
    font-size: 0.95rem;
}

.profile-capture-form input[type="email"],
.profile-capture-form input[type="text"],
.profile-capture-form select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: 6px;
    background-color: rgba(10, 10, 10, 0.3);
    color: var(--text);
    font-size: 0.95rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.profile-capture-form input[type="email"]:focus,
.profile-capture-form input[type="text"]:focus,
.profile-capture-form select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 8px rgba(201, 168, 76, 0.2);
}

.field-help {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.profile-capture-form .checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.profile-capture-form .checkbox input[type="checkbox"] {
    width: auto;
    margin: 0;
    cursor: pointer;
}

.profile-capture-form .checkbox label {
    margin: 0;
    flex: 1;
    cursor: pointer;
    font-weight: 400;
}

.form-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.form-actions .btn {
    width: 100%;
    padding: 0.875rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.form-actions .btn-primary,
.form-actions .btn-unlock {
    background: linear-gradient(135deg, var(--primary), #b8960f);
    color: #1a1a1a;
    box-shadow: 0 4px 12px rgba(201, 168, 76, 0.3);
}

.form-actions .btn-primary:hover,
.form-actions .btn-unlock:hover {
    background: linear-gradient(135deg, #d4af37, #c9a84c);
    box-shadow: 0 6px 16px rgba(201, 168, 76, 0.4);
}

.form-actions .btn-primary:disabled,
.form-actions .btn-unlock:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-actions .btn-secondary {
    background-color: rgba(201, 168, 76, 0.1);
    color: var(--primary);
}

.form-actions .btn-secondary:hover {
    background-color: rgba(201, 168, 76, 0.2);
}

.form-privacy {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

.form-privacy a {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 1px solid rgba(201, 168, 76, 0.3);
}

.form-privacy a:hover {
    border-bottom-color: var(--primary);
}

.form-error {
    background-color: rgba(220, 53, 69, 0.1);
    border-left: 4px solid #dc3545;
    color: #ff6b6b;
    padding: 0.75rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.required {
    color: #dc3545;
}

/* Modal Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive: Mobile Modal */
@media (max-width: 480px) {
    .modal-content {
        width: 95%;
        padding: 1.5rem 1rem;
        max-height: 95vh;
    }

    .modal-title {
        font-size: 1.5rem;
    }

    .modal-subtitle {
        font-size: 0.9rem;
    }

    .form-actions {
        gap: 0.5rem;
    }

    .form-actions .btn {
        padding: 0.75rem;
        font-size: 0.95rem;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .how-it-works h1,
    .oracles-page h1,
    .pricing-page h1 {
        font-size: 2rem;
    }

    .steps-container,
    .advisor-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .auth-buttons {
        flex-direction: column;
    }

    .comparison-table {
        font-size: 0.9rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 8px;
    }

    /* === New Section Responsive === */
    .section {
        padding: 2rem 1rem;
    }

    .section h2 {
        font-size: 1.5rem;
    }

    .section-intro {
        font-size: 0.95rem;
    }

    .example-question {
        padding: 1.5rem;
        font-size: 0.95rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    .how-it-works-v2 {
        padding: 2rem 1rem;
    }

    .how-it-works-v2 h2 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .how-steps-v2 {
        flex-direction: column;
        gap: 1rem;
    }

    .how-step-v2:not(:last-child)::after {
        display: none;
    }

    .how-step-number-v2 {
        font-size: 2rem;
    }

    .how-step-v2 h3 {
        font-size: 1rem;
    }

    .how-step-v2 p {
        font-size: 0.9rem;
    }

    .hero-landing .tagline {
        font-size: 0.85rem;
    }

    .hero-landing .headline {
        font-size: 2rem;
    }

    .hero-landing .subheading {
        font-size: 1rem;
    }

    .hero-landing h1 {
        font-size: 2rem;
    }

    .hero-landing p {
        font-size: 0.95rem;
    }
}

/* Tablet: min-width 640px */
@media (min-width: 640px) {
    .hero-landing .headline {
        font-size: 2.8rem;
    }

    .section h2 {
        font-size: 1.8rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .how-steps-v2 {
        gap: 2rem;
    }
}

/* Small Desktop: min-width 768px */
@media (min-width: 768px) {
    .hero-landing .headline {
        font-size: 3.5rem;
    }

    .hero-landing .subheading {
        font-size: 1.3rem;
    }

    .section h2 {
        font-size: 2rem;
    }

    .section {
        padding: 4rem 1rem;
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .how-steps-v2 {
        gap: 3rem;
    }
}

/* Large Desktop: min-width 1024px */
@media (min-width: 1024px) {
    .hero-landing {
        padding: 2rem 1rem;
    }

    .section {
        padding: 5rem 1rem;
    }
}

/* Advisor Recommendations */
.recommendations-section {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.recommendations-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.recommendation-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.recommendation-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.recommendation-card-image img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.recommendation-card-info {
    flex: 1;
}

.recommendation-card-name {
    font-size: 1.1rem;
    margin: 0 0 0.25rem;
    color: #2c3e50;
}

.recommendation-card-specialty {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin: 0 0 0.5rem;
}

.recommendation-card-cta {
    font-size: 0.85rem;
    color: #9B59B6;
    font-weight: 600;
}

@media (max-width: 600px) {
    .recommendations-grid {
        grid-template-columns: 1fr;
    }

    .recommendation-card-image img {
        width: 60px;
        height: 60px;
    }
}

/* === Live Psychics Page === */
.psychics-hero { text-align: center; padding: 3rem 1rem 1.5rem; }
.psychics-hero .section-title { font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; color: var(--primary); margin-bottom: 0.5rem; }
.psychics-hero .section-subtitle { color: var(--text-muted); font-size: 1rem; margin-bottom: 0.5rem; }
.online-count { color: var(--text); font-size: 1rem; }
.online-count #online-count { color: var(--primary); font-weight: 700; }

.psychic-grid-section { padding: 1.5rem 1rem 3rem; max-width: 1200px; margin: 0 auto; }
.psychic-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 1023px) { .psychic-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) { .psychic-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 479px) { .psychic-grid { grid-template-columns: 1fr; } }

.psychic-card { display: block; background: var(--card-bg, #111111); border-radius: 12px; overflow: hidden; text-decoration: none; color: var(--text); transition: transform 0.3s ease, box-shadow 0.3s ease; animation: cardFadeIn 0.4s ease; }
.psychic-card.psychic-online:hover { transform: scale(1.05); box-shadow: 0 0 20px rgba(201, 168, 76, 0.3); }
.psychic-card.psychic-offline { opacity: 0.6; }
.psychic-card.psychic-offline:hover { transform: none; }

.psychic-card-avatar { position: relative; aspect-ratio: 3/4; overflow: hidden; background: #1a1a1a; }
.psychic-card-img { width: 100%; height: 100%; object-fit: cover; }
.psychic-card-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 2rem; color: var(--primary); background: #1a1a1a; }

.status-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.psychic-card-avatar .status-dot { position: absolute; top: 8px; right: 8px; box-shadow: 0 0 0 2px #111111; }
.status-dot.status-online { background: #51cf66; box-shadow: 0 0 6px rgba(81, 207, 102, 0.6); animation: pulse 2s ease infinite; }
.status-dot.status-offline { background: var(--text-muted); }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }

.psychic-card-info { padding: 1rem; }
.psychic-card-name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--primary); margin: 0 0 0.25rem; }
.psychic-card-specialty { display: inline-block; font-size: 0.85rem; font-weight: 700; color: var(--text-muted); margin-bottom: 0.25rem; }
.psychic-card-rate { display: block; font-size: 0.85rem; font-weight: 700; color: var(--text-muted); }

/* Psychics empty state */
.psychics-empty { text-align: center; padding: 4rem 1rem; color: var(--text-muted); }
.psychics-empty h2 { font-family: var(--font-display); color: var(--primary); margin-bottom: 0.5rem; }
.psychics-empty a { color: var(--primary); }

/* === Psychic Profile Page === */
.psychic-profile { display: grid; grid-template-columns: 300px 1fr; gap: 2rem; max-width: 1000px; margin: 0 auto; padding: 2rem 1rem; }
@media (max-width: 767px) { .psychic-profile { grid-template-columns: 1fr; } }

.psychic-profile-sidebar { text-align: center; }
.psychic-profile-avatar { width: 200px; height: 200px; border-radius: 50%; overflow: hidden; margin: 0 auto 1rem; border: 2px solid var(--primary); }
.psychic-profile-img { width: 100%; height: 100%; object-fit: cover; }
.psychic-profile-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 3rem; color: var(--primary); background: #1a1a1a; }
.psychic-profile-name { font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; color: var(--primary); margin: 0 0 0.5rem; }
.psychic-profile-specialty { display: block; font-size: 0.85rem; font-weight: 700; color: var(--text-muted); margin-bottom: 0.25rem; }
.psychic-profile-rate { display: block; font-size: 1rem; font-weight: 700; color: var(--text-muted); margin-bottom: 0.5rem; }
.psychic-profile-status { margin-bottom: 1rem; font-size: 0.9rem; color: var(--text); }
.psychic-profile-status .status-dot { margin-right: 6px; vertical-align: middle; }

.psychic-session-btn:disabled { background: rgba(201, 168, 76, 0.3); cursor: not-allowed; color: var(--text-muted); }

.psychic-profile-main h2 { font-family: var(--font-display); color: var(--primary); margin-bottom: 0.5rem; }
.psychic-profile-bio p { color: var(--text); line-height: 1.6; }
.tagline-text { font-style: italic; color: var(--text-muted); font-size: 1.1rem; }

/* === Badges === */
.badge { display: inline-block; font-size: 0.85rem; text-transform: uppercase; font-weight: 700; border-radius: 4px; padding: 2px 8px; margin-bottom: 0.5rem; }
.badge-live { background: rgba(56, 161, 105, 0.15); color: #51cf66; border: 1px solid rgba(56, 161, 105, 0.3); }
.badge-ai { background: rgba(201, 168, 76, 0.1); color: var(--primary); border: 1px solid rgba(201, 168, 76, 0.2); }

/* === Homepage Live Psychics Section === */
.live-psychics-section { padding: 3rem 1rem; border-top: 1px solid rgba(201, 168, 76, 0.2); text-align: center; }
.live-psychics-container { max-width: 800px; margin: 0 auto; }
.live-psychics-section .section-title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--primary); margin-bottom: 0.5rem; }
.live-psychics-section .section-subtitle { color: var(--text-muted); margin-bottom: 0.5rem; }
.live-psychics-section .online-count { color: var(--text); margin-bottom: 1rem; }
.live-psychics-section .online-count-num { color: var(--primary); font-weight: 700; }
.live-psychics-offline { color: var(--text-muted); margin-bottom: 1rem; }
.live-psychics-preview { display: flex; justify-content: center; gap: 1.5rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.live-preview-item { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--text); }
.live-preview-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--primary); margin-bottom: 0.25rem; }
.live-preview-placeholder { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); color: var(--primary); background: #1a1a1a; border: 2px solid var(--primary); margin-bottom: 0.25rem; }
.live-preview-name { font-size: 0.85rem; color: var(--text); }
.cta-secondary { display: inline-block; padding: 0.5rem 1.5rem; border: 1px solid var(--primary); color: var(--primary); text-decoration: none; border-radius: 6px; font-weight: 700; margin-top: 0.5rem; transition: background 0.2s; }
.cta-secondary:hover { background: rgba(201, 168, 76, 0.1); }

/* Chat UI (Phase 31-02) */
.chat-container { max-width: 800px; margin: 2rem auto; background: var(--card-bg, #1a1a2e); border-radius: 12px; display: flex; flex-direction: column; height: calc(100vh - 200px); min-height: 400px; overflow: hidden; }
.chat-header { padding: 1rem 1.5rem; background: rgba(0,0,0,0.3); display: flex; align-items: center; gap: 1rem; border-bottom: 1px solid rgba(201,168,76,0.2); }
.chat-header h2 { font-family: var(--font-display); color: var(--primary); margin: 0; flex: 1; font-size: 1.2rem; }
.chat-status { font-size: 0.85rem; padding: 0.25rem 0.75rem; border-radius: 12px; background: rgba(201,168,76,0.15); color: var(--primary); }
.chat-status-active { background: rgba(46,204,113,0.2); color: #2ecc71; }
.chat-status-requested { background: rgba(241,196,15,0.2); color: #f1c40f; }
.chat-status-ended { background: rgba(149,165,166,0.2); color: #95a5a6; }
.chat-messages { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.chat-msg { max-width: 75%; padding: 0.75rem 1rem; border-radius: 12px; }
.chat-msg-customer { align-self: flex-end; background: var(--primary); color: #1a1a2e; }
.chat-msg-customer .chat-msg-sender { color: rgba(26,26,46,0.7); }
.chat-msg-customer .chat-msg-time { color: rgba(26,26,46,0.5); }
.chat-msg-psychic { align-self: flex-start; background: rgba(255,255,255,0.08); color: var(--text); }
.chat-msg-sender { display: block; font-size: 0.75rem; font-weight: 700; margin-bottom: 0.25rem; }
.chat-msg-content { margin: 0; line-height: 1.4; word-wrap: break-word; }
.chat-msg-time { display: block; font-size: 0.7rem; margin-top: 0.25rem; opacity: 0.6; }
.chat-input-area { padding: 1rem 1.5rem; border-top: 1px solid rgba(201,168,76,0.2); display: flex; gap: 0.75rem; }
.chat-input { flex: 1; padding: 0.75rem 1rem; border: 1px solid rgba(201,168,76,0.3); border-radius: 8px; background: rgba(0,0,0,0.3); color: var(--text); font-size: 1rem; outline: none; }
.chat-input:focus { border-color: var(--primary); }
.btn-send { padding: 0.75rem 1.5rem; background: var(--primary); color: #1a1a2e; border: none; border-radius: 8px; font-weight: 700; cursor: pointer; transition: opacity 0.2s; }
.btn-send:hover { opacity: 0.85; }
.btn-end-session { padding: 0.5rem 1rem; background: #c0392b; color: #fff; border: none; border-radius: 8px; cursor: pointer; font-size: 0.85rem; transition: opacity 0.2s; }
.btn-end-session:hover { opacity: 0.85; }
.btn-decline { padding: 0.5rem 1rem; background: rgba(255,255,255,0.1); color: var(--text); border: 1px solid rgba(255,255,255,0.2); border-radius: 8px; cursor: pointer; font-size: 0.85rem; }
.chat-actions { padding: 1rem 1.5rem; display: flex; gap: 1rem; border-bottom: 1px solid rgba(201,168,76,0.2); }
.chat-waiting, .chat-ended { padding: 2rem; text-align: center; color: rgba(255,255,255,0.6); }
.inline { display: inline; }

/* Session notifications on psychic dashboard */
.session-notification { background: rgba(201,168,76,0.1); border: 1px solid var(--primary); border-radius: 8px; padding: 0.75rem 1rem; margin-bottom: 0.75rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.session-notification span { color: var(--text); }
.btn-sm { padding: 0.4rem 0.8rem; font-size: 0.85rem; }

/* Session request form on psychic profile */
.session-request-form { margin-top: 1rem; }
.session-request-form form { display: flex; flex-direction: column; gap: 0.75rem; }
.input-field { padding: 0.75rem 1rem; border: 1px solid rgba(201,168,76,0.3); border-radius: 8px; background: rgba(0,0,0,0.3); color: var(--text); font-size: 1rem; outline: none; }
.input-field:focus { border-color: var(--primary); }

/* Session History */
.my-sessions { max-width: 900px; margin: 0 auto; padding: 2rem 1rem; }
.my-sessions h1 { font-family: var(--font-display); color: var(--primary); margin-bottom: 1.5rem; }
.sessions-count { color: var(--text-dim); margin-bottom: 1rem; font-size: 0.9rem; }
.session-cards { display: flex; flex-direction: column; gap: 0.75rem; }
.session-card-link { text-decoration: none; color: inherit; }
.session-card { background: rgba(0,0,0,0.3); border: 1px solid rgba(201,168,76,0.2); border-radius: 10px; padding: 1rem 1.25rem; transition: border-color 0.2s, background 0.2s; }
.session-card:hover { border-color: var(--primary); background: rgba(201,168,76,0.05); }
.session-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; }
.session-psychic { font-family: var(--font-display); font-size: 1.1rem; color: var(--primary); }
.session-card-body { display: flex; justify-content: space-between; align-items: center; }
.session-meta { display: flex; gap: 1.5rem; color: var(--text-dim); font-size: 0.9rem; }
.session-cost { font-weight: 600; color: var(--primary); font-size: 1.1rem; }

/* Status pills */
.status-pill { display: inline-block; padding: 0.2rem 0.6rem; border-radius: 12px; font-size: 0.75rem; text-transform: uppercase; font-weight: 600; letter-spacing: 0.5px; }
.status-ended { background: rgba(76,175,80,0.15); color: #4caf50; }
.status-active { background: rgba(212,175,55,0.15); color: #d4af37; }
.status-requested { background: rgba(255,152,0,0.15); color: #ff9800; }

/* Session Detail Page */
.session-detail { max-width: 800px; margin: 0 auto; padding: 2rem 1rem; }
.session-detail h1 { font-family: var(--font-display); color: var(--primary); margin-bottom: 0.5rem; }
.session-detail-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1.5rem; }
.psychic-profile-link { color: var(--primary); text-decoration: none; font-size: 0.9rem; }
.psychic-profile-link:hover { text-decoration: underline; }
.session-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.info-item { background: rgba(0,0,0,0.3); border: 1px solid rgba(201,168,76,0.2); border-radius: 8px; padding: 1rem; }
.info-label { display: block; font-size: 0.8rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.25rem; }
.info-value { display: block; font-size: 1.1rem; color: var(--text); font-weight: 600; }
.back-link { display: inline-block; color: var(--primary); text-decoration: none; margin-bottom: 1.5rem; font-size: 0.9rem; }
.back-link:hover { text-decoration: underline; }

/* Chat Transcript */
.transcript-heading { font-family: var(--font-display); color: var(--primary); margin-bottom: 1rem; font-size: 1.2rem; }
.transcript { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; }
.transcript .chat-msg { max-width: 80%; padding: 0.75rem 1rem; border-radius: 12px; }
.transcript .chat-msg-customer { align-self: flex-end; background: rgba(212,175,55,0.15); border: 1px solid rgba(212,175,55,0.3); }
.transcript .chat-msg-psychic { align-self: flex-start; background: rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.1); }
.transcript .chat-msg-sender { display: block; font-size: 0.75rem; color: var(--primary); font-weight: 600; margin-bottom: 0.25rem; }
.transcript .chat-msg-content { margin: 0; color: var(--text); line-height: 1.5; }
.transcript .chat-msg-time { display: block; font-size: 0.7rem; color: var(--text-dim); margin-top: 0.25rem; text-align: right; }

/* Review Section */
.review-section { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(201,168,76,0.2); }
.review-section h3 { font-family: var(--font-display); color: var(--primary); margin-bottom: 1rem; }
.review-display { background: rgba(0,0,0,0.3); border: 1px solid rgba(201,168,76,0.2); border-radius: 8px; padding: 1rem; }
.rating-value { color: var(--primary); font-weight: 600; font-size: 1.1rem; }
.review-text { color: var(--text); margin-top: 0.5rem; line-height: 1.5; }
.review-form { display: flex; flex-direction: column; gap: 1rem; }
.rating-select { padding: 0.5rem; border: 1px solid rgba(201,168,76,0.3); border-radius: 8px; background: rgba(0,0,0,0.3); color: var(--text); font-size: 1rem; }
.review-text-input label { display: block; color: var(--text-dim); margin-bottom: 0.25rem; font-size: 0.9rem; }
.review-text-input textarea { width: 100%; padding: 0.75rem; border: 1px solid rgba(201,168,76,0.3); border-radius: 8px; background: rgba(0,0,0,0.3); color: var(--text); font-size: 1rem; resize: vertical; }
.review-text-input textarea:focus { border-color: var(--primary); outline: none; }
.star-rating-input > label { color: var(--text-dim); font-size: 0.9rem; display: block; margin-bottom: 0.5rem; }
.star-input-group { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.star-input-group input[type="radio"] { display: none; }
.star-label { font-size: 2rem; color: #555; cursor: pointer; transition: color 0.15s; }
.star-input-group input[type="radio"]:checked ~ .star-label,
.star-input-group .star-label:hover,
.star-input-group .star-label:hover ~ .star-label { color: #c9a84c; }
.star-filled { color: #c9a84c; font-size: 1.2rem; }
.star-empty { color: #555; font-size: 1.2rem; }
.review-stars { letter-spacing: 2px; }
.review-success-msg { background: rgba(76,175,80,0.15); border: 1px solid rgba(76,175,80,0.4); border-radius: 8px; padding: 1rem; margin-top: 1.5rem; text-align: center; }
.review-success-msg p { color: #81c784; margin: 0; font-weight: 600; }
.review-error-msg { background: rgba(244,67,54,0.15); border: 1px solid rgba(244,67,54,0.4); border-radius: 8px; padding: 1rem; margin-top: 1.5rem; text-align: center; }
.review-error-msg p { color: #e57373; margin: 0; }

/* Psychic profile reviews */
.psychic-reviews-section { margin-top: 2rem; }
.psychic-reviews-section h2 { font-family: var(--font-display); color: var(--primary); margin-bottom: 1rem; }
.aggregate-rating { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; }
.aggregate-stars .star-filled { font-size: 1.4rem; }
.aggregate-stars .star-empty { font-size: 1.4rem; }
.aggregate-text { color: var(--text-muted); font-size: 1rem; }
.review-list { display: flex; flex-direction: column; gap: 1rem; }
.review-card { background: rgba(0,0,0,0.3); border: 1px solid rgba(201,168,76,0.2); border-radius: 8px; padding: 1rem; }
.review-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; }
.review-card-stars .star-filled { color: #c9a84c; font-size: 1.1rem; }
.review-card-stars .star-empty { color: #555; font-size: 1.1rem; }
.review-card-badge { font-size: 0.75rem; color: #81c784; background: rgba(76,175,80,0.15); padding: 2px 8px; border-radius: 4px; }
.review-card-text { color: var(--text); line-height: 1.5; margin: 0.5rem 0; }
.review-card-date { color: var(--text-dim); font-size: 0.8rem; }
.no-reviews { color: var(--text-dim); font-style: italic; }

/* AI-to-live psychic handoff CTA */
.live-psychic-cta { text-align: center; padding: 2rem; margin: 2rem auto; max-width: 600px; border: 2px solid rgba(201,168,76,0.4); border-radius: 12px; background: rgba(201,168,76,0.05); }
.live-psychic-cta h2 { font-family: var(--font-display); color: var(--primary); margin-bottom: 0.5rem; }
.live-psychic-cta p { color: var(--text-muted); margin-bottom: 1.5rem; }
.live-psychic-cta .btn-primary { display: inline-block; padding: 0.75rem 2rem; background: var(--primary); color: #000; font-weight: 700; text-decoration: none; border-radius: 8px; font-size: 1rem; transition: opacity 0.2s; }
.live-psychic-cta .btn-primary:hover { opacity: 0.85; }

/* Pagination */
.pagination { display: flex; justify-content: center; align-items: center; gap: 1rem; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid rgba(201,168,76,0.1); }
.btn-page { color: var(--primary); text-decoration: none; padding: 0.5rem 1rem; border: 1px solid rgba(201,168,76,0.3); border-radius: 6px; font-size: 0.9rem; }
.btn-page:hover { background: rgba(201,168,76,0.1); }
.page-info { color: var(--text-dim); font-size: 0.85rem; }
.btn-view { color: var(--primary); text-decoration: none; font-size: 0.85rem; padding: 0.3rem 0.6rem; border: 1px solid rgba(201,168,76,0.3); border-radius: 4px; }
.btn-view:hover { background: rgba(201,168,76,0.1); }

/* Oracle Earnings page */
.earnings-page .stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.earnings-page .stat-sub { font-size: 0.8rem; color: rgba(201,168,76,0.7); margin-top: 0.25rem; }
.earnings-note { background: rgba(0,0,0,0.2); border: 1px solid rgba(201,168,76,0.15); border-radius: 8px; padding: 1rem; }
.earnings-note p { color: var(--text-dim); font-size: 0.9rem; margin: 0; }

/* Oracle Session Detail */
.session-detail-page .back-link { display: inline-block; color: var(--primary-text, #d4af37); text-decoration: none; margin-bottom: 1rem; }
.session-detail-page .back-link:hover { text-decoration: underline; }
.session-info-header { background: rgba(0,0,0,0.2); border: 1px solid rgba(201,168,76,0.2); border-radius: 8px; padding: 1rem; margin-bottom: 1.5rem; }
.session-info-row { display: flex; gap: 0.75rem; padding: 0.35rem 0; }
.session-info-row .info-label { color: rgba(201,168,76,0.8); font-size: 0.85rem; min-width: 120px; }
.session-info-row .info-value { color: var(--text, #eee); }
.earnings-highlight { color: var(--primary, #d4af37); font-weight: 600; }

@media (max-width: 600px) {
    .session-card-body { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
    .session-meta { flex-direction: column; gap: 0.25rem; }
    .session-info-grid { grid-template-columns: 1fr; }
    .transcript .chat-msg { max-width: 95%; }
}

/* === Profile Progress Bar === */
.profile-progress-bar-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.profile-progress-bar {
    flex: 1;
    height: 8px;
    background: rgba(201, 168, 76, 0.15);
    border-radius: 4px;
    overflow: hidden;
    max-width: 200px;
}
.profile-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), #e6ac00);
    border-radius: 4px;
    transition: width 0.4s ease;
}
.profile-progress-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    white-space: nowrap;
}

/* === Token Badge === */
.token-badge {
    background: rgba(201, 168, 76, 0.15);
    color: #c9a84c;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}
.nav-tokens { text-decoration: none; }
.nav-tokens:hover .token-badge {
    background: rgba(201, 168, 76, 0.25);
}
