/* =============================================
   LIFEXPOSURE HEALTH — Styles
   ============================================= */

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

:root {
    --bg-deep: #060609;
    --bg-primary: #0a0a10;
    --bg-card: #0f0f18;
    --bg-card-hover: #141422;
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-accent: rgba(196, 30, 30, 0.3);

    --red-primary: #c41e1e;
    --red-light: #e63535;
    --red-glow: rgba(196, 30, 30, 0.4);
    --red-dim: rgba(196, 30, 30, 0.12);

    --text-primary: #f0eee9;
    --text-secondary: rgba(240, 238, 233, 0.6);
    --text-tertiary: rgba(240, 238, 233, 0.35);

    --font-display: 'Syne', sans-serif;
    --font-body: 'Outfit', sans-serif;

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--bg-deep);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

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

em {
    font-style: normal;
    color: var(--red-light);
}

::selection {
    background: var(--red-primary);
    color: white;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 3rem);
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 clamp(1.5rem, 4vw, 3rem);
    transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

.nav.scrolled {
    background: rgba(6, 6, 9, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--border-subtle);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav-logo img {
    height: 32px;
    width: auto;
    transition: opacity 0.3s ease;
}

.nav-logo:hover img {
    opacity: 0.8;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 0.03em;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--red-primary);
    transition: width 0.3s var(--ease-out-expo);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link--cta {
    color: var(--red-light);
    font-weight: 500;
    padding: 0.5rem 1.25rem;
    border: 1px solid var(--border-accent);
    border-radius: 100px;
    transition: all 0.3s ease;
}

.nav-link--cta::after {
    display: none;
}

.nav-link--cta:hover {
    background: var(--red-primary);
    border-color: var(--red-primary);
    color: white;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 1.5px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4.5px, 4.5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4.5px, -4.5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: rgba(6, 6, 9, 0.97);
    backdrop-filter: blur(30px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-link {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.mobile-menu-link:hover {
    color: var(--red-light);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--bg-deep);
}

.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        radial-gradient(ellipse 60% 50% at 50% 50%, transparent 0%, var(--bg-deep) 100%),
        linear-gradient(180deg, rgba(6,6,9,0.3) 0%, transparent 30%, transparent 70%, rgba(6,6,9,0.8) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-badge {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--red-light);
    border: 1px solid var(--border-accent);
    padding: 0.5rem 1.5rem;
    border-radius: 100px;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s var(--ease-out-expo) 0.2s forwards;
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 1.5rem;
}

.hero-title-line {
    display: block;
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 0.9s var(--ease-out-expo) 0.4s forwards;
}

.hero-title-line--accent {
    color: var(--red-light);
    animation-delay: 0.55s;
    text-shadow: 0 0 80px var(--red-glow);
}

.hero-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    font-weight: 300;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.9s var(--ease-out-expo) 0.7s forwards;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.9s var(--ease-out-expo) 0.9s forwards;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.85rem 2rem;
    border-radius: 100px;
    transition: all 0.35s var(--ease-out-expo);
    cursor: pointer;
    border: none;
    letter-spacing: 0.02em;
}

.btn--primary {
    background: var(--red-primary);
    color: white;
    box-shadow: 0 0 30px rgba(196, 30, 30, 0.25);
}

.btn--primary:hover {
    background: var(--red-light);
    box-shadow: 0 0 50px rgba(196, 30, 30, 0.4);
    transform: translateY(-2px);
}

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

.btn--ghost:hover {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.03);
    transform: translateY(-2px);
}

/* Hero scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    opacity: 0;
    animation: fadeIn 1s ease 1.5s forwards;
}

.hero-scroll span {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-tertiary);
}

.hero-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--red-primary), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

/* --- Sections (shared) --- */
.section {
    padding: clamp(5rem, 12vw, 9rem) 0;
    position: relative;
}

.section-grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
}

.section-label {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 0.25rem;
}

.label-tag {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--red-primary);
    letter-spacing: 0.1em;
}

.label-text {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-tertiary);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
    max-width: 600px;
}

/* --- About Section --- */
.about {
    border-top: 1px solid var(--border-subtle);
}

.about-body {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.about-body p {
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 580px;
}

.about-stats {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--red-dim);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon svg {
    width: 18px;
    height: 18px;
    color: var(--red-light);
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
}

/* --- Focus Cards Section --- */
.focus {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-subtle);
}

.focus-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3.5rem;
}

.focus-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    transition: all 0.5s var(--ease-out-expo);
    overflow: hidden;
}

.focus-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--red-primary), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.focus-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(196, 30, 30, 0.08);
}

.focus-card:hover::before {
    opacity: 1;
}

.focus-card-number {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--red-primary);
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.focus-card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
}

.focus-card-icon svg {
    width: 100%;
    height: 100%;
    color: var(--red-light);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.focus-card:hover .focus-card-icon svg {
    opacity: 1;
}

.focus-card-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.focus-card-text {
    font-size: 0.92rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.7;
}

.focus-card-line {
    width: 30px;
    height: 2px;
    background: var(--red-primary);
    margin-top: 1.5rem;
    border-radius: 2px;
    transition: width 0.5s var(--ease-out-expo);
}

.focus-card:hover .focus-card-line {
    width: 60px;
}

/* --- Vision Section --- */
.vision {
    border-top: 1px solid var(--border-subtle);
}

.vision-inner {
    max-width: 900px;
}

.vision-quote {
    margin: 2rem 0 3.5rem;
    padding-left: 2rem;
    border-left: 2px solid var(--red-primary);
}

.vision-quote p {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 500;
    line-height: 1.5;
    color: var(--text-primary);
}

.vision-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.vision-detail h4 {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--red-light);
    margin-bottom: 1rem;
}

.vision-detail p {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* --- Contact Section --- */
.contact {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-subtle);
    text-align: center;
}

.contact-inner {
    max-width: 600px;
    margin: 0 auto;
}

.contact .section-label {
    align-items: center;
}

.contact-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    margin: 1.5rem 0 1rem;
}

.contact-subtitle {
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.7;
}

.contact-email {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 2.5rem 4rem;
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    background: var(--bg-card);
    transition: all 0.5s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.contact-email::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--red-dim), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.contact-email:hover {
    border-color: var(--border-accent);
    transform: translateY(-3px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(196, 30, 30, 0.1);
}

.contact-email:hover::before {
    opacity: 1;
}

.contact-email-label {
    position: relative;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-tertiary);
}

.contact-email-address {
    position: relative;
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 600;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.contact-email:hover .contact-email-address {
    color: var(--red-light);
}

.contact-email-arrow {
    position: relative;
    width: 24px;
    height: 24px;
    color: var(--text-tertiary);
    transition: all 0.4s var(--ease-out-expo);
    margin-top: 0.25rem;
}

.contact-email:hover .contact-email-arrow {
    color: var(--red-light);
    transform: translateX(4px);
}

/* --- Footer --- */
.footer {
    padding: 2.5rem 0;
    border-top: 1px solid var(--border-subtle);
}

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

.footer-logo {
    height: 28px;
    width: auto;
    opacity: 0.4;
}

.footer-copy {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    letter-spacing: 0.02em;
}

/* --- Animations --- */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(var(--y, 30px));
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scrollPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scaleY(1);
    }
    50% {
        opacity: 1;
        transform: scaleY(1.2);
    }
}

/* Reveal animation classes */
[data-reveal] {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
[data-reveal]:nth-child(2) { transition-delay: 0.08s; }
[data-reveal]:nth-child(3) { transition-delay: 0.16s; }
[data-reveal]:nth-child(4) { transition-delay: 0.24s; }

/* --- Responsive --- */
@media (max-width: 900px) {
    .section-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .section-label {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }

    .focus-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .vision-details {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 700px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-content {
        padding: 0 1.25rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .about-stats {
        flex-direction: column;
        gap: 1.25rem;
    }

    .contact-email {
        padding: 2rem 2.5rem;
    }

    .footer-inner {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
