/* Base styles */
:root {
    --bg-color: #171717;
    --text-color: #e5e5e5;
    --card-bg: rgba(19, 35, 55, 0.6);
    --blue: #00D9FF;
    --pink: #FF6B9D;
    --orange: #FFB800;
    --green: #00FFA3;
    --purple: #A78BFA;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a1628 0%, #1e3a52 100%);
    overflow: hidden;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(0, 217, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 107, 157, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(0, 255, 163, 0.1) 0%, transparent 50%);
    animation: particleFloat 20s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    color: white;
}

.gradient-text {
    background: linear-gradient(135deg, var(--blue) 0%, var(--green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Section styles */
.section {
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: white;
}

.title-icon {
    font-size: 2rem;
}

/* Stats styles */
.stat-showcase {
    text-align: center;
    padding: 2rem 0;
}

.research-number {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.research-number .number {
    font-size: clamp(5rem, 12vw, 8rem);
    font-weight: 900;
    line-height: 1;
}

.research-number .unit {
    font-size: 2rem;
    color: var(--blue);
    font-weight: 700;
}

.stat-label-large {
    font-size: 1.25rem;
    color: #94a3b8;
    font-weight: 500;
    margin-bottom: 1rem;
}

/* Card styles */
.card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, border-color 0.3s ease;
    /* make cards flex containers so content stacks and footers stay at bottom */
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 217, 255, 0.3);
}

.awareness-highlight {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    text-align: center;
}

.highlight-stat {
    padding: 1rem;
}

.highlight-stat .research-number.large {
    transform: scale(1.2);
}

.highlight-stat .stat-label-large {
    font-size: 1.5rem;
    margin-top: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.highlight-info {
    margin: 0 auto;
    max-width: 90%;
    text-align: left;
}

.card h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: white;
}

.card-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.chart-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 1.5rem 0;
    padding: 0 1.5rem;
}

.card h3 {
    margin-bottom: 1rem;
    padding: 0 1.5rem;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0 1.5rem;
}

.platform-icon, .user-icon {
    font-size: 2.5rem;
    text-align: center;
    margin: 1rem 0;
    filter: drop-shadow(0 0 10px rgba(0, 217, 255, 0.3));
}

.platform-card h3, .user-card h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.card-icon-small {
    font-size: 1.5rem;
}

/* Chart styles */
.simple-chart {
    margin: 2rem 0;
}

.chart-bar {
    height: 3rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    color: white;
    margin: 0.75rem 0;
    transition: width 1s ease-out;
    font-size: 1.1rem;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.simple-bar-chart {
    margin: 2.5rem 0;
    padding: 0 1rem;
}

.bar-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin: 0.75rem 0;
}

.bar-label {
    min-width: 120px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: right;
}

.bar {
    height: 3rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    color: white;
    transition: width 1s ease-out;
    font-size: 1.1rem;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.info-box {
    background: rgba(0, 217, 255, 0.1);
    border-left: 4px solid var(--blue);
    padding: 1.5rem;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-box-icon {
    font-size: 1.5rem;
    line-height: 1;
    filter: drop-shadow(0 0 8px rgba(0, 217, 255, 0.4));
}

.info-box strong {
    display: block;
    color: var(--blue);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.info-box div {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Opinion / reflection boxes (fact vs my opinion) */
.opinion-row {
    display: flex;
    gap: 1rem;
    margin-top: 1.25rem;
    flex-wrap: wrap;
}

.fact-box, .opinion-box {
    flex: 1 1 320px;
    padding: 1rem;
    border-radius: 10px;
    font-size: 1rem;
    line-height: 1.5;
}

.fact-box {
    background: rgba(0, 217, 255, 0.06);
    border-left: 4px solid rgba(0,217,255,0.9);
    color: rgba(255,255,255,0.95);
}

.opinion-box {
    background: rgba(255, 107, 157, 0.04);
    border-left: 4px solid rgba(255,107,157,0.9);
    color: rgba(255,255,255,0.95);
}

.opinion-box strong, .fact-box strong {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

@media (max-width: 768px) {
    .opinion-row { flex-direction: column; }
}



/* Progress bars */
.progress-stats {
    margin: 2rem 0;
}

.progress-item {
    margin-bottom: 1.5rem;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--blue), var(--green));
    transition: width 1s ease-out;
}

.progress-note {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.5rem;
}

/* Grid layouts */
.grid-2-modern {
    display: grid;
    /* use auto-fit instead of auto-fill to ensure tiles expand to fill width */
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
    gap: 2rem;
    align-items: stretch; /* stretch items to fill height */
    grid-auto-rows: 1fr; /* equal-height rows */
}

.grid-3-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 2rem;
    align-items: stretch;
    grid-auto-rows: 1fr;
}

/* Asymmetry section */
.asymmetry-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 2rem;
    align-items: stretch;
    width: 100%;
    margin: 0 auto;
}

.vs-divider {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--blue);
    text-align: center;
    padding: 1rem;
    align-self: center;
}

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

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin: 0.75rem 0;
    line-height: 1.4;
}

.feature-list li .check,
.feature-list li .cross {
    flex-shrink: 0;
    margin-top: 0.2rem;
    font-size: 1.1rem;
}

.check {
    color: var(--blue);
}

.cross {
    color: var(--pink);
}

/* KPI styles */
.kpi-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.kpi-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.kpi-value {
    min-width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
}

.kpi-content strong {
    display: block;
    margin-bottom: 0.5rem;
}

/* Conclusion styles */
.conclusion-card {
    text-align: center;
}

.conclusion-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.conclusion-text {
    font-size: 1.125rem;
    margin: 1.5rem 0;
}

.conclusion-highlight {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 184, 0, 0.1);
    border-left: 3px solid var(--orange);
    border-radius: 8px;
    text-align: left;
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .grid-2-modern,
    .grid-3-modern {
        grid-template-columns: 1fr;
    }
    
    .asymmetry-container {
        grid-template-columns: 1fr;
    }
    
    .vs-divider {
        padding: 1rem 0;
    }
}