/* ==========================================================================
   MUHAZU GLOBAL - WHITE-GOLD LUXURY FINTECH THEME
   Premium Islamic Financial Analysis Platform
   Version: 4.0 - Roadtax Style Layout (Left Hero + Right Wizard)
   ========================================================================== */

/* ==========================================================================
   DESIGN TOKENS - LUXURY PALETTE
   ========================================================================== */
   :root {
    /* === GOLD SPECTRUM === */
    --gold-50: #fefdf8;
    --gold-100: #fdf9e9;
    --gold-200: #f8eeb3;
    --gold-300: #f4e27d;
    --gold-400: #e8c84a;
    --gold-500: #d4af37;
    --gold-600: #b8962e;
    --gold-700: #9a7b25;
    --gold-800: #7d621d;
    --gold-900: #614c17;
    
    /* Gold Gradients */
    --gold-gradient: linear-gradient(135deg, #d4af37 0%, #f8eeb3 50%, #d4af37 100%);
    --gold-gradient-subtle: linear-gradient(135deg, #d4af37 0%, #fceabb 100%);
    --gold-gradient-soft: linear-gradient(135deg, rgba(212,175,55,0.1) 0%, rgba(248,238,179,0.05) 100%);
    --gold-gradient-line: linear-gradient(90deg, transparent, #d4af37, transparent);
    --gold-shimmer: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.4) 50%, transparent 100%);
    
    /* === WHITE SPECTRUM === */
    --white: #ffffff;
    --white-soft: #fefefe;
    --cream: #fdfcf9;
    --ivory: #faf9f6;
    --pearl: #f8f7f4;
    --silk: #f5f4f1;
    
    /* === NEUTRAL SPECTRUM === */
    --gray-50: #fafaf9;
    --gray-100: #f4f4f3;
    --gray-200: #e8e8e6;
    --gray-300: #d4d4d1;
    --gray-400: #a3a39e;
    --gray-500: #737370;
    --gray-600: #525250;
    --gray-700: #3d3d3b;
    --gray-800: #282826;
    --gray-900: #1a1a18;
    
    /* === SEMANTIC COLORS === */
    --success: #0d9488;
    --success-soft: rgba(13, 148, 136, 0.08);
    --danger: #dc2626;
    --danger-soft: rgba(220, 38, 38, 0.08);
    --warning: #d97706;
    --warning-soft: rgba(217, 119, 6, 0.08);
    
    /* === GLASSMORPHISM === */
    --glass-white: rgba(255, 255, 255, 0.88);
    --glass-white-strong: rgba(255, 255, 255, 0.95);
    --glass-gold: rgba(212, 175, 55, 0.03);
    --glass-blur: blur(24px);
    --glass-blur-strong: blur(40px);
    
    /* === SHADOWS - LUXURY === */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.02);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.06);
    --shadow-gold: 0 4px 24px rgba(212, 175, 55, 0.12);
    --shadow-gold-lg: 0 10px 40px rgba(212, 175, 55, 0.15);
    --shadow-gold-glow: 0 0 30px rgba(212, 175, 55, 0.2);
    --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.02);
    
    /* === TYPOGRAPHY === */
    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-arabic: 'Amiri', 'Traditional Arabic', serif;
    
    /* === SPACING === */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    
    /* === BORDER RADIUS === */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* === TRANSITIONS === */
    --transition-fast: 0.15s ease;
    --transition-base: 0.25s ease;
    --transition-slow: 0.4s ease;
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   BASE RESET & TYPOGRAPHY
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-body);
    background: var(--cream);
    color: var(--gray-800);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ==========================================================================
   AMBIENT BACKGROUND
   ========================================================================== */
.ambient-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(212, 175, 55, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(248, 238, 179, 0.02) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.islamic-pattern {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30z' fill='none' stroke='%23d4af37' stroke-width='0.3' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

/* ==========================================================================
   TWO-COLUMN LAYOUT (LEFT HERO + RIGHT WIZARD) - ROADTAX STYLE
   ========================================================================== */
.financial-wrapper {
    display: flex;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

/* ===== LEFT HERO SECTION ===== */
.left-hero {
    width: 50%;
    padding: var(--space-3xl);
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    height: 100vh;
}

.hero-content {
    max-width: 480px;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold-gradient-soft);
    border: 1px solid rgba(212, 175, 55, 0.15);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
}

.badge-icon {
    font-size: 14px;
}

.badge-text {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--gold-700);
    text-transform: uppercase;
}

/* Hero Title */
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--gray-900);
    line-height: 1.2;
    margin-bottom: var(--space-lg);
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: 1.05rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

/* Hero Features */
.hero-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: var(--space-xl);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--gold-gradient-subtle);
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
}

.feature-text {
    font-size: 0.95rem;
    color: var(--gray-700);
}

/* CTA Button - Gold Gradient Pill */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gold-gradient-subtle);
    color: var(--white);
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: var(--shadow-gold);
    transition: all var(--transition-base);
    margin-bottom: var(--space-xl);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold-lg);
}

.cta-icon {
    font-size: 18px;
}

/* Trust Badge */
.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-500);
    font-size: 0.85rem;
}

.trust-icon {
    font-size: 16px;
}

/* ===== RIGHT WIZARD SECTION ===== */
.right-wizard {
    width: 50%;
    padding: var(--space-xl);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: 100vh;
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-3xl);
}

/* Wizard Card - Premium White Card */
.wizard-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(212, 175, 55, 0.05);
    width: 100%;
    max-width: 520px;
    padding: var(--space-xl);
    position: relative;
    overflow: hidden;
}

.wizard-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gold-gradient);
}

/* Wizard Card Header */
.wizard-card-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.wizard-card-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.wizard-card-subtitle {
    font-size: 0.9rem;
    color: var(--gray-500);
}

/* ==========================================================================
   STEP PROGRESS BAR - SLIM ROADTAX STYLE
   ========================================================================== */
.step-progress {
    position: relative;
    margin-bottom: var(--space-xl);
    padding: 0 10px;
}

.step-progress-bar {
    position: absolute;
    top: 14px;
    left: 40px;
    right: 40px;
    height: 2px;
    background: var(--gray-200);
    border-radius: 2px;
    z-index: 0;
}

.step-progress-fill {
    height: 100%;
    background: var(--gold-gradient-subtle);
    border-radius: 2px;
    width: 0%;
    transition: width var(--transition-slow);
}

.step-indicators {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all var(--transition-base);
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-500);
    transition: all var(--transition-base);
}

.step-label {
    font-size: 10px;
    font-weight: 500;
    color: var(--gray-400);
    text-align: center;
    white-space: nowrap;
    transition: all var(--transition-base);
}

/* Active Step */
.step-indicator.active .step-number {
    background: var(--gold-gradient-subtle);
    border-color: var(--gold-500);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.step-indicator.active .step-label {
    color: var(--gold-700);
    font-weight: 600;
}

/* Completed Step */
.step-indicator.completed .step-number {
    background: var(--gold-100);
    border-color: var(--gold-400);
    color: var(--gold-700);
}

.step-indicator.completed .step-label {
    color: var(--gold-600);
}

.step-indicator.completed .step-number::after {
    content: '✓';
    font-size: 14px;
}

/* ==========================================================================
   WIZARD FORM
   ========================================================================== */
.wizard-form {
    width: 100%;
}

/* Step Panels */
.step-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.step-panel.active {
    display: block;
}

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

/* Form Section */
.form-section {
    margin-bottom: var(--space-lg);
}

.form-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: var(--space-md);
}

.form-section-icon {
    font-size: 20px;
}

.form-section-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
}

/* Form Grid */
.form-grid {
    display: grid;
    gap: var(--space-md);
}

/* Input Group */
.input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.input-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-700);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.currency-symbol {
    position: absolute;
    left: 14px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gold-600);
    z-index: 1;
}

.input-field {
    width: 100%;
    padding: 12px 14px;
    padding-left: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-800);
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.input-field:focus {
    outline: none;
    background: var(--white);
    border-color: var(--gold-400);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.input-field::placeholder {
    color: var(--gray-400);
}

/* ==========================================================================
   WIZARD NAVIGATION BUTTONS
   ========================================================================== */
.wizard-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--gray-100);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-back {
    background: var(--white);
    color: var(--gray-600);
    border: 1px solid var(--gray-300);
}

.btn-back:hover {
    background: var(--gray-50);
    border-color: var(--gold-400);
    color: var(--gold-700);
}

.btn-next {
    background: var(--gold-gradient-subtle);
    color: var(--white);
    box-shadow: var(--shadow-gold);
}

.btn-next:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-gold-lg);
}

.btn-submit {
    background: var(--gold-gradient-subtle);
    color: var(--white);
    box-shadow: var(--shadow-gold);
    width: auto;
}

.btn-submit:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-gold-lg);
}

.btn-icon {
    font-size: 14px;
}

/* ==========================================================================
   REVIEW SUMMARY
   ========================================================================== */
.review-summary {
    background: var(--gold-gradient-soft);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-top: var(--space-lg);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: var(--space-md);
}

.review-icon {
    font-size: 18px;
}

.review-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-800);
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.review-item {
    background: var(--white);
    padding: 12px;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-100);
}

.review-item-label {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-bottom: 4px;
}

.review-item-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
}

.review-item-value.positive {
    color: var(--success);
}

.review-item-value.negative {
    color: var(--danger);
}

/* ==========================================================================
   LOADING STATE
   ========================================================================== */
.hidden {
    display: none !important;
}

.loading {
    text-align: center;
    padding: var(--space-3xl) var(--space-xl);
}

.loading-spinner {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-xl);
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid transparent;
}

.spinner-ring:nth-child(1) {
    border-top-color: var(--gold-500);
    animation: spin 1.2s linear infinite;
}

.spinner-ring:nth-child(2) {
    border-right-color: var(--gold-300);
    animation: spin 1.6s linear infinite reverse;
}

.spinner-ring:nth-child(3) {
    border-bottom-color: var(--gold-200);
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 8px;
}

.loading-subtitle {
    font-size: 0.9rem;
    color: var(--gray-500);
}

/* ==========================================================================
   RESULTS SECTION - HIGH CONTRAST PREMIUM DESIGN
   ========================================================================== */
.results-section {
    background: linear-gradient(180deg, #faf8f3 0%, #f5f0e6 100%);
    padding: var(--space-3xl) var(--space-xl);
    position: relative;
    z-index: 1;
}

.results-container {
    max-width: 1000px;
    margin: 0 auto;
}

.results-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.results-header-badge {
    display: inline-block;
    background: linear-gradient(135deg, #c9a227, #e8d48b);
    color: #3d2e00;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
}

.results-title {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 700;
    color: #2b2b2b;
    margin-bottom: 8px;
}

.results-subtitle {
    font-size: 1rem;
    color: #6b5400;
    font-weight: 500;
}

/* ==========================================================================
   SCORE HIGHLIGHT CARD - BIG SCORE DISPLAY
   ========================================================================== */
.score-highlight-card {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #fff9e6 0%, #fff4cc 100%);
    border-left: 8px solid;
    border-image: linear-gradient(180deg, #c9a227, #a08020) 1;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    padding: var(--space-xl) var(--space-2xl);
    margin-bottom: var(--space-2xl);
    box-shadow: 0 8px 32px rgba(201, 162, 39, 0.2);
    gap: var(--space-xl);
}

.score-highlight-left {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.score-number {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 700;
    color: #2b2b2b;
    line-height: 1;
}

.score-max {
    font-size: 1.5rem;
    font-weight: 600;
    color: #6b5400;
}

.score-highlight-right {
    flex: 1;
}

.score-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #4a3a00;
    margin-bottom: 8px;
}

.score-status {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    display: inline-block;
}

.score-status.status-excellent {
    background: #d4edda;
    color: #0d5a1f;
}

.score-status.status-good {
    background: #d1ecf1;
    color: #0c5460;
}

.score-status.status-moderate {
    background: #fff3cd;
    color: #856404;
}

.score-status.status-poor {
    background: #f8d7da;
    color: #721c24;
}

.score-bar-container {
    width: 100%;
    max-width: 300px;
}

.score-bar-track {
    height: 10px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

.score-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #c9a227, #e8d48b);
    border-radius: 5px;
    width: 0%;
    transition: width 1.5s ease-out;
}

/* ==========================================================================
   RESULTS GRID - HIGH CONTRAST CARDS
   ========================================================================== */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.result-card {
    background: linear-gradient(180deg, #ffffff 0%, #fdf6e3 100%);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-base);
    border: 1px solid rgba(201, 162, 39, 0.15);
}

.result-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* Indicator Strip */
.result-card-indicator {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #c9a227, #e8d48b);
}

.result-card-indicator.indicator-good {
    background: linear-gradient(90deg, #0d7d36, #28a745);
}

.result-card-indicator.indicator-moderate {
    background: linear-gradient(90deg, #b68c00, #ffc107);
}

.result-card-indicator.indicator-poor {
    background: linear-gradient(90deg, #b03a2e, #dc3545);
}

/* Card Icon */
.result-card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #fff9e6, #fdf0d0);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    color: #9a7b25;
    border: 1px solid rgba(201, 162, 39, 0.2);
}

.result-card-content {
    flex: 1;
}

.result-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #5a5a5a;
    display: block;
    margin-bottom: 8px;
}

.result-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2b2b2b;
    margin-bottom: 4px;
    line-height: 1.2;
}

.result-value-large {
    font-size: 2rem;
}

.result-value.result-positive { color: #0d7d36; }
.result-value.result-neutral { color: #b68c00; }
.result-value.result-negative { color: #b03a2e; }

.result-description {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.4;
}

/* Badge */
.result-badge {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-badge.badge-good {
    background: #d4edda;
    color: #0d5a1f;
}

.result-badge.badge-moderate {
    background: #fff3cd;
    color: #6b4a00;
}

.result-badge.badge-poor {
    background: #f8d7da;
    color: #8a0000;
}

/* Featured Card */
.result-card-featured {
    background: linear-gradient(135deg, #fff9e6 0%, #fef3d4 100%);
    border: 2px solid rgba(201, 162, 39, 0.3);
}

/* ==========================================================================
   FLOWER CHART - HIGH CONTRAST STYLING
   ========================================================================== */
.chart-section {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: var(--space-2xl);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(201, 162, 39, 0.1);
}

.chart-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #c9a227, #e8d48b, #c9a227);
}

.chart-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.chart-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: #3d3100;
    margin-bottom: 4px;
}

.chart-subtitle {
    font-size: 0.9rem;
    color: #6b5400;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Flower Chart Container */
.flower-chart-container {
    position: relative;
    max-width: 400px;
    height: 400px;
    margin: 0 auto;
    padding: var(--space-lg);
}

/* Strong Glow effect behind chart */
.flower-chart-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.25) 0%, rgba(201, 162, 39, 0.1) 40%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.flower-chart-container canvas {
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 20px rgba(201, 162, 39, 0.3));
}

/* Flower Legend */
.flower-legend {
    display: flex;
    justify-content: center;
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 2px solid rgba(201, 162, 39, 0.2);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.legend-dot {
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, #c9a227, #e8d48b);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(201, 162, 39, 0.5);
}

.legend-text {
    font-size: 0.9rem;
    color: #4a3a00;
    font-weight: 600;
}

/* ==========================================================================
   DETAILED REPORT - HIGH CONTRAST HIERARCHY
   ========================================================================== */
.detailed-report {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: var(--space-2xl);
    border: 1px solid rgba(201, 162, 39, 0.1);
}

.report-header {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.report-badge {
    font-size: 2.5rem;
}

.report-header-content {
    flex: 1;
}

.report-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: #3d3100;
    margin-bottom: 4px;
}

.report-subtitle {
    font-size: 1rem;
    color: #6b5400;
    margin-bottom: var(--space-sm);
    font-weight: 500;
}

.report-meta {
    font-size: 0.85rem;
    color: #666;
}

.report-date-value {
    font-weight: 600;
    color: #4a3a00;
}

.report-divider {
    height: 3px;
    background: linear-gradient(90deg, #c9a227, #e8d48b, transparent);
    margin-bottom: var(--space-xl);
    border-radius: 2px;
}

/* Report Sections */
.report-section {
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.report-section:last-of-type {
    border-bottom: none;
}

.report-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: var(--space-lg);
}

.report-section-indicator {
    width: 5px;
    height: 28px;
    background: linear-gradient(180deg, #c9a227, #e8d48b);
    border-radius: 3px;
}

.report-section-indicator-warning {
    background: linear-gradient(180deg, #e3b341, #ffc107);
}

.report-section-indicator-success {
    background: linear-gradient(180deg, #0d7d36, #28a745);
}

.report-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #3d3100;
}

.report-content {
    padding-left: 17px;
    color: #444;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Financial Metrics Grid */
.financial-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
}

.metric-item {
    background: linear-gradient(180deg, #fdfbf5, #faf5e8);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    border-left: 4px solid #c9a227;
}

.metric-label {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 4px;
    font-weight: 500;
}

.metric-value {
    font-size: 1.15rem;
    font-weight: 700;
    color: #2b2b2b;
}

/* Problem Analysis - HIGH CONTRAST */
.problem-analysis {
    padding-left: 17px;
}

.problem-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: var(--space-md);
    background: #fff0f0;
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
    border-left: 4px solid #dc3545;
}

.problem-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.problem-text {
    color: #5a1a1a;
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 500;
}

/* Solution Recommendations - HIGH CONTRAST */
.solution-recommendations {
    padding-left: 17px;
}

.solution-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: var(--space-md);
    background: #e8f5e9;
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
    border-left: 4px solid #28a745;
}

.solution-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.solution-text {
    color: #1a4a1a;
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 500;
}

/* Insight Boxes - For Dynamic Content */
.insight-box {
    padding: var(--space-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
    font-weight: 500;
    line-height: 1.6;
}

.insight-box.insight-danger {
    background: #ffe5e5;
    border-left: 4px solid #ff6b6b;
    color: #8a0000;
}

.insight-box.insight-warning {
    background: #fff4d4;
    border-left: 4px solid #e3b341;
    color: #6b4a00;
}

.insight-box.insight-good {
    background: #e4f8e8;
    border-left: 4px solid #3cb371;
    color: #0e5a1f;
}

/* Islamic Quote */
.islamic-quote {
    text-align: center;
    padding: var(--space-2xl);
    background: linear-gradient(135deg, #fff9e6, #fef3d4);
    border-radius: var(--radius-lg);
    margin-top: var(--space-xl);
    border: 1px solid rgba(201, 162, 39, 0.2);
}

.quote-ornament {
    color: #c9a227;
    font-size: 1.75rem;
}

.quote-arabic {
    font-family: var(--font-arabic);
    font-size: 1.6rem;
    color: #5a4800;
    margin: var(--space-md) 0;
    line-height: 2;
}

.quote-translation {
    font-style: italic;
    color: #4a3a00;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: var(--space-sm);
}

.quote-reference {
    font-size: 0.9rem;
    color: #6b5400;
    font-weight: 600;
}

/* ==========================================================================
   EXPORT SECTION - HIGH CONTRAST CTA
   ========================================================================== */
.export-section {
    background: linear-gradient(180deg, #ffffff, #fdfbf5);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
    border: 1px solid rgba(201, 162, 39, 0.15);
}

.export-header {
    margin-bottom: var(--space-xl);
}

.export-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: #3d3100;
    margin-bottom: 8px;
}

.export-subtitle {
    font-size: 0.95rem;
    color: #666;
}

.btn-group {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

/* Dark Outline Button */
.btn-outline-dark {
    background: var(--white);
    color: #3d3100;
    border: 2px solid #c9a227;
    font-weight: 600;
}

.btn-outline-dark:hover {
    background: #fff9e6;
    border-color: #a08020;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 162, 39, 0.2);
}

/* WhatsApp Button */
.btn-whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: var(--white);
    font-weight: 600;
    border: none;
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

/* Consultation Card */
.consultation-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #fff9e6, #fef3d4);
    border: 2px solid rgba(201, 162, 39, 0.25);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.consultation-content {
    text-align: left;
}

.consultation-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #3d3100;
    margin-bottom: 4px;
}

.consultation-text {
    font-size: 0.9rem;
    color: #5a4a00;
}

/* CTA Gold Button - HIGH CONTRAST */
.btn-cta-gold {
    background: linear-gradient(135deg, #c9a227, #e8d48b);
    color: #1a1a1a;
    padding: 16px 32px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all var(--transition-base);
    box-shadow: 0 6px 24px rgba(201, 162, 39, 0.35);
    border: 2px solid #a08020;
}

.btn-cta-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(201, 162, 39, 0.45);
    background: linear-gradient(135deg, #b8922a, #d4c070);
}

/* Legacy Button Styles - Keep for compatibility */
.btn-outline {
    background: var(--white);
    color: #3d3100;
    border: 2px solid #c9a227;
}

.btn-outline:hover {
    background: #fff9e6;
    border-color: #a08020;
}

.btn-success {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: var(--white);
}

.btn-success:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.whatsapp-consultation {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: var(--white);
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition-base);
}

.whatsapp-consultation:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* ==========================================================================
   EDUCATIONAL SECTION
   ========================================================================== */
.education-section {
    background: var(--white);
    padding: var(--space-3xl) var(--space-xl);
    position: relative;
    z-index: 1;
}

.education-container {
    max-width: 1000px;
    margin: 0 auto;
}

.education-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.education-badge {
    font-size: 2rem;
    display: block;
    margin-bottom: var(--space-md);
}

.education-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.education-subtitle {
    font-size: 0.95rem;
    color: var(--gray-500);
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-lg);
}

.guide-card {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all var(--transition-base);
}

.guide-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.guide-icon-wrapper {
    width: 48px;
    height: 48px;
    background: var(--gold-gradient-soft);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
}

.guide-icon {
    font-size: 24px;
}

.guide-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: var(--space-sm);
}

.guide-content {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.luxury-footer {
    background: var(--gray-900);
    color: var(--white);
    padding: var(--space-2xl) var(--space-xl);
    position: relative;
    z-index: 1;
}

.footer-divider {
    height: 1px;
    background: var(--gold-gradient-line);
    margin-bottom: var(--space-xl);
}

.footer-content {
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: var(--space-md);
}

.footer-logo {
    color: var(--gold-500);
    font-size: 1.5rem;
}

.footer-brand-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gold-400);
}

.footer-text {
    font-size: 0.9rem;
    color: var(--gray-400);
    margin-bottom: var(--space-sm);
}

.footer-copyright {
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* ==========================================================================
   RESPONSIVE - TABLET & MOBILE
   ========================================================================== */
@media (max-width: 1024px) {
    .financial-wrapper {
        flex-direction: column;
    }
    
    .left-hero {
        width: 100%;
        height: auto;
        position: relative;
        padding: var(--space-2xl) var(--space-lg);
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-features {
        align-items: center;
    }
    
    .right-wizard {
        width: 100%;
        padding: var(--space-lg);
        padding-top: 0;
    }
    
    .wizard-card {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .step-label {
        display: none;
    }
    
    .step-indicator.active .step-label {
        display: block;
    }
    
    .step-progress-bar {
        left: 25px;
        right: 25px;
    }
    
    .wizard-nav {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .btn-back,
    .btn-next,
    .btn-submit {
        width: 100%;
        justify-content: center;
    }
    
    .review-grid {
        grid-template-columns: 1fr;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .consultation-card {
        flex-direction: column;
        text-align: center;
    }
    
    .consultation-content {
        text-align: center;
    }
    
    .btn-group {
        flex-direction: column;
    }
    
    .btn-group .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .wizard-card {
        padding: var(--space-lg);
    }
    
    .step-number {
        width: 26px;
        height: 26px;
        font-size: 11px;
    }
    
    .results-title {
        font-size: 1.5rem;
    }
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */
.text-success { color: var(--success) !important; }
.text-danger { color: var(--danger) !important; }
.text-warning { color: var(--warning) !important; }
.text-gold { color: var(--gold-600) !important; }