/* Base Styles */
.iwc-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

/* Typography */
.iwc-main-title {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    line-height: 1.3;
    font-weight: 700;
}

.iwc-main-description {
    color: #5d6d7e;
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.iwc-title {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 600;
}

.iwc-description {
    color: #5d6d7e;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1rem;
}

/* Calculator Form */
.iwc-calculator {
    background: #ffffff;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 2.5rem;
}

.iwc-form-group {
    margin-bottom: 1.5rem;
}

.iwc-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
}

.iwc-form-group input,
.iwc-form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
}

.iwc-form-group input:focus,
.iwc-form-group select:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
    background-color: #fff;
}

.iwc-submit-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 1rem;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.iwc-submit-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.iwc-submit-btn:active {
    transform: translateY(0);
}

/* Results Section */
.iwc-results {
    margin-top: 2.5rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    animation: fadeIn 0.5s ease-out;
    display: none;
}

.iwc-results h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
}

.iwc-result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.iwc-result-card {
    background: #fff;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.iwc-result-card:hover {
    transform: translateY(-5px);
}

.iwc-result-icon {
    width: 40px;
    height: 40px;
    background: #e3f2fd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.iwc-result-icon svg {
    width: 20px;
    height: 20px;
    color: #3498db;
}

.iwc-result-content {
    flex-grow: 1;
}

.iwc-result-label {
    display: block;
    font-weight: 600;
    color: #5d6d7e;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.iwc-result-value {
    font-weight: 700;
    color: #2c3e50;
    font-size: 1.2rem;
}

/* Tips Section */
.iwc-tips-section {
    background: #fff;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.iwc-tips-section h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
    text-align: center;
}

.iwc-tips-list {
    padding-left: 1.5rem;
    list-style-type: none;
}

.iwc-tips-list li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.8rem;
    line-height: 1.5;
}

.iwc-tips-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 8px;
    height: 8px;
    background-color: #3498db;
    border-radius: 50%;
}

/* FAQ Section */
.iwc-faq-section {
    background: #ffffff;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.iwc-faq-title {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
}

.iwc-faq-container {
    margin-top: 1.5rem;
}

.iwc-faq-item {
    margin-bottom: 1rem;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.iwc-faq-item:hover {
    border-color: #d4e6f7;
}

.iwc-faq-question {
    width: 100%;
    padding: 1.2rem 1.5rem;
    text-align: left;
    background: #f8fafc;
    border: none;
    font-weight: 600;
    color: #2c3e50;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.iwc-faq-question:hover {
    background: #f1f8fe;
    color: #2980b9;
}

.iwc-faq-question[aria-expanded="true"] {
    background: #e3f2fd;
    color: #2980b9;
}

.iwc-faq-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    color: #7f8c8d;
}

.iwc-faq-question[aria-expanded="true"] .iwc-faq-icon {
    transform: rotate(45deg);
    color: #2980b9;
}

.iwc-faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: #fff;
    font-size: 0.95rem;
    line-height: 1.6;
}

.iwc-faq-question[aria-expanded="true"] + .iwc-faq-answer {
    padding: 1.2rem 1.5rem;
    max-height: 1000px;
}

.iwc-faq-answer p {
    margin: 0;
    padding: 0.5rem 0;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .iwc-container {
        padding: 1rem;
    }
    
    .iwc-calculator,
    .iwc-faq-section {
        padding: 1.5rem;
    }
    
    .iwc-main-title {
        font-size: 2rem;
    }
    
    .iwc-title,
    .iwc-faq-title,
    .iwc-results h2 {
        font-size: 1.5rem;
    }
    
    .iwc-result-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .iwc-main-title {
        font-size: 1.8rem;
    }
    
    .iwc-form-group input,
    .iwc-form-group select {
        padding: 0.7rem 0.9rem;
    }
    
    .iwc-submit-btn {
        padding: 0.9rem;
    }
}