* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
    background-color: #f8fafc;
    min-height: 100vh;
}

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

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

/* Landing Section */
.landing-hero {
    animation: fadeIn 0.8s ease-out;
}

/* Progress Bar */
.progress-bar {
    transition: width 0.3s ease-in-out;
}

/* Form Elements */
input, select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.5rem;
    font-size: 1rem;
    outline: none;
    transition: all 0.2s;
}

input:focus, select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.currency-input {
    position: relative;
}

.currency-symbol {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    pointer-events: none;
}

/* Results Section */
.results-section {
    animation: slideIn 0.5s ease-out;
}

.tax-band {
    height: 2rem;
    border-radius: 0.375rem;
    overflow: hidden;
    position: relative;
    transition: all 0.3s;
}

.tax-band-fill {
    position: absolute;
    height: 100%;
    left: 0;
    top: 0;
    transition: width 0.5s ease-out;
}

/* Expense Items */
.expense-item {
    animation: slideIn 0.3s ease-out;
}

.expense-item:hover .delete-button {
    opacity: 1;
}

.delete-button {
    opacity: 0;
    transition: all 0.2s;
}

/* FAQ Section */
.faq-item {
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem 0;
}

.faq-question {
    cursor: pointer;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 0.5rem;
    transition: all 0.2s;
}

.faq-question:hover {
    background: #f1f5f9;
}

/* Responsive Design */
@media (max-width: 640px) {
    .container {
        padding: 1rem;
    }
    
    .tax-band {
        height: 3rem;
    }
    
    .tax-band-label {
        font-size: 0.75rem;
    }
}
