
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-purple: #6A0DAD;
    --sunset-orange: #FF5733;
    --electric-blue: #2980B9;
    --rich-gold: #FFD700;
    --emerald-green: #2ECC71;
    --jet-black: #111111;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --dark-gray: #2C3E50;
    --success-green: #27AE60;
    --danger-red: #E74C3C;
    --warning-yellow: #F39C12;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--jet-black);
    background: linear-gradient(135deg, var(--light-gray) 0%, #E8F4FD 100%);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-purple);
}

.nav-logo i {
    margin-right: 0.5rem;
    color: var(--rich-gold);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-item {
    text-decoration: none;
    color: var(--jet-black);
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
}

.nav-item:hover {
    color: var(--primary-purple);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-purple);
    transition: width 0.3s ease;
}

.nav-item:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--jet-black);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--electric-blue) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grain)"/></svg>');
    opacity: 0.1;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-primary {
    background: var(--sunset-orange);
    color: white;
    box-shadow: 0 4px 20px rgba(255, 87, 51, 0.4);
}

.btn-primary:hover {
    background: #E64A19;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 87, 51, 0.5);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-purple);
    transform: translateY(-2px);
}

.btn-small {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 25px;
    background: var(--primary-purple);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-small:hover {
    background: #5A0B9A;
    transform: translateY(-1px);
}

/* Wealth Meter */
.wealth-meter {
    text-align: center;
}

.meter-title {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.meter-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: conic-gradient(var(--rich-gold) 0deg, var(--emerald-green) 120deg, var(--sunset-orange) 240deg, var(--rich-gold) 360deg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    position: relative;
    animation: rotate 10s linear infinite;
}

.meter-inner {
    width: 160px;
    height: 160px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-purple);
}

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

/* Section Styles */
.section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--jet-black);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-purple), var(--sunset-orange));
    border-radius: 2px;
}

/* Rat Race Section */
.rat-race-section {
    padding: 80px 0;
    background: white;
}

.rat-race-calculator {
    background: linear-gradient(135deg, #F8F9FA 0%, #E8F4FD 100%);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.inputs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.input-group {
    display: flex;
    flex-direction: column;
}

.input-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
}

.input-group input, .input-group select {
    padding: 1rem;
    border: 2px solid #E1E8ED;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
}

.input-group input:focus, .input-group select:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(106, 13, 173, 0.1);
}

.rat-race-results {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.escape-meter {
    text-align: center;
}

.progress-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: conic-gradient(var(--emerald-green) 0deg, #E1E8ED 0deg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem auto;
    position: relative;
}

.progress-circle span {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--jet-black);
}

.escape-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.stat-label {
    font-weight: 600;
    color: var(--dark-gray);
}

.stat-value {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--primary-purple);
}

/* Quadrant Section */
.quadrant-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--light-gray) 0%, #F0F8FF 100%);
}

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

.quadrant-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.quadrant {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.quadrant:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.quadrant.active {
    border-color: var(--primary-purple);
    box-shadow: 0 10px 30px rgba(106, 13, 173, 0.2);
}

.quadrant h3 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--primary-purple);
}

.quadrant h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

.quadrant-details {
    margin-bottom: 1.5rem;
}

.quadrant-details p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

.income-simulator {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.income-simulator input {
    padding: 0.5rem;
    border: 1px solid #E1E8ED;
    border-radius: 5px;
    font-size: 0.9rem;
}

.monthly-income {
    font-weight: 800;
    color: var(--emerald-green);
    font-size: 1.1rem;
}

.employee { border-left: 5px solid #E74C3C; }
.self-employed { border-left: 5px solid #F39C12; }
.business { border-left: 5px solid #27AE60; }
.investor { border-left: 5px solid #8E44AD; }

/* Asset Liability Section */
.asset-liability-section {
    padding: 80px 0;
    background: white;
}

.asset-liability-tracker {
    background: linear-gradient(135deg, #F8F9FA 0%, #E8F4FD 100%);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.tracker-inputs {
    margin-bottom: 3rem;
}

.input-section {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.input-section h3 {
    margin-bottom: 1.5rem;
    color: var(--dark-gray);
}

.input-section input, .input-section select {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 2px solid #E1E8ED;
    border-radius: 10px;
    font-size: 1rem;
}

.balance-dashboard {
    margin-bottom: 3rem;
}

.balance-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.balance-card {
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.asset-card {
    background: linear-gradient(135deg, var(--emerald-green), #27AE60);
}

.liability-card {
    background: linear-gradient(135deg, var(--danger-red), #C0392B);
}

.net-worth-card {
    background: linear-gradient(135deg, var(--primary-purple), #8E44AD);
}

.balance-card h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.balance-amount {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.balance-cashflow {
    font-size: 1rem;
    opacity: 0.8;
}

.balance-charts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.items-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.items-list h3 {
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.items-container {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    min-height: 200px;
}

.item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 10px;
    background: var(--light-gray);
}

.item-name {
    font-weight: 600;
}

.item-value {
    font-weight: 800;
}

.item-cashflow {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Passive Income Section */
.passive-income-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--light-gray) 0%, #F0F8FF 100%);
}

.passive-income-calculator {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.calculator-inputs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.passive-results {
    background: linear-gradient(135deg, #F8F9FA 0%, #E8F4FD 100%);
    border-radius: 15px;
    padding: 2rem;
}

.result-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.result-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.result-card h3 {
    color: var(--dark-gray);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.result-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-purple);
}

.progress-bar {
    width: 100%;
    height: 20px;
    background: #E1E8ED;
    border-radius: 10px;
    overflow: hidden;
    margin: 1rem 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--emerald-green), var(--success-green));
    border-radius: 10px;
    transition: width 0.5s ease;
}

/* Financial Literacy Section */
.financial-literacy-section {
    padding: 80px 0;
    background: white;
}

.literacy-assessment {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.quiz-container {
    background: linear-gradient(135deg, #F8F9FA 0%, #E8F4FD 100%);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.question-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.question-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--dark-gray);
}

.options-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.option {
    padding: 1rem;
    border: 2px solid #E1E8ED;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.option:hover {
    border-color: var(--primary-purple);
    background: rgba(106, 13, 173, 0.05);
}

.option.selected {
    border-color: var(--primary-purple);
    background: var(--primary-purple);
    color: white;
}

.option.correct {
    border-color: var(--emerald-green);
    background: var(--emerald-green);
    color: white;
}

.option.incorrect {
    border-color: var(--danger-red);
    background: var(--danger-red);
    color: white;
}

.literacy-score {
    background: linear-gradient(135deg, var(--primary-purple), var(--electric-blue));
    color: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    height: fit-content;
}

.score-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: conic-gradient(var(--rich-gold) 0deg, rgba(255, 255, 255, 0.3) 0deg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem auto;
    position: relative;
}

.score-circle span {
    font-size: 1.5rem;
    font-weight: 800;
}

/* Real Estate Section */
.real-estate-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--light-gray) 0%, #F0F8FF 100%);
}

.real-estate-calculator {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.property-inputs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.real-estate-results {
    background: linear-gradient(135deg, #F8F9FA 0%, #E8F4FD 100%);
    border-radius: 15px;
    padding: 2rem;
}

.roi-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.roi-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.roi-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--emerald-green);
}

/* Compound Section */
.compound-section {
    padding: 80px 0;
    background: white;
}

.compound-calculator {
    background: linear-gradient(135deg, #F8F9FA 0%, #E8F4FD 100%);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.compound-inputs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.compound-results {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.compound-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.summary-card {
    text-align: center;
    padding: 1.5rem;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--light-gray), #F0F8FF);
}

.summary-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-purple);
    margin-top: 0.5rem;
}

/* FIRE Section */
.fire-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--light-gray) 0%, #F0F8FF 100%);
}

.fire-calculator {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.fire-inputs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.fire-results {
    background: linear-gradient(135deg, #F8F9FA 0%, #E8F4FD 100%);
    border-radius: 15px;
    padding: 2rem;
}

.fire-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.fire-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.fire-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--sunset-orange);
    margin-top: 0.5rem;
}

/* Market Dashboard Section */
.market-dashboard-section {
    padding: 80px 0;
    background: white;
}

.market-dashboard {
    background: linear-gradient(135deg, #F8F9FA 0%, #E8F4FD 100%);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.market-indicators {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.indicator-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.indicator-card:hover {
    transform: translateY(-5px);
}

.indicator-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-purple);
    margin: 0.5rem 0;
}

.indicator-change {
    font-size: 0.9rem;
    font-weight: 600;
}

.indicator-change.positive { color: var(--emerald-green); }
.indicator-change.negative { color: var(--danger-red); }

.market-charts {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.economic-indicators {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.indicators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.economic-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-radius: 10px;
    background: var(--light-gray);
}

.indicator-trend.up { color: var(--emerald-green); }
.indicator-trend.down { color: var(--danger-red); }

/* Community Section */
.community-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--light-gray) 0%, #F0F8FF 100%);
}

.community-dashboard {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 1400px;
    margin: 0 auto;
}

.community-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
    margin-bottom: 2.5rem;
}

.stat-card {
    background: linear-gradient(135deg, var(--primary-purple), var(--electric-blue));
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card h3 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
    font-weight: 600;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    margin: 0.5rem 0;
}

.stat-growth {
    font-size: 0.8rem;
    opacity: 0.8;
}

.leaderboard {
    background: linear-gradient(135deg, #F8F9FA 0%, #E8F4FD 100%);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.leaderboard h3 {
    margin-bottom: 1.5rem;
    color: var(--dark-gray);
    text-align: center;
}

.leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.leader-item {
    display: grid;
    grid-template-columns: 40px 2fr 2fr 1.5fr;
    gap: 1rem;
    align-items: center;
    padding: 0.8rem 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    font-size: 0.9rem;
}

.rank {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-purple);
    text-align: center;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--rich-gold), #FFE55C);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--jet-black);
}

.name {
    font-weight: 600;
    color: var(--dark-gray);
}

.achievement {
    font-weight: 600;
    color: var(--emerald-green);
}

.growth {
    font-size: 0.8rem;
    color: var(--success-green);
    font-weight: 500;
}

.challenge-tracker {
    background: linear-gradient(135deg, var(--emerald-green), var(--success-green));
    color: white;
    border-radius: 15px;
    padding: 1.5rem;
}

/* Footer */
.footer {
    background: var(--jet-black);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3, .footer-section h4 {
    margin-bottom: 1rem;
    color: var(--rich-gold);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin: 0.5rem 0;
}

.footer-section ul li a {
    color: #CCCCCC;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--rich-gold);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--rich-gold);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1rem;
    text-align: center;
    color: #CCCCCC;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .quadrant-grid {
        grid-template-columns: 1fr;
    }
    
    .rat-race-results {
        grid-template-columns: 1fr;
    }
    
    .literacy-assessment {
        grid-template-columns: 1fr;
    }
    
    .balance-charts {
        grid-template-columns: 1fr;
    }
    
    .items-list {
        grid-template-columns: 1fr;
    }
    
    /* Monthly Challenges Mobile */
    .monthly-challenges {
        padding: 2rem 1.5rem;
    }
    
    .challenges-header h3 {
        font-size: 1.8rem;
    }
    
    .challenges-subtitle {
        font-size: 1rem;
    }
    
    .challenges-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .challenge-card {
        padding: 2rem 1.5rem;
    }
    
    .challenge-card h4 {
        font-size: 1.2rem;
        padding-right: 2rem;
    }
    
    .challenge-stats-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .stat-item {
        padding: 0.8rem;
    }
    
    .stat-number {
        font-size: 1.2rem;
    }
    
    .impact-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .impact-item {
        padding: 1.2rem;
    }
    
    .impact-number {
        font-size: 1.8rem;
    }
    
    .challenges-footer {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* Navigation Dropdown */
.nav-dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 600px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border-radius: 15px;
    padding: 2rem;
    z-index: 1000;
    border: 1px solid #E1E8ED;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.nav-dropdown:hover .dropdown-content {
    display: grid;
}

.dropdown-section h4 {
    color: var(--primary-purple);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dropdown-section a {
    display: block;
    padding: 0.5rem 0;
    color: var(--dark-gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.dropdown-section a:hover {
    color: var(--primary-purple);
    padding-left: 10px;
}

/* Business Valuation Section */
.business-valuation-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--light-gray) 0%, #F0F8FF 100%);
}

.business-valuation-calculator {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.valuation-inputs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.valuation-results {
    background: linear-gradient(135deg, #F8F9FA 0%, #E8F4FD 100%);
    border-radius: 15px;
    padding: 2rem;
}

.valuation-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Startup Runway Section */
.startup-runway-section {
    padding: 80px 0;
    background: white;
}

.startup-runway-calculator {
    background: linear-gradient(135deg, #F8F9FA 0%, #E8F4FD 100%);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.runway-inputs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.runway-results {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.runway-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* LTV/CAC Section */
.ltv-cac-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--light-gray) 0%, #F0F8FF 100%);
}

.ltv-cac-calculator {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.ltv-inputs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.ltv-results {
    background: linear-gradient(135deg, #F8F9FA 0%, #E8F4FD 100%);
    border-radius: 15px;
    padding: 2rem;
}

.ltv-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

/* Unit Economics Section */
.unit-economics-section {
    padding: 80px 0;
    background: white;
}

.unit-economics-calculator {
    background: linear-gradient(135deg, #F8F9FA 0%, #E8F4FD 100%);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.economics-inputs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.economics-results {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: start;
}

.economics-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

/* SaaS Metrics Section */
.saas-metrics-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--light-gray) 0%, #F0F8FF 100%);
}

.saas-metrics-calculator {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.saas-inputs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.saas-results {
    background: linear-gradient(135deg, #F8F9FA 0%, #E8F4FD 100%);
    border-radius: 15px;
    padding: 2rem;
}

.saas-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

/* Marketing ROI Section */
.marketing-roi-section {
    padding: 80px 0;
    background: white;
}

.marketing-roi-calculator {
    background: linear-gradient(135deg, #F8F9FA 0%, #E8F4FD 100%);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.marketing-inputs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.marketing-results {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.marketing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

/* Business Framework Section */
.business-framework-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--light-gray) 0%, #F0F8FF 100%);
}

.framework-assessor {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.framework-selector {
    margin-bottom: 3rem;
    text-align: center;
}

.framework-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.btn-framework {
    padding: 1rem 2rem;
    border: 2px solid var(--primary-purple);
    border-radius: 25px;
    background: transparent;
    color: var(--primary-purple);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-framework:hover {
    background: var(--primary-purple);
    color: white;
    transform: translateY(-2px);
}

.framework-assessment {
    background: linear-gradient(135deg, #F8F9FA 0%, #E8F4FD 100%);
    border-radius: 15px;
    padding: 2rem;
}

.framework-components {
    display: grid;
    gap: 1.5rem;
}

.framework-component {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.component-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
}

.component-rating input[type="range"] {
    flex: 1;
}

.rating-value {
    font-weight: 800;
    color: var(--primary-purple);
}

.framework-component textarea {
    width: 100%;
    min-height: 80px;
    border: 1px solid #E1E8ED;
    border-radius: 5px;
    padding: 0.5rem;
    resize: vertical;
}

/* Monthly Challenges */
.monthly-challenges {
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #F8F9FA 0%, #E8F4FD 100%);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(106, 13, 173, 0.1);
    position: relative;
    overflow: hidden;
}

.monthly-challenges::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-purple), var(--sunset-orange), var(--emerald-green));
}

.challenges-header {
    text-align: center;
    margin-bottom: 3rem;
}

.challenges-header h3 {
    color: var(--primary-purple);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
}

.challenges-subtitle {
    color: var(--dark-gray);
    font-size: 1.1rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

.challenges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.challenge-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.challenge-card.featured {
    border-color: var(--emerald-green);
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.02), white);
}

.challenge-card.upcoming {
    border-color: var(--sunset-orange);
    background: linear-gradient(135deg, rgba(255, 87, 51, 0.02), white);
}

.challenge-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.challenge-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.challenge-badge.current {
    background: var(--emerald-green);
    color: white;
}

.challenge-badge.completed {
    background: var(--primary-purple);
    color: white;
}

.challenge-badge.upcoming {
    background: var(--sunset-orange);
    color: white;
}

.challenge-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.challenge-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 1rem;
    line-height: 1.4;
    padding-right: 4rem;
}

.challenge-description {
    color: var(--dark-gray);
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.challenge-metrics {
    margin-bottom: 2rem;
}

.metric-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.metric-label {
    font-weight: 600;
    color: var(--dark-gray);
    font-size: 0.9rem;
}

.metric-value {
    font-weight: 700;
    color: var(--primary-purple);
    font-size: 0.95rem;
}

.progress-bar {
    height: 10px;
    background: #E8E8E8;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    border-radius: 12px;
    background: linear-gradient(90deg, var(--emerald-green), var(--success-green));
    transition: width 0.6s ease;
    position: relative;
}

.progress-fill.completed {
    background: linear-gradient(90deg, var(--primary-purple), #8E44AD);
}

.progress-fill.upcoming {
    background: linear-gradient(90deg, var(--sunset-orange), #E64A19);
}

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

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

.challenge-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-item {
    background: rgba(106, 13, 173, 0.05);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    border: 1px solid rgba(106, 13, 173, 0.1);
}

.stat-number {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-purple);
    display: block;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--dark-gray);
    opacity: 0.8;
    font-weight: 500;
}

.challenge-btn {
    width: 100%;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.challenge-btn.primary {
    background: linear-gradient(135deg, var(--emerald-green), var(--success-green));
    color: white;
    box-shadow: 0 4px 20px rgba(46, 204, 113, 0.3);
}

.challenge-btn.primary:hover {
    background: linear-gradient(135deg, var(--success-green), var(--emerald-green));
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(46, 204, 113, 0.4);
}

.challenge-btn.secondary {
    background: var(--primary-purple);
    color: white;
    box-shadow: 0 4px 20px rgba(106, 13, 173, 0.3);
}

.challenge-btn.secondary:hover {
    background: #5A0B9A;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(106, 13, 173, 0.4);
}

.challenge-btn.upcoming {
    background: var(--sunset-orange);
    color: white;
    box-shadow: 0 4px 20px rgba(255, 87, 51, 0.3);
}

.challenge-btn.upcoming:hover {
    background: #E64A19;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 87, 51, 0.4);
}

.challenges-footer {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(106, 13, 173, 0.1);
}

.challenge-total-impact h4 {
    text-align: center;
    color: var(--dark-gray);
    font-size: 1.4rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.impact-item {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(106, 13, 173, 0.05), rgba(46, 204, 113, 0.05));
    border-radius: 15px;
    border: 1px solid rgba(106, 13, 173, 0.1);
}

.impact-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-purple);
    margin-bottom: 0.5rem;
}

.impact-label {
    color: var(--dark-gray);
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Success Stories */
.success-stories {
    margin-bottom: 2.5rem;
}

.success-stories h3 {
    text-align: center;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.story-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 1rem;
    transition: transform 0.3s ease;
}

.story-card:hover {
    transform: translateY(-3px);
}

.story-avatar {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-purple), var(--electric-blue));
    border-radius: 50%;
    flex-shrink: 0;
}

.story-content h4 {
    color: var(--primary-purple);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.story-content p {
    margin-bottom: 1rem;
    line-height: 1.4;
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.story-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    font-size: 0.75rem;
}

.story-metrics span {
    background: var(--light-gray);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-weight: 600;
    color: var(--dark-gray);
}

/* Discussion Forum */
.discussion-forum {
    background: linear-gradient(135deg, #F8F9FA 0%, #E8F4FD 100%);
    border-radius: 15px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.discussion-forum h3 {
    text-align: center;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
}

.forum-topics {
    margin: 1.5rem 0;
}

.topic-item {
    background: white;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 0.8rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.topic-item:hover {
    transform: translateX(5px);
}

.topic-title {
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.3;
}

.topic-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
    color: #666;
    flex-wrap: wrap;
}

.discussion-forum .btn-primary {
    width: 100%;
    margin-top: 1rem;
    justify-content: center;
}

/* Metric Value Classes */
.metric-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-purple);
}

.metric-value.green { color: var(--emerald-green); }
.metric-value.orange { color: var(--warning-yellow); }
.metric-value.red { color: var(--danger-red); }

/* Tax Optimization Section */
.tax-optimization-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--light-gray) 0%, #F0F8FF 100%);
}

.tax-calculator {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.tax-inputs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.tax-results {
    background: linear-gradient(135deg, #F8F9FA 0%, #E8F4FD 100%);
    border-radius: 15px;
    padding: 2rem;
}

.tax-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.tax-strategies {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.recommendations-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.recommendation-item {
    background: var(--light-gray);
    border-radius: 10px;
    padding: 1.5rem;
    border-left: 4px solid var(--primary-purple);
}

.recommendation-item.high-priority {
    border-left-color: var(--danger-red);
    background: rgba(231, 76, 60, 0.1);
}

.recommendation-item.medium-priority {
    border-left-color: var(--warning-yellow);
    background: rgba(243, 156, 18, 0.1);
}

.recommendation-item.low-priority {
    border-left-color: var(--emerald-green);
    background: rgba(46, 204, 113, 0.1);
}

.recommendation-strategy {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
}

.recommendation-savings {
    color: var(--emerald-green);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.recommendation-priority {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Retirement Planning Section */
.retirement-planning-section {
    padding: 80px 0;
    background: white;
}

.retirement-calculator {
    background: linear-gradient(135deg, #F8F9FA 0%, #E8F4FD 100%);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.retirement-inputs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.retirement-results {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.retirement-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.retirement-scenarios {
    background: linear-gradient(135deg, #F8F9FA 0%, #E8F4FD 100%);
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
}

.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.scenario-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.scenario-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-purple);
    margin-top: 0.5rem;
}

/* Debt Payoff Section */
.debt-payoff-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--light-gray) 0%, #F0F8FF 100%);
}

.debt-calculator {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.debt-input-section {
    background: linear-gradient(135deg, #F8F9FA 0%, #E8F4FD 100%);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.debt-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr auto;
    gap: 1rem;
    align-items: end;
    margin-top: 1rem;
}

.debt-strategy-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.debt-list {
    background: linear-gradient(135deg, #F8F9FA 0%, #E8F4FD 100%);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.debt-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.debt-info h4 {
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.debt-details {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.debt-summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.debt-payoff-schedule {
    background: var(--light-gray);
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
}

.strategy-explanation {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-purple);
}

.payoff-order {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.payoff-item {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.payoff-order-number {
    width: 40px;
    height: 40px;
    background: var(--primary-purple);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin-right: 1rem;
}

.payoff-debt-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.payoff-debt-info span {
    font-size: 0.9rem;
    color: #666;
}

/* Emergency Fund Section */
.emergency-fund-section {
    padding: 80px 0;
    background: white;
}

.emergency-calculator {
    background: linear-gradient(135deg, #F8F9FA 0%, #E8F4FD 100%);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.emergency-inputs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.emergency-results {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.emergency-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.emergency-progress {
    background: linear-gradient(135deg, #F8F9FA 0%, #E8F4FD 100%);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.progress-bar-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.progress-bar {
    flex: 1;
    height: 30px;
    background: #E1E8ED;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--emerald-green), var(--success-green));
    border-radius: 15px;
    transition: width 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
    color: white;
    font-weight: 600;
}

.emergency-recommendations {
    background: linear-gradient(135deg, #F8F9FA 0%, #E8F4FD 100%);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
}

.recommendation-item.critical-priority {
    border-left-color: #8B0000;
    background: rgba(139, 0, 0, 0.1);
}

.recommendation-text {
    margin: 0.5rem 0;
    line-height: 1.5;
}

.recommendation-action {
    font-size: 0.9rem;
    color: var(--dark-gray);
    margin-top: 0.5rem;
}

/* Educational Content Enhancements */
.educational-tooltip {
    position: relative;
    cursor: help;
}

.educational-tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--jet-black);
    color: white;
    padding: 0.5rem;
    border-radius: 5px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
    font-size: 0.8rem;
    z-index: 1000;
}

.educational-tooltip:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Learning Module Cards */
.learning-module {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--primary-purple);
}

.learning-module h3 {
    color: var(--primary-purple);
    margin-bottom: 1rem;
}

.learning-module ul {
    list-style: none;
    padding-left: 0;
}

.learning-module li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--light-gray);
    position: relative;
    padding-left: 1.5rem;
}

.learning-module li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--emerald-green);
    font-weight: bold;
}

/* Financial Education Hub Styling */
.financial-education-hub {
    background: linear-gradient(135deg, var(--primary-purple), var(--electric-blue));
    color: white;
    border-radius: 20px;
    padding: 3rem;
    margin: 2rem 0;
}

.business-education-portal {
    padding: 80px 0;
    background: white;
}

.business-modules {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.business-module {
    background: linear-gradient(135deg, #F8F9FA 0%, #E8F4FD 100%);
    border-radius: 15px;
    padding: 2rem;
    border-left: 4px solid var(--sunset-orange);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.business-module h4 {
    color: var(--dark-gray);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.module-content {
    margin-top: 1rem;
}

.module-content p {
    margin-bottom: 1rem;
    color: var(--dark-gray);
    opacity: 0.8;
}

.module-content ul {
    list-style: none;
    padding: 0;
}

.module-content li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    padding-left: 1.5rem;
}

.module-content li::before {
    content: '📋';
    position: absolute;
    left: 0;
    top: 0.5rem;
}

.education-modules {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.education-module {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.education-module h4 {
    margin-bottom: 1rem;
    color: var(--rich-gold);
}

.education-module ul {
    list-style: none;
    padding: 0;
}

.education-module li {
    padding: 0.5rem 0;
    opacity: 0.9;
}

/* Investment Learning Center */
.investment-learning-center {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    margin: 2rem 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.investment-strategies {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.strategy-card {
    background: linear-gradient(135deg, #F8F9FA 0%, #E8F4FD 100%);
    border-radius: 15px;
    padding: 2rem;
    border-left: 4px solid var(--emerald-green);
}

.strategy-card h4 {
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.risk-indicator {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin: 0.5rem 0;
}

.risk-low { background: rgba(46, 204, 113, 0.2); color: var(--emerald-green); }
.risk-medium { background: rgba(243, 156, 18, 0.2); color: var(--warning-yellow); }
.risk-high { background: rgba(231, 76, 60, 0.2); color: var(--danger-red); }

.expected-returns {
    font-weight: 600;
    color: var(--primary-purple);
    margin-top: 1rem;
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
    .debt-inputs {
        grid-template-columns: 1fr;
    }
    
    .debt-strategy-inputs {
        grid-template-columns: 1fr;
    }
    
    .debt-details {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .payoff-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .payoff-order-number {
        margin-right: 0;
    }
    
    .progress-bar-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .education-modules,
    .investment-strategies {
        grid-template-columns: 1fr;
    }
    
    /* Community Section Mobile */
    .community-dashboard {
        padding: 1.5rem;
    }
    
    .community-stats {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.2rem;
        min-height: 100px;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
    
    .leader-item {
        grid-template-columns: 35px 1fr;
        gap: 0.8rem;
        padding: 0.8rem;
        font-size: 0.8rem;
    }
    
    .leader-item .achievement,
    .leader-item .growth {
        display: none;
    }
    
    .challenges-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .challenge-card {
        padding: 1.2rem;
    }
    
    .challenge-stats {
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .stories-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .story-card {
        padding: 1.2rem;
        flex-direction: column;
        text-align: center;
    }
    
    .story-avatar {
        align-self: center;
        margin-bottom: 1rem;
    }
    
    .topic-meta {
        font-size: 0.7rem;
        gap: 0.5rem;
    }
    
    .leaderboard {
        padding: 1.2rem;
    }
    
    .discussion-forum {
        padding: 1.2rem;
    }
}

@media (max-width: 480px) {
    .community-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        padding: 1rem;
        min-height: 90px;
    }
    
    .stat-number {
        font-size: 1.4rem;
    }
    
    .leader-item {
        grid-template-columns: 30px 1fr;
        gap: 0.6rem;
        padding: 0.6rem;
    }
    
    .rank {
        width: 25px;
        height: 25px;
        font-size: 1rem;
    }
    
    .challenge-card {
        padding: 1rem;
    }
    
    .story-card {
        padding: 1rem;
    }
    
    .story-avatar {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.green { color: var(--emerald-green); }
.red { color: var(--danger-red); }
.purple { color: var(--primary-purple); }
.orange { color: var(--sunset-orange); }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

.hidden { display: none; }
.visible { display: block; }

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

.slide-up {
    animation: slideUp 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Chart Container Styling */
canvas {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}
