/* SCROLL BEHAVIOR */
html {
    scroll-padding-top: 120px; /* Adjust this value based on your header height */
    scroll-behavior: smooth;
}

/* CONTENT SECTIONS */
.content-section {
    padding: 6rem 0;
    scroll-margin-top: 120px; /* Match this with scroll-padding-top */
}

.content-section:nth-child(even) {
    background: #f8fafc;
}

.content-section:nth-child(odd) {
    background: white;
}

.content-two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

.content-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.content-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 2rem 0 1.5rem;
    color: #1e293b;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
    scroll-margin-top: 120px; /* Match this with scroll-padding-top */
}

.content-text h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e293b;
}

.content-text p {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.content-text ul {
    list-style: none;
    margin: 2rem 0;
}

.content-text li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: #374151;
    font-size: 1.05rem;
    line-height: 1.6;
}

.content-text .advantages li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 1.2rem;

}
.content-text .disadvantages li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: #ef4444;
    font-weight: bold;
    font-size: 1.2rem;
}

/* TABLE OF CONTENTS BUTTONS */
.toc-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.toc-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

/* FEATURE GRID */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-box {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.feature-box h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e293b;
}

.feature-box p {
    color: #64748b;
    line-height: 1.6;
}

/* STATS BAR */
.stats-bar {
    background: linear-gradient(135deg, #1e293b, #334155);
    padding: 4rem 0;
    color: white;
}

.stats-bar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stats-bar-item h3 {
    font-size: 3rem;
    font-weight: 800;
    color: #fbbf24;
    margin-bottom: 0.5rem;
}

.stats-bar-item p {
    color: #cbd5e1;
    font-weight: 500;
}

/* COMPARISON TABLE */
.comparison-table {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    margin: 3rem 0;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th {
    background: linear-gradient(135deg, #1e293b, #334155);
    color: white;
    padding: 1.5rem;
    text-align: left;
    font-weight: 700;
}

.comparison-table td {
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    color: #374151;
}

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

.comparison-table tr:hover {
    background: #f8fafc;
}

/* PROCESS TIMELINE */
.process-timeline {
    margin: 4rem 0;
    position: relative;
}

.timeline-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 40px;
    top: 80px;
    bottom: -3rem;
    width: 2px;
    background: linear-gradient(180deg, #fbbf24, #f59e0b);
}

.timeline-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: white;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3);
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.timeline-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e293b;
}

.timeline-content p {
    color: #64748b;
    line-height: 1.6;
}


/* Responsive Styles */
@media (max-width: 768px) {
    .content-two-column {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .timeline-item {
        grid-template-columns: 60px 1fr;
        gap: 1rem;
    }
    
    .timeline-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .timeline-item:not(:last-child)::after {
        left: 30px;
        top: 60px;
    }
}