body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f7f7f7;
    color: #222;
}

.page-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px 60px;
}



.hero-section {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    margin-bottom: 25px;
    text-align: center;
}

.hero-section h1 {
    margin: 0 0 15px;
    font-size: 2.2rem;
    line-height: 1.2;
}

.daily-note{
margin-top:12px;
font-size:14px;
color:#666;
text-align:center;
max-width:600px;
margin-left:auto;
margin-right:auto;
line-height:1.4;
}

.hero-section p {
    max-width: 760px;
    margin: 0 auto 24px;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #555;
}

.hero-buttons{

margin-top:28px;

display:flex;

justify-content:center;

gap:18px;

flex-wrap:wrap;

}

.hero-buttons a {
    text-decoration: none;
    padding: 12px 22px;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.2s ease;
    display: inline-block;
}


.btn-primary,
.btn-secondary{

display:inline-block;

padding:16px 34px;

font-size:20px;

font-weight:600;

border-radius:10px;

text-decoration:none;

transition:all 0.2s ease;

box-shadow:0 3px 8px rgba(0,0,0,0.15);

}

.btn-primary {
    background: #70B0CF;
    color: #fff;
}

.btn-primary:hover {
    background: #1e4fd6;
}

.btn-secondary {
    background: #F2BB35;
    color: #222;
}

.btn-secondary:hover {
    background: #dddddd;
}

.stats-grid{
display:grid;
grid-template-columns: repeat(4, 1fr);
gap:20px;
margin:40px auto;
max-width:1100px;
}

.stat-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 22px 18px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    text-align: center;
}

.stat-card h3{
font-size:16px;
font-weight:600;
color:#555;
}

.stat-card{
background:white;
border-radius:14px;
padding:20px 16px;
text-align:center;
box-shadow:0 6px 18px rgba(0,0,0,0.08);
}

.map-section {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    margin-bottom: 25px;
}

.map-section h2 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.4rem;
}

.map-section p {
    margin-top: 0;
    margin-bottom: 18px;
    color: #555;
    line-height: 1.5;
}

#map-placeholder {
    width: 100%;
    height: 520px;
    border-radius: 12px;
    background:
        linear-gradient(135deg, #eef6ff, #f8fbff);
    border: 2px dashed #c7d7ea;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #6b7a89;
    font-size: 1rem;
    padding: 20px;
    box-sizing: border-box;
}

.info-section {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.info-section h2 {
    margin-top: 0;
    font-size: 1.35rem;
}

.info-section p {
    line-height: 1.7;
    color: #555;
    margin-bottom: 14px;
}

.info-section strong {
    color: #222;
}

@media (max-width:900px){

.stats-grid{
grid-template-columns: repeat(2, 1fr);
}

}

@media (max-width:500px){

.stats-grid{
grid-template-columns: 1fr;
}

}
#map {
width:100%;
height:520px;
border-radius:12px;
border:1px solid #ddd;
}

.map-legend{
position:absolute;
bottom:20px;
left:20px;
background:white;
padding:12px 14px;
border-radius:8px;
box-shadow:0 3px 8px rgba(0,0,0,0.15);
font-size:14px;
line-height:1.6;
z-index:1000;
}

.legend-title{
font-weight:bold;
margin-bottom:6px;
}

.legend-item{
display:flex;
align-items:center;
margin-bottom:4px;
}

.legend-color{
width:14px;
height:14px;
margin-right:6px;
border-radius:3px;
}

.red{
background:#d32f2f;
}

.yellow{
background:#f9a825;
}

.green{
background:#2e7d32;
}

.map-filters{
display:flex;
gap:10px;
flex-wrap:wrap;
margin-bottom:15px;
}

.map-filters select{
padding:8px 10px;
border-radius:6px;
border:1px solid #ccc;
font-size:14px;
}

.map-filters button{
padding:8px 14px;
border:none;
background:#2563eb;
color:white;
border-radius:6px;
cursor:pointer;
}

.map-filters button:hover{
background:#1e4fd6;
}

#mapLoading{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(255,255,255,0.85);
display:flex;
align-items:center;
justify-content:center;
font-size:18px;
font-weight:bold;
color:#555;
z-index:900;
border-radius:12px;
}

#resetMapView{
padding:8px 12px;
margin-left:10px;
border:none;
background:#1976d2;
color:white;
border-radius:6px;
cursor:pointer;
}

#resetMapView:hover{
background:#125ca1;
}

.insights-cta{

margin:60px 0;
padding:40px;

background:#f8fafc;

border-radius:12px;

text-align:center;

box-shadow:0 6px 18px rgba(0,0,0,0.08);

}

.insights-cta h2{
margin-bottom:10px;
font-size:26px;
}

.insights-cta p{
margin-bottom:25px;
color:#555;
font-size:16px;
line-height:1.6;
}

.insights-button{

display:inline-block;

background:#2563eb;
color:white;

padding:10px 22px;

border-radius:8px;

text-decoration:none;
font-weight:600;

font-size:15px;

transition:0.2s;

}
.insights-button{
max-width:180px;
text-align:center;
}

.insights-button:hover{
background:#1e4fd6;
transform:translateY(-2px);
}

.site-header{

background:white;
border-bottom:1px solid #e6e6e6;

padding:10px 20px;

position:sticky;
top:0;
z-index:1000;

}

.header-inner{

max-width:1200px;
margin:auto;

display:flex;
justify-content:space-between;
align-items:center;

}

.logo-area{

display:flex;
align-items:center;
gap:10px;

}

.logo-small{

height:28px;
}

.project-title{

font-weight:600;
font-size:16px;
color:#333;

}

.header-nav a{

margin-left:18px;
text-decoration:none;
color:#555;
font-weight:500;

}

.header-nav a:hover{
color:#2563eb;
}

.logo-small{
height:28px;
width:auto;
}

@media (max-width:600px){

.logo-small{
height:20px;
}

.project-title{
font-size:14px;
}

}

.heatmap-legend{

position:absolute;
bottom:20px;
right:20px;

background:white;
padding:10px 12px;

border-radius:8px;

box-shadow:0 3px 8px rgba(0,0,0,0.15);

font-size:13px;
line-height:1.4;

z-index:1000;

}

.academy-banner{
width:55%;
max-width:1200px;
margin:20px auto;
padding:0 15px;
box-sizing:border-box;
}

.academy-banner img{
width:100%;
height:auto;
display:block;
border-radius:12px;
}

@media (max-width:700px){

.academy-banner img{
height:140px;
object-fit:cover;
}

}

.stat-caption{
font-size:12px;
color:#777;
margin-top:4px;
}

.trend-text{
font-size:13px;
margin-top:6px;
font-weight:500;
}

.trend-up{
color:#2e7d32;
}

.trend-down{
color:#d32f2f;
}

.trend-neutral{
color:#666;
}
