@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@1,6..96,900&family=Montserrat:wght@300;400;700;900&display=swap');

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #faf9f6;
    color: #1a1a1a;
    line-height: 1.8;
    overflow-x: hidden;
}

/* Grainy Texture Overlay */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('https://www.transparenttextures.com/patterns/asfalt-dark.png');
    opacity: 0.05;
    pointer-events: none;
    z-index: 9999;
}

.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 2rem; 
}

/* SEARCH HEADER: Editorial Pill */
.search-header {
    padding: 4rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.search-bar {
    background: #fff;
    padding: 0.8rem 2.5rem;
    border-radius: 100px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
    width: fit-content;
}

.search-text {
    border: none;
    outline: none;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ff6b6b;
}

.main-title {
    font-family: 'Bodoni Moda', serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    line-height: 1;
    text-align: center;
    font-style: italic;
    margin-bottom: 2rem;
}

/* RESEARCH PROCESS: Overlapping Editorial Style */
.research-process {
    margin-top: 5rem;
    display: flex;
    flex-direction: column;
    gap: 15rem;
}

.process-step {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.process-step:nth-child(even) {
    justify-content: flex-end;
    text-align: right;
}

.step-number {
    font-family: 'Bodoni Moda', serif;
    font-size: 25rem;
    color: rgba(255, 107, 107, 0.07);
    position: absolute;
    z-index: -1;
    line-height: 1;
    top: -10rem;
}

.process-step:nth-child(odd) .step-number { left: -5rem; }
.process-step:nth-child(even) .step-number { right: -5rem; }

.step-content {
    max-width: 600px;
}

.step-title {
    font-size: 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
    color: #ff6b6b;
}

/* DASHBOARD: Floating Circles Cluster */
.research-dashboard {
    margin: 15rem 0;
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dashboard-title {
    font-family: 'Bodoni Moda', serif;
    font-size: 3rem;
    z-index: 2;
    text-align: center;
    background: #faf9f6;
    padding: 1rem 3rem;
}

.stat-cluster {
    position: absolute;
    width: 100%;
    height: 100%;
}

.stat-card {
    position: absolute;
    background: #fff;
    padding: 2rem;
    border-radius: 50%;
    width: 180px;
    height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.03);
    transition: 0.5s;
}

.stat-card:hover { 
    transform: scale(1.1); 
    background: #ff6b6b; 
    color: #fff; 
}

.stat-card:nth-child(1) { top: 0; left: 10%; }
.stat-card:nth-child(2) { bottom: 0; left: 20%; }
.stat-card:nth-child(3) { top: 10%; right: 15%; }
.stat-card:nth-child(4) { bottom: 10%; right: 5%; }

.stat-number { 
    font-size: 2rem; 
    font-weight: 900; 
}

.stat-label { 
    font-size: 0.7rem; 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
}

/* COMPARISON SECTION: Vertical Split Flow */
.comparison-section {
    display: flex;
    margin-bottom: 10rem;
    gap: 5rem;
}

.comparison-card {
    flex: 1;
    padding: 2rem;
}

.comparison-title {
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 2rem;
    border-bottom: 5px solid #ff6b6b;
    display: inline-block;
}

/* CONCLUSION: Clean Paper Style */
.conclusion {
    background: #1a1a1a;
    color: #fff;
    padding: 8rem 0;
    margin-top: 10rem;
    border-radius: 50% 50% 0 0 / 10%;
}

.search-results-header {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: 0.5;
    margin-bottom: 3rem;
    text-align: center;
}

.conclusion-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.conclusion-content h2 {
    font-family: 'Bodoni Moda', serif;
    font-size: 3.5rem;
    margin-bottom: 2rem;
    font-style: italic;
}

.anchor-link {
    color: #ff6b6b;
    text-decoration: none;
    font-weight: 900;
    border-bottom: 2px solid transparent;
    transition: 0.3s;
}

.anchor-link:hover { 
    border-bottom: 2px solid #ff6b6b; 
}

.footer {
    text-align: center;
    padding: 4rem 0;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.6;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .process-step, .process-step:nth-child(even) { 
        text-align: left; 
        justify-content: flex-start; 
    }
    .step-number { 
        font-size: 15rem; 
        top: -5rem; 
    }
    .comparison-section { 
        flex-direction: column; 
    }
    .research-dashboard { 
        height: auto; 
        padding: 5rem 0; 
        display: block; 
    }
    .stat-cluster { 
        position: static; 
        display: grid; 
        grid-template-columns: 1fr 1fr; 
        gap: 1rem; 
    }
    .stat-card { 
        position: static; 
        width: auto; 
        height: 150px; 
        border-radius: 20px; 
    }
    .conclusion { 
        border-radius: 0; 
    }
}