.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.25rem;
    opacity: 0.95;
}

.features-detailed {
    padding: 4rem 0;
}

.feature-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.feature-section.reverse {
    direction: rtl;
}

.feature-section.reverse > * {
    direction: ltr;
}

.feature-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.feature-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-content p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 0.75rem 0;
    color: var(--text-dark);
    font-size: 1.0625rem;
}

.visual-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.visual-card h4 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.debt-item, .expense-category {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
    margin-bottom: 0.75rem;
}

.debt-item strong, .expense-category strong {
    color: var(--primary-color);
    font-size: 1.125rem;
}

.optimization-result {
    background: #d1fae5;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.optimization-result p {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.savings {
    display: block;
    color: var(--success-color);
    font-size: 1.5rem;
    font-weight: 700;
}

.ai-chat {
    background: var(--bg-light);
}

.chat-message {
    background: white;
    padding: 1.25rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.chat-message.ai {
    border-left: 4px solid var(--primary-color);
}

.income-stat, .networth-stat {
    text-align: center;
    padding: 2rem;
}

.income-stat strong, .networth-stat strong {
    display: block;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.income-stat span {
    color: var(--text-light);
}

.growth {
    display: block;
    color: var(--success-color);
    font-weight: 600;
    margin-top: 0.5rem;
}

.goal-item {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
}

.goal-item > span:first-child {
    display: block;
    font-weight: 600;
    margin-bottom: 1rem;
}

.progress-bar {
    height: 12px;
    background: #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
    margin: 1rem 0;
}

.progress {
    height: 100%;
    background: var(--success-color);
    transition: width 0.3s;
}

.goal-progress {
    display: block;
    text-align: right;
    color: var(--success-color);
    font-weight: 600;
    font-size: 0.875rem;
}

.blocker-message {
    text-align: center;
    padding: 2rem;
}

.blocker-message h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.blocker-message p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.btn-small {
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-small:hover {
    background: var(--secondary-color);
}

@media (max-width: 768px) {
    .feature-section {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 4rem;
    }

    .feature-section.reverse {
        direction: ltr;
    }

    .page-header h1 {
        font-size: 1.75rem;
    }
}
