/* Liqomics Corporate Brand Stylesheet */

:root {
    /* Brand Colors - From Liqomics Logo */
    --liqomics-burgundy: #8B1F41;
    --liqomics-burgundy-dark: #6B1631;
    --liqomics-burgundy-light: #A02D52;
    --liqomics-grey-dark: #2d2d2d;
    --liqomics-grey-medium: #5a5a5a;
    --liqomics-grey-light: #8b8b8b;

    /* Neutral Colors */
    --white: #ffffff;
    --off-white: #f8f9fa;
    --light-grey: #e8e9eb;
    --border-grey: #d1d3d6;

    /* Semantic Colors */
    --success-green: #28a745;
    --info-blue: #17a2b8;
    --warning-amber: #ffc107;
    --error-red: #dc3545;

    /* Text Colors */
    --text-primary: #2d2d2d;
    --text-secondary: #5a5a5a;
    --text-muted: #8b8b8b;
    --text-inverse: #ffffff;

    /* Backgrounds */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-accent: #fef5f8;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(45, 45, 45, 0.08);
    --shadow-md: 0 4px 12px rgba(45, 45, 45, 0.12);
    --shadow-lg: 0 8px 24px rgba(45, 45, 45, 0.16);

    /* Typography */
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    --font-family-heading: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-xxl: 4rem;
}

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

body {
    font-family: var(--font-family);
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg-primary);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Header */
header {
    background: var(--white);
    border-bottom: 2px solid var(--liqomics-burgundy);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-section img {
    height: 40px;
    width: auto;
}

.tagline {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
    padding-left: 1rem;
    border-left: 2px solid var(--light-grey);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--liqomics-burgundy);
    transition: width 0.2s;
}

nav a:hover {
    color: var(--liqomics-burgundy);
}

nav a:hover::after {
    width: 100%;
}

/* Disclaimer Banner */
.disclaimer-banner {
    background: linear-gradient(135deg, #fff5f7 0%, #ffe8ed 100%);
    border-left: 4px solid var(--liqomics-burgundy);
    padding: 1rem 2rem;
    margin: 0 auto;
    max-width: 1400px;
    border-radius: var(--radius-md);
    margin-top: 1rem;
}

.disclaimer-banner strong {
    color: var(--liqomics-burgundy);
    font-size: 0.95rem;
    display: block;
    margin-bottom: 0.5rem;
}

.disclaimer-banner p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Main Content */
main {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-lg);
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: var(--space-xxl) var(--space-lg);
    background: linear-gradient(135deg, #fef5f8 0%, #ffffff 100%);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-xl);
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--liqomics-burgundy) 0%, var(--liqomics-burgundy-light) 100%);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.hero-section h1 {
    font-family: var(--font-family-heading);
    font-size: 2.75rem;
    color: var(--liqomics-grey-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-section p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

/* Buttons */
.btn {
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--liqomics-burgundy);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--liqomics-burgundy-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--white);
    color: var(--liqomics-burgundy);
    border: 2px solid var(--liqomics-burgundy);
}

.btn-secondary:hover {
    background: var(--bg-accent);
    transform: translateY(-2px);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Products Section */
.products-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: var(--space-xl) 0;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--border-grey);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--liqomics-burgundy);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--liqomics-burgundy);
}

.product-card h3 {
    color: var(--liqomics-burgundy);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.product-badge {
    display: inline-block;
    background: var(--bg-accent);
    color: var(--liqomics-burgundy);
    padding: 0.375rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.product-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Rankings Section */
.rankings-section {
    margin: var(--space-xxl) 0;
}

.rankings-section h2 {
    font-size: 2rem;
    color: var(--liqomics-grey-dark);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
}

.rankings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(520px, 1fr));
    gap: 2rem;
}

.ranking-card {
    background: var(--white);
    border: 1px solid var(--border-grey);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.ranking-header {
    background: linear-gradient(135deg, var(--liqomics-burgundy) 0%, var(--liqomics-burgundy-dark) 100%);
    color: var(--white);
    padding: 1.5rem;
    text-align: center;
}

.ranking-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.ranking-header p {
    font-size: 0.95rem;
    opacity: 0.95;
}

.ranking-list {
    padding: 1.5rem;
}

.ranking-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    border-bottom: 1px solid var(--light-grey);
    transition: background 0.2s;
}

.ranking-item:last-child {
    border-bottom: none;
}

.ranking-item:hover {
    background: var(--bg-secondary);
}

.rank-number {
    background: var(--liqomics-burgundy);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.rank-number.gold { background: #d4af37; }
.rank-number.silver { background: #94a3b8; }
.rank-number.bronze { background: #cd7f32; }

.ranking-content {
    flex: 1;
}

.ranking-content h4 {
    color: var(--liqomics-grey-dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.ranking-content h4 a {
    color: var(--liqomics-grey-dark);
    text-decoration: none;
    transition: color 0.2s;
}

.ranking-content h4 a:hover {
    color: var(--liqomics-burgundy);
}

.ranking-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.evidence-badge {
    background: #d4edda;
    color: #155724;
    padding: 0.25rem 0.625rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.5rem;
    white-space: nowrap;
}

/* Cancer Grid */
.cancer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: var(--space-xl) 0;
}

.cancer-card {
    background: var(--white);
    border: 1px solid var(--border-grey);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
}

.cancer-card::after {
    content: '→';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--liqomics-burgundy);
    font-size: 1.5rem;
    opacity: 0;
    transition: all 0.3s;
}

.cancer-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--liqomics-burgundy);
    transform: translateY(-2px);
}

.cancer-card:hover::after {
    opacity: 1;
    right: 1rem;
}

.cancer-card h3 {
    color: var(--liqomics-burgundy);
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
    font-weight: 600;
}

.cancer-card p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Cancer Detail Pages */
.cancer-detail {
    max-width: 1000px;
    margin: 0 auto;
}

.cancer-header {
    background: linear-gradient(135deg, var(--liqomics-burgundy) 0%, var(--liqomics-burgundy-dark) 100%);
    color: var(--white);
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
}

.cancer-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.cancer-header .subtitle {
    font-size: 1.1rem;
    opacity: 0.95;
}

.content-section {
    background: var(--white);
    border: 1px solid var(--border-grey);
    border-radius: var(--radius-md);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

.content-section h2 {
    color: var(--liqomics-burgundy);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--light-grey);
    font-weight: 600;
}

.content-section h3 {
    color: var(--liqomics-grey-dark);
    font-size: 1.3rem;
    margin: 2rem 0 1rem;
    font-weight: 600;
}

.content-section h4 {
    color: var(--liqomics-grey-dark);
    font-size: 1.1rem;
    margin: 1.5rem 0 0.75rem;
    font-weight: 600;
}

.content-section p {
    color: var(--text-primary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.content-section ul, .content-section ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.content-section li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.content-section a {
    color: var(--liqomics-burgundy);
    text-decoration: none;
    font-weight: 500;
}

.content-section a:hover {
    text-decoration: underline;
}

.highlight-box {
    background: var(--bg-accent);
    border-left: 4px solid var(--liqomics-burgundy);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: var(--radius-sm);
}

.highlight-box strong {
    color: var(--liqomics-burgundy);
}

.stat-box {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin: 1rem 0;
}

.stat-box strong {
    color: var(--liqomics-burgundy);
    font-size: 1.1rem;
}

/* References */
.references {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: var(--radius-md);
    margin-top: 3rem;
}

.references h2 {
    color: var(--liqomics-grey-dark);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.references ol {
    margin-left: 1.5rem;
    counter-reset: reference-counter;
}

.references li {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    position: relative;
}

.references li::marker {
    color: var(--liqomics-burgundy);
    font-weight: 600;
}

/* Footer */
footer {
    background: var(--liqomics-grey-dark);
    color: var(--text-inverse);
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--liqomics-burgundy-light);
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.625rem;
}

.footer-section a {
    color: var(--light-grey);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: var(--liqomics-burgundy-light);
}

.footer-section p {
    color: var(--light-grey);
    line-height: 1.7;
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--liqomics-grey-light);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--liqomics-burgundy-light);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

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

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

    .cancer-header h1 {
        font-size: 2rem;
    }

    .tagline {
        display: none;
    }
}

/* Tables */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.comparison-table thead {
    background: linear-gradient(135deg, var(--liqomics-burgundy) 0%, var(--liqomics-burgundy-dark) 100%);
    color: var(--white);
}

.comparison-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
}

.comparison-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--light-grey);
    color: var(--text-primary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table tbody tr:hover {
    background: var(--bg-secondary);
}

.comparison-table td:first-child {
    font-weight: 600;
    color: var(--liqomics-grey-dark);
}

/* Data Tables */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: var(--white);
}

.data-table th,
.data-table td {
    padding: 0.875rem;
    text-align: left;
    border: 1px solid var(--border-grey);
}

.data-table th {
    background: var(--bg-secondary);
    font-weight: 600;
    color: var(--liqomics-grey-dark);
    font-size: 0.9rem;
}

.data-table td {
    color: var(--text-primary);
    font-size: 0.875rem;
}

.data-table tbody tr:hover {
    background: var(--bg-secondary);
}

/* Warning and Info Boxes */
.warning-box {
    background: #fff3cd;
    border-left: 4px solid var(--warning-amber);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: var(--radius-sm);
}

.warning-box h3 {
    color: #856404;
    margin-bottom: 0.75rem;
}

.info-box {
    background: #d1ecf1;
    border-left: 4px solid var(--info-blue);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: var(--radius-sm);
}

.info-box h3 {
    color: #0c5460;
    margin-bottom: 0.75rem;
}

/* Responsive Tables */
@media (max-width: 768px) {
    .comparison-table,
    .data-table {
        font-size: 0.85rem;
    }

    .comparison-table th,
    .comparison-table td,
    .data-table th,
    .data-table td {
        padding: 0.625rem;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }
