/* Apple-style Design System */
:root {
    /* Colors - Apple-inspired palette */
    --color-primary: #0071e3;
    --color-primary-hover: #0077ed;
    --color-text: #1d1d1f;
    --color-text-secondary: #86868b;
    --color-text-light: #f5f5f7;
    --color-bg: #ffffff;
    --color-bg-secondary: #f5f5f7;
    --color-bg-dark: #000000;
    --color-border: #d2d2d7;
    --color-card: #ffffff;
    --color-gradient-start: #1d1d1f;
    --color-gradient-end: #434344;
    
    /* Typography */
    --font-display: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --section-padding: 120px;
    --content-max-width: 1200px;
    --content-narrow: 980px;
    
    /* Animation */
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s var(--transition-smooth);
}

a:hover {
    color: var(--color-primary-hover);
}

img {
    max-width: 100%;
    height: auto;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s var(--transition-smooth);
}

.nav-content {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 21px;
    font-weight: 600;
    color: var(--color-text);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 12px;
    font-weight: 400;
    color: var(--color-text);
    opacity: 0.8;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 1;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 24px 80px;
    background: linear-gradient(180deg, #f5f5f7 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: var(--content-narrow);
    z-index: 2;
}

.hero-title {
    font-size: clamp(48px, 10vw, 96px);
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.05;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #1d1d1f 0%, #434344 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s var(--transition-smooth) forwards;
    opacity: 0;
}

.hero-subtitle {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 600;
    letter-spacing: -0.005em;
    color: var(--color-text-secondary);
    margin-bottom: 24px;
    animation: fadeInUp 1s var(--transition-smooth) 0.1s forwards;
    opacity: 0;
}

.hero-description {
    font-size: 21px;
    line-height: 1.5;
    color: var(--color-text-secondary);
    margin-bottom: 40px;
    animation: fadeInUp 1s var(--transition-smooth) 0.2s forwards;
    opacity: 0;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s var(--transition-smooth) 0.3s forwards;
    opacity: 0;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    border-radius: 980px;
    font-size: 17px;
    font-weight: 500;
    transition: all 0.3s var(--transition-smooth);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--color-primary);
    color: white;
}

.btn-primary:hover {
    background: var(--color-primary-hover);
    transform: scale(1.02);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: white;
}

/* Chromosome Animation */
.hero-visual {
    margin-top: 60px;
    position: relative;
}

.chromosome-animation {
    display: flex;
    gap: 40px;
    animation: float 6s ease-in-out infinite;
}

.chromosome-pair {
    display: flex;
    gap: 8px;
}

.chromosome {
    width: 20px;
    height: 80px;
    background: linear-gradient(180deg, #0071e3 0%, #42a5f5 100%);
    border-radius: 10px;
    position: relative;
    animation: chromosomeFloat 4s ease-in-out infinite;
}

.chromosome::before {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.c2, .c4 {
    animation-delay: -2s;
}

@keyframes chromosomeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Sections */
.section {
    padding: var(--section-padding) 24px;
    position: relative;
}

.section-content {
    max-width: var(--content-narrow);
    margin: 0 auto;
}

.section-light {
    background: var(--color-bg);
}

.section-dark {
    background: var(--color-bg-dark);
    color: var(--color-text-light);
}

.section-gradient {
    background: linear-gradient(180deg, #1d1d1f 0%, #2d2d2f 100%);
    color: var(--color-text-light);
}

.section-label {
    display: block;
    font-size: 17px;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.section-dark .section-label,
.section-gradient .section-label {
    color: #2997ff;
}

.section-title {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.1;
    margin-bottom: 24px;
}

.section-intro {
    font-size: 21px;
    line-height: 1.5;
    color: var(--color-text-secondary);
    margin-bottom: 60px;
}

.section-dark .section-intro,
.section-gradient .section-intro {
    color: rgba(255, 255, 255, 0.7);
}

.text-light {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-bottom: 100px;
}

.feature-card {
    background: var(--color-bg-secondary);
    border-radius: 24px;
    padding: 40px 32px;
    text-align: center;
    transition: transform 0.4s var(--transition-spring), box-shadow 0.4s;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    color: var(--color-primary);
}

.feature-card h3 {
    font-size: 21px;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 17px;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* Timeline */
.process-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-title {
    font-size: 32px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 48px;
}

.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--color-primary) 0%, rgba(0, 113, 227, 0.2) 100%);
}

.timeline-item {
    position: relative;
    padding-bottom: 40px;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.6s var(--transition-smooth);
}

.timeline-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.timeline-marker {
    position: absolute;
    left: -40px;
    width: 34px;
    height: 34px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    border: 4px solid white;
    box-shadow: 0 0 0 2px var(--color-primary);
}

.timeline-content h4 {
    font-size: 21px;
    font-weight: 600;
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 17px;
    color: var(--color-text-secondary);
}

/* Recombination Section */
.recombination-showcase {
    margin-bottom: 80px;
}

.showcase-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.showcase-item.reverse {
    direction: rtl;
}

.showcase-item.reverse > * {
    direction: ltr;
}

.showcase-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.showcase-text h3 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 16px;
}

.showcase-text p {
    font-size: 19px;
    line-height: 1.6;
    opacity: 0.8;
    margin-bottom: 24px;
}

/* Crossover Demo */
.crossover-demo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.chromosome-parent, .recombinant {
    display: flex;
    gap: 4px;
    align-items: center;
}

.chromosome-result {
    display: flex;
    gap: 24px;
}

.segment {
    width: 60px;
    height: 24px;
    border-radius: 12px;
}

.s1 { background: #ff6b6b; }
.s2 { background: #4ecdc4; }
.s3 { background: #45b7d1; }
.s1-alt { background: #ffd93d; }
.s2-alt { background: #6bcf7f; }
.s3-alt { background: #a78bfa; }

.crossover-point {
    width: 100%;
    height: 2px;
    background: repeating-linear-gradient(90deg, #fff 0px, #fff 4px, transparent 4px, transparent 8px);
    position: relative;
}

.crossover-point::after {
    content: '×';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: var(--color-bg-dark);
    padding: 0 8px;
    color: #ff6b6b;
    font-size: 20px;
}

.arrow-down {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.5);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* Hotspot Visualization */
.hotspot-visualization {
    position: relative;
}

.dna-strand {
    display: flex;
    gap: 8px;
}

.base {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    transition: all 0.3s;
}

.base.hotspot-active {
    background: #ff6b6b;
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.prdm9-label {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.stat-row {
    display: flex;
    gap: 40px;
    margin-top: 32px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 40px;
    font-weight: 700;
    color: #2997ff;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* Genes Section */
.genes-section {
    margin-top: 80px;
}

.genes-title {
    font-size: 32px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
}

.genes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
}

.gene-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px 16px;
    text-align: center;
    transition: all 0.3s var(--transition-smooth);
}

.gene-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.gene-name {
    display: block;
    font-size: 20px;
    font-weight: 600;
    color: #2997ff;
    margin-bottom: 8px;
}

.gene-function {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* Aneuploidy Section */
.stats-highlight {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-bottom: 100px;
}

.stat-card.large {
    background: var(--color-bg-secondary);
    border-radius: 24px;
    padding: 48px 32px;
    text-align: center;
    transition: transform 0.4s var(--transition-spring);
}

.stat-card.large:hover {
    transform: scale(1.03);
}

.stat-value {
    display: block;
    font-size: 64px;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 16px;
}

.stat-desc {
    font-size: 19px;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* Conditions */
.conditions-section {
    margin-bottom: 100px;
}

.conditions-section h3 {
    font-size: 32px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 48px;
}

.conditions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.condition-card {
    background: var(--color-bg);
    border-radius: 20px;
    padding: 32px;
    border: 1px solid var(--color-border);
    transition: all 0.4s var(--transition-smooth);
    position: relative;
}

.condition-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
    border-color: transparent;
}

.condition-chromosome {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-primary) 0%, #42a5f5 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.condition-card h4 {
    font-size: 21px;
    font-weight: 600;
    margin-bottom: 12px;
}

.condition-card p {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.condition-tag {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 12px;
    color: var(--color-text-secondary);
    background: var(--color-bg-secondary);
    padding: 4px 12px;
    border-radius: 12px;
}

/* Age Factor */
.age-factor {
    background: linear-gradient(135deg, #1d1d1f 0%, #2d2d2f 100%);
    border-radius: 32px;
    padding: 60px;
    color: white;
}

.age-content h3 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 16px;
}

.age-content > p {
    font-size: 17px;
    opacity: 0.8;
    margin-bottom: 48px;
    max-width: 700px;
}

.age-chart {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.age-bar {
    display: flex;
    align-items: center;
    gap: 16px;
}

.age-label {
    width: 60px;
    font-size: 17px;
    font-weight: 500;
}

.bar-fill {
    flex: 1;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.bar-fill::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    background: linear-gradient(90deg, #42a5f5 0%, #ff6b6b 100%);
    border-radius: 16px;
    width: 0;
    transition: width 1.5s var(--transition-smooth);
}

.age-bar[data-rate="5"] .bar-fill::after { width: 5%; }
.age-bar[data-rate="15"] .bar-fill::after { width: 15%; }
.age-bar[data-rate="35"] .bar-fill::after { width: 35%; }
.age-bar[data-rate="60"] .bar-fill::after { width: 60%; }
.age-bar[data-rate="85"] .bar-fill::after { width: 85%; }

.rate-label {
    width: 60px;
    text-align: right;
    font-size: 15px;
    opacity: 0.8;
}

.chart-note {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    opacity: 0.6;
}

/* Research Section */
.paper-highlight {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 48px;
    margin-bottom: 60px;
}

.paper-header {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.journal-badge {
    background: #ff6b6b;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.paper-year {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
}

.paper-title {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 12px;
}

.paper-doi {
    font-size: 15px;
    opacity: 0.6;
}

.paper-doi a {
    color: #2997ff;
}

.study-overview {
    margin-bottom: 60px;
}

.study-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.study-stat {
    text-align: center;
    padding: 32px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
}

.study-number {
    display: block;
    font-size: 40px;
    font-weight: 700;
    color: #2997ff;
    margin-bottom: 8px;
}

.study-label {
    font-size: 15px;
    opacity: 0.7;
}

/* Findings Grid */
.findings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

.finding-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s var(--transition-smooth);
}

.finding-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-4px);
}

.finding-number {
    font-size: 48px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.1);
    line-height: 1;
    margin-bottom: 16px;
}

.finding-card h4 {
    font-size: 21px;
    font-weight: 600;
    margin-bottom: 12px;
}

.finding-card p {
    font-size: 15px;
    opacity: 0.7;
    line-height: 1.6;
}

/* Clinical Implications */
.clinical-implications h3 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 40px;
    text-align: center;
}

.implications-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.implication-item {
    display: flex;
    gap: 24px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s;
}

.implication-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.implication-icon {
    font-size: 32px;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    flex-shrink: 0;
}

.implication-content h4 {
    font-size: 21px;
    font-weight: 600;
    margin-bottom: 8px;
}

.implication-content p {
    font-size: 15px;
    opacity: 0.7;
    line-height: 1.6;
}

/* Knowledge Graph */
.knowledge-graph-container {
    margin: 60px 0;
}

.graph-wrapper {
    position: relative;
    background: var(--color-bg-secondary);
    border-radius: 24px;
    overflow: hidden;
}

.knowledge-graph-img {
    width: 100%;
    display: block;
    transition: transform 0.6s var(--transition-smooth);
}

.graph-wrapper:hover .knowledge-graph-img {
    transform: scale(1.02);
}

.graph-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 40px 24px 24px;
}

.graph-legend {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: white;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
}

.legend-color.core { background: #ff6b6b; }
.legend-color.gene { background: #4ecdc4; }
.legend-color.disease { background: #ffd93d; }
.legend-color.process { background: #a78bfa; }

.graph-caption {
    text-align: center;
    font-size: 14px;
    color: var(--color-text-secondary);
    margin-top: 16px;
}

/* Related Topics */
.related-topics {
    margin-top: 60px;
}

.related-topics h3 {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 32px;
}

.topic-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.topic-tag {
    background: var(--color-bg-secondary);
    padding: 12px 20px;
    border-radius: 24px;
    font-size: 15px;
    color: var(--color-text-secondary);
    transition: all 0.3s;
    cursor: default;
}

.topic-tag:hover {
    background: var(--color-primary);
    color: white;
}

/* References */
.references-list {
    max-width: 800px;
    margin: 0 auto 60px;
}

.reference-item {
    padding: 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ref-type {
    display: inline-block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #2997ff;
    margin-bottom: 8px;
}

.ref-content {
    font-size: 17px;
    line-height: 1.6;
    opacity: 0.9;
}

.ref-content a {
    color: #2997ff;
    word-break: break-all;
}

.footer-note {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-note p {
    font-size: 14px;
    opacity: 0.6;
    margin-bottom: 8px;
}

.copyright {
    font-size: 12px !important;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll animations */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-smooth);
}

[data-animate="slide-in-left"] {
    transform: translateX(-50px);
}

[data-animate="slide-in-right"] {
    transform: translateX(50px);
}

[data-animate="scale-up"] {
    transform: scale(0.9);
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* Responsive */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }
    
    .showcase-item {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .showcase-item.reverse {
        direction: ltr;
    }
    
    .findings-grid {
        grid-template-columns: 1fr;
    }
    
    .study-stats {
        grid-template-columns: 1fr;
    }
    
    .age-factor {
        padding: 40px 24px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero {
        padding: 120px 20px 60px;
    }
    
    .section {
        padding: 60px 20px;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .genes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-row {
        flex-direction: column;
        gap: 24px;
    }
    
    .implication-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .paper-highlight {
        padding: 32px 24px;
    }
    
    .paper-title {
        font-size: 21px;
    }
    
    .graph-legend {
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .genes-grid {
        grid-template-columns: 1fr;
    }
    
    .conditions-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* Research Figures Section */
.research-figures {
    margin-top: 80px;
}

.figures-section-title {
    font-size: 32px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 48px;
    color: var(--color-text-light);
}

.figure-header {
    margin-bottom: 24px;
}

.figure-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    background: rgba(0, 113, 227, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.figure-tag.dark {
    color: #0071e3;
    background: rgba(0, 113, 227, 0.1);
}

.figure-header h4 {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-text-light);
    margin: 0;
}

/* Figure Container Enhancement */
.figure-container {
    margin: 60px 0;
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.section-light .figure-container {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.section-light .figure-header h4 {
    color: var(--color-text);
}

.section-light .figure-caption {
    color: var(--color-text-secondary);
}

.section-light .figure-source {
    color: var(--color-text-secondary);
}

/* Figure Container Enhancement */
.figure-container {
    margin: 48px 0;
    padding: 40px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.scientific-figure {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s var(--transition-smooth), box-shadow 0.4s var(--transition-smooth);
}

.scientific-figure:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.figure-caption {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
@media print {
    .nav, .hero-visual, .chromosome-animation {
        display: none;
    }
    
    .section {
        padding: 40px 20px;
    }
    
    body {
        color: black;
    }
}

/* Figure Styles */
.figure-container {
    margin: 60px 0;
    padding: 40px;
    background: var(--color-bg);
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.figure-container.figure-light {
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.figure-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
    text-align: center;
    color: var(--color-text);
}

.figure-light .figure-title {
    color: var(--color-text-light);
}

.scientific-figure {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s var(--transition-smooth);
}

.scientific-figure:hover {
    transform: scale(1.02);
}

.figure-caption {
    font-size: 14px;
    color: var(--color-text-secondary);
    text-align: center;
    margin-top: 20px;
    line-height: 1.6;
    font-style: italic;
}

.figure-light .figure-caption {
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive figures */
@media (max-width: 768px) {
    .figure-container {
        margin: 40px 0;
        padding: 24px;
    }
    
    .figure-title {
        font-size: 20px;
    }
    
    .scientific-figure:hover {
        transform: none;
    }
}
