report / styles.css
ndwdgda's picture
Upload folder using huggingface_hub
8499731 verified
/* Reset & Base */
:root {
--bg-color: #ffffff;
--text-primary: #111827;
--text-secondary: #4b5563;
--accent-color: #2563eb;
/* Electric Blue */
--accent-hover: #1d4ed8;
--bg-alt: #f9fafb;
--border-color: #e5e7eb;
--card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
--font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: var(--font-sans);
color: var(--text-primary);
line-height: 1.6;
background-color: var(--bg-color);
-webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4 {
font-weight: 700;
letter-spacing: -0.025em;
line-height: 1.2;
}
a {
text-decoration: none;
color: inherit;
transition: color 0.2s;
}
/* Utilities */
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 2rem;
}
.btn-primary {
display: inline-block;
background-color: var(--text-primary);
color: white;
padding: 0.75rem 1.5rem;
border-radius: 9999px;
font-weight: 500;
transition: background-color 0.2s, transform 0.1s;
}
.btn-primary:hover {
background-color: #000;
transform: translateY(-1px);
}
/* Navbar */
.navbar {
position: fixed;
top: 0;
width: 100%;
background: rgba(255, 255, 255, 0.9);
backdrop-filter: blur(10px);
border-bottom: 1px solid var(--border-color);
z-index: 1000;
padding: 1rem 0;
}
.nav-container {
max-width: 1200px;
margin: 0 auto;
padding: 0 2rem;
display: flex;
justify-content: space-between;
align-items: center;
}
.nav-logo {
font-weight: 700;
font-size: 1.25rem;
}
.nav-logo .accent {
color: var(--accent-color);
}
.nav-links a {
margin-left: 2rem;
font-size: 0.9rem;
color: var(--text-secondary);
font-weight: 500;
}
.nav-links a:hover {
color: var(--text-primary);
}
/* Hero Section */
.hero {
padding-top: 8rem;
padding-bottom: 4rem;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
max-width: 1000px;
margin: 0 auto;
}
.hero-content {
margin-bottom: 3rem;
padding: 0 1rem;
}
.badge {
display: inline-block;
background-color: var(--bg-alt);
color: var(--accent-color);
padding: 0.25rem 0.75rem;
border-radius: 9999px;
font-size: 0.875rem;
font-weight: 600;
margin-bottom: 1.5rem;
border: 1px solid var(--border-color);
}
.hero h1 {
font-size: 4rem;
margin-bottom: 1.5rem;
background: linear-gradient(to right, #111827, #4b5563);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
}
.hero-subtitle {
font-size: 1.25rem;
color: var(--text-secondary);
max-width: 600px;
margin: 0 auto 2rem;
}
.hero-visual {
width: 100%;
max-width: 1000px;
height: 500px;
border-radius: 1.5rem;
overflow: hidden;
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
/* Sections */
.section {
padding: 6rem 0;
}
.alt-bg {
background-color: var(--bg-alt);
}
.section-header {
text-align: center;
max-width: 700px;
margin: 0 auto 4rem;
}
.chapter-label {
display: block;
font-size: 0.875rem;
font-weight: 600;
color: var(--accent-color);
margin-bottom: 0.5rem;
text-transform: uppercase;
letter-spacing: 0.05em;
}
.section-header h2 {
font-size: 2.5rem;
margin-bottom: 1rem;
}
.section-header p {
font-size: 1.125rem;
color: var(--text-secondary);
}
/* Content Grid */
.content-grid {
display: grid;
grid-template-columns: 2fr 1fr;
gap: 4rem;
align-items: center;
}
.text-block p {
margin-bottom: 1.5rem;
font-size: 1.125rem;
}
.stat-card {
background: white;
padding: 2rem;
border-radius: 1rem;
box-shadow: var(--card-shadow);
text-align: center;
border: 1px solid var(--border-color);
}
.stat-card h3 {
font-size: 3rem;
color: var(--accent-color);
margin-bottom: 0.5rem;
}
/* Charts */
.chart-container-large {
position: relative;
height: 500px;
width: 100%;
margin-bottom: 4rem;
background: white;
padding: 2rem;
border-radius: 1rem;
box-shadow: var(--card-shadow);
}
.chart-container-wide {
position: relative;
height: 400px;
width: 100%;
margin-bottom: 4rem;
background: white;
padding: 2rem;
border-radius: 1rem;
box-shadow: var(--card-shadow);
}
.content-columns {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 4rem;
}
.col h3 {
margin-bottom: 1rem;
font-size: 1.5rem;
}
/* Split Layout */
.split-layout {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 4rem;
align-items: center;
}
.feature-list {
list-style: none;
margin-top: 2rem;
}
.feature-list li {
margin-bottom: 1rem;
padding-left: 1.5rem;
position: relative;
}
.feature-list li::before {
content: "•";
color: var(--accent-color);
position: absolute;
left: 0;
font-weight: bold;
}
.chart-side {
background: white;
padding: 2rem;
border-radius: 1rem;
box-shadow: var(--card-shadow);
height: 400px;
}
/* Conclusion */
.conclusion-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 2rem;
}
.card {
background: var(--bg-alt);
padding: 2rem;
border-radius: 1rem;
border: 1px solid var(--border-color);
}
.card h3 {
margin-bottom: 1rem;
font-size: 1.25rem;
}
/* Footer */
footer {
padding: 4rem 0;
text-align: center;
color: var(--text-secondary);
border-top: 1px solid var(--border-color);
}
/* Placeholders */
.img-placeholder {
width: 100%;
height: 100%;
background: linear-gradient(45deg, #f3f4f6, #e5e7eb);
display: flex;
align-items: center;
justify-content: center;
color: var(--text-secondary);
font-weight: 500;
min-height: 300px;
border-radius: 1rem;
}
.visual-break {
margin-top: 4rem;
height: 400px;
border-radius: 1rem;
overflow: hidden;
}
/* Responsive */
@media (max-width: 768px) {
.hero h1 {
font-size: 2.5rem;
}
.content-grid,
.content-columns,
.split-layout,
.conclusion-grid {
grid-template-columns: 1fr;
gap: 2rem;
}
.nav-links {
display: none;
/* Simple hide for mobile for now */
}
.hero-visual {
height: auto;
aspect-ratio: 16/9;
/* Maintain aspect ratio on mobile to prevent blank space */
}
}