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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #ffffff;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    background: linear-gradient(135deg, #ff6b35, #f9ca24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo .tagline {
    font-size: 0.85rem;
    opacity: 0.9;
    font-weight: 300;
    color: #b8c6db;
}

.back-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.back-link:hover {
    background: rgba(255,255,255,0.1);
    border-color: #ff6b35;
    gap: 0.75rem;
}

/* ${area_name} Research Study Hero */
.research-hero {
    background: linear-gradient(135deg, #059669 0%, #047857 50%, #065f46 100%);
    color: white;
    padding: 140px 0 60px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.research-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(5, 150, 105, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(4, 120, 87, 0.3) 0%, transparent 50%);
    z-index: 1;
}

.research-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.research-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
    background: rgba(255,255,255,0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.research-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.research-hero p {
    font-size: 1.1rem;
    opacity: 0.95;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

/* Content Sections */
.research-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 20px;
}

.content-section {
    margin-bottom: 4rem;
}

.content-section h2 {
    font-size: 2rem;
    color: #047857;
    margin-bottom: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.content-section h3 {
    font-size: 1.4rem;
    color: #334155;
    margin: 2rem 0 1rem;
    font-weight: 600;
}

.content-section p,
.content-section li {
    line-height: 1.8;
    color: #475569;
    margin-bottom: 1.2rem;
    font-size: 1rem;
}

.content-section ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

/* ${area_name} Research Notice */
.research-notice {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border: 2px solid #22c55e;
    border-radius: 15px;
    padding: 2rem;
    margin: 3rem 0;
    position: relative;
}

.research-notice::before {
    content: '🔬';
    position: absolute;
    top: -15px;
    left: 30px;
    background: #22c55e;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.research-notice h4 {
    color: #047857;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    padding-left: 1rem;
}

.research-notice p {
    color: #047857;
    margin-bottom: 0.8rem;
}

/* ${area_name} Calibration Tables */
.calibration-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.calibration-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
}

.calibration-header {
    background: #047857;
    color: white;
    padding: 1rem;
    text-align: center;
    font-weight: 600;
}

.calibration-data {
    padding: 1.5rem;
}

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

.calibration-data th {
    background: #f0fdf4;
    color: #047857;
    padding: 0.75rem;
    text-align: left;
    font-weight: 600;
    border-bottom: 1px solid #bbf7d0;
}

.calibration-data td {
    padding: 0.75rem;
    border-bottom: 1px solid #f0fdf4;
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 0.9rem;
}

.status-pass {
    color: #22c55e;
    font-weight: bold;
}

.status-fail {
    color: #ef4444;
    font-weight: bold;
}

/* Data Tables */
.data-table {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin: 2rem 0;
}

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

.data-table th {
    background: #047857;
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.data-table td {
    padding: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.data-table tr:hover {
    background: #f0fdf4;
}

/* ${area_name} Channel Response Grid */
.channel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.channel-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}

.channel-name {
    font-weight: 700;
    color: #047857;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.channel-response {
    font-size: 1.5rem;
    font-weight: 800;
    color: #22c55e;
    margin: 0.5rem 0;
}

.channel-latency {
    font-size: 0.9rem;
    color: #64748b;
}

/* Statistics Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #047857;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
}

/* ${area_name} Waveform Charts */
.waveform-container {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}

.waveform-chart {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.waveform-svg {
    width: 100%;
    height: 100%;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 3rem;
    margin: 3rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(135deg, #047857, #22c55e);
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 2rem;
    background: white;
    padding: 1.5rem 1.5rem 1.5rem 3.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -3.5rem;
    top: 1.5rem;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #047857;
    border: 3px solid white;
    box-shadow: 0 0 0 3px rgba(4, 120, 87, 0.2);
}

.timeline-item h4 {
    color: #047857;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* ${area_name} Key Findings */
.key-findings {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border-radius: 20px;
    padding: 2.5rem;
    margin: 3rem 0;
    border: 2px solid #22c55e;
    position: relative;
}

.key-findings::before {
    content: '🎯';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #22c55e;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.key-findings h3 {
    color: #047857;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.4rem;
}

.key-findings ul {
    list-style: none;
    padding: 0;
}

.key-findings li {
    padding-left: 2rem;
    position: relative;
    margin-bottom: 1rem;
    color: #065f46;
    font-weight: 500;
}

.key-findings li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #22c55e;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Quote Box */
.quote-box {
    background: #f0fdf4;
    border-left: 5px solid #22c55e;
    padding: 2rem 2.5rem;
    margin: 3rem 0;
    font-style: italic;
    color: #334155;
    border-radius: 0 15px 15px 0;
    position: relative;
}

.quote-box::before {
    content: '"';
    font-size: 4rem;
    color: #22c55e;
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: serif;
    opacity: 0.3;
}

.quote-attribution {
    text-align: right;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #64748b;
    font-style: normal;
    font-weight: 600;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: 60px 0 30px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ff6b35, transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #ff6b35;
    font-size: 1.1rem;
    font-weight: 700;
}

.footer-section p {
    margin-bottom: 0.8rem;
    opacity: 0.9;
    line-height: 1.6;
    color: #cbd5e1;
    font-size: 0.85rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #cbd5e1;
    text-decoration: none;
    opacity: 0.9;
    transition: all 0.3s ease;
    display: inline-block;
    font-weight: 500;
    font-size: 0.8rem;
}

.footer-section a:hover {
    opacity: 1;
    color: #ff6b35;
    transform: translateX(3px);
}

.social-link {
    margin-right: 1rem;
    margin-top: 1rem;
    display: inline-block;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #374151;
    opacity: 0.8;
    max-width: 1200px;
    margin: 0 auto;
    font-size: 0.8rem;
    color: #94a3b8;
    padding-left: 20px;
    padding-right: 20px;
}
.site-logo {
font-size: 1.8rem;
font-weight: 700;
line-height: 1;
margin-bottom: 0.25rem;
}

.site-logo a {
text-decoration: none;
background: linear-gradient(135deg, #ff6b35, #f9ca24);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
/* Mobile Responsive */
@media (max-width: 768px) {
    .research-hero h1 { font-size: 2rem; }
    .research-meta { flex-direction: column; align-items: center; gap: 1rem; }
    .calibration-container { grid-template-columns: 1fr; }
    .channel-grid { grid-template-columns: repeat(2, 1fr); }
    .timeline { padding-left: 2rem; }
    .timeline-item { padding: 1.5rem 1rem 1.5rem 2.5rem; }
    .research-content { padding: 2rem 20px; }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .data-table { overflow-x: auto; }
}

@media (max-width: 480px) {
    .research-hero h1 { font-size: 1.8rem; }
    .stat-number { font-size: 2rem; }
}
