/* Navigation */
.navigation {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-link {
    padding: 10px 20px;
    text-decoration: none;
    color: #4a5568;
    border-radius: 8px;
    transition: all 0.3s;
    font-weight: 500;
}

.nav-link:hover {
    background: #f0fdf4;
    color: #22c55e;
}

.nav-link.active {
    background: #22c55e;
    color: white;
}

/* Concept Grid */
.concept-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.concept-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.concept-card h3 {
    color: #22c55e;
    margin-bottom: 10px;
}

/* Money Section */
.money-section {
    background: #f8fafc;
    padding: 30px;
    border-radius: 15px;
    margin: 30px 0;
}

.money-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.method-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    border: 2px solid #22c55e;
}

.method-card h3 {
    color: #22c55e;
    margin-bottom: 15px;
}

.example-box {
    background: #f0fdf4;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    border-left: 3px solid #22c55e;
}

/* Stock Tracker Section */
.stock-tracker-section {
    background: white;
    padding: 30px;
    border-radius: 15px;
    margin: 30px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.section-subtitle {
    color: #718096;
    margin-bottom: 20px;
}

.popular-stocks {
    margin-bottom: 30px;
}

.stock-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.stock-btn {
    padding: 12px;
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.stock-btn:hover {
    background: #22c55e;
    color: white;
    border-color: #22c55e;
    transform: translateY(-2px);
}

.stock-btn .symbol {
    font-weight: bold;
    display: block;
    margin-bottom: 3px;
}

.stock-btn .name {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Stock Search */
.stock-search {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.stock-search input {
    flex: 1;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    text-transform: uppercase;
}

.stock-search button {
    padding: 12px 30px;
    background: #22c55e;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.stock-search button:hover {
    background: #16a34a;
    transform: translateY(-1px);
}

/* Stock Display */
.stock-display {
    background: #f8fafc;
    padding: 25px;
    border-radius: 12px;
    margin-top: 20px;
}

.stock-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e2e8f0;
}

.stock-header h3 {
    color: #2d3748;
    margin: 0;
}

.ticker {
    background: #22c55e;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
}

.price-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.current-price {
    display: flex;
    flex-direction: column;
}

.price-label {
    color: #718096;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.price-value {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2d3748;
}

.price-change {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.price-change.positive {
    color: #22c55e;
}

.price-change.negative {
    color: #ef4444;
}

#changeAmount {
    font-size: 1.3rem;
    font-weight: 600;
}

#changePercent {
    font-size: 1.1rem;
}

.stock-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-label {
    color: #718096;
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.stat-value {
    color: #2d3748;
    font-weight: 600;
    font-size: 1.1rem;
}

.chart-container {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

/* Projection Section */
.projection-section {
    background: white;
    padding: 30px;
    border-radius: 15px;
    margin: 30px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.projection-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    margin-top: 25px;
}

@media (max-width: 968px) {
    .projection-container {
        grid-template-columns: 1fr;
    }
}

.projection-inputs {
    background: #f8fafc;
    padding: 25px;
    border-radius: 12px;
}

.proj-input-group {
    margin-bottom: 20px;
}

.proj-input-group label {
    display: block;
    color: #4a5568;
    font-weight: 600;
    margin-bottom: 8px;
}

.proj-input-group input[type="text"],
.proj-input-group input[type="number"] {
    width: 100%;
    padding: 10px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
}

.proj-input-group input[type="range"] {
    width: 100%;
    margin: 10px 0;
}

.proj-input-group small {
    color: #718096;
    font-size: 0.85rem;
}

.project-btn {
    width: 100%;
    padding: 15px;
    background: #22c55e;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.project-btn:hover {
    background: #16a34a;
    transform: translateY(-2px);
}

.projection-results {
    padding: 25px;
}

.projection-results h3 {
    color: #2d3748;
    margin-bottom: 20px;
}

.projection-scenarios {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

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

.scenario {
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
}

.scenario:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.scenario.conservative {
    background: #fef3c7;
    border: 2px solid #f59e0b;
}

.scenario.expected {
    background: #dcfce7;
    border: 2px solid #22c55e;
}

.scenario.optimistic {
    background: #dbeafe;
    border: 2px solid #3b82f6;
}

.scenario h4 {
    margin-bottom: 15px;
    color: #1f2937;
}

.proj-price {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 8px;
}

.conservative .proj-price {
    color: #d97706;
}

.expected .proj-price {
    color: #16a34a;
}

.optimistic .proj-price {
    color: #2563eb;
}

.proj-return {
    font-size: 1rem;
    color: #4b5563;
    margin-bottom: 8px;
}

.proj-prob {
    font-size: 0.85rem;
    color: #6b7280;
}

.probability-range {
    background: #f3f4f6;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.probability-range h4 {
    color: #374151;
    margin-bottom: 10px;
}

.range-display {
    font-size: 1.5rem;
    font-weight: bold;
    color: #22c55e;
    margin-bottom: 8px;
}

.projection-insights {
    background: #f0fdf4;
    border-left: 4px solid #22c55e;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
}

.projection-insights p {
    margin: 8px 0;
    color: #166534;
}

.projection-warning {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
}

.projection-warning strong {
    color: #dc2626;
}

/* Simulator Section */
.simulator-section {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    padding: 30px;
    border-radius: 15px;
    margin: 30px 0;
}

.simulator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 25px;
}

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

.simulator-inputs {
    background: white;
    padding: 25px;
    border-radius: 12px;
}

.sim-input-group {
    margin-bottom: 20px;
}

.sim-input-group label {
    display: block;
    color: #4a5568;
    font-weight: 600;
    margin-bottom: 8px;
}

.sim-input-group input[type="number"] {
    width: 100%;
    padding: 10px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1.1rem;
}

.sim-input-group input[type="range"] {
    width: 100%;
    margin-top: 10px;
}

.price-input {
    display: flex;
    align-items: center;
    gap: 5px;
}

.price-input span {
    color: #718096;
    font-weight: 600;
}

.price-input input {
    flex: 1;
}

.simulate-btn {
    width: 100%;
    padding: 15px;
    background: #22c55e;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 20px;
}

.simulate-btn:hover {
    background: #16a34a;
    transform: translateY(-2px);
}

.simulator-results {
    background: white;
    padding: 25px;
    border-radius: 12px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
}

.result-item.highlight {
    font-weight: bold;
    font-size: 1.2rem;
    border-bottom: 2px solid #22c55e;
    margin-top: 10px;
    padding-top: 15px;
}

.result-item.highlight.positive {
    color: #22c55e;
}

.result-item.highlight.negative {
    color: #ef4444;
}

.insights {
    margin-top: 20px;
    padding: 15px;
    background: #f0fdf4;
    border-radius: 8px;
    border-left: 3px solid #22c55e;
}

.insights p {
    margin: 5px 0;
    color: #166534;
}

/* Concepts Section */
.concepts-section {
    margin: 40px 0;
}

.concepts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.concept {
    background: white;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
}

.concept:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.concept h3 {
    color: #22c55e;
    margin-bottom: 15px;
}

.concept p {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 10px;
}

.concept small {
    color: #718096;
    font-style: italic;
}

/* Warning Section */
.warning-section {
    background: #fef2f2;
    border: 2px solid #ef4444;
    padding: 25px;
    border-radius: 12px;
    margin: 30px 0;
}

.warning-section h3 {
    color: #dc2626;
    margin-bottom: 15px;
}

.warning-section p {
    color: #7f1d1d;
    line-height: 1.6;
    margin: 10px 0;
}

.warning-section ul {
    margin: 15px 0 15px 30px;
}

.warning-section li {
    color: #991b1b;
    margin: 8px 0;
}

.warning-section strong {
    color: #dc2626;
}