375 lines
7.2 KiB
CSS
375 lines
7.2 KiB
CSS
/* ===================================================================
|
|
CurcuVance BioSciences - Base Styles & Reset
|
|
=================================================================== */
|
|
|
|
*, *::before, *::after {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
html {
|
|
font-size: 16px;
|
|
scroll-behavior: smooth;
|
|
scroll-padding-top: 86px;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
html {
|
|
scroll-behavior: auto;
|
|
}
|
|
}
|
|
|
|
/* Global Sleek Custom Scrollbar */
|
|
::-webkit-scrollbar {
|
|
width: 9px;
|
|
height: 9px;
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
background: #f1f5f9;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background: #cbd5e1;
|
|
border-radius: 9999px;
|
|
border: 2px solid #f1f5f9;
|
|
transition: background 0.2s ease;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: #10b981;
|
|
}
|
|
|
|
body {
|
|
font-family: var(--font-body);
|
|
color: var(--neutral-800);
|
|
background-color: var(--neutral-50);
|
|
line-height: 1.65;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
/* Typography */
|
|
h1, h2, h3, h4, h5, h6 {
|
|
font-family: var(--font-heading);
|
|
color: var(--neutral-900);
|
|
font-weight: 700;
|
|
line-height: 1.25;
|
|
letter-spacing: -0.02em;
|
|
}
|
|
|
|
h1 {
|
|
font-size: clamp(2.25rem, 4vw + 1rem, 3.75rem);
|
|
font-weight: 800;
|
|
}
|
|
|
|
h2 {
|
|
font-size: clamp(1.85rem, 2.5vw + 1rem, 2.75rem);
|
|
}
|
|
|
|
h3 {
|
|
font-size: clamp(1.35rem, 1.5vw + 0.75rem, 1.75rem);
|
|
}
|
|
|
|
h4 {
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
p {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
p.lead {
|
|
font-size: 1.15rem;
|
|
line-height: 1.7;
|
|
color: var(--neutral-700);
|
|
}
|
|
|
|
a {
|
|
color: var(--primary-700);
|
|
text-decoration: none;
|
|
transition: color var(--transition-fast);
|
|
}
|
|
|
|
a:hover {
|
|
color: var(--primary-600);
|
|
}
|
|
|
|
img {
|
|
max-width: 100%;
|
|
height: auto;
|
|
display: block;
|
|
}
|
|
|
|
/* Layout Containers */
|
|
.container {
|
|
width: 100%;
|
|
max-width: var(--container-max);
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
padding-left: var(--spacing-lg);
|
|
padding-right: var(--spacing-lg);
|
|
}
|
|
|
|
.container-wide {
|
|
width: 100%;
|
|
max-width: var(--container-wide);
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
padding-left: var(--spacing-lg);
|
|
padding-right: var(--spacing-lg);
|
|
}
|
|
|
|
/* Sections */
|
|
.section {
|
|
padding: var(--spacing-4xl) 0;
|
|
position: relative;
|
|
}
|
|
|
|
.section-sm {
|
|
padding: var(--spacing-2xl) 0;
|
|
}
|
|
|
|
.section-bg-white {
|
|
background-color: #ffffff;
|
|
border-top: 1px solid #e2e8f0;
|
|
border-bottom: 1px solid #e2e8f0;
|
|
}
|
|
|
|
.section-bg-tint {
|
|
background-color: #f8fafc;
|
|
border-top: 1px solid #e2e8f0;
|
|
border-bottom: 1px solid #e2e8f0;
|
|
}
|
|
|
|
.section-bg-warm-tint {
|
|
background: linear-gradient(180deg, #faf7f2 0%, #f4efe6 100%);
|
|
border-top: 1px solid #ede5d8;
|
|
border-bottom: 1px solid #ede5d8;
|
|
}
|
|
|
|
.section-bg-slate-tint {
|
|
background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
|
|
border-top: 1px solid #e2e8f0;
|
|
border-bottom: 1px solid #e2e8f0;
|
|
}
|
|
|
|
.section-bg-dark {
|
|
background: linear-gradient(135deg, #092c23 0%, #051914 100%);
|
|
color: var(--neutral-100);
|
|
border-top: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.section-bg-dark h2,
|
|
.section-bg-dark h3,
|
|
.section-bg-dark h4 {
|
|
color: var(--white);
|
|
}
|
|
|
|
.section-bg-dark .lead,
|
|
.section-bg-dark p {
|
|
color: var(--neutral-300);
|
|
}
|
|
|
|
/* Section Headers */
|
|
.section-header {
|
|
text-align: center;
|
|
max-width: 760px;
|
|
margin: 0 auto var(--spacing-3xl);
|
|
}
|
|
|
|
.section-header.text-left {
|
|
text-align: left;
|
|
margin-left: 0;
|
|
}
|
|
|
|
.section-kicker {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
font-family: var(--font-heading);
|
|
font-size: 0.85rem;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.08em;
|
|
color: var(--primary-700);
|
|
background: var(--primary-100);
|
|
padding: 0.35rem 0.9rem;
|
|
border-radius: var(--radius-full);
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.section-bg-dark .section-kicker {
|
|
background: rgba(245, 158, 11, 0.15);
|
|
color: var(--accent-400);
|
|
border: 1px solid rgba(245, 158, 11, 0.3);
|
|
}
|
|
|
|
.section-title {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.section-subtitle {
|
|
font-size: 1.125rem;
|
|
color: var(--neutral-600);
|
|
line-height: 1.65;
|
|
}
|
|
|
|
/* Buttons */
|
|
.btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 0.6rem;
|
|
font-family: var(--font-heading);
|
|
font-size: 0.95rem;
|
|
font-weight: 600;
|
|
padding: 0.85rem 1.65rem;
|
|
border-radius: var(--radius-md);
|
|
cursor: pointer;
|
|
transition: all var(--transition-normal);
|
|
border: 1px solid transparent;
|
|
line-height: 1.2;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: linear-gradient(135deg, var(--primary-800) 0%, var(--primary-700) 100%);
|
|
color: var(--white);
|
|
box-shadow: 0 4px 12px rgba(11, 59, 44, 0.25);
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-600) 100%);
|
|
color: var(--white);
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 8px 18px rgba(11, 59, 44, 0.35);
|
|
}
|
|
|
|
.btn-gold {
|
|
background: linear-gradient(135deg, var(--accent-500) 0%, var(--accent-600) 100%);
|
|
color: var(--neutral-950);
|
|
box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.btn-gold:hover {
|
|
background: linear-gradient(135deg, var(--accent-400) 0%, var(--accent-500) 100%);
|
|
color: var(--neutral-950);
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 8px 22px rgba(245, 158, 11, 0.45);
|
|
}
|
|
|
|
.btn-outline {
|
|
background: transparent;
|
|
color: var(--primary-800);
|
|
border: 1.5px solid var(--primary-700);
|
|
}
|
|
|
|
.btn-outline:hover {
|
|
background: var(--primary-100);
|
|
color: var(--primary-900);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.btn-outline-white {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
backdrop-filter: blur(8px);
|
|
color: var(--white);
|
|
border: 1.5px solid rgba(255, 255, 255, 0.35);
|
|
}
|
|
|
|
.btn-outline-white:hover {
|
|
background: var(--white);
|
|
color: var(--primary-900);
|
|
border-color: var(--white);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.btn-sm {
|
|
padding: 0.55rem 1.15rem;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.btn-lg {
|
|
padding: 1.05rem 2.2rem;
|
|
font-size: 1.05rem;
|
|
}
|
|
|
|
/* Badges */
|
|
.badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.35rem;
|
|
font-size: 0.75rem;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
padding: 0.25rem 0.65rem;
|
|
border-radius: var(--radius-sm);
|
|
}
|
|
|
|
.badge-gold {
|
|
background: var(--accent-100);
|
|
color: var(--accent-900);
|
|
border: 1px solid rgba(245, 158, 11, 0.3);
|
|
}
|
|
|
|
.badge-green {
|
|
background: var(--primary-100);
|
|
color: var(--primary-800);
|
|
border: 1px solid rgba(16, 82, 62, 0.2);
|
|
}
|
|
|
|
.badge-blue {
|
|
background: var(--science-blue-light);
|
|
color: var(--science-blue);
|
|
}
|
|
|
|
/* Grids */
|
|
.grid {
|
|
display: grid;
|
|
gap: var(--spacing-xl);
|
|
}
|
|
|
|
.grid-2 {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
|
|
.grid-3 {
|
|
grid-template-columns: repeat(3, 1fr);
|
|
}
|
|
|
|
.grid-4 {
|
|
grid-template-columns: repeat(4, 1fr);
|
|
}
|
|
|
|
@media (max-width: 1024px) {
|
|
.grid-4 { grid-template-columns: repeat(2, 1fr); }
|
|
.grid-3 { grid-template-columns: repeat(2, 1fr); }
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
|
|
.section { padding: var(--spacing-2xl) 0; }
|
|
}
|
|
|
|
/* Card base */
|
|
.card {
|
|
background: var(--white);
|
|
border-radius: var(--radius-lg);
|
|
border: 1px solid var(--neutral-200);
|
|
padding: var(--spacing-xl);
|
|
transition: all var(--transition-normal);
|
|
box-shadow: var(--shadow-sm);
|
|
}
|
|
|
|
.card:hover {
|
|
box-shadow: var(--shadow-xl);
|
|
transform: translateY(-4px);
|
|
border-color: var(--primary-500);
|
|
}
|