* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    background: 
    min-height: 100vh;
}

.container {
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    border-bottom: 2px solid #4CAF50;
}

.title {
    color: #2E7D32;
    margin-bottom: 10px;
    font-size: 2.5rem;
}

.subtitle {
    color: #666;
    font-size: 1.1rem;
}

.main-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.calculator-section {
    flex: 1;
    min-width: 300px;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.calculator-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.advantages-section {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.advantage-box {
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.advantage-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-align: center;
}

.advantage-box h3 {
    color: #2E7D32;
    margin-bottom: 15px;
    text-align: center;
}

.advantage-box ul {
    padding-left: 20px;
}

.advantage-box li {
    margin-bottom: 10px;
    padding-left: 10px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
}

input, select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

input:focus, select:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2);
    outline: none;
}

.calculate-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 48px;
}

.calculate-btn:hover {
    background-color: #388E3C;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(56, 142, 60, 0.4);
}

.calculate-btn:active {
    transform: translateY(0);
}

.btn-loader {
    display: none;
}

.calculate-btn.loading .btn-text {
    display: none;
}

.calculate-btn.loading .btn-loader {
    display: block;
}

.calculate-btn.loading {
    pointer-events: none;
}

.results {
    margin-top: 25px;
    padding: 20px;
    border-radius: 8px;
    display: none;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

.results h3 {
    color: #2E7D32;
    margin-bottom: 15px;
    text-align: center;
}

.result-item {
    margin-bottom: 12px;
    padding: 10px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}

.result-label {
    font-weight: 600;
    color: #555;
}

.result-value {
    font-weight: 600;
    color: #2E7D32;
}

.progress-container {
    margin: 20px 0;
}

.progress-bar {
    height: 20px;
    background-color: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 5px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
    border-radius: 10px;
    width: 0%;
    transition: width 1s ease-in-out;
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #666;
}

.milestones-section {
    margin-top: 20px;
}

.milestones-section h4 {
    color: #2E7D32;
    margin-bottom: 10px;
}

.milestone-list {
    list-style-type: none;
    margin-top: 10px;
}

.milestone-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
    animation: fadeInListItem 0.5s ease-out forwards;
    opacity: 0;
    transform: translateX(-10px);
}

@keyframes fadeInListItem {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.milestone-date {
    font-weight: 600;
    color: #2E7D32;
}

.footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    color: #666;
    border-top: 1px solid #eee;
}

/* Animation Classes */
.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s both;
}

.animate-slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

.animate-slide-in-right-delay {
    animation: slideInRight 0.8s ease-out 0.3s both;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
    }
    
    .title {
        font-size: 2rem;
    }
    
    .calculator-section, .advantage-box {
        padding: 15px;
    }
}