* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.site-title {
    font-size: 2rem;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 10px;
}

.language-selector select {
    padding: 8px 12px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-selector select:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.main-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-image {
    text-align: center;
    margin-bottom: 40px;
}

.hero-image img {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: scale(1.05);
}

.calculator-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
    padding: 20px;
}

.calculator-form {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    padding: 40px;
    border-radius: 25px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 8px 16px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.calculator-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    border-radius: 25px 25px 0 0;
}

.calculator-form:nth-child(1)::before {
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
}

.calculator-form:nth-child(2)::before {
    background: linear-gradient(90deg, #f093fb 0%, #f5576c 100%);
}

.calculator-form:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.15),
        0 12px 24px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.calculator-form h3 {
    margin-bottom: 30px;
    font-size: 1.8rem;
    text-align: center;
    color: #2d3748;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.calculator-form h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.calculator-form:nth-child(1) h3::after {
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
}

.calculator-form:nth-child(2) h3::after {
    background: linear-gradient(90deg, #f093fb 0%, #f5576c 100%);
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
    color: #4a5568;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.form-group input {
    width: 100%;
    padding: 18px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    font-size: 16px;
    background: #ffffff;
    color: #2d3748;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    position: relative;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 
        0 8px 16px rgba(102, 126, 234, 0.15),
        0 4px 8px rgba(102, 126, 234, 0.1);
}

.form-group input:hover {
    border-color: #cbd5e0;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.btn {
    width: 100%;
    padding: 18px 24px;
    background: linear-gradient(145deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 16px rgba(102, 126, 234, 0.3),
        0 4px 8px rgba(102, 126, 234, 0.2);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.calculator-form:nth-child(1) .btn {
    background: linear-gradient(145deg, #4facfe 0%, #00f2fe 100%);
    box-shadow: 
        0 8px 16px rgba(79, 172, 254, 0.3),
        0 4px 8px rgba(79, 172, 254, 0.2);
}

.calculator-form:nth-child(2) .btn {
    background: linear-gradient(145deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 
        0 8px 16px rgba(240, 147, 251, 0.3),
        0 4px 8px rgba(240, 147, 251, 0.2);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 12px 24px rgba(102, 126, 234, 0.4),
        0 6px 12px rgba(102, 126, 234, 0.3);
}

.calculator-form:nth-child(1) .btn:hover {
    box-shadow: 
        0 12px 24px rgba(79, 172, 254, 0.4),
        0 6px 12px rgba(79, 172, 254, 0.3);
}

.calculator-form:nth-child(2) .btn:hover {
    box-shadow: 
        0 12px 24px rgba(240, 147, 251, 0.4),
        0 6px 12px rgba(240, 147, 251, 0.3);
}

.btn:active {
    transform: translateY(-1px);
    box-shadow: 
        0 6px 12px rgba(102, 126, 234, 0.3),
        0 3px 6px rgba(102, 126, 234, 0.2);
}

.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn:disabled:hover {
    transform: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Advanced loading animation */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Advanced input focus effects */
.form-group {
    position: relative;
}

.form-group input:focus + .input-highlight {
    transform: scaleX(1);
}

.input-highlight {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    border-radius: 1px;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .calculator-section {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 10px;
    }
    
    .calculator-form {
        padding: 30px 25px;
    }
    
    .calculator-form h3 {
        font-size: 1.5rem;
    }
    
    .form-group input {
        padding: 16px 18px;
    }
    
    .btn {
        padding: 16px 20px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .calculator-form {
        padding: 25px 20px;
        border-radius: 20px;
    }
    
    .calculator-form h3 {
        font-size: 1.3rem;
        margin-bottom: 25px;
    }
    
    .form-group input {
        padding: 14px 16px;
        border-radius: 12px;
    }
    
    .btn {
        padding: 14px 18px;
        border-radius: 12px;
        font-size: 14px;
    }
}

.results {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: slideIn 0.5s ease-out;
}

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

.results h3 {
    color: #333;
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.8rem;
}

.result-item {
    background: rgba(255, 255, 255, 0.7);
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 10px;
    font-size: 1.1rem;
}

.disclaimer {
    background: rgba(255, 193, 7, 0.1);
    border-left: 4px solid #ffc107;
    padding: 20px;
    margin-bottom: 40px;
    border-radius: 10px;
    font-style: italic;
}

.about-section, .benefits-section, .why-choose-section {
    margin-bottom: 40px;
}

.about-section h2, .benefits-section h2, .why-choose-section h2 {
    color: #667eea;
    margin-bottom: 20px;
    font-size: 2rem;
    text-align: center;
}

.about-section p, .why-choose-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 20px;
}

.benefits-section ul {
    list-style: none;
    padding: 0;
}

.benefits-section li {
    background: rgba(102, 126, 234, 0.1);
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 10px;
    border-left: 4px solid #667eea;
    font-size: 1rem;
}

.image-section {
    text-align: center;
    margin: 40px 0;
}

.image-section img {
    max-width: 400px;
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.image-section img:hover {
    transform: scale(1.05);
}

.faq-section {
    margin-bottom: 40px;
}

.faq-section h2 {
    color: #667eea;
    margin-bottom: 30px;
    font-size: 2rem;
    text-align: center;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.faq-question {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-toggle.active {
    transform: rotate(45deg);
}

.faq-answer {
    background: white;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer.active {
    padding: 20px;
    max-height: 200px;
}

.faq-answer p {
    margin: 0;
    line-height: 1.6;
    color: #555;
}

.footer {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    color: white;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.footer p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .site-title {
        font-size: 1.5rem;
    }
    
    .main-content {
        padding: 20px;
    }
    
    .calculator-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-links a {
        display: block;
        margin: 10px 0;
    }
}

@media (max-width: 480px) {
    .site-title {
        font-size: 1.2rem;
    }
    
    .main-content {
        padding: 15px;
    }
    
    .calculator-form {
        padding: 20px;
    }
    
    .hero-image img {
        max-width: 250px;
    }
    
    .image-section img {
        max-width: 300px;
    }
}

