@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

.cdc-app {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: #1a202c;
    line-height: 1.6;
    background-color: #f7fafc;
    margin: 0;
    padding: 0;
}

.cdc-top-ad {
    background-color: #f1f5f9;
    color: #475569;
    font-size: 13px;
    text-align: center;
    padding: 10px 20px;
    border-bottom: 1px solid #e2e8f0;
}

.cdc-header {
    background-color: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.cdc-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cdc-logo {
    font-size: 24px;
    font-weight: 700;
    color: #0d9488;
    text-decoration: none;
}

.cdc-nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.cdc-nav-item {
    margin-left: 20px;
}

.cdc-nav-link {
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    transition: color 0.2s;
}

.cdc-nav-link:hover {
    color: #0d9488;
}

.cdc-hero {
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.cdc-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.cdc-hero-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.cdc-hero-subtitle {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 30px;
}

.cdc-main {
    max-width: 1200px;
    margin: -60px auto 60px;
    padding: 0 20px;
}

.cdc-comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.cdc-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

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

.cdc-card-header {
    background-color: #f8fafc;
    padding: 30px;
    border-bottom: 1px solid #e2e8f0;
    text-align: center;
}

.cdc-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.cdc-badge-vitality {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fee2e2;
}

.cdc-badge-howden {
    background-color: #ecfdf5;
    color: #065f46;
    border: 1px solid #d1fae5;
}

.cdc-card-title {
    font-size: 32px;
    font-weight: 700;
    margin: 10px 0;
    color: #1a202c;
}

.cdc-card-content {
    padding: 30px;
    flex-grow: 1;
}

.cdc-section-title {
    font-size: 18px;
    font-weight: 700;
    margin: 20px 0 15px;
    color: #2d3748;
    display: flex;
    align-items: center;
}

.cdc-section-title::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 18px;
    background-color: #0d9488;
    margin-right: 10px;
    border-radius: 2px;
}

.cdc-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cdc-feature-item {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
}

.cdc-icon-check {
    color: #10b981;
    margin-right: 10px;
    margin-top: 4px;
    flex-shrink: 0;
}

.cdc-card-footer {
    padding: 30px;
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.cdc-cta-button {
    display: inline-block;
    width: auto;
    min-width: 200px;
    text-align: center;
    padding: 14px 32px;
    background-color: #0d9488;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 17px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(13, 148, 136, 0.2);
}

.cdc-card-footer .cdc-cta-button {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.cdc-button-primary {
    background-color: #0d9488;
}

.cdc-button-secondary {
    background-color: #0f766e;
}

.cdc-cta-button:hover {
    background-color: #0d9488;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(13, 148, 136, 0.4);
}

.cdc-button-secondary:hover {
    background-color: #134e4a;
}

.cdc-cta-button:active {
    transform: translateY(0);
}

.cdc-info-section {
    margin-top: 80px;
    background: white;
    padding: 60px;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.cdc-info-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 50px;
    text-align: center;
    color: #111827;
}

.cdc-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.cdc-info-box {
    background: #f8fafc;
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid #0d9488;
}

.cdc-info-box-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a202c;
}

.cdc-info-box-text {
    font-size: 15px;
    color: #4a5568;
}

/* Detailed Comparison Table */
.cdc-table-wrapper {
    margin-top: 60px;
    margin-bottom: 80px;
    overflow-x: auto;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.cdc-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.cdc-table th, .cdc-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.cdc-table th {
    background-color: #f8fafc;
    font-weight: 700;
    color: #1a202c;
}

.cdc-table tr:last-child td {
    border-bottom: none;
}

.cdc-table-feature {
    font-weight: 600;
    color: #4a5568;
    width: 30%;
}

/* FAQ Section */
.cdc-faq-section {
    margin-top: 80px;
}

.cdc-faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.cdc-faq-item {
    background: #f8fafc;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.cdc-faq-question {
    font-size: 17px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 12px;
    display: block;
}

.cdc-faq-answer {
    font-size: 15px;
    color: #4a5568;
    line-height: 1.6;
}

.cdc-verdict {
    margin-top: 80px;
    background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%);
    border: 1px solid #99f6e4;
    padding: 50px;
    border-radius: 24px;
    text-align: center;
}

.cdc-verdict-title {
    font-size: 28px;
    font-weight: 800;
    color: #0d9488;
    margin-bottom: 20px;
}

.cdc-verdict-actions {
    margin-top: 35px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cdc-footer {
    background-color: #1a202c;
    color: #e2e8f0;
    padding: 80px 20px 40px;
    margin-top: 100px;
}

.cdc-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.cdc-footer-ad {
    text-align: center;
    margin-bottom: 40px;
    color: #94a3b8;
    font-size: 14px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.cdc-footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
    border-top: 1px solid #2d3748;
    padding-top: 40px;
}

.cdc-footer-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 15px;
    cursor: pointer;
    transition: color 0.2s;
}

.cdc-footer-link:hover {
    color: #ffffff;
}

.cdc-copyright {
    text-align: center;
    font-size: 14px;
    color: #64748b;
}

/* Modal Styling */
.cdc-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    overflow-y: auto;
}

.cdc-modal-content {
    background-color: #ffffff;
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 700px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from { transform: translateY(-30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.cdc-modal-header {
    padding: 25px 30px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cdc-modal-title {
    font-size: 24px;
    font-weight: 800;
    margin: 0;
    color: #1a202c;
}

.cdc-modal-close {
    font-size: 30px;
    font-weight: 300;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
}

.cdc-modal-close:hover {
    color: #1a202c;
}

.cdc-modal-body {
    padding: 30px;
    max-height: 70vh;
    overflow-y: auto;
}

.cdc-modal-text {
    margin-bottom: 20px;
    color: #4a5568;
}

.cdc-modal-text-bold {
    font-weight: 700;
    color: #1a202c;
    margin-top: 25px;
    margin-bottom: 10px;
    display: block;
}

@media (max-width: 768px) {
    .cdc-hero-title {
        font-size: 36px;
    }
    .cdc-main {
        margin-top: -30px;
    }
    .cdc-info-section {
        padding: 30px;
    }
}
