/**
 * ============================================================================
 * PROTEOBASE - Main Stylesheet
 * ============================================================================
 *
 * A secure, open, public repository for proteomics data.
 * Stewarded by EuropaDX, Inc.
 *
 * Table of Contents:
 * ------------------
 * 1. CSS Variables (Custom Properties)
 * 2. Reset & Base Styles
 * 3. Typography
 * 4. Layout & Container
 * 5. Header & Navigation
 * 6. Buttons
 * 7. Hero Section
 * 8. Features Bar
 * 9. Stats Section
 * 10. Submit Data Section
 * 11. Why Choose Section
 * 12. Chorus Migration Section
 * 13. Optional Analysis Section
 * 14. Tribute Section (Chorus Migration Page)
 * 15. FAQ Section
 * 16. CTA Section
 * 17. Footer
 * 18. Utility Classes
 * 19. Responsive / Media Queries
 *
 * ============================================================================
 */


/* ============================================================================
   1. CSS VARIABLES (Custom Properties)
   ============================================================================
   Easy to modify site-wide colors, fonts, spacing.
   To change the site's color scheme, edit these values.
   ---------------------------------------------------------------------------- */

:root {
    /* --------------------------------------------
       Primary Colors - Main brand colors
       -------------------------------------------- */
    --color-primary: #0D5C8F;           /* Deep blue - headings */
    --color-primary-dark: #094a73;      /* Darker blue for hover states */
    --color-primary-light: #1a6fa3;     /* Lighter blue */

    /* --------------------------------------------
       Secondary Colors - Teal/Turquoise theme
       -------------------------------------------- */
    --color-secondary: #1EBCD1;         /* Teal - buttons */
    --color-secondary-dark: #168D9D;    /* Darker teal for hover */
    --color-accent: #00B4E3;            /* Turquoise for accents */
    --color-accent-light: #61CBF4;      /* Light turquoise */
    --color-teal: #1EBCD1;              /* Main teal for buttons */
    --color-green-check: #00AF40;       /* Green for checkmarks */
	--color-hyperlink:#0084A4;			/* Darker teal for unclicked hyperlinks*/
	--color-clickedhyperlink:#A02B93;	/* Plum for clicked hyperlinks*/

    /* --------------------------------------------
       Neutral Colors - Grays and backgrounds
       -------------------------------------------- */
    --color-dark: #03045E;              /* Navy - headings, dark text */
    --color-navy: #023E8A;              /* Navy variant */
    --color-gray-900: #1a1a2e;          /* Near black */
    --color-gray-700: #374151;          /* Body text */
    --color-gray-500: #6B7280;          /* Muted text */
    --color-gray-300: #D1D5DB;          /* Borders */
    --color-gray-100: #F3F4F6;          /* Light backgrounds */
    --color-white: #FFFFFF;
    --color-light-blue: #F7F8FC;        /* Very light blue background */
    --color-bg-light: #F9FAFB;          /* Page background tint */

    /* --------------------------------------------
       Typography
       -------------------------------------------- */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;

    --font-size-xs: 0.875rem;           /* 14px */
    --font-size-sm: 1rem;               /* 16px */
    --font-size-base: 1.125rem;         /* 18px */
    --font-size-lg: 1.25rem;            /* 20px */
    --font-size-xl: 1.375rem;           /* 22px */
    --font-size-2xl: 1.625rem;          /* 26px */
    --font-size-3xl: 2rem;              /* 32px */
    --font-size-4xl: 2.375rem;          /* 38px */

    /* --------------------------------------------
       Spacing Scale (reduced for tighter layout)
       -------------------------------------------- */
    --spacing-xs: 0.5rem;               /* 8px */
    --spacing-sm: 0.75rem;              /* 12px */
    --spacing-md: 1rem;                 /* 16px */
    --spacing-lg: 1.5rem;               /* 24px */
    --spacing-xl: 2rem;                 /* 32px */
    --spacing-2xl: 3rem;                /* 48px */
    --spacing-3xl: 4rem;                /* 64px */

    /* --------------------------------------------
       Border Radius
       -------------------------------------------- */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;

    /* --------------------------------------------
       Shadows
       -------------------------------------------- */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.12);

    /* --------------------------------------------
       Transitions
       -------------------------------------------- */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;

    /* --------------------------------------------
       Layout
       -------------------------------------------- */
    --container-max-width: 1200px;
    --container-padding: 1.5rem;

    /* --------------------------------------------
       Visual Width for Centered Borders
       -------------------------------------------- */
    --visual-width: 1436px;
}


/* ============================================================================
   2. RESET & BASE STYLES
   ============================================================================ */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-gray-700);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

ul, ol {
    list-style: none;
}


/* ============================================================================
   3. TYPOGRAPHY
   ============================================================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-dark);
    margin-bottom: var(--spacing-sm);
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); }
h3 { font-size: var(--font-size-xl); }
h4 { font-size: var(--font-size-lg); }

p {
    margin-bottom: var(--spacing-sm);
}

p:last-child {
    margin-bottom: 0;
}

strong {
    font-weight: 600;
    color: var(--color-dark);
}


/* ============================================================================
   4. LAYOUT & CONTAINER
   ============================================================================ */

.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.container--narrow {
    max-width: 800px;
}

.section {
    padding: var(--spacing-3xl) 0;
}

.section--gray {
    background-color: var(--color-gray-100);
}

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


/* ============================================================================
   5. HEADER & NAVIGATION
   ============================================================================ */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-gray-300);
    padding: var(--spacing-sm) 0;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.logo__image {
    height: 80px;
    width: auto;
}

.logo__text {
    font-family: var(--font-heading);
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.5px;
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav__link {
    font-weight: 500;
    color: var(--color-gray-700);
    padding: var(--spacing-xs) 0;
    position: relative;
    transition: color var(--transition-fast);
}

.nav__link:hover,
.nav__link--active {
    color: var(--color-primary);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width var(--transition-base);
}

.nav__link:hover::after,
.nav__link--active::after {
    width: 100%;
}


/* ============================================================================
   6. BUTTONS
   ============================================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: 0.75rem 1.5rem;
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    font-weight: 600;
    line-height: 1.4;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    white-space: nowrap;
}

.btn:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Primary Button - Filled (Teal) */
.btn--primary {
    background: var(--color-teal);
    color: var(--color-white);
    border-color: var(--color-teal);
}

.btn--primary:hover {
    background: var(--color-secondary-dark);
    border-color: var(--color-secondary-dark);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Outline Button */
.btn--outline {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn--outline:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* Small Button */
.btn--small {
    padding: 0.5rem 1rem;
    font-size: var(--font-size-sm);
}

/* Large Button */
.btn--large {
    padding: 1rem 2rem;
    font-size: var(--font-size-lg);
}


/* ============================================================================
   7. HERO SECTION
   ============================================================================ */

.hero {
    position: relative;
    padding: var(--spacing-2xl) 0 var(--spacing-xl);
    background-image: url('../images/hero/hero-bkg.png');
}

.section-bg {
    background-size: auto;
    background-position: center;
    background-repeat: no-repeat;
}


.hero__content {
    position: relative;
    z-index: 1;
    max-width: 650px;
}

.hero__title {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 700;
    color: #0D5C8F;  /* Dark blue for main text */
    margin-bottom: var(--spacing-sm);
    line-height: 1.25;
}

.hero__title span {
    color: #104579;  /* Blue for PROTEOBASE */
    font-style: normal;  /* NOT italic */
}

.hero__subtitle {
    font-size: var(--font-size-xl);
    color: var(--color-gray-500);
    margin-bottom: var(--spacing-md);
    line-height: 1.5;
}

.hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.hero__cta-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero__cta-meta {
    font-size: var(--font-size-sm);
    color: var(--color-gray-500);
    margin-top: var(--spacing-xs);
}

/* Chorus Note Box */
.hero__chorus-note {
    margin-top: var(--spacing-md);
    font-size: var(--font-size-base);
    color: var(--color-gray-700);
}

.hero__chorus-note a {
    font-weight: 600;
    color: #0084A4;
    text-decoration: underline;
}


/* ============================================================================
   8. FEATURES BAR
   ============================================================================ */

.centered-border {
    position: relative;
}

.centered-border::before,
.centered-border::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: var(--visual-width);
    max-width: 100%;
    height: 1px;
    background: var(--color-gray-300);
}

.stats.centered-border::before,
.chorus-section.centered-border::before {
    display: none;
}

.why-choose.centered-border::after,
.analysis-section.centered-border::after,
.chorus-section.centered-border::after,
.stats.centered-border::after {
    bottom: 0;
}

.features-bar {
    border: none;
}

.features-bar.centered-border::before,
.why-choose.centered-border::before{
    top: 0;
}

.features-bar.centered-border::after {
    bottom: 0;
}

.features-bar {
    background: var(--color-white);
    padding: var(--spacing-md) 0;
}

.features-bar__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-2xl);
}

.features-bar__item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--color-gray-700);
    font-weight: 500;
    font-size: var(--font-size-base);
}

/* Green checkmark */
.features-bar__check {
    width: 32px;
    height: 32px;
    color: #2ECC71;  /* Bright green */
}


/* ============================================================================
   9. STATS SECTION
   ============================================================================ */

.stats {
    padding: var(--spacing-xl) 0 var(--spacing-md) 0;
    background: var(--color-white);
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

.stat-card {
    text-align: left;  /* LEFT aligned like PDF */
    padding: 0 var(--spacing-sm) var(--spacing-md) var(--spacing-sm);
    background: transparent; /* No background */
    border: none; /* No border */
}

.stat-card__border-top {
    height: 5px;
    width: 100%;
    border-radius: 3px;
    background: #16B5E0;
    margin-bottom: var(--spacing-md);
}

.stat-card__number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 400;  /* Lighter weight */
    color: #16B5E0;
    line-height: 1.1;
}

.stat-card__number .unit {
    font-size: 2rem;  /* Smaller unit like TB+ */
    font-weight: 400;
}

.stat-card__label {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: #0D5C8F;
    margin-top: var(--spacing-xs);
    line-height: 1.3;
}

.stat-card__desc {
    font-size: var(--font-size-base);
    color: var(--color-gray-500);
    margin-top: var(--spacing-xs);
    line-height: 1.4;
}


/* ============================================================================
   10. SUBMIT DATA SECTION
   ============================================================================ */

.submit-data {
    padding: var(--spacing-xl) 0;
    background-image: url(../images/backgrounds/submit_data.png);
}

.submit-data__header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.submit-data__title {
    font-size: var(--font-size-3xl);
    color: #0D5C8F;
}

.submit-data__steps {
    display: flex;
    justify-content: center;
    gap: var(--spacing-3xl);
    margin-bottom: var(--spacing-lg);
}

/* Step Card - minimal, just icon + text */
.step-card {
    text-align: center;
    max-width: 191px;
}

.step-card__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-sm);
}

.step-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.step-card__title {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: #0D5C8F;
    margin-bottom: 2px;
}

.step-card__desc {
    font-size: var(--font-size-sm);
    color: var(--color-gray-500);
    line-height: 1.4;
}

/* CTA Area */
.submit-data__cta {
    text-align: center;
    margin-top: var(--spacing-md);
}

.submit-data__note {
    font-size: var(--font-size-sm);
    color: var(--color-gray-500);
    margin-top: var(--spacing-xs);
}


/* ============================================================================
   11. WHY CHOOSE SECTION
   ============================================================================ */

.why-choose {
    padding: var(--spacing-xl) 0;
    background-image: url(../images/backgrounds/why_proteobase.png);
}

.why-choose__header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.why-choose__title {
    font-size: var(--font-size-2xl);
    color: #0D5C8F;
    margin-bottom: 0;
}

.why-choose__subtitle {
    display: none;  /* Hide - will show below cards instead */
}

.why-choose__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--color-gray-300)
}

/* Feature Card - minimal, no background */
.feature-card {
    background: transparent;  /* No background */
    padding: var(--spacing-sm);
    border-radius: 0;
    box-shadow: none;  /* No shadow */
    border: none;  /* No border */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 226px;
    margin: 0 auto;
}

.feature-card:hover {
    transform: none;
    box-shadow: none;
}

.feature-card__icon {
    width: 96px;
    height: 96px;
    margin-bottom: var(--spacing-sm);
}

.feature-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-card__title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: #0D5C8F;
    margin-bottom: 4px;
}

.feature-card__desc {
    font-size: var(--font-size-sm);
    color: var(--color-gray-500);
    line-height: 1.4;
}

/* Subtitle below the grid */
.why-choose__footer {
    text-align: center;
    margin-top: var(--spacing-xl);
    color: var(--color-gray-700);
    font-size: var(--font-size-xl);
}

.why-choose__footer a {
    color: #0D5C8F;
    text-decoration: underline;
}


/* ============================================================================
   12. Chorus MIGRATION SECTION
   ============================================================================ */

.chorus-section {
    padding: var(--spacing-xl) 0;
    background-image: url(../images/backgrounds/chorus_migration.png);
}

.chorus-section__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.chorus-section__content {
    overflow: hidden;
}

.chorus-section__content h2 {
    font-size: var(--font-size-2xl);
    color: #104579;  /* Blue */
    margin-bottom: var(--spacing-sm);
}

.chorus-section__list {
    margin: var(--spacing-sm) 0;
}

.chorus-section__list li {
    padding: var(--spacing-xs) 0;
    padding-left: var(--spacing-md);
    position: relative;
    line-height: 1.5;
    font-size: var(--font-size-base);
}

.chorus-section__list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-secondary);
    font-weight: bold;
}

.chorus-section__list strong, .analysis-section__content strong {
    color: var(--color-gray-700);
}

.analysis-powered {
    display: inline;
}

.analysis-powered__logo-link {
    align-items: baseline;
    margin: 0 4px;
}

.analysis-powered__logo {
    display: inline-block;
    height: 22px;
    vertical-align: text-bottom;
}

.chorus-section__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

/* Visual (Chorus to Proteobase graphic) */
.chorus-section__visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.chorus-section__visual img {
    max-width: calc(100% - 2rem);
    height: auto;
}


/* ============================================================================
   13. OPTIONAL ANALYSIS SECTION
   ============================================================================ */

.analysis-section {
    padding: var(--spacing-xl) 0;
    position: relative;
    background: transparent;
}

.analysis-section.centered-border::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(100%, var(--visual-width));
    background: var(--color-bg-light);
    z-index: 0;
    height: 100%;
}

.analysis-section .container {
    position: relative;
    z-index: 1;
}

.analysis-section__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.analysis-section__content h2 {
    font-size: var(--font-size-2xl);
    color: #0D5C8F;
    margin-bottom: var(--spacing-md);
}

.analysis-section__content p {
    margin-bottom: var(--spacing-sm);
    color: var(--color-gray-700);
    font-size: var(--font-size-base);
    line-height: 1.6;
}

.analysis-section__powered {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.analysis-section__powered span {
    color: var(--color-gray-500);
    font-size: var(--font-size-sm);
}

.analysis-section__powered img {
    height: 50px;
    width: auto;
}

/* Screenshot */
.analysis-section__screenshot {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.analysis-section__screenshot img {
    width: 100%;
    height: auto;
}


/* ============================================================================
   14. TRIBUTE SECTION (Chorus Migration Page)
   ============================================================================ */

.tribute {
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-navy) 100%);
    color: var(--color-white);
    padding: var(--spacing-3xl) 0;
}

.tribute__header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.tribute__title {
    font-size: var(--font-size-3xl);
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
}

.tribute__subtitle {
    font-size: var(--font-size-lg);
    color: var(--color-gray-300);
    max-width: 700px;
    margin: 0 auto;
}

.tribute__content {
    max-width: 800px;
    margin: 0 auto;
}

.tribute__text {
    font-size: var(--font-size-lg);
    line-height: 1.8;
    color: var(--color-gray-300);
    margin-bottom: var(--spacing-md);
}

.tribute__text strong {
    color: var(--color-white);
}

/* Founders Box */
.tribute__founders {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    margin: var(--spacing-xl) 0;
    border-left: 4px solid var(--color-accent);
}

.tribute__founders h3 {
    color: var(--color-accent);
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-md);
}

.tribute__founders ul li {
    padding: var(--spacing-xs) 0;
    color: var(--color-white);
}

.tribute__founders li span {
    color: var(--color-gray-300);
    font-size: var(--font-size-sm);
}

/* Quote */
.tribute__quote {
    font-style: italic;
    font-size: var(--font-size-xl);
    color: var(--color-accent-light);
    text-align: center;
    padding: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: var(--spacing-xl);
}


/* ============================================================================
   15. FAQ SECTION
   ============================================================================ */

.faq {
    padding: var(--spacing-3xl) 0;
    background: var(--color-white);
}

.faq__title {
    text-align: center;
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-2xl);
}

.faq__list {
    max-width: 800px;
    margin: 0 auto;
}

.faq__item {
    border-bottom: 1px solid var(--color-gray-300);
    padding: var(--spacing-md) 0;
}

.faq__question {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: var(--spacing-xs);
}

.faq__answer {
    color: var(--color-gray-500);
    line-height: 1.6;
}

.faq__answer a {
    color: var(--color-primary);
}


/* ============================================================================
   16. CTA SECTION
   ============================================================================ */

.cta-section {
    background: var(--color-bg-light);
    padding: var(--spacing-3xl) 0;
    text-align: center;
}

.cta-section__title {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-md);
}

.cta-section__subtitle {
    color: var(--color-gray-500);
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-lg);
}

.cta-section__buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}


/* ============================================================================
   17. FOOTER
   ============================================================================ */

.footer {
    background-color: var(--color-white);
    color: var(--color-gray-700);
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

/* Footer Contact (left column) */
.footer__contact {
    order: 1;
}

/* Footer Nav (middle column) */
.footer__nav {
    order: 2;
}

/* Footer Brand (right column) */
.footer__brand {
    order: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer__title {
    font-family: var(--font-heading);
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: #0D5C8F;
    margin-bottom: var(--spacing-sm);
    padding-bottom: var(--spacing-xs);
    border-bottom: 2px solid var(--color-gray-300);
    display: inline-block;
}

.footer__links {
    list-style: disc;
    list-style-position: inside;
    color: var(--color-gray-500);
}

.footer__links li {
    margin-bottom: var(--spacing-xs);
}

.footer__links a {
    color: #0D5C8F;
    font-size: var(--font-size-base);
    transition: color var(--transition-fast);
}

.footer__links a:hover {
    color: #00B4B4;
    text-decoration: underline;
}

/* Footer Contact Links */
.footer__contact .footer__links {
    list-style: none;
}

.footer__contact a {
    color: #0D5C8F;
    text-decoration: underline;
}

/* Footer Brand / Logo section */
.footer__logo {
    max-width: 500px;
    width: 100%;
    height: auto;
    margin-left: auto;
}

.footer__brand p {
    color: var(--color-gray-500);
    font-size: var(--font-size-sm);
    line-height: 1.6;
    margin-top: var(--spacing-sm);
}

/* Footer Bottom */
.footer__bottom {
    border-top: 1px solid var(--color-gray-300);
    padding-top: var(--spacing-md);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--spacing-md);
    font-size: var(--font-size-sm);
    color: var(--color-gray-500);
}

.footer__bottom {
    color: #0D5C8F;
}

.footer__bottom a:hover {
    text-decoration: underline;
}

.footer__copyright {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer__mission {
    max-width: 500px;
    text-align: right;
    line-height: 1.5;
}


/* ============================================================================
   18. UTILITY CLASSES
   ============================================================================ */

/* Text Alignment */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Text Colors */
.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }
.text-muted { color: var(--color-gray-500); }
.text-white { color: var(--color-white); }

/* Margins */
.mt-xs { margin-top: var(--spacing-xs); }
.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mt-xl { margin-top: var(--spacing-xl); }

.mb-xs { margin-bottom: var(--spacing-xs); }
.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }

/* Display */
.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }

/* Flex utilities */
.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* ============================================================================
   19. RESPONSIVE / MEDIA QUERIES
   ============================================================================ */

/* Tablet and below */
@media (max-width: 1024px) {
    .stats__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-choose__grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

/* Mobile */
@media (max-width: 768px) {
    :root {
        --container-padding: 1rem;
    }

    /* Header */
    .nav {
        gap: var(--spacing-sm);
    }

    .nav__link {
        display: none; /* Hide nav links on mobile - could add hamburger menu */
    }

    /* Hero */
    .hero {
        padding: var(--spacing-2xl) 0;
    }

    .hero__ctas {
        flex-direction: column;
    }

    .hero__ctas .btn {
        width: 100%;
    }

    /* Stats */
    .stats__grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-sm);
    }

    .stat-card {
        padding: var(--spacing-md);
    }

    /* Submit Data */
    .submit-data__steps {
        gap: var(--spacing-md);
        flex-direction: column;
        align-items: center;
    }

    /* Why Choose */
    .why-choose__grid {
        grid-template-columns: 1fr;
    }

    /* Chorus Section */
    .chorus-section__grid {
        grid-template-columns: 1fr;
    }

    .chorus-section__visual {
        order: -1; /* Show visual first on mobile */
        justify-content: flex-start;
    }

    /* Analysis Section */
    .analysis-section__grid {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer__grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }

    .chorus-section__ctas .btn--outline {
        white-space: break-spaces;
    }

    .section-bg {
        background-size: cover;
        background-position: right;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .stats__grid {
        grid-template-columns: 1fr;
    }

    .features-bar__list {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-sm);
    }

    .hero__meta {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-xs);
    }

    .hero__meta-divider {
        display: none;
    }
}

.founder-name {
    color: #fff;
}


/* ============================================================================
   20. Terms of Use / Privacy Policy
   ============================================================================ */

.legal {
    padding: 60px 0;
    background-color: #fff;
}
.legal__title {
    text-align: center;
    margin-bottom: 10px;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-gray-700);
}
.legal__effective-date {
    text-align: center;
    color: var(--color-gray-500);
    margin-bottom: 50px;
    font-style: italic;
}
.legal__content {
    max-width: 800px;
    margin: 0 auto;
    font-family: var(--font-body);
    line-height: 1.6;
}
.legal__section {
    margin-bottom: 30px;
}
.legal__section h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--color-gray-700);
    border-bottom: 1px solid var(--color-gray-300);
    padding-bottom: 10px;
}
.legal__section h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-top: 20px;
    margin-bottom: 10px;
    color: var(--color-gray-700);
}
.legal__section p {
    margin-bottom: 15px;
}
.legal__section ul {
    margin-bottom: 15px;
    padding-left: 20px;
    list-style-type: disc;
}
.legal__section li {
    margin-bottom: 8px;
}
.legal__section a {
    color: #0D5C8F;
    text-decoration: none;
}
.legal__section a:hover {
    text-decoration: underline;
}

/* ============================================================================
   20. Cookie banner section
   ============================================================================ */

#cookie-banner {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 750px;
    background: #FFFFFF;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border-left: 6px solid #1EBCD1;
    padding: 24px 32px;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    font-family: 'Roboto', sans-serif;
    animation: pbFadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cb-content h4 { margin: 0 0 4px 0; color: #0D5C8F; font-size: 1.25rem; }
.cb-content p { margin: 0; font-size: 0.95rem; color: #374151; }

.cb-actions { display: flex; gap: 12px; }

/* Style for the Decline button */
.btn-decline {
    background: transparent;
    border: 1px solid #d1d5db;
    color: #4b5563;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-decline:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

@keyframes pbFadeUp {
    from { transform: translate(-50%, 40px); opacity: 0; }
    to { transform: translate(-50%, 0); opacity: 1; }
}

@media (max-width: 768px) {
    #cookie-banner { flex-direction: column; text-align: center; }
    .cb-actions { width: 100%; flex-direction: column; }
}
