/* PreventionLink Health - Professional Healthcare Infrastructure Styling */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Brand Palette - Authoritative & Clinical */
    --primary-color: #0f172a;
    /* Deep Navy - Authority */
    --primary-light: #f1f5f9;
    /* Slate 100 - Backgrounds */
    --primary-dim: #334155;
    /* Slate 700 - Subheadings */

    --secondary-color: #0d9488;
    /* Teal - Medical/Prevention */
    --secondary-dark: #0f766e;
    --secondary-light: #ccfbf1;

    --accent-color: #38bdf8;
    /* Sky Blue - Technology/Modernity */

    /* Functional Colors */
    --text-dark: #0f172a;
    /* Slate 900 */
    --text-medium: #475569;
    /* Slate 600 */
    --text-light: #64748b;
    /* Slate 500 */

    --bg-body: #ffffff;
    --bg-surface: #ffffff;
    --bg-alt: #f8fafc;
    /* Slate 50 */

    --border-subtle: #e2e8f0;
    /* Slate 200 */
    --border-focus: #94a3b8;

    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    /* Spacing System */
    --container-width: 1200px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Elevation & Depth */
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-card: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-elevated: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.05);

    /* Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-full: 9999px;
}

/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--bg-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.25;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

p {
    color: var(--text-medium);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

ul {
    list-style: none;
}

/* Layout */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: var(--spacing-lg) 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-sm);
    /* Slightly sharper for professional feel */
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: #1e3a8a;
    /* Slightly richer blue on hover */
    transform: translateY(-1px);
    box-shadow: var(--shadow-card);
}

.btn-secondary {
    background-color: white;
    color: var(--primary-color);
    border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
    background-color: var(--bg-alt);
    border-color: var(--text-medium);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

/* Header */
.main-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-subtle);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary-color), #334155);
    color: white;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.logo-text {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.main-nav ul {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    font-weight: 500;
    color: var(--text-medium);
    font-size: 0.95rem;
}

.main-nav a:hover {
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: linear-gradient(170deg, #ffffff 0%, #f0f9ff 100%);
    border-bottom: 1px solid var(--border-subtle);
    padding-top: var(--spacing-lg);
}

/* Clean gradient overlay, no images for professional SaaS feel */
.hero::before {
    display: none;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-medium);
    margin-bottom: 2.5rem;
    max-width: 650px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.credibility {
    font-size: 0.9rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-subtle);
    width: fit-content;
    box-shadow: var(--shadow-sm);
}

/* Problem Section */
.problem-section {
    background-color: var(--bg-body);
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto var(--spacing-lg);
}

.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-medium);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.problem-card {
    background: var(--bg-surface);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    /* Calm ease-out */
}

/* Accent top border via pseudoelement for clean layering */
.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.1), 0 8px 8px -6px rgba(0, 0, 0, 0.1);
    border-color: rgba(13, 148, 136, 0.3);
    /* Subtle teal border hint */
}

.problem-card:hover::before {
    opacity: 1;
}

/* Subtle gradient wash on hover */
.problem-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.02), rgba(13, 148, 136, 0.03));
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.problem-card:hover::after {
    opacity: 1;
}

.problem-icon {
    font-size: 2rem;
    color: var(--primary-dim);
    /* Muted slate */
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    transition: color 0.3s ease, transform 0.3s ease;
}

.problem-card:hover .problem-icon {
    color: var(--secondary-color);
    /* Teal on hover */
    transform: scale(1.1);
}

.problem-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    color: var(--text-dark);
    position: relative;
    z-index: 1;
}

.problem-card p {
    margin-bottom: 0;
    font-size: 1rem;
    color: var(--text-medium);
    position: relative;
    z-index: 1;
}

.bridge-sentence {
    text-align: center;
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--secondary-dark);
    margin-top: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    padding: 1rem 0;
}

/* Solution Section */
.solution-section {
    background-color: var(--bg-alt);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.value-tiles {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.value-tile {
    flex: 1;
    min-width: 300px;
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: left;
    /* More professional left-align */
    border: 1px solid var(--border-subtle);
    transition: all 0.3s ease;
}

.value-tile:hover {
    box-shadow: var(--shadow-elevated);
    border-color: var(--secondary-color);
}

.tile-icon {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    background: var(--secondary-light);
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.value-tile h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* Architecture Section */
.architecture-section {
    background-color: var(--bg-body);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.pillar-card {
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 2rem;
    background: white;
    height: 100%;
}

.pillar-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 1rem;
}

.pillar-title {
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--primary-color);
}

.pillar-details li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
    color: var(--text-medium);
}

.pillar-details li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background-color: var(--secondary-color);
    border-radius: 50%;
}

/* Stakeholders Section */
/* Stakeholders Section */
.stakeholder-section {
    position: relative;
    background-color: var(--primary-color);
    /* Fallback */
    color: white;
    text-align: center;
    padding: var(--spacing-xl) 0;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

/* Background Layer */
.stakeholder-bg-layer {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    /* Subtle but visible texture */
    transition: background-image 0.5s ease-in-out, opacity 0.5s ease;
    filter: grayscale(100%) contrast(1.2);
    /* Clean, professional monochromatic look */
}

/* Dark Overlay on top of image to ensure text legibility */
.stakeholder-section::before {
    content: '';
    position: absolute;
    inset: 0;
    /* Slightly more transparent gradient to let image peek through */
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(13, 148, 136, 0.92));
    z-index: 2;
    pointer-events: none;
    mix-blend-mode: normal;
    /* Normal blend mode for cleaner look */
}

.stakeholder-content {
    position: relative;
    z-index: 10;
}

.stakeholder-section h2 {
    color: white;
    margin-bottom: 3rem;
}

.stakeholder-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto 3rem auto;
}

.stakeholder-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 1rem 1.75rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-weight: 500;
    font-size: 1rem;
    color: white;
    transition: all 0.3s ease;
    cursor: pointer;
}

.stakeholder-card:hover,
.stakeholder-card.active {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
    border-color: white;
}

/* Impact Section */
.impact-section {
    background-color: var(--bg-alt);
}

.impact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.outcome-list li {
    margin-bottom: 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1.125rem;
    color: var(--text-dark);
}

.outcome-icon {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-top: 2px;
}

/* Founder Section */
.founder-section {
    background-color: white;
}

.founder-container {
    display: flex;
    align-items: center;
    gap: 3rem;
    background: white;
    padding: 0;
    max-width: 900px;
    margin: 0 auto;
}

.founder-image {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: var(--bg-alt);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--text-light);
    border: 1px solid var(--border-subtle);
}

.founder-bio {
    flex: 1;
}

.founder-title {
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--secondary-dark);
    margin-bottom: 0.5rem;
    display: block;
}

.founder-bio h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.founder-bio p {
    font-size: 1.05rem;
    color: var(--text-medium);
    line-height: 1.7;
}

/* Partners Section */
.partners-section {
    background-color: var(--bg-alt);
    border-top: 1px solid var(--border-subtle);
    padding: 4rem 0;
    text-align: center;
}

.partners-section h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.partners-logos {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
    opacity: 0.7;
    flex-wrap: wrap;
    filter: grayscale(100%);
}

.partner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    color: var(--text-medium);
}

.partner-icon {
    font-size: 2rem;
    color: var(--text-light);
}

/* Progress Section */
.progress-section {
    background-color: var(--bg-body);
}

.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding-left: 2rem;
    border-left: 2px solid var(--border-subtle);
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
    padding-left: 1.5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.65rem;
    top: 4px;
    width: 1.2rem;
    height: 1.2rem;
    background: var(--secondary-color);
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 1px var(--border-subtle);
}

.timeline-item h4 {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* Final CTA */
.final-cta {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 6rem 0;
}

.final-cta h2 {
    color: white;
    margin-bottom: 2.5rem;
    font-size: 2.5rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* Footer */
footer {
    background-color: var(--bg-alt);
    text-align: center;
    padding: 2rem;
    color: var(--text-light);
    font-size: 0.875rem;
    border-top: 1px solid var(--border-subtle);
}

/* Responsive */
@media (max-width: 768px) {
    :root {
        --spacing-lg: 3rem;
    }

    .hero {
        text-align: center;
        justify-content: center;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .credibility {
        margin: 0 auto;
    }

    .impact-content {
        grid-template-columns: 1fr;
    }

    .founder-container {
        flex-direction: column;
        text-align: center;
    }

    .partners-logos {
        gap: 2rem;
    }
}
