/* VestedHealth Landing Page Style Sheets - Liquid Glass Theme */

:root {
    --bg-dark: #03060a;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-bg-hover: rgba(255, 255, 255, 0.06);
    --border-color: rgba(255, 255, 255, 0.07);
    --border-hover: rgba(255, 255, 255, 0.15);
    
    --text-primary: #f5f6f8;
    --text-secondary: #8a94a6;
    --text-muted: #535f75;
    
    --emerald-accent: #00e68a;
    --emerald-glow: rgba(0, 230, 138, 0.15);
    --emerald-glow-strong: rgba(0, 230, 138, 0.3);
    
    --amber-accent: #ffb31a;
    --amber-glow: rgba(255, 179, 26, 0.15);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* --- LIQUID BACKGROUND ANIMATED BLOBS --- */
.liquid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    background: radial-gradient(circle at 50% 50%, #08101a, #03060a);
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.15;
    mix-blend-mode: screen;
}

.blob-emerald {
    background: var(--emerald-accent);
    width: 600px;
    height: 600px;
    top: -100px;
    left: -100px;
    animation: drift-slow 25s infinite alternate ease-in-out;
}

.blob-amber {
    background: var(--amber-accent);
    width: 500px;
    height: 500px;
    bottom: -100px;
    right: -100px;
    animation: drift-medium 20s infinite alternate-reverse ease-in-out;
}

.blob-navy {
    background: #0066ff;
    width: 700px;
    height: 700px;
    top: 40%;
    left: 30%;
    animation: drift-slow 30s infinite alternate ease-in-out;
}

@keyframes drift-slow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(120px, 80px) scale(1.2); }
}

@keyframes drift-medium {
    0% { transform: translate(0, 0) scale(1.1); }
    100% { transform: translate(-100px, -60px) scale(0.9); }
}

/* --- REUSABLE GLASS PANEL --- */
.glass-panel {
    background: var(--card-bg);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: var(--transition-smooth);
}

.glass-panel:hover {
    border-color: var(--border-hover);
    background: var(--card-bg-hover);
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--emerald-accent);
    color: #03060a;
    box-shadow: 0 4px 20px var(--emerald-glow);
}

.btn-primary:hover {
    background: #00ff99;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--emerald-glow-strong);
}

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

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

.btn-nav-cta {
    padding: 10px 20px;
    font-size: 14px;
    background: var(--card-bg);
    color: var(--emerald-accent);
    border: 1px solid rgba(0, 230, 138, 0.3);
}

.btn-nav-cta:hover {
    background: var(--emerald-accent);
    color: #03060a;
    border-color: var(--emerald-accent);
    box-shadow: 0 4px 15px var(--emerald-glow);
}

/* --- HEADER --- */
.main-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(3, 6, 10, 0.7);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 20px;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.logo-accent {
    color: var(--emerald-accent);
    border: 1.5px solid var(--emerald-accent);
    padding: 1px 6px;
    border-radius: 6px;
    font-size: 15px;
    background: var(--emerald-glow);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition-smooth);
}

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

/* --- COMMON LAYOUT --- */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
}

.section-header-wrap {
    margin-bottom: 48px;
}

.section-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 42px;
    letter-spacing: -1px;
}

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

.text-gradient-emerald {
    background: linear-gradient(135deg, var(--emerald-accent), #00ffcc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- HERO SECTION --- */
.hero-section {
    padding-top: 60px;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    font-family: var(--font-heading);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.hero-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 64px;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 520px;
}

.cta-group {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.app-store-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.trust-anchors {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.trust-anchors .dot {
    color: var(--border-color);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.mockup-wrapper {
    padding: 16px;
    border-radius: 36px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    max-width: 400px;
    overflow: hidden;
}

.mockup-img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    display: block;
}

/* --- THE PROBLEM SECTION --- */
.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.paragraph-lead {
    font-size: 22px;
    line-height: 1.5;
    color: var(--text-secondary);
}

.problem-visual-card {
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.card-glow {
    position: absolute;
    top: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background: var(--amber-glow);
    filter: blur(60px);
    border-radius: 50%;
}

.breakout-text {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.breakout-subtext {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.interactive-diagram-mini {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 16px;
    border: 1px solid var(--border-color);
}

.node {
    font-size: 11px;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 6px;
    text-align: center;
}

.mini-node-food {
    background: rgba(0, 230, 138, 0.1);
    color: var(--emerald-accent);
    border: 1px solid rgba(0, 230, 138, 0.2);
}

.mini-node-holding {
    background: rgba(255, 179, 26, 0.1);
    color: var(--amber-accent);
    border: 1px solid rgba(255, 179, 26, 0.2);
    max-width: 130px;
}

.mini-node-healthcare {
    background: rgba(0, 102, 255, 0.1);
    color: #3385ff;
    border: 1px solid rgba(0, 102, 255, 0.2);
}

.node-connector {
    flex-grow: 1;
    height: 1.5px;
    background: var(--border-color);
    margin: 0 8px;
}

/* --- HOW IT WORKS SECTION --- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.step-card {
    padding: 32px;
    position: relative;
}

.step-num {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 64px;
    color: rgba(255, 255, 255, 0.02);
    position: absolute;
    top: 10px;
    right: 20px;
    line-height: 1;
}

.step-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.step-desc {
    font-size: 14px;
    color: var(--text-secondary);
}

/* --- SIMULATED SCANNER WIDGET --- */
.scan-simulation-container {
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.widget-header {
    background: rgba(0, 0, 0, 0.2);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border-color);
}

.widget-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.widget-dot.green { background: #ff5f56; }
.widget-dot.yellow { background: #ffbd2e; }
.widget-dot.red { background: #27c93f; }

.widget-title {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-left: 8px;
}

.widget-body {
    padding: 32px;
}

.widget-instruction {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    text-align: center;
}

.widget-selector-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
}

.btn-select {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.btn-select:hover, .btn-select.active {
    background: var(--card-bg-hover);
    color: var(--text-primary);
    border-color: var(--border-hover);
}

.btn-select.active {
    border-color: var(--emerald-accent);
    color: var(--emerald-accent);
    background: var(--emerald-glow);
}

.simulator-canvas {
    background: #020406;
    border-radius: 14px;
    border: 1px solid var(--border-color);
    padding: 30px;
    display: flex;
    justify-content: center;
}

.sim-phone {
    width: 100%;
    max-width: 380px;
    background: #070a0f;
    border-radius: 28px;
    border: 3px solid #1c2536;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.sim-header {
    background: #0a0e14;
    padding: 12px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
}

.sim-content {
    padding: 20px;
    min-height: 380px;
}

.sim-tree-node {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    margin: 0 auto;
}

.sim-tree-node.emerald {
    border-color: var(--emerald-accent);
    box-shadow: 0 2px 10px var(--emerald-glow);
}

.sim-tree-node.amber {
    border-color: var(--amber-accent);
}

.sim-node-label {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
}

.sim-node-val {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
}

.sim-line {
    width: 2px;
    height: 16px;
    background: var(--border-color);
    margin: 0 auto;
}

.sim-branch-bar {
    width: 180px;
    height: 2px;
    background: var(--border-color);
    margin: 0 auto;
}

.sim-branches {
    display: flex;
    justify-content: space-around;
    padding: 0 10px;
}

.sim-branch-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 45%;
}

.sim-grid-node {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px;
    text-align: center;
    width: 100%;
}

.sim-grid-node .sim-node-val {
    font-size: 11px;
}

.sim-grid-node .sim-pct {
    font-size: 12px;
    font-weight: 800;
    color: var(--emerald-accent);
}

/* --- FEATURES SECTION --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 40px 32px;
    text-align: left;
}

.feature-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(0, 230, 138, 0.05);
    border: 1px solid rgba(0, 230, 138, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-accent);
    margin-bottom: 24px;
}

.feature-icon {
    width: 24px;
    height: 24px;
}

.feature-card-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card-desc {
    font-size: 14px;
    color: var(--text-secondary);
}

/* --- PRICING SECTION --- */
.billing-toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.billing-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.billing-label.active {
    color: var(--text-primary);
}

.billing-toggle-switch {
    width: 50px;
    height: 26px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-color);
    position: relative;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.billing-toggle-switch::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--text-primary);
    top: 3px;
    left: 4px;
    transition: var(--transition-smooth);
}

.billing-toggle-switch.active {
    background: var(--emerald-accent);
    border-color: var(--emerald-accent);
}

.billing-toggle-switch.active::after {
    left: 26px;
    background: #03060a;
}

.save-tag {
    font-size: 10px;
    background: var(--emerald-glow);
    color: var(--emerald-accent);
    border: 1px solid rgba(0, 230, 138, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 4px;
    vertical-align: middle;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 800px;
    margin: 48px auto 0 auto;
}

.pricing-card {
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-card.premium-card {
    border-color: rgba(0, 230, 138, 0.25);
    box-shadow: 0 10px 40px rgba(0, 230, 138, 0.04);
}

.pricing-card.premium-card:hover {
    border-color: rgba(0, 230, 138, 0.4);
}

.popular-tag {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--emerald-accent);
    color: #03060a;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.plan-name {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    margin-bottom: 30px;
}

.plan-price .currency {
    font-size: 24px;
    font-weight: 600;
    margin-right: 2px;
}

.plan-price .price-val {
    font-family: var(--font-heading);
    font-size: 54px;
    font-weight: 800;
    line-height: 1;
}

.plan-price .period {
    font-size: 14px;
    color: var(--text-secondary);
    margin-left: 4px;
}

.plan-features {
    list-style: none;
    margin-bottom: 40px;
    flex-grow: 1;
}

.plan-features li {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 14px;
    position: relative;
    padding-left: 24px;
}

.plan-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--emerald-accent);
    font-weight: bold;
}

.plan-features li.disabled {
    color: var(--text-muted);
}

.plan-features li.disabled::before {
    content: "✕";
    color: var(--text-muted);
}

.btn-plan {
    width: 100%;
}

/* --- FOOTER --- */
.main-footer {
    background: #010305;
    border-top: 1px solid var(--border-color);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px 40px 24px;
}

.disclosure {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 900px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    font-size: 13px;
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    gap: 24px;
}

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

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

.domain {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--emerald-accent);
}

/* --- RESPONSIVENESS --- */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .cta-group {
        justify-content: center;
    }
    
    .trust-anchors {
        justify-content: center;
    }
    
    .problem-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 48px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* --- LEGAL PAGES --- */
.legal-section {
    padding: 120px 24px 80px 24px;
    min-height: 80vh;
}

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

.legal-content {
    padding: 48px;
    color: var(--text-secondary);
}

.legal-title {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.legal-meta {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.legal-body h2 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-top: 32px;
    margin-bottom: 16px;
}

.legal-body p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.legal-body ul {
    margin-left: 20px;
    margin-bottom: 16px;
}

.legal-body li {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 8px;
    list-style-type: disc;
}

@media (max-width: 768px) {
    .legal-content {
        padding: 24px;
    }
    
    .legal-title {
        font-size: 28px;
    }
}
