:root {
    --primary-color: #2c7a7b;
    --secondary-color: #ed8936;
    --light-bg: #f7fafc;
    --dark-text: #2d3748;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-text);
    background-color: var(--light-bg);
}

.hero-section {
    background: linear-gradient(rgba(44, 122, 123, 0.8), rgba(44, 122, 123, 0.8)), url('https://images.unsplash.com/photo-1554224154-260325c0594e?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover;
    color: white;
    padding: 80px 0;
    text-align: center;
    margin-bottom: 40px;
}

.hero-section h1 {
    font-weight: 700;
    margin-bottom: 20px;
}

.section-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--secondary-color);
    display: inline-block;
}

.card {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 25px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.card-header {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
}

.heir-checkbox {
    margin-right: 10px;
}

#calculation-results {
    display: none;
    margin-top: 30px;
}

.result-item {
    padding: 10px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.result-item:last-child {
    border-bottom: none;
}

.result-heir {
    font-weight: 500;
}

.result-share {
    font-weight: 700;
    color: var(--primary-color);
}

.btn-calculate {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
    font-weight: 600;
    padding: 10px 30px;
    transition: background-color 0.3s ease;
}

.btn-calculate:hover {
    background-color: #dd7724;
    border-color: #dd7724;
    color: white;
}

footer {
    background-color: var(--dark-text);
    color: white;
    padding: 30px 0;
    margin-top: 50px;
}

.accordion-button:not(.collapsed) {
    color: white;
    background-color: var(--primary-color);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0,0,0,.125);
}