:root {
    /* Color Palette - HSL Tailored for Premium Dark Look */
    --bg-dark: hsl(240, 10%, 1.5%);
    --bg-card: hsla(240, 10%, 10%, 0.6);
    --bg-alt: hsl(240, 10%, 4%);
    --text-primary: hsl(0, 0%, 98%);
    --text-secondary: hsl(240, 5%, 70%);
    --accent: hsl(220, 100%, 85%);
    /* Gradient from button-theme: light blue to purple */
    --accent-gradient: linear-gradient(135deg, hsl(190, 100%, 90%), hsl(240, 80%, 75%));
    --accent-glow: 0 0 40px hsla(220, 100%, 85%, 0.15);
    --border: hsla(240, 5%, 30%, 0.2);
    
    /* Spacing & Sizes */
    --transition: cubic-bezier(0.16, 1, 0.3, 1);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 32px;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.highlight {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* --- Navigation --- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.4s var(--transition);
    background: transparent;
}

nav.scrolled {
    background: rgba(10, 10, 12, 0.85);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

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

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

.logo-icon-img {
    height: 32px;
    width: auto;
}

.logo-text-img {
    height: 20px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-gradient);
    transition: width 0.3s ease;
}

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

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

.menu-toggle {
    display: none;
    cursor: pointer;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.4s var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #000;
    box-shadow: var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px hsla(220, 100%, 85%, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: white;
    transform: translateY(-2px);
}

/* --- Hero Splash --- */
.hero-splash {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center; /* Horizontally center content */
    overflow: hidden;
    text-align: center;
}

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 10%, var(--bg-dark) 95%);
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
}

.hero-text-wrap {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center children */
}

.hero-main-text {
    width: 100%;
    max-width: 600px;
    height: auto;
    margin: 0 auto 2.5rem;
    display: block;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 3.5rem;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center; /* Center buttons */
}

/* --- Sections --- */
.section {
    padding: 12rem 0;
    position: relative;
}

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

.section-tag {
    display: inline-block;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-size: 0.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 2.5rem;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}

/* --- Mission --- */
.mission-box {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.mission-text {
    font-size: 1.4rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 8rem;
}

.value-card {
    padding: 4rem 2.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.6s var(--transition);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.6s var(--transition);
    z-index: 0;
}

.value-card:hover {
    transform: translateY(-15px);
    border-color: hsla(220, 100%, 85%, 0.4);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.value-card > * {
    position: relative;
    z-index: 1;
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    justify-content: center;
}

.value-card h3 {
    margin-bottom: 1.25rem;
    font-size: 1.75rem;
}

.value-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

/* --- Why WellFusion --- */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.usp-list {
    margin-top: 3.5rem;
    display: grid;
    gap: 2.5rem;
}

.usp-item {
    display: flex;
    gap: 1.75rem;
}

.usp-item i {
    color: var(--accent);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.usp-item h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.usp-item p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Why Visual / Mockup */
.why-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.glass-container {
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05), transparent);
    width: 550px;
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.mobile-mockup {
    width: 260px;
    height: 520px;
    background: #0d0d0f;
    border: 12px solid #222;
    border-radius: 45px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 60px 120px rgba(0,0,0,0.6);
}

.mockup-content {
    padding: 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.mockup-content span {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.bar-chart {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 120px;
}

.bar {
    flex: 1;
    background: var(--accent-gradient);
    border-radius: 6px;
    animation: barGrow 2s var(--transition) forwards;
}

@keyframes barGrow {
    from { height: 0; }
}

/* --- Features Section --- */
.feature-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.feature-card {
    padding: 4rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.5s var(--transition);
    text-align: center; /* Center feature cards content */
}

.feature-card:hover {
    border-color: var(--accent);
    transform: translateY(-10px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 2.5rem; /* Center icon */
    color: var(--accent);
    display: block;
}

.feature-card h3 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* --- Team --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.5s var(--transition);
}

.team-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
}

.team-img-box {
    width: 180px;
    height: 180px;
    margin: 4rem auto 0;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--border);
    box-shadow: 0 0 30px rgba(193, 173, 255, 0.1);
    transition: all 0.5s var(--transition);
}

.team-card:hover .team-img-box {
    border-color: var(--accent);
    box-shadow: var(--accent-glow);
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--transition);
}

.team-card:hover .team-img {
    transform: scale(1.1);
}

.team-info {
    padding: 3.5rem 2.5rem;
    text-align: center;
    width: 100%;
}

.team-role {
    display: block;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.team-info h3 {
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.team-info p {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-size: 1rem;
    line-height: 1.7;
}

.bio-peek {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
}

.bio-tag {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- Download Section --- */
.glass-section {
    padding: 15rem 0;
    background: linear-gradient(to bottom, var(--bg-dark), var(--bg-alt));
}

.cta-sub {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-top: -1rem;
}

.download-btns {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 5rem;
}

.app-badge {
    height: 64px;
    width: auto;
    transition: transform 0.3s ease;
}

.app-badge:hover {
    transform: scale(1.05);
}

/* --- FAQ Section --- */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-category {
    margin-bottom: 4rem;
}

.faq-cat-title {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.4s var(--transition);
}

.faq-item.active {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.05);
}

.faq-question {
    padding: 1.5rem 2rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.faq-item:hover .faq-question {
    color: var(--accent);
}

.faq-question i {
    width: 20px;
    height: 20px;
    transition: transform 0.4s var(--transition);
    color: var(--text-secondary);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 2rem;
    color: var(--text-secondary);
    line-height: 1.8;
    transition: all 0.4s var(--transition);
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Adjust as needed */
    padding: 0 2rem 2rem 2rem;
    opacity: 1;
}

/* --- Footer --- */
footer {
    padding: 8rem 0 4rem;
    border-top: 1px solid var(--border);
    background: var(--bg-dark);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6rem;
}

.footer-logo {
    max-width: 350px;
}

.footer-logo p {
    margin-top: 2rem;
    color: var(--text-secondary);
    font-size: 1rem;
}

.footer-links {
    display: flex;
    list-style: none;
    gap: 5rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    padding-top: 4rem;
    border-top: 1px solid var(--border);
    color: hsla(0, 0%, 100%, 0.2);
    font-size: 0.9rem;
    text-align: center;
}

/* --- Reveal --- */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1.4s var(--transition);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .grid-2 { grid-template-columns: 1fr; text-align: center; }
    .usp-item { justify-content: center; text-align: left; max-width: 500px; margin: 0 auto; }
    .glass-container { width: 100%; height: auto; padding: 4rem 0; }
    .team-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta { display: none; }
    .menu-toggle { display: block; color: var(--text-primary); }
    .hero-actions { flex-direction: column; width: 100%; padding: 0 2rem; }
    .btn { width: 100%; }
    .download-btns { flex-direction: column; align-items: center; gap: 1.5rem; }
    .section { padding: 8rem 0; }
    .footer-grid { flex-direction: column; gap: 4rem; text-align: center; }
    .footer-links { justify-content: center; gap: 2rem; }
    .footer-logo { margin: 0 auto; }
}
