/* Calculator Page Specific Styles */
/* Note: Common section styles (titles, grids, cards) are in common-sections.css */

/* Progress Bar (specific to Life Path Calculator) */
.progress-container {
    margin-bottom: var(--space-3xl);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    margin-bottom: var(--space-md);
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-radius: 20px;
    transition: width 0.4s ease;
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.progress-text {
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    text-align: center;
    font-weight: var(--font-weight-medium);
}

/* Life Path Guide Section (page-specific) */
.life-path-guide-section {
    padding: var(--space-6xl) 0;
    background: linear-gradient(180deg, rgba(6, 18, 45, 0.95) 0%, rgba(2, 8, 23, 0.98) 100%);
    position: relative;
}

/* Override numbers-grid for Life Path page to show 4 columns */
.life-path-guide-section .numbers-grid {
    grid-template-columns: repeat(4, 1fr);
}

/* Statistics Section (specific to Life Path page) */
.statistics-section {
    padding: var(--space-8xl) 0;
    background: transparent;
    position: relative;
}

.statistics-section .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.statistics-section .section-title {
    font-family: sans-serif;
    font-size: clamp(32px, 4vw, 42px);
    font-weight: 700;
    color: white !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
    letter-spacing: 2px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.stats-subtitle {
    font-family: sans-serif;
    font-size: clamp(16px, 2vw, 18px);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* Statistics Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

/* Grid positioning for second row (Numbers 6-9) */
.stats-grid .number-card:nth-child(6) { grid-column: 1; }
.stats-grid .number-card:nth-child(7) { grid-column: 2; }
.stats-grid .number-card:nth-child(8) { grid-column: 4; }
.stats-grid .number-card:nth-child(9) { grid-column: 5; }

/* Grid positioning for third row (Numbers 11, 22, 33) */
.stats-grid .number-card:nth-child(10) { grid-column: 2; }
.stats-grid .number-card:nth-child(11) { grid-column: 3; }
.stats-grid .number-card:nth-child(12) { grid-column: 4; }

/* Number Cards in Stats Section */
.stats-grid .number-card {
    background: linear-gradient(135deg, rgba(97, 97, 125, 0.15) 0%, rgba(97, 97, 125, 0.05) 100%);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.stats-grid .number-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.15);
}

.stats-grid .number-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 50%,
        rgba(255, 255, 255, 0.05) 100%
    );
    pointer-events: none;
}

/* Number Digits in Stats */
.stats-grid .digit {
    font-family: sans-serif;
    font-size: clamp(40px, 5vw, 56px);
    font-weight: 900;
    margin-bottom: 15px;
    line-height: 1;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

/* Unique Colors for Each Number */
.stats-grid .number-1 .digit { color: #FFE5FE; text-shadow: 0 0 20px rgba(255, 229, 254, 0.5); }
.stats-grid .number-2 .digit { color: #7CFCEB; text-shadow: 0 0 20px rgba(124, 252, 235, 0.5); }
.stats-grid .number-3 .digit { color: #5CFEEE; text-shadow: 0 0 20px rgba(92, 254, 238, 0.5); }
.stats-grid .number-4 .digit { color: #E5FFE5; text-shadow: 0 0 20px rgba(229, 255, 229, 0.5); }
.stats-grid .number-5 .digit { color: #FBCD6C; text-shadow: 0 0 20px rgba(251, 205, 108, 0.5); }
.stats-grid .number-6 .digit { color: #FEE7FD; text-shadow: 0 0 20px rgba(254, 231, 253, 0.5); }
.stats-grid .number-7 .digit { color: #5EDDFD; text-shadow: 0 0 20px rgba(94, 221, 253, 0.5); }
.stats-grid .number-8 .digit { color: #CECDFE; text-shadow: 0 0 20px rgba(206, 205, 254, 0.5); }
.stats-grid .number-9 .digit { color: #FFDBFE; text-shadow: 0 0 20px rgba(255, 219, 254, 0.5); }
.stats-grid .number-11 .digit { color: #64D3FD; text-shadow: 0 0 20px rgba(100, 211, 253, 0.5); }
.stats-grid .number-22 .digit { color: #FCE1BC; text-shadow: 0 0 20px rgba(252, 225, 188, 0.5); }
.stats-grid .number-33 .digit { color: #E1C7FE; text-shadow: 0 0 20px rgba(225, 199, 254, 0.5); }

/* Enhanced Hover Effect for Digits */
.stats-grid .number-card:hover .digit {
    transform: scale(1.05);
}

.stats-grid .number-1:hover .digit { text-shadow: 0 0 30px rgba(255, 229, 254, 0.8); }
.stats-grid .number-2:hover .digit { text-shadow: 0 0 30px rgba(124, 252, 235, 0.8); }
.stats-grid .number-3:hover .digit { text-shadow: 0 0 30px rgba(92, 254, 238, 0.8); }
.stats-grid .number-4:hover .digit { text-shadow: 0 0 30px rgba(229, 255, 229, 0.8); }
.stats-grid .number-5:hover .digit { text-shadow: 0 0 30px rgba(251, 205, 108, 0.8); }
.stats-grid .number-6:hover .digit { text-shadow: 0 0 30px rgba(254, 231, 253, 0.8); }
.stats-grid .number-7:hover .digit { text-shadow: 0 0 30px rgba(94, 221, 253, 0.8); }
.stats-grid .number-8:hover .digit { text-shadow: 0 0 30px rgba(206, 205, 254, 0.8); }
.stats-grid .number-9:hover .digit { text-shadow: 0 0 30px rgba(255, 219, 254, 0.8); }
.stats-grid .number-11:hover .digit { text-shadow: 0 0 30px rgba(100, 211, 253, 0.8); }
.stats-grid .number-22:hover .digit { text-shadow: 0 0 30px rgba(252, 225, 188, 0.8); }
.stats-grid .number-33:hover .digit { text-shadow: 0 0 30px rgba(225, 199, 254, 0.8); }

/* Card Title and Description in Stats */
.stats-grid .card-title {
    font-family: sans-serif;
    font-size: clamp(14px, 2vw, 16px);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 8px;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

.stats-grid .card-description {
    font-family: sans-serif;
    font-size: clamp(11px, 1.5vw, 13px);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
    margin: 0 0 15px 0;
    position: relative;
    z-index: 1;
}

/* Stat Badge */
.stat-badge {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    padding: 3px 8px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: var(--color-text-primary);
    font-size: 0.65rem;
    font-weight: var(--font-weight-bold);
    border-radius: var(--radius-lg);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 2;
}

.stat-badge.master {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
}

.stat-badge.rarest {
    background: linear-gradient(135deg, #f59e0b 0%, #dc2626 100%);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

/* Stat Percentage */
.stat-percentage {
    font-family: sans-serif;
    font-size: clamp(16px, 2.5vw, 20px);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 12px;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

/* Stat Count */
.stat-count {
    font-family: sans-serif;
    font-size: clamp(12px, 1.8vw, 14px);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin: 0 0 15px 0;
    position: relative;
    z-index: 1;
}

/* Stat Bar Container */
.stat-bar-container {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    margin-top: auto;
}

/* Charts Container */
.charts-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4xl);
    margin-bottom: var(--space-6xl);
    max-width: 100%;
    overflow: hidden;
}

.chart-wrapper {
    background: linear-gradient(135deg, rgba(97, 97, 125, 0.15) 0%, rgba(97, 97, 125, 0.05) 100%);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: var(--space-3xl);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    width: 100%;
    min-width: 0;
    overflow: visible;
}

.chart-wrapper:hover {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.chart-title {
    font-family: sans-serif;
    font-size: clamp(18px, 2.5vw, 22px);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    text-align: center;
    margin-bottom: var(--space-3xl);
    letter-spacing: 0.5px;
}

/* Bar Chart */
.bar-chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: clamp(6px, 1.2vw, 12px);
    height: 350px;
    padding: var(--space-lg) 0;
    position: relative;
    width: 100%;
    min-width: 0;
}

.chart-bar {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: var(--space-sm);
    position: relative;
    height: 100%;
}

.bar-fill {
    width: 100%;
    background: linear-gradient(180deg, var(--bar-color) 0%, rgba(var(--bar-color-rgb), 0.7) 100%);
    border-radius: 8px 8px 0 0;
    position: relative;
    transition: all 0.5s ease;
    box-shadow: 0 -4px 15px rgba(var(--bar-color-rgb), 0.3);
}

/* Calculate heights based on percentage (max is 11.17%) */
.chart-bar[data-percentage="11.17"] .bar-fill { height: 100%; }
.chart-bar[data-percentage="11.16"] .bar-fill { height: 99.91%; }
.chart-bar[data-percentage="11.14"] .bar-fill { height: 99.73%; }
.chart-bar[data-percentage="11.10"] .bar-fill { height: 99.37%; }
.chart-bar[data-percentage="11.04"] .bar-fill { height: 98.84%; }
.chart-bar[data-percentage="10.77"] .bar-fill { height: 96.42%; }
.chart-bar[data-percentage="7.64"] .bar-fill { height: 68.40%; }
.chart-bar[data-percentage="6.03"] .bar-fill { height: 53.98%; }
.chart-bar[data-percentage="5.03"] .bar-fill { height: 45.03%; }
.chart-bar[data-percentage="3.46"] .bar-fill { height: 30.98%; }
.chart-bar[data-percentage="0.30"] .bar-fill { height: 2.69%; min-height: 15px; }

.chart-bar[data-number="1"] .bar-fill {
    --bar-color: #FFE5FE;
    --bar-color-rgb: 255, 229, 254;
    background: linear-gradient(180deg, #FFE5FE 0%, rgba(255, 229, 254, 0.7) 100%);
}

.chart-bar[data-number="2"] .bar-fill {
    --bar-color: #7CFCEB;
    --bar-color-rgb: 124, 252, 235;
    background: linear-gradient(180deg, #7CFCEB 0%, rgba(124, 252, 235, 0.7) 100%);
}

.chart-bar[data-number="3"] .bar-fill {
    --bar-color: #5CFEEE;
    --bar-color-rgb: 92, 254, 238;
    background: linear-gradient(180deg, #5CFEEE 0%, rgba(92, 254, 238, 0.7) 100%);
}

.chart-bar[data-number="4"] .bar-fill {
    --bar-color: #E5FFE5;
    --bar-color-rgb: 229, 255, 229;
    background: linear-gradient(180deg, #E5FFE5 0%, rgba(229, 255, 229, 0.7) 100%);
}

.chart-bar[data-number="5"] .bar-fill {
    --bar-color: #FBCD6C;
    --bar-color-rgb: 251, 205, 108;
    background: linear-gradient(180deg, #FBCD6C 0%, rgba(251, 205, 108, 0.7) 100%);
}

.chart-bar[data-number="6"] .bar-fill {
    --bar-color: #FEE7FD;
    --bar-color-rgb: 254, 231, 253;
    background: linear-gradient(180deg, #FEE7FD 0%, rgba(254, 231, 253, 0.7) 100%);
}

.chart-bar[data-number="7"] .bar-fill {
    --bar-color: #5EDDFD;
    --bar-color-rgb: 94, 221, 253;
    background: linear-gradient(180deg, #5EDDFD 0%, rgba(94, 221, 253, 0.7) 100%);
}

.chart-bar[data-number="8"] .bar-fill {
    --bar-color: #CECDFE;
    --bar-color-rgb: 206, 205, 254;
    background: linear-gradient(180deg, #CECDFE 0%, rgba(206, 205, 254, 0.7) 100%);
}

.chart-bar[data-number="9"] .bar-fill {
    --bar-color: #FFDBFE;
    --bar-color-rgb: 255, 219, 254;
    background: linear-gradient(180deg, #FFDBFE 0%, rgba(255, 219, 254, 0.7) 100%);
}

.chart-bar[data-number="11"] .bar-fill {
    --bar-color: #64D3FD;
    --bar-color-rgb: 100, 211, 253;
    background: linear-gradient(180deg, #64D3FD 0%, rgba(100, 211, 253, 0.7) 100%);
}

.chart-bar[data-number="22"] .bar-fill {
    --bar-color: #FCE1BC;
    --bar-color-rgb: 252, 225, 188;
    background: linear-gradient(180deg, #FCE1BC 0%, rgba(252, 225, 188, 0.7) 100%);
}

.chart-bar[data-number="33"] .bar-fill {
    --bar-color: #E1C7FE;
    --bar-color-rgb: 225, 199, 254;
    background: linear-gradient(180deg, #E1C7FE 0%, rgba(225, 199, 254, 0.7) 100%);
}

.bar-fill:hover {
    transform: scaleY(1.02);
    box-shadow: 0 -6px 20px rgba(var(--bar-color-rgb), 0.5);
}

.bar-label {
    font-family: sans-serif;
    font-size: clamp(11px, 1.5vw, 14px);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 1;
}

.bar-percentage {
    font-family: sans-serif;
    font-size: clamp(9px, 1.2vw, 11px);
    color: rgba(255, 255, 255, 0.85);
    white-space: nowrap;
    font-weight: 600;
    position: relative;
    z-index: 1;
    order: -1;
}

/* Pie Chart */
.pie-chart-container {
    display: flex;
    gap: var(--space-3xl);
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 100%;
}

.pie-chart {
    width: 280px;
    height: 280px;
    max-width: 100%;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.2));
}

.pie-slice {
    transition: all 0.3s ease;
    cursor: pointer;
}

.pie-slice:hover {
    opacity: 0.8;
    filter: brightness(1.2);
}

.pie-slice-smallest {
    filter: drop-shadow(0 0 8px rgba(255, 92, 92, 0.8)) brightness(1.15);
    stroke: rgba(255, 92, 92, 0.6);
    stroke-width: 1.5;
}

.pie-slice-smallest:hover {
    filter: drop-shadow(0 0 12px rgba(255, 92, 92, 1)) brightness(1.3);
}

.pie-legend {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-family: sans-serif;
    font-size: clamp(11px, 1.4vw, 13px);
    color: rgba(255, 255, 255, 0.85);
    transition: all 0.2s ease;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
}

.legend-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 1);
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.stat-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-radius: 20px;
    transition: width 1s ease;
    position: relative;
}

.stat-bar.master {
    background: linear-gradient(90deg, #8b5cf6 0%, #6d28d9 100%);
}

.stat-bar.common {
    background: linear-gradient(90deg, #22c55e 0%, #16a34a 100%);
}

.stat-bar.rare {
    background: linear-gradient(90deg, #fb923c 0%, #f97316 100%);
}

/* Insights Section */
.insights-section {
    margin-bottom: var(--space-6xl);
}

.insights-title {
    font-family: sans-serif;
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3xl);
}

.insight-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--space-3xl);
    transition: all var(--transition-normal);
}

.insight-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.insight-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: var(--space-lg);
}

.insight-card h4 {
    font-family: var(--font-secondary);
    font-size: 1.3rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
    text-align: center;
    margin-bottom: var(--space-lg);
}

.insight-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.insight-card li {
    font-family: var(--font-secondary);
    font-size: 1rem;
    color: var(--color-text-secondary);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

/* Methodology Section */
.methodology-section {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--space-4xl);
    margin-bottom: var(--space-4xl);
}

.methodology-title {
    font-family: sans-serif;
    font-size: 1.8rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.methodology-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.methodology-item {
    font-family: var(--font-secondary);
    font-size: 1rem;
    color: var(--color-text-secondary);
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-lg);
    line-height: 1.6;
}

.methodology-item strong {
    color: var(--color-text-primary);
    display: block;
    margin-bottom: var(--space-xs);
}

/* Sources Section */
.sources-section {
    margin-bottom: var(--space-4xl);
}

.sources-title {
    font-family: sans-serif;
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.sources-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    max-width: 700px;
    margin: 0 auto;
}

.sources-list li {
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    color: var(--color-text-secondary);
}

.sources-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    transition: all var(--transition-normal);
    background: linear-gradient(135deg, rgba(97, 97, 125, 0.15) 0%, rgba(97, 97, 125, 0.05) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-xl);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.sources-list a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.05) 0%,
        transparent 50%,
        rgba(255, 255, 255, 0.02) 100%
    );
    pointer-events: none;
}

.sources-list a::after {
    content: '→';
    font-size: 1.8rem;
    color: rgba(59, 130, 246, 0.7);
    transition: all var(--transition-normal);
    margin-left: var(--space-md);
    font-weight: 900;
    -webkit-text-stroke: 1.5px rgba(59, 130, 246, 0.5);
}

.sources-list a:hover {
    border-color: rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0.05) 100%);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}

.sources-list a:hover::after {
    color: rgba(59, 130, 246, 1);
    transform: translateX(5px);
}

/* Disclaimer Section */
.disclaimer-section {
    background: rgba(251, 146, 60, 0.1);
    border: 1px solid rgba(251, 146, 60, 0.3);
    border-radius: var(--radius-xl);
    padding: var(--space-3xl);
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
}

.disclaimer-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.disclaimer-section p {
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin: 0;
}

.disclaimer-section strong {
    color: var(--color-text-primary);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 22px;
    }

    /* Reset grid positioning for smaller screens */
    .stats-grid .number-card:nth-child(6) { grid-column: auto; }
    .stats-grid .number-card:nth-child(7) { grid-column: auto; }
    .stats-grid .number-card:nth-child(8) { grid-column: auto; }
    .stats-grid .number-card:nth-child(9) { grid-column: auto; }
    .stats-grid .number-card:nth-child(10) { grid-column: auto; }
    .stats-grid .number-card:nth-child(11) { grid-column: auto; }
    .stats-grid .number-card:nth-child(12) { grid-column: auto; }
}

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

    /* Override for Life Path page */
    .life-path-guide-section .numbers-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-xl);
    }

    .charts-container {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }

    .pie-chart-container {
        flex-direction: column;
    }

    .pie-legend {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 900px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .statistics-section .section-title {
        font-size: 32px;
        letter-spacing: 1px;
    }

    .stats-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    /* Life Path specific sections */
    .life-path-guide-section,
    .statistics-section {
        padding: var(--space-4xl) 0;
    }

    /* Override for Life Path page */
    .life-path-guide-section .numbers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bar-chart {
        height: 250px;
        gap: 5px;
    }

    .chart-wrapper {
        padding: var(--space-xl);
    }

    .bar-percentage {
        font-size: 9px;
    }

    .bar-label {
        font-size: 11px;
    }

    .pie-chart-container {
        flex-direction: column;
        gap: var(--space-xl);
    }

    .pie-chart {
        width: 200px;
        height: 200px;
    }

    .pie-legend {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .legend-item {
        font-size: 11px;
    }

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

    .stats-grid .number-card {
        padding: 20px;
    }

    .stats-grid .digit {
        font-size: 40px;
        margin-bottom: 12px;
    }

    .stat-badge {
        font-size: 0.55rem;
        padding: 2px 6px;
        top: 8px;
        right: 8px;
    }

    .stat-percentage {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .stat-count {
        font-size: 12px;
    }

    .insights-title,
    .sources-title {
        font-size: 1.5rem;
    }

    .disclaimer-section {
        padding: var(--space-3xl) var(--space-2xl);
    }
}

@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stats-grid .number-card {
        padding: 20px;
    }

    .stats-grid .digit {
        font-size: 40px;
        margin-bottom: 12px;
    }

    .stat-percentage {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .stat-count {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .calculator-page-title {
        font-size: 1.8rem;
        margin-bottom: var(--space-2xl);
    }

    .charts-container {
        gap: var(--space-xl);
        padding: 0;
    }

    .bar-chart {
        height: 200px;
        gap: 4px;
        overflow-x: auto;
    }

    .chart-wrapper {
        padding: var(--space-md);
    }

    .chart-title {
        font-size: 14px;
        margin-bottom: var(--space-md);
    }

    .bar-percentage {
        font-size: 8px;
    }

    .bar-label {
        font-size: 10px;
    }

    .pie-chart-container {
        flex-direction: column;
        gap: var(--space-lg);
    }

    .pie-chart {
        width: 160px;
        height: 160px;
    }

    .pie-legend {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-xs);
    }

    .legend-item {
        font-size: 9px;
        padding: 2px 4px;
    }

    .legend-color {
        width: 10px;
        height: 10px;
    }

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

    .step-card {
        padding: var(--space-3xl) var(--space-2xl);
    }

    .number-card {
        padding: var(--space-2xl);
    }

    .statistics-section .section-title {
        font-size: 28px;
    }

    .stats-subtitle {
        font-size: 15px;
    }

    .stats-grid .number-card {
        padding: 18px;
    }

    .stats-grid .digit {
        font-size: 36px;
    }

    .stat-badge {
        font-size: 0.5rem;
        padding: 2px 5px;
        top: 6px;
        right: 6px;
    }

    .stat-percentage {
        font-size: 15px;
    }

    .stat-count {
        font-size: 11px;
    }

    .insight-icon {
        font-size: 2.5rem;
    }

    .insight-card {
        padding: var(--space-2xl);
    }

    .insight-card h4 {
        font-size: 1.1rem;
    }

    .insight-card li {
        font-size: 0.9rem;
    }

    .sources-title {
        font-size: 1.3rem;
    }

    .sources-list a {
        font-size: 0.85rem;
    }

    .disclaimer-section {
        padding: var(--space-2xl) var(--space-lg);
        flex-direction: column;
        text-align: center;
    }

    .disclaimer-icon {
        font-size: 1.8rem;
    }

    .disclaimer-section p {
        font-size: 0.85rem;
    }
}
