/* ==========================================================================
   ONE/1 LONGEVITY LAB - DESIGN SYSTEM
   ========================================================================== */

:root {
    /* Color Palette */
    --bg-color: #060608;
    --card-bg: rgba(13, 13, 20, 0.65);
    --card-bg-hover: rgba(20, 20, 32, 0.85);
    --card-border: rgba(255, 255, 255, 0.06);
    --card-border-hover: rgba(0, 242, 254, 0.3);
    
    --primary: #00f2fe;
    --primary-rgb: 0, 242, 254;
    --secondary: #4facfe;
    --accent: #8b5cf6;
    --accent-rgb: 139, 92, 246;
    
    --text-main: #f9fafb;
    --text-muted: #9ca3af;
    --text-dark: #4b5563;
    
    --status-optimal: #00f2fe;
    --status-warning: #eab308;
    --status-danger: #ef4444;
    
    /* Typography */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Effects & Transition */
    --glass-blur: blur(16px);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-quick: all 0.2s ease;
    --glow-shadow: 0 0 30px rgba(0, 242, 254, 0.15);
}

/* Base Styles & Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-quick);
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.grid {
    display: grid;
    gap: 2rem;
}

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

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-2-1-alt {
    grid-template-columns: 1fr 1.3fr;
}

@media (max-width: 992px) {
    .grid-2, .grid-3, .grid-2-1-alt {
        grid-template-columns: 1fr;
    }
}

.section-padding {
    padding: 8rem 0;
}

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

/* Glass Panel Styling */
.glass-panel {
    background: var(--card-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 3rem;
    transition: var(--transition-smooth);
}

.glass-panel:hover {
    border-color: rgba(0, 242, 254, 0.15);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

/* Dynamic Gradients */
.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.badge-premium {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.2);
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: 100px;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.05);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 1rem 2rem;
    border-radius: 100px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.btn-sm {
    padding: 0.6rem 1.4rem;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 1.2rem 2.8rem;
    font-size: 1.05rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #000;
    box-shadow: 0 4px 20px rgba(0, 242, 254, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 242, 254, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
}

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

.btn-accent {
    background: linear-gradient(135deg, var(--accent), #a78bfa);
    color: var(--text-main);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
}

.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.5);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(6, 6, 8, 0.4);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: var(--transition-smooth);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* Brand Logo */
.logo {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.logo-accent {
    color: var(--text-main);
}

.logo-divider {
    color: var(--primary);
    margin: 0 0.15rem;
    font-weight: 500;
}

.logo-sub {
    color: var(--primary);
}

.logo-tag {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    background: rgba(0, 242, 254, 0.1);
    color: var(--primary);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    margin-left: 0.75rem;
}

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

.nav-link:hover {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.25);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-nav-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition-quick);
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    .mobile-nav-toggle {
        display: flex;
    }
    .main-header .btn {
        display: none;
    }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    overflow: hidden;
}

/* Floating Radial Mesh background */
.hero-glowing-mesh {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140%;
    height: 140%;
    background: 
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(0, 242, 254, 0.08) 0%, transparent 45%);
    z-index: -1;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    max-width: 650px;
}

.hero-title {
    font-size: 3.8rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 550px;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

/* Hero Circle Graphics */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.glowing-circle-container {
    position: relative;
    width: 380px;
    height: 380px;
}

.circle-outer {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px dashed rgba(0, 242, 254, 0.25);
    animation: rotateCircle 40s linear infinite;
}

.circle-middle {
    position: absolute;
    width: 85%;
    height: 85%;
    top: 7.5%;
    left: 7.5%;
    border-radius: 50%;
    border: 1px solid rgba(139, 92, 246, 0.2);
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.05);
}

.circle-inner {
    position: absolute;
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13, 13, 20, 0.9) 0%, rgba(6, 6, 8, 0.95) 100%);
    border: 1px solid rgba(0, 242, 254, 0.4);
    box-shadow: 0 0 60px rgba(0, 242, 254, 0.15), inset 0 0 30px rgba(0, 242, 254, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.bio-age-display {
    text-align: center;
}

.age-label {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
    display: block;
}

.age-value {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    display: block;
    text-shadow: 0 0 20px rgba(0, 242, 254, 0.4);
}

.age-unit {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    color: var(--text-main);
    font-weight: 600;
    margin-top: 0.25rem;
    display: block;
}

/* Floating Data Badges */
.data-point {
    position: absolute;
    background: rgba(13, 13, 20, 0.85);
    backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.6rem 1.2rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-main);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    pointer-events: none;
    z-index: 3;
}

.data-point.point-1 {
    top: 15%;
    left: -10%;
    border-color: rgba(0, 242, 254, 0.3);
    animation: floatAnim 6s ease-in-out infinite alternate;
}

.data-point.point-2 {
    bottom: 15%;
    right: -10%;
    border-color: rgba(139, 92, 246, 0.3);
    animation: floatAnim 6s ease-in-out infinite alternate 2s;
}

.data-point.point-3 {
    bottom: -5%;
    left: 20%;
    border-color: rgba(0, 242, 254, 0.3);
    animation: floatAnim 6s ease-in-out infinite alternate 4s;
}

/* Scroll indicator mouse */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

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

.scroll-mouse {
    width: 20px;
    height: 32px;
    border: 1.5px solid var(--text-muted);
    border-radius: 100px;
    position: relative;
}

.scroll-wheel {
    width: 3px;
    height: 6px;
    background-color: var(--primary);
    border-radius: 50%;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s infinite;
}

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-bottom: 4rem;
    }
    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-title {
        font-size: 2.8rem;
    }
    .hero-actions {
        width: 100%;
        justify-content: center;
    }
    .hero-visual {
        margin-top: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .glowing-circle-container {
        width: 280px;
        height: 280px;
    }
    .age-value {
        font-size: 2.5rem;
    }
}

/* ==========================================================================
   PHILOSOPHY SECTION
   ========================================================================== */

.section-header {
    max-width: 700px;
    margin: 0 auto 4.5rem auto;
}

.section-title {
    font-size: 2.6rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.philosophy-grid {
    margin-top: 1rem;
}

.philosophy-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.philosophy-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.12);
    background: var(--card-bg-hover);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.card-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.75rem;
    transition: var(--transition-quick);
}

.philosophy-card:hover .card-icon-wrapper {
    background: rgba(0, 242, 254, 0.05);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.15);
}

.icon-cyan {
    color: var(--primary);
}

.icon-purple {
    color: var(--accent);
}

.card-title {
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.card-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.card-list {
    list-style: none;
    font-size: 0.85rem;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.card-list span {
    color: var(--primary);
    margin-right: 0.5rem;
    font-weight: 700;
}

/* ==========================================================================
   MARKERS DASHBOARD SECTION
   ========================================================================== */

.dark-section {
    background-color: #08080b;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.dashboard-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

.tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.85rem 1.75rem;
    border-radius: 100px;
    cursor: pointer;
    transition: var(--transition-quick);
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--text-main);
}

.tab-btn.active {
    background: rgba(0, 242, 254, 0.08);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.1);
}

.tab-icon {
    transition: var(--transition-quick);
}

.tab-btn.active .tab-icon {
    filter: drop-shadow(0 0 4px rgba(0, 242, 254, 0.5));
}

/* Marker Cards Dashboard */
.marker-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 992px) {
    .marker-dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .marker-dashboard-grid {
        grid-template-columns: 1fr;
    }
}

.marker-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 1.75rem;
    transition: var(--transition-smooth);
    display: none; /* Controlled by JS filters */
    opacity: 0;
    transform: translateY(10px);
}

.marker-card.active {
    display: flex;
    flex-direction: column;
    opacity: 1;
    transform: translateY(0);
}

.marker-card:hover {
    border-color: var(--card-border-hover);
    background: var(--card-bg-hover);
    box-shadow: var(--glow-shadow);
}

.marker-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.marker-cat {
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 0.15em;
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
}

.marker-name {
    font-size: 1.2rem;
    font-weight: 700;
}

.marker-full-name {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-muted);
    display: block;
}

.marker-status {
    font-size: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 100px;
    white-space: nowrap;
}

.status-optimal {
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.25);
    color: var(--primary);
}

.status-warning {
    background: rgba(234, 179, 8, 0.08);
    border: 1px solid rgba(234, 179, 8, 0.25);
    color: var(--status-warning);
}

.marker-short-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.btn-expand-marker {
    background: none;
    border: none;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    padding: 0.5rem 0;
    align-self: flex-start;
    transition: var(--transition-quick);
}

.btn-expand-marker:hover {
    color: var(--primary);
}

.chevron {
    transition: transform 0.3s ease;
}

/* Expansion panel inside card */
.marker-expanded-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    opacity: 0;
}

.marker-expanded-details.open {
    max-height: 500px;
    opacity: 1;
    padding-bottom: 1rem;
}

.marker-card.expanded .chevron {
    transform: rotate(180deg);
}

.details-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 1.25rem 0;
    width: 100%;
}

.marker-expanded-details h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.marker-expanded-details p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.marker-expanded-details .grid {
    gap: 1.25rem;
}

@media (max-width: 580px) {
    .marker-expanded-details .grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   INTERACTIVE BIO-AGE WIZARD
   ========================================================================== */

.wizard-card {
    max-width: 850px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

/* Wizard Steps Progress indicators */
.wizard-progress-bar-container {
    position: relative;
    margin-bottom: 3.5rem;
}

.wizard-progress-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.wizard-steps-indicators {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.step-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #0f0f13;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-quick);
}

.step-dot.active {
    background: #0f0f13;
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.25);
}

.step-dot.completed {
    background: var(--primary);
    border-color: var(--primary);
    color: #000;
}

/* Form structure */
.wizard-step {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.wizard-step.active {
    display: block;
}

.question-header {
    margin-bottom: 2rem;
}

.question-num {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--accent);
    text-transform: uppercase;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.question-title {
    font-size: 1.6rem;
    line-height: 1.3;
}

/* Radio Button Options Grid */
.options-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.option-card {
    display: block;
    position: relative;
    cursor: pointer;
}

.option-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.option-content {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.25rem 1.75rem;
    transition: var(--transition-quick);
}

.option-card:hover .option-content {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
}

.option-card input[type="radio"]:checked + .option-content {
    background: rgba(0, 242, 254, 0.04);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.05);
}

.option-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}

.option-card input[type="radio"]:checked + .option-content .option-title {
    color: var(--primary);
}

.option-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Age input special style */
.input-age-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 3rem 0;
}

.form-input {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 1rem 1.5rem;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    width: 140px;
    text-align: center;
    transition: var(--transition-quick);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.25);
    background: rgba(255, 255, 255, 0.04);
}

.input-suffix {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Nav control panel */
.wizard-navigation {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.75rem;
}

/* Loader style */
.wizard-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
    text-align: center;
}

.loader-circle {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(0, 242, 254, 0.1);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 2rem;
}

.wizard-loading h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.wizard-loading p {
    color: var(--text-muted);
}

/* Results panel */
.wizard-results {
    animation: fadeIn 0.6s ease forwards;
}

.results-grid {
    align-items: center;
    gap: 4rem;
}

@media (max-width: 768px) {
    .results-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.results-visual-container {
    display: flex;
    justify-content: center;
}

/* Gauge styling */
.gauge-wrapper {
    position: relative;
    width: 250px;
    height: 250px;
}

.gauge-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.gauge-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.03);
    stroke-width: 6;
}

.gauge-fill {
    fill: none;
    stroke: url(#gauge-gradient);
    stroke-width: 6;
    stroke-linecap: round;
    transition: stroke-dashoffset 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* To avoid browser gradient render issues inside isolated gauges, we can inject a SVG gradient inside script or use css stroke color */
.gauge-fill {
    stroke: var(--primary);
    filter: drop-shadow(0 0 6px rgba(0, 242, 254, 0.5));
}

.gauge-text-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.gauge-score-label {
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.gauge-score-value {
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1;
    font-family: var(--font-heading);
}

.gauge-score-max {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Age Differential Badge */
.age-difference-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #000;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 242, 254, 0.25);
    text-shadow: none;
}

.results-headline {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
}

.results-summary-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
}

.results-metrics {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.metric-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.metric-row strong {
    font-family: var(--font-heading);
}

.results-hacks-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 1rem;
}

.results-hacks-list li {
    font-size: 0.9rem;
    color: var(--text-muted);
    position: relative;
    padding-left: 1.5rem;
}

.results-hacks-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.results-hacks-list li strong {
    color: var(--text-main);
}

/* ==========================================================================
   BIOMARKER SIMULATOR SECTION
   ========================================================================== */

.simulator-container {
    gap: 3rem;
    align-items: stretch;
}

.simulator-sliders-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2.5rem;
}

.panel-headline {
    font-size: 1.35rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1rem;
}

.slider-group {
    margin-bottom: 2.25rem;
}

.slider-group:last-child {
    margin-bottom: 0;
}

.slider-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.slider-label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
}

.slider-value-display {
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
}

/* Beautiful Custom Range Sliders */
.range-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 5px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    outline: none;
    transition: var(--transition-quick);
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.6);
    transition: var(--transition-quick);
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.9);
}

.range-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    border: none;
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.6);
    transition: var(--transition-quick);
}

.range-slider::-moz-range-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.9);
}

.slider-range-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Simulator Results Panel */
.simulator-results-panel {
    display: flex;
    flex-direction: column;
    padding: 2.5rem;
    background: radial-gradient(circle at 100% 0%, rgba(139, 92, 246, 0.08) 0%, transparent 50%), var(--card-bg);
}

.sim-badge {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    color: var(--accent);
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
}

.sim-huge-display {
    margin: 2rem 0;
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.sim-plus {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-right: 0.25rem;
    font-family: var(--font-heading);
}

.sim-number {
    font-size: 7.5rem;
    font-weight: 800;
    line-height: 0.9;
    font-family: var(--font-heading);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sim-unit {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-main);
    margin-left: 0.5rem;
    font-family: var(--font-heading);
}

.sim-explanation {
    color: var(--text-muted);
    font-size: 0.95rem;
    text-align: center;
    max-width: 450px;
    margin: 0 auto;
}

/* Breakdown stats inside Simulator */
.sim-stats-breakdown {
    width: 100%;
}

.sim-stat-row {
    margin-bottom: 1.25rem;
}

.sim-stat-row:last-child {
    margin-bottom: 0;
}

.stat-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 0.35rem;
}

.stat-meta strong {
    font-family: var(--font-heading);
    color: var(--text-main);
}

.stat-bar-container {
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    width: 100%;
    overflow: hidden;
}

.stat-bar {
    height: 100%;
    border-radius: 100px;
    width: 0%;
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.bg-cyan {
    background: var(--primary);
}

.bg-purple {
    background: var(--accent);
}

@media (max-width: 480px) {
    .sim-number {
        font-size: 5rem;
    }
}

/* ==========================================================================
   LAB-BIOHACKS / ECOSYSTEM SECTION
   ========================================================================== */

.synergy-grid {
    gap: 2rem;
}

.synergy-showcase-panel {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.synergy-tabs-vertical {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.synergy-tabs-vertical button {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: left;
    cursor: pointer;
    transition: var(--transition-quick);
    display: flex;
    flex-direction: column;
}

.synergy-tabs-vertical button:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
}

.synergy-tabs-vertical button.syn-tabactive {
    background: rgba(0, 242, 254, 0.04);
    border-color: var(--primary);
}

.synergy-tabs-vertical button strong {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--text-main);
    margin-bottom: 0.15rem;
}

.synergy-tabs-vertical button.syn-tabactive strong {
    color: var(--primary);
}

.synergy-tabs-vertical button span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Synergy details card */
.synergy-details-panel {
    padding: 3rem;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 0% 100%, rgba(0, 242, 254, 0.05) 0%, transparent 40%), var(--card-bg);
}

.tech-content {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.tech-content.active {
    display: block;
}

.tech-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(0, 242, 254, 0.05);
    border: 1px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 1.75rem;
}

.tech-title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.tech-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.tech-impact-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
}

.tech-impact-box strong {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    display: block;
    margin-bottom: 1rem;
}

.tech-impact-box ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tech-impact-box li {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tech-impact-box li span {
    font-weight: 700;
    color: var(--primary);
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */

.main-footer {
    background-color: #040406;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 6rem;
    padding-bottom: 2rem;
}

.footer-grid-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

@media (max-width: 992px) {
    .footer-grid-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.footer-about {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    max-width: 320px;
}

.footer-contact {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.footer-links h4, .footer-newsletter h4 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-muted);
}

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

.footer-newsletter p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    max-width: 380px;
}

.newsletter-form {
    display: flex;
    gap: 0.75rem;
}

.newsletter-form .form-input {
    flex-grow: 1;
    font-size: 0.95rem;
    padding: 0.75rem 1.25rem;
    width: auto;
    text-align: left;
}

.newsletter-form .btn {
    padding: 0.75rem 1.75rem;
}

@media (max-width: 480px) {
    .newsletter-form {
        flex-direction: column;
    }
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 2rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

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

@media (max-width: 600px) {
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        text-align: center;
    }
}

.medical-disclaimer {
    margin-top: 3rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.04);
    padding-top: 2rem;
    font-size: 0.75rem;
    color: var(--text-dark);
    text-align: justify;
    line-height: 1.5;
}

/* ==========================================================================
   PRICING & PACKAGES SECTION
   ========================================================================== */

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1200px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 680px) {
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

.pricing-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
    background: var(--card-bg-hover);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.pricing-card.featured {
    border: 1.5px solid var(--primary);
    background: radial-gradient(circle at 50% 0%, rgba(0, 242, 254, 0.04) 0%, transparent 60%), var(--card-bg);
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.08);
}

.pricing-card.featured:hover {
    box-shadow: 0 0 40px rgba(0, 242, 254, 0.2);
    border-color: var(--primary);
}

.pricing-card-header {
    margin-bottom: 2rem;
    position: relative;
}

.pricing-badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.65rem;
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.05em;
    border-radius: 100px;
    color: var(--text-muted);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.pricing-badge.featured-badge {
    background: rgba(0, 242, 254, 0.08);
    border-color: rgba(0, 242, 254, 0.25);
    color: var(--primary);
}

.package-name {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-main);
    line-height: 1.2;
}

.package-price {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1;
    display: flex;
    align-items: baseline;
}

.package-price .currency {
    font-size: 1.5rem;
    color: var(--primary);
    margin-left: 0.25rem;
}

.package-price .per-q {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 400;
}

.package-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.package-features li {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    line-height: 1.4;
}

.package-features li strong {
    color: var(--text-main);
}

.package-features li span {
    color: var(--primary);
    font-weight: 700;
}

.package-btn {
    width: 100%;
    text-align: center;
}

/* ==========================================================================
   BOOKING CALL-TO-ACTION SECTION
   ========================================================================== */

.booking-cta-section {
    position: relative;
    background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.04) 0%, transparent 60%), #050507;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    overflow: hidden;
}

.booking-glowing-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.03) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
}

.booking-container {
    position: relative;
    z-index: 2;
}

.booking-content {
    max-width: 750px;
    margin: 0 auto;
}

.booking-title {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.booking-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.booking-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

@media (max-width: 600px) {
    .booking-title {
        font-size: 2.2rem;
    }
    .booking-actions {
        flex-direction: column;
        width: 100%;
    }
}

/* ==========================================================================
   SUBPAGE & LEGAL PAGE SHARED STYLE OVERRIDES
   ========================================================================== */

.subpage-header {
    background: rgba(6, 6, 8, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.subpage-hero {
    padding: 10rem 0 5rem 0;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 50% 0%, rgba(0, 242, 254, 0.05) 0%, transparent 50%);
}

.subpage-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.subpage-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    transition: var(--transition-quick);
}

.subpage-back-link:hover {
    color: var(--primary);
    transform: translateX(-4px);
}

.legal-content-panel {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.legal-content-panel h2 {
    font-size: 1.6rem;
    color: var(--text-main);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.legal-content-panel h3 {
    font-size: 1.2rem;
    color: var(--text-main);
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}

.legal-content-panel p {
    margin-bottom: 1.25rem;
}

.legal-content-panel ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.legal-content-panel li {
    margin-bottom: 0.5rem;
}

.package-detail-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    align-items: flex-start;
    gap: 3.5rem;
}

@media (max-width: 992px) {
    .package-detail-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.detail-feature-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 1.75rem;
    margin-bottom: 1.25rem;
    transition: var(--transition-quick);
}

.detail-feature-card:hover {
    border-color: rgba(0, 242, 254, 0.15);
    background: rgba(255, 255, 255, 0.02);
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.feature-number-badge {
    width: 28px;
    height: 28px;
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

.feature-title-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text-main);
}

.feature-desc-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.detail-side-panel {
    position: sticky;
    top: 110px;
}

.detail-summary-card {
    background: var(--card-bg);
    border: 1.5px solid var(--card-border);
    border-radius: 16px;
    padding: 2rem;
}

.detail-price-tag {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.detail-checklist {
    list-style: none;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.detail-checklist li {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.detail-checklist li span {
    color: var(--primary);
    font-weight: 700;
}

.detail-checklist li strong {
    color: var(--text-main);
}

/* ==========================================================================
   ANIMATIONS & SCROLL TRIGGER EFFECTS
   ========================================================================== */

@keyframes rotateCircle {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes floatAnim {
    from { transform: translateY(0px); }
    to { transform: translateY(-15px); }
}

@keyframes scrollWheel {
    0% { top: 6px; opacity: 1; }
    50% { top: 18px; opacity: 0; }
    100% { top: 6px; opacity: 1; }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* CSS classes for Scroll Reveal via JS (IntersectionObserver) */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.reveal {
    opacity: 1;
    transform: translateY(0);
}
