/** * Copyright (c) 2026 DNA Genics, S.L. All rights reserved.
 * 
 * Jewish Ancestry Report - Cinematic Product Page Styles
 * A reverent, narrative-driven experience honoring continuity, memory, and belonging.
 */

/* ========================================
   CSS Variables - Warm Parchment Palette
   ======================================== */
:root {
    /* Primary - Warm Stone */
    --ja-stone-50: #FEFDFB;
    --ja-stone-100: #F5F1EB;
    --ja-stone-200: #E8E0D4;
    --ja-stone-300: #D4C9B8;
    --ja-stone-400: #B5A690;
    --ja-stone-500: #8F7E67;
    --ja-stone-600: #6B5E4F;
    --ja-stone-700: #4D4439;
    --ja-stone-800: #352F26;
    --ja-stone-900: #2C2519;
    
    /* Accent - Aged Gold (subdued, timeless) */
    --ja-gold: #9E7E42;
    --ja-gold-light: #C4A86B;
    --ja-gold-dark: #7A6234;
    --ja-gold-muted: rgba(158, 126, 66, 0.15);
    
    /* Background - Parchment */
    --ja-parchment: #FAF6EF;
    --ja-parchment-dark: #F0E8DB;
    --ja-parchment-warm: #F7F0E3;
    
    /* Text */
    --ja-text-primary: #2C2519;
    --ja-text-secondary: #5D5244;
    --ja-text-muted: #7A6F5E;
    --ja-text-light: #A69C8A;
    
    /* Functional */
    --ja-success: #5E8B5A;
    --ja-success-light: #7BA377;
    --ja-border: rgba(107, 94, 79, 0.15);
    --ja-shadow-color: rgba(44, 37, 25, 0.08);
    --ja-shadow-color-md: rgba(44, 37, 25, 0.12);
    --ja-shadow-color-lg: rgba(44, 37, 25, 0.18);
    
    /* Typography */
    --ja-font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --ja-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Spacing */
    --ja-section-padding: 6rem;
    --ja-section-padding-mobile: 4rem;
    
    /* Transitions */
    --ja-transition-base: 0.3s ease;
    --ja-transition-slow: 0.5s ease;
}

/* ========================================
   Base & Typography
   ======================================== */
.ja-main {
    font-family: var(--ja-font-sans);
    color: var(--ja-text-primary);
    background-color: var(--ja-parchment);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Serif headings */
.ja-heading-serif {
    font-family: var(--ja-font-serif);
    font-weight: 500;
    letter-spacing: -0.01em;
}

/* Chapter markers */
.ja-chapter-marker {
    font-family: var(--ja-font-serif);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ja-gold);
    margin-bottom: 1rem;
    display: block;
}

/* ========================================
   Skip Link (Accessibility)
   ======================================== */
.ja-skip-link {
    position: absolute;
    top: -50px;
    left: 0;
    background: var(--ja-gold);
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    z-index: 10000;
    font-weight: 500;
    transition: top 0.3s ease;
}

.ja-skip-link:focus {
    top: 0;
}

/* ========================================
   Scroll Progress Bar
   ======================================== */
.ja-scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--ja-gold) 0%, var(--ja-gold-light) 100%);
    width: 0%;
    z-index: 9999;
    transition: width 0.1s ease-out;
}

/* ========================================
   Page Navigation Dots
   ======================================== */
.ja-page-nav {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ja-nav-dot {
    width: 10px;
    height: 10px;
    background: transparent;
    border: 2px solid var(--ja-stone-400);
    border-radius: 50%;
    transition: all var(--ja-transition-base);
    position: relative;
    cursor: pointer;
}

.ja-nav-dot:hover,
.ja-nav-dot.active {
    background: var(--ja-gold);
    border-color: var(--ja-gold);
    transform: scale(1.2);
}

.ja-nav-dot::after {
    content: attr(data-tooltip);
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--ja-stone-900);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--ja-transition-base);
    font-size: 0.8rem;
    font-family: var(--ja-font-sans);
}

.ja-nav-dot:hover::after {
    opacity: 1;
}

@media (max-width: 992px) {
    .ja-page-nav {
        display: none;
    }
}

/* ========================================
   Back to Top Button
   ======================================== */
.ja-back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: var(--ja-stone-800);
    color: var(--ja-stone-100);
    border: none;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--ja-transition-base);
    z-index: 999;
    box-shadow: 0 4px 12px var(--ja-shadow-color-md);
}

.ja-back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.ja-back-to-top:hover {
    background: var(--ja-gold);
    transform: translateY(-3px);
}

.ja-back-to-top:focus {
    outline: 3px solid var(--ja-gold-light);
    outline-offset: 2px;
}

/* ========================================
   HERO SECTION - "A Story Carried, Not Lost"
   ======================================== */
.ja-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        180deg, 
        rgba(44, 37, 25, 0.7) 0%, 
        rgba(44, 37, 25, 0.85) 100%
    ), url('/img/reports/ancestry/jewish/jewish-hero.webp') center/cover no-repeat;
    background-attachment: fixed;
}

.ja-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at center,
        transparent 0%,
        rgba(44, 37, 25, 0.3) 100%
    );
    pointer-events: none;
}

/* Subtle light effect */
.ja-hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(
        ellipse at center top,
        rgba(250, 246, 239, 0.08) 0%,
        transparent 60%
    );
    pointer-events: none;
}

.ja-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 2rem;
}

.ja-hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(158, 126, 66, 0.2);
    border: 1px solid var(--ja-gold);
    color: var(--ja-gold-light);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.ja-hero-badge i {
    margin-right: 0.5rem;
}

.ja-hero-epigraph {
    font-family: var(--ja-font-serif);
    font-size: 1.125rem;
    font-style: italic;
    color: rgba(250, 246, 239, 0.75);
    margin-bottom: 2rem;
    letter-spacing: 0.02em;
}

.ja-hero-title {
    font-family: var(--ja-font-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 500;
    color: var(--ja-parchment);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.ja-hero-title-accent {
    display: block;
    color: var(--ja-gold-light);
    font-weight: 600;
}

.ja-hero-lead {
    font-family: var(--ja-font-sans);
    font-size: 1.125rem;
    font-weight: 300;
    color: rgba(250, 246, 239, 0.9);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.ja-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--ja-success);
    color: white;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    transition: all var(--ja-transition-base);
    box-shadow: 0 4px 16px rgba(94, 139, 90, 0.3);
}

.ja-hero-cta:hover {
    background: var(--ja-success-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(94, 139, 90, 0.4);
    color: white;
    text-decoration: none;
}

.ja-hero-cta:focus {
    outline: 3px solid var(--ja-gold-light);
    outline-offset: 2px;
}

.ja-hero-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: transparent;
    color: rgba(250, 246, 239, 0.9);
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 500;
    border: 1px solid rgba(250, 246, 239, 0.3);
    border-radius: 4px;
    text-decoration: none;
    transition: all var(--ja-transition-base);
}

.ja-hero-cta-secondary:hover {
    background: rgba(250, 246, 239, 0.1);
    border-color: var(--ja-gold);
    color: var(--ja-gold-light);
    text-decoration: none;
    transform: translateY(-2px);
}

.ja-hero-cta-secondary:focus {
    outline: 3px solid var(--ja-gold-light);
    outline-offset: 2px;
}

.ja-hero-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    font-size: 0.875rem;
    color: rgba(250, 246, 239, 0.7);
}

.ja-hero-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ja-hero-price {
    margin-top: 2rem;
}

.ja-price-tag {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: rgba(250, 246, 239, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(250, 246, 239, 0.2);
    border-radius: 8px;
    padding: 1rem 2rem;
}

.ja-price-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(250, 246, 239, 0.7);
    margin-bottom: 0.25rem;
}

.ja-price-amount {
    font-family: var(--ja-font-serif);
    font-size: 2rem;
    font-weight: 600;
    color: var(--ja-parchment);
}

.ja-price-note {
    font-size: 0.8rem;
    color: rgba(250, 246, 239, 0.6);
    margin-top: 0.25rem;
}

/* Scroll indicator */
.ja-scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(250, 246, 239, 0.5);
    text-decoration: none;
    transition: color var(--ja-transition-base);
}

.ja-scroll-indicator:hover {
    color: rgba(250, 246, 239, 0.8);
}

.ja-scroll-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.ja-scroll-indicator i {
    animation: ja-bounce 2s infinite;
}

@keyframes ja-bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(6px); }
    60% { transform: translateY(3px); }
}

/* ========================================
   SECTION BASE STYLES
   ======================================== */
.ja-section {
    padding: var(--ja-section-padding) 0;
    position: relative;
}

@media (max-width: 768px) {
    .ja-section {
        padding: var(--ja-section-padding-mobile) 0;
    }
}

.ja-section-parchment {
    background-color: var(--ja-parchment);
}

.ja-section-warm {
    background-color: var(--ja-parchment-warm);
}

.ja-section-stone {
    background-color: var(--ja-stone-100);
}

/* Chapter header */
.ja-chapter-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.ja-section-title {
    font-family: var(--ja-font-serif);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 500;
    color: var(--ja-text-primary);
    line-height: 1.3;
    margin-bottom: 1rem;
}

.ja-section-subtitle {
    font-family: var(--ja-font-sans);
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--ja-text-secondary);
    line-height: 1.7;
}

/* ========================================
   NARRATIVE TEXT BLOCKS
   ======================================== */
.ja-narrative {
    max-width: 720px;
    margin: 0 auto;
}

.ja-narrative p {
    font-size: 1.125rem;
    line-height: 1.9;
    color: var(--ja-text-secondary);
    margin-bottom: 1.5rem;
}

.ja-narrative p:last-child {
    margin-bottom: 0;
}

.ja-narrative-lead {
    font-family: var(--ja-font-serif);
    font-size: 1.375rem;
    font-weight: 400;
    color: var(--ja-text-primary);
    line-height: 1.7;
}

.ja-blockquote {
    font-family: var(--ja-font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    font-style: italic;
    color: var(--ja-text-primary);
    text-align: center;
    padding: 2rem 0;
    margin: 3rem 0;
    border-top: 1px solid var(--ja-border);
    border-bottom: 1px solid var(--ja-border);
    line-height: 1.6;
}

/* ========================================
   COMMUNITIES GRID (Ashkenazi, Sephardi, Mizrahi)
   ======================================== */
.ja-communities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

@media (max-width: 992px) {
    .ja-communities-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.ja-community-card {
    background: white;
    border-radius: 8px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 4px 20px var(--ja-shadow-color);
    border: 1px solid var(--ja-border);
    transition: all var(--ja-transition-base);
}

.ja-community-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px var(--ja-shadow-color-md);
}

.ja-community-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background: var(--ja-gold-muted);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ja-gold);
    font-size: 1.5rem;
}

.ja-community-name {
    font-family: var(--ja-font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ja-text-primary);
    margin-bottom: 0.5rem;
}

.ja-community-region {
    font-size: 0.875rem;
    color: var(--ja-text-muted);
    margin-bottom: 1rem;
}

.ja-community-desc {
    font-size: 0.95rem;
    color: var(--ja-text-secondary);
    line-height: 1.7;
}

/* ========================================
   FEATURES / REPORT EXPERIENCE
   ======================================== */
.ja-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

@media (max-width: 992px) {
    .ja-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .ja-features-grid {
        grid-template-columns: 1fr;
    }
}

.ja-feature-item {
    text-align: center;
    padding: 2rem 1.5rem;
}

.ja-feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, var(--ja-stone-200) 0%, var(--ja-stone-100) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ja-stone-600);
    font-size: 1.25rem;
    transition: all var(--ja-transition-base);
}

.ja-feature-item:hover .ja-feature-icon {
    background: linear-gradient(135deg, var(--ja-gold) 0%, var(--ja-gold-light) 100%);
    color: white;
}

.ja-feature-title {
    font-family: var(--ja-font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--ja-text-primary);
    margin-bottom: 0.75rem;
}

.ja-feature-desc {
    font-size: 0.95rem;
    color: var(--ja-text-secondary);
    line-height: 1.6;
}

/* ========================================
   SAMPLE REPORT PREVIEW
   ======================================== */
.ja-sample-preview {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 40px var(--ja-shadow-color-md);
    border: 1px solid var(--ja-border);
    overflow: hidden;
    max-width: 900px;
    margin: 3rem auto 0;
}

.ja-sample-header {
    background: linear-gradient(135deg, var(--ja-stone-800) 0%, var(--ja-stone-700) 100%);
    color: var(--ja-stone-100);
    padding: 1.25rem 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ja-sample-header i {
    color: var(--ja-gold-light);
}

.ja-sample-header h4 {
    margin: 0;
    font-family: var(--ja-font-sans);
    font-size: 1rem;
    font-weight: 600;
}

.ja-sample-body {
    padding: 2rem;
}

.ja-sample-percentage {
    text-align: center;
    padding: 2rem 0;
    border-bottom: 1px solid var(--ja-border);
    margin-bottom: 2rem;
}

.ja-sample-percentage-value {
    font-family: var(--ja-font-serif);
    font-size: 4rem;
    font-weight: 600;
    color: var(--ja-gold);
    line-height: 1;
}

.ja-sample-percentage-label {
    font-size: 1rem;
    color: var(--ja-text-secondary);
    margin-top: 0.5rem;
}

.ja-sample-segments h5 {
    font-family: var(--ja-font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ja-text-muted);
    margin-bottom: 1rem;
}

.ja-sample-table {
    width: 100%;
    border-collapse: collapse;
}

.ja-sample-table th,
.ja-sample-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--ja-border);
    font-size: 0.9rem;
}

.ja-sample-table th {
    font-weight: 600;
    color: var(--ja-text-muted);
    background: var(--ja-stone-50);
}

.ja-sample-table td {
    color: var(--ja-text-secondary);
}

.ja-sample-table .badge {
    background: var(--ja-gold-muted);
    color: var(--ja-gold-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ========================================
   SCIENCE / METHODOLOGY SECTION
   ======================================== */
.ja-methodology-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .ja-methodology-grid {
        grid-template-columns: 1fr;
    }
}

.ja-methodology-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    border: 1px solid var(--ja-border);
}

.ja-methodology-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--ja-stone-100);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ja-stone-600);
    font-size: 1.125rem;
}

.ja-methodology-content h4 {
    font-family: var(--ja-font-serif);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--ja-text-primary);
    margin-bottom: 0.5rem;
}

.ja-methodology-content p {
    font-size: 0.9rem;
    color: var(--ja-text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ========================================
   PRICING SECTION - Cinematic Theme Variables
   Layout handled by shared report-pricing-cards.css
   ======================================== */
.ja-pricing-section {
    --rpc-bg: var(--ja-stone-900);
    --rpc-overlay: rgba(44, 37, 25, 0.7);
    --rpc-text-primary: var(--ja-parchment);
    --rpc-text-secondary: rgba(250, 246, 239, 0.9);
    --rpc-text-muted: rgba(250, 246, 239, 0.6);
    --rpc-accent: var(--ja-gold-light);
    --rpc-accent-dim: var(--ja-gold);
    --rpc-cta-bg: var(--ja-gold);
    --rpc-cta-text: #ffffff;
    --rpc-cta-hover: var(--ja-gold-dark);
    --rpc-border: rgba(250, 246, 239, 0.12);
    --rpc-font-display: var(--ja-font-serif);
    --rpc-font-body: var(--ja-font-sans);
}

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

.ja-section-subtitle {
    font-family: var(--ja-font-sans);
    font-size: 1.125rem;
    color: var(--ja-text-secondary);
    margin-top: 0.5rem;
}

/* ========================================
   CLOSING SECTION
   ======================================== */
.ja-closing {
    background: var(--ja-stone-900);
    color: var(--ja-stone-100);
    text-align: center;
    padding: 5rem 0;
}

.ja-closing-quote {
    font-family: var(--ja-font-serif);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto 2rem;
    color: var(--ja-stone-200);
}

.ja-closing-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--ja-gold);
    color: white;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    transition: all var(--ja-transition-base);
}

.ja-closing-cta:hover {
    background: var(--ja-gold-light);
    color: white;
    text-decoration: none;
}

.ja-closing-cta:focus {
    outline: 3px solid var(--ja-gold-light);
    outline-offset: 2px;
}

/* ========================================
   STICKY CTA BAR
   ======================================== */
.ja-sticky-cta {
    position: fixed;
    bottom: -100px;
    left: 0;
    right: 0;
    background: var(--ja-stone-900);
    padding: 1rem 0;
    box-shadow: 0 -4px 20px var(--ja-shadow-color-lg);
    transition: bottom 0.4s ease;
    z-index: 999;
}

.ja-sticky-cta.visible {
    bottom: 0;
}

.ja-sticky-cta * {
    opacity: 1 !important;
    transform: none !important;
}

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

.ja-sticky-cta-text h4 {
    color: var(--ja-stone-100);
    margin: 0;
    font-family: var(--ja-font-serif);
    font-size: 1.125rem;
    font-weight: 500;
}

.ja-sticky-cta-text p {
    color: var(--ja-stone-400);
    margin: 0;
    font-size: 0.85rem;
}

.ja-sticky-cta-btn {
    background: var(--ja-success);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--ja-transition-base);
    white-space: nowrap;
}

.ja-sticky-cta-btn:hover {
    background: var(--ja-success-light);
    color: white;
    text-decoration: none;
}

@media (max-width: 768px) {
    .ja-sticky-cta-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .ja-sticky-cta-btn {
        width: 100%;
    }
}

/* ========================================
   FAQ SECTION
   ======================================== */
.ja-faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.ja-faq-item {
    border: 1px solid var(--ja-border);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    background: white;
    transition: box-shadow var(--ja-transition-base);
}

.ja-faq-item:hover {
    box-shadow: 0 4px 16px var(--ja-shadow-color);
}

.ja-faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--ja-font-sans);
    font-size: 1rem;
    font-weight: 600;
    color: var(--ja-text-primary);
    transition: background var(--ja-transition-base);
}

.ja-faq-question:hover {
    background: var(--ja-stone-50);
}

.ja-faq-question:focus {
    outline: 3px solid var(--ja-gold);
    outline-offset: -3px;
}

.ja-faq-question i {
    transition: transform var(--ja-transition-base);
    color: var(--ja-text-muted);
}

.ja-faq-item.active .ja-faq-question i {
    transform: rotate(180deg);
}

.ja-faq-answer {
    display: none;
    padding: 0 1.5rem 1.5rem;
}

.ja-faq-item.active .ja-faq-answer {
    display: block;
}

.ja-faq-answer p {
    font-size: 0.95rem;
    color: var(--ja-text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.ja-faq-answer p:last-child {
    margin-bottom: 0;
}

.ja-faq-answer ul {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

.ja-faq-answer li {
    font-size: 0.95rem;
    color: var(--ja-text-secondary);
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

/* ========================================
   COMPATIBILITY SECTION
   ======================================== */
.ja-compatibility-list {
    max-width: 600px;
    margin: 2rem auto 0;
    background: white;
    border-radius: 8px;
    padding: 2rem;
    border: 1px solid var(--ja-border);
}

.ja-compatibility-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--ja-border);
}

.ja-compatibility-item:last-child {
    border-bottom: none;
}

.ja-compatibility-item i {
    color: var(--ja-success);
    font-size: 1rem;
}

.ja-compatibility-item span {
    font-size: 0.95rem;
    color: var(--ja-text-secondary);
}

/* ========================================
   ANIMATIONS
   ======================================== */
.ja-fade-in {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.ja-fade-in.visible {
    opacity: 1;
}

.ja-fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.ja-fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .ja-fade-in,
    .ja-fade-in-up {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .ja-scroll-indicator i {
        animation: none;
    }
    
    * {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

/* ========================================
   FOCUS INDICATORS (Accessibility)
   ======================================== */
a:focus,
button:focus,
input:focus,
select:focus,
.btn:focus {
    outline: 3px solid var(--ja-gold);
    outline-offset: 2px;
}

.form-control:focus {
    border-color: var(--ja-gold);
    box-shadow: 0 0 0 0.2rem rgba(158, 126, 66, 0.25);
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
   ======================================== */
@media (max-width: 768px) {
    .ja-hero {
        min-height: 90vh;
        background-attachment: scroll;
    }
    
    .ja-hero-content {
        padding: 1.5rem;
    }
    
    .ja-hero-meta {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .ja-section-title {
        font-size: 1.75rem;
    }
    
    .ja-narrative p {
        font-size: 1rem;
    }
    
    .ja-blockquote {
        font-size: 1.25rem;
        padding: 1.5rem 0;
        margin: 2rem 0;
    }
    
    .ja-pricing-amount {
        font-size: 2.5rem;
    }
    
    .ja-back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 576px) {
    .ja-hero-title {
        font-size: 2rem;
    }
    
    .ja-hero-lead {
        font-size: 1rem;
    }
    
    .ja-hero-cta {
        padding: 0.875rem 2rem;
        font-size: 0.95rem;
    }
    
    .ja-section {
        padding: 3rem 0;
    }
    
    .ja-chapter-header {
        margin-bottom: 2.5rem;
    }
    
    .ja-community-card {
        padding: 2rem 1.5rem;
    }
    
    .ja-pricing-card {
        padding: 2rem 1.5rem;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
    .ja-page-nav,
    .ja-back-to-top,
    .ja-sticky-cta,
    .ja-scroll-progress,
    .ja-scroll-indicator {
        display: none !important;
    }
    
    .ja-hero {
        min-height: auto;
        padding: 2rem 0;
        background: none;
        color: black;
    }
    
    .ja-section {
        padding: 2rem 0;
        page-break-inside: avoid;
    }
}

/* ========================================
   RELATED PRODUCTS
   ======================================== */
.jewish-related-products {
    padding: 60px 0;
    background: var(--ja-parchment);
}

.jewish-related-title {
    text-align: center;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    color: var(--ja-text-primary);
    margin-bottom: 40px;
    font-family: var(--ja-font-serif);
    font-weight: 700;
}

.jewish-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 991px) {
    .jewish-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .jewish-related-grid {
        grid-template-columns: 1fr;
    }
}

.jewish-related-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--ja-shadow-color-md);
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--ja-border);
}

.jewish-related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--ja-shadow-color-lg);
    border-color: var(--ja-gold);
}

.jewish-related-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid var(--ja-border);
}

.jewish-related-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.jewish-related-content h4 {
    font-size: 1.2rem;
    color: var(--ja-text-primary);
    margin-bottom: 8px;
    font-family: var(--ja-font-body);
    font-weight: 600;
}

.jewish-related-content p {
    font-size: 0.95rem;
    color: var(--ja-text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
}

.jewish-related-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ja-gold);
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
    margin-top: auto;
}

.jewish-related-link:hover {
    color: var(--ja-gold-dark);
    text-decoration: underline;
}

.jewish-related-link i {
    transition: transform 0.2s ease;
}

.jewish-related-link:hover i {
    transform: translateX(4px);
}
