:root {
    --primary: #E63946;
    --secondary: #1D3557;
    --accent: #4CC9F0;
    --light: #F8F9FA;
    --dark: #212529;
    --gray: #6C757D;
    --success: #2A9D8F;
    --warning: #F4A261;
    --danger: #E76F51;
    --body-font: 'Roboto', sans-serif;
    --heading-font: 'Playfair Display', serif;
}

body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 20px;
    position: relative;
    text-align: center;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 50px;
}

.eeat-banner {
    background: linear-gradient(135deg, #f8f4ff 0%, #e3f2fd 100%);
    border-left: 4px solid var(--primary);
    padding: 20px;
    margin: 40px 0;
    border-radius: 0 8px 8px 0;
    position: relative;
    overflow: hidden;
}

.eeat-banner::before {
    content: "✅ EEAT VERIFICATION";
    position: absolute;
    top: -5px;
    right: -30px;
    background: var(--primary);
    color: white;
    padding: 2px 15px;
    font-size: 0.8rem;
    font-weight: 600;
    transform: rotate(45deg);
    letter-spacing: 1px;
}

.eeat-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.eeat-cert {
    flex: 1;
    min-width: 300px;
}

.eeat-expert {
    flex: 1;
    min-width: 300px;
    text-align: right;
}

.table-of-contents {
    background: white;
    border-radius: 10px;
    padding: 30px;
    margin: 50px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
}

.toc-title {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    color: var(--secondary);
    text-align: center;
    margin-bottom: 25px;
}

.toc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.toc-item {
    padding: 12px 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
    border-left: 3px solid var(--primary);
    background: #f8f9fa;
}

.toc-item:hover {
    background: #e9f7fe;
    transform: translateX(5px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.toc-item a {
    color: var(--secondary);
    font-weight: 500;
    display: block;
}

.toc-item a:hover {
    color: var(--primary);
}

.content-section {
    padding: 60px 0;
    border-bottom: 1px solid #e9ecef;
}

.subsection {
    margin: 40px 0;
}

.subsection-title {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e9ecef;
}

.case-study {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    margin: 30px 0;
    border: 1px solid #e9ecef;
}

.case-header {
    background: linear-gradient(135deg, var(--secondary) 0%, #457B9D 100%);
    color: white;
    padding: 20px 25px;
}

.case-title {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.case-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.stat-badge {
    background: rgba(255,255,255,0.2);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.95rem;
}

.case-body {
    padding: 25px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
}

th {
    background: var(--secondary);
    color: white;
    text-align: left;
    padding: 15px;
    font-weight: 600;
}

td {
    padding: 12px 15px;
    border-bottom: 1px solid #e9ecef;
}

tr:nth-child(even) {
    background-color: #f8f9fa;
}

tr:hover {
    background-color: #e9f7fe;
}

.price-calculator {
    background: linear-gradient(135deg, var(--primary) 0%, #FF9E6D 100%);
    border-radius: 16px;
    padding: 50px;
    margin: 60px 0;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.calculator-form {
    max-width: 700px;
    margin: 30px auto 0;
    background: rgba(255,255,255,0.15);
    padding: 30px;
    border-radius: 12px;
    backdrop-filter: blur(5px);
}

.form-group {
    margin-bottom: 25px;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    font-size: 1.1rem;
}

input, select {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: none;
    font-size: 1.1rem;
    background: rgba(255,255,255,0.2);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
}

input:focus, select:focus {
    outline: none;
    border-color: white;
    background: rgba(255,255,255,0.3);
}

.result {
    margin-top: 25px;
    font-size: 1.8rem;
    font-weight: 700;
    background: rgba(255,255,255,0.2);
    padding: 25px;
    border-radius: 10px;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.faq-section {
    margin: 60px 0;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    background: var(--light);
    padding: 18px 25px;
    font-weight: 600;
    color: var(--secondary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #e9f7fe;
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.faq-answer.show {
    padding: 20px 25px;
    max-height: 500px;
}

.related-content {
    background: #f0f7ff;
    border-radius: 16px;
    padding: 60px;
    margin: 70px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.content-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.content-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.card-image {
    height: 200px;
    background: linear-gradient(135deg, var(--accent) 0%, #7209B7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
}

.card-content {
    padding: 25px;
}

.card-title {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .toc-grid {
        grid-template-columns: 1fr;
    }
    
    .eeat-content {
        flex-direction: column;
    }
    
    .eeat-expert {
        text-align: left;
    }
    
    .price-calculator {
        padding: 30px 15px;
    }
    
    .calculator-form {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 2rem;
    }
    
    .subsection-title {
        font-size: 1.5rem;
    }
    
    .result {
        font-size: 1.5rem;
    }
}
