/* TruFit - AI Glass Theme */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-deep: #050810;
    --bg-mid: #0a0f1a;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-strong: rgba(255, 255, 255, 0.08);
    --accent-cyan: #22d3ee;
    --accent-teal: #14b8a6;
    --accent-violet: #a78bfa;
    --accent-magenta: #e879f9;
    --glow-cyan: 0 0 40px rgba(34, 211, 238, 0.25);
    --glow-violet: 0 0 40px rgba(167, 139, 250, 0.2);
    --gradient-ai: linear-gradient(135deg, #22d3ee 0%, #a78bfa 50%, #e879f9 100%);
    --gradient-subtle: linear-gradient(180deg, rgba(34, 211, 238, 0.08) 0%, transparent 50%, rgba(167, 139, 250, 0.06) 100%);
    --text: #f1f5f9;
    --text-muted: #94a3b8;
    --radius: 16px;
    --radius-sm: 12px;
    --radius-lg: 24px;
    --nav-height: 64px;
    --bottom-nav-height: 72px;
}

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

body {
    font-family: 'Outfit', system-ui, -apple-system, sans-serif;
    background: var(--bg-deep);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.6;
    -webkit-tap-highlight-color: transparent;
    overflow-x: hidden;
}

/* AI Background - cosmic gradient + grid */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(34, 211, 238, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 100% 50%, rgba(167, 139, 250, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 50% 30% at 0% 80%, rgba(232, 121, 249, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, #050810 0%, #0a0f1a 50%, #050810 100%);
    pointer-events: none;
    z-index: -2;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    z-index: -1;
    opacity: 0.6;
}

/* App shell */
body.app-shell {
    padding-top: env(safe-area-inset-top);
    padding-bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom));
    -webkit-tap-highlight-color: transparent;
}

body.app-shell.has-landing,
body.app-shell:not(.has-bottom-nav) { padding-bottom: env(safe-area-inset-bottom); }

body.app-shell .container {
    max-width: 28rem;
    padding: 1.25rem max(1.25rem, env(safe-area-inset-right)) 6rem max(1.25rem, env(safe-area-inset-left));
}

@media (min-width: 769px) {
    body.app-shell .container { padding-bottom: 2rem; }
    body.app-shell { padding-bottom: env(safe-area-inset-bottom); }
}

a { color: var(--accent-cyan); text-decoration: none; }
a:hover { text-decoration: none; }

/* Glass cards */
.card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.card:hover { border-color: rgba(34, 211, 238, 0.2); }
.card h2, .card h3 { margin-bottom: 0.75rem; font-size: 1.1rem; font-weight: 600; }

/* Forms - glass */
input, select, textarea {
    font-family: inherit;
    font-size: 1rem;
    width: 100%;
    padding: 0.875rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.3);
    color: var(--text);
    margin-bottom: 0.75rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.15);
}

button, .btn {
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.5rem;
    border-radius: var(--radius-sm);
    background: var(--gradient-ai);
    color: #050810;
    border: none;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}
button:hover, .btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--glow-cyan);
    opacity: 0.95;
    color: #050810;
    text-decoration: none;
}
.btn-secondary {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text);
    backdrop-filter: blur(12px);
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); color: var(--text); box-shadow: none; }
.btn-outline {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text);
}
.btn-outline:hover { background: var(--glass); color: var(--text); }

.btn-large { padding: 1rem 2rem; font-size: 1.1rem; font-weight: 700; }
.btn-block { display: flex; width: 100%; }

.error { color: #f87171; font-size: 0.875rem; margin-bottom: 0.75rem; }
.success { color: #4ade80; font-size: 0.875rem; margin-bottom: 0.75rem; }

.container { max-width: 48rem; margin: 0 auto; padding: 1.5rem; }
.container-wide { max-width: 64rem; margin: 0 auto; padding: 1.5rem; }

/* Site header - glass */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(5, 8, 16, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.75rem 0;
}
.site-header .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 max(1rem, env(safe-area-inset-left)) 0 max(1rem, env(safe-area-inset-right));
}
.site-header .logo {
    font-weight: 700;
    font-size: 1.35rem;
    background: var(--gradient-ai);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.site-header nav { display: flex; gap: 0.75rem; align-items: center; }
.site-header a { color: var(--text-muted); }
.site-header a:hover { color: var(--accent-cyan); }

/* Top nav (desktop) */
.nav {
    display: flex;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(5, 8, 16, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    flex-wrap: wrap;
}
.nav a { color: var(--text-muted); }
.nav a:hover { color: var(--accent-cyan); }
.nav .brand {
    font-weight: 700;
    background: var(--gradient-ai);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-right: auto;
}

/* Bottom tab bar - mobile app nav */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    background: rgba(5, 8, 16, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid var(--glass-border);
    z-index: 100;
    padding-top: 0.75rem;
}
.bottom-nav-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100%;
    max-width: 28rem;
    margin: 0 auto;
    padding: 0 0.5rem;
}
.bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.5rem 0.75rem;
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: color 0.2s, background 0.2s;
    min-width: 56px;
}
.bottom-nav a:hover, .bottom-nav a.active { color: var(--accent-cyan); }
.bottom-nav a.active { background: rgba(34, 211, 238, 0.15); }
.bottom-nav .nav-icon { font-size: 1.25rem; }

@media (max-width: 768px) {
    .bottom-nav { display: block; }
    .nav-app .nav-menu { display: none !important; }
    .nav-app .nav-toggle { display: flex; }
}

@media (min-width: 769px) {
    .bottom-nav { display: none !important; }
    body.app-shell { padding-bottom: env(safe-area-inset-bottom); }
}

/* Hamburger - mobile */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    cursor: pointer;
    border-radius: var(--radius-sm);
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 1px;
}
.nav-app { align-items: center; flex-wrap: nowrap; }
.nav-app .nav-menu { display: flex; gap: 1rem; align-items: center; }
.nav-app .nav-toggle { margin-left: auto; }

.nav-backdrop { display: none; }

/* Mobile slide menu */
@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .site-header .site-nav,
    .nav-app .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 85%;
        max-width: 300px;
        height: 100vh;
        background: rgba(5, 8, 16, 0.95);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border-left: 1px solid var(--glass-border);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 5rem 1.5rem 2rem;
        gap: 0;
        z-index: 100;
        transform: translateX(100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
    }
    .site-header .site-nav a,
    .nav-app .nav-menu a {
        display: block;
        padding: 1rem 1.25rem;
        font-size: 1rem;
        border-bottom: 1px solid var(--glass-border);
    }
    body.nav-open .site-header .site-nav,
    body.nav-open .nav-app .nav-menu { transform: translateX(0); }
    .nav-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        backdrop-filter: blur(4px);
        z-index: 99;
    }
    body.nav-open .nav-backdrop { display: block; }
}

/* Landing page */
.landing { min-height: 100vh; position: relative; }

.hero {
    text-align: center;
    padding: 3rem 1.5rem 4rem;
    position: relative;
}
.hero-visual {
    position: relative;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 2rem;
    aspect-ratio: 1;
}
.hero-orb {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(34, 211, 238, 0.4) 0%, rgba(167, 139, 250, 0.2) 40%, transparent 70%);
    animation: pulse-glow 4s ease-in-out infinite;
}
.hero-grid-ring {
    position: absolute;
    inset: 10%;
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 50%;
    animation: rotate-slow 20s linear infinite;
}
.hero-grid-ring::before {
    content: '';
    position: absolute;
    inset: -20%;
    border: 1px solid rgba(167, 139, 250, 0.15);
    border-radius: 50%;
}
.hero-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(34, 211, 238, 0.6) 2px, transparent 2px);
    background-size: 24px 24px;
    border-radius: 50%;
    opacity: 0.5;
}
.hero-pulse {
    position: absolute;
    inset: 15%;
    border: 2px solid rgba(34, 211, 238, 0.3);
    border-radius: 50%;
    animation: pulse-ring 2.5s ease-out infinite;
}
@keyframes pulse-ring {
    0% { transform: scale(0.8); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0; }
}
.gradient-text {
    background: var(--gradient-ai);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
@keyframes pulse-glow {
    0%, 100% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.02); }
}
@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero h1 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #f1f5f9 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p { color: var(--text-muted); font-size: 1rem; margin-bottom: 1rem; line-height: 1.6; }
.hero-steps {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 1rem 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.hero .cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Features - glass cards */
.features { padding: 3rem 1.5rem; }
.features h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 600;
    font-size: 1.5rem;
}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
}
.feature-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: var(--radius);
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(34, 211, 238, 0.2);
    box-shadow: var(--glow-cyan);
}
.feature-card .feat-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}
.feature-card h3 { margin-bottom: 0.5rem; font-weight: 600; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.5; }

.cta { text-align: center; padding: 3rem 1.5rem; }
.site-footer {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid var(--glass-border);
}

/* Auth - glass */
.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 100px);
    padding: 2rem;
}
.auth-box {
    width: 100%;
    max-width: 24rem;
    background: var(--glass);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}
.auth-box h1 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.25rem; }
.auth-sub { color: var(--text-muted); margin-bottom: 1.5rem; }
.auth-box input { margin-bottom: 1rem; }
.auth-box button { width: 100%; }
.auth-footer { margin-top: 1.5rem; font-size: 0.9rem; color: var(--text-muted); text-align: center; }

/* Card grid & links */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}
.card-link {
    display: block;
    color: inherit;
    text-decoration: none;
    transition: transform 0.2s;
}
.card-link:hover { transform: translateY(-2px); }
.card-link .card-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.card-link .stat { font-size: 0.85rem; color: var(--text-muted); display: block; margin-top: 0.5rem; }
.muted { color: var(--text-muted); font-size: 0.9rem; }
.mt { margin-top: 1.5rem; }
.flex { display: flex; }
.gap { gap: 0.75rem; }

.form-stack label { display: block; margin-bottom: 0.35rem; font-size: 0.9rem; }
.form-stack .row { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1rem; }
.form-stack .row > div { flex: 1; min-width: 120px; }

/* AI chat cards */
.getting-started,
.ai-chat-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-left: 4px solid var(--accent-cyan);
    padding: 1.25rem 1.5rem;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin-bottom: 1.5rem;
}
.ai-chat-card-highlight { border-left-color: var(--accent-teal); }
.ai-prompt { font-size: 1.05rem; line-height: 1.6; color: var(--text); margin-bottom: 1rem; }
.ai-welcome .ai-prompt { margin-bottom: 0.75rem; }
.getting-started ol { margin: 0.5rem 0 0 1.25rem; color: var(--text-muted); font-size: 0.95rem; }
.getting-started li { margin-bottom: 0.5rem; }
.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    background: var(--gradient-ai);
    color: #050810;
    font-weight: 700;
    font-size: 0.8rem;
    border-radius: 50%;
    margin-right: 0.5rem;
}
.mb-sm { margin-bottom: 0.75rem; }
.subtitle { color: var(--text-muted); margin-bottom: 1.5rem; }

/* Grid, stats, tables */
.grid { display: grid; gap: 1rem; }
.grid-2 { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.stat-card { text-align: center; }
.stat-card .value { font-size: 1.5rem; font-weight: 700; }
.stat-card .label { font-size: 0.8rem; color: var(--text-muted); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 0.75rem; text-align: left; border-bottom: 1px solid var(--glass-border); }
th { color: var(--text-muted); font-weight: 500; }

/* Scan, plans, progress */
.plan-list, .scan-list { list-style: none; }
.scan-session .scan-date { font-size: 1rem; color: var(--text-muted); margin-bottom: 0.75rem; font-weight: 600; }
.scan-history { display: flex; flex-direction: column; gap: 1rem; }
.analysis-detail { margin-top: 1.5rem; }
.analysis-detail h3 { font-size: 1.1rem; margin-bottom: 1rem; }
.analysis-detail .stat-line { margin-bottom: 0.5rem; }
.analysis-detail .insights-block { margin-top: 1rem; }
.analysis-detail .insights-block ul { margin: 0.5rem 0 0 1.25rem; padding: 0; }
.analysis-detail .insights-block li { margin-bottom: 0.35rem; color: var(--text-muted); }
.badge { background: var(--glass); padding: 0.25rem 0.5rem; border-radius: 0.25rem; font-size: 0.8rem; border: 1px solid var(--glass-border); }
.checkbox-group { margin-bottom: 1rem; }
.checkbox { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; cursor: pointer; }
.checkbox input { width: auto; margin: 0; }
.info { color: var(--accent-cyan); font-size: 0.9rem; margin-bottom: 0.5rem; }

/* Alerts */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    backdrop-filter: blur(12px);
}
.alert-warning {
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.3);
    color: #fcd34d;
}
.alert-info {
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.3);
    color: #7dd3fc;
}
.alert strong { display: block; margin-bottom: 0.25rem; }
.card-simple { padding: 1.25rem; }
.page-label { font-size: 0.95rem; margin-bottom: 1rem; color: var(--text-muted); }
.form-compact .form-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.form-compact .form-row select, .form-compact .form-row input[type="file"] { flex: 1; min-width: 120px; margin-bottom: 0; }
.or-divider { text-align: center; color: var(--text-muted); margin: 1.25rem 0; font-size: 0.9rem; }

/* Scan samples */
.scan-samples { display: flex; gap: 1rem; justify-content: center; margin: 1.5rem 0; flex-wrap: wrap; }
.scan-sample {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    backdrop-filter: blur(12px);
}
.scan-sample img { width: 60px; height: 100px; object-fit: contain; opacity: 0.9; }
.scan-sample span { font-size: 0.9rem; color: var(--text-muted); }
.scan-samples-compact { display: flex; gap: 1rem; margin: 1rem 0; flex-wrap: wrap; justify-content: center; }
.measurements-toggle { margin-top: 1rem; padding-top: 1rem; }
.measurements-toggle summary { cursor: pointer; color: var(--accent-cyan); font-weight: 500; }
.measurement-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 1rem; margin: 1rem 0; }
.measurement-grid label { font-size: 0.9rem; }

/* Onboarding */
.onboarding { max-width: 36rem; margin: 0 auto; }
.onboarding .step-indicator { display: flex; align-items: center; justify-content: center; gap: 0; margin-bottom: 2rem; }
.onboarding .step-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
}
.onboarding .step-dot.active {
    background: var(--gradient-ai);
    border-color: transparent;
    color: #050810;
}
.onboarding .step-dot.done {
    background: rgba(34, 197, 94, 0.3);
    border-color: rgba(34, 197, 94, 0.5);
    color: #4ade80;
}
.onboarding .step-line { flex: 1; height: 2px; background: var(--glass-border); max-width: 2rem; }
.onboarding .step-dot.done + .step-line { background: rgba(34, 197, 94, 0.5); }
.onboarding .divider { border-color: var(--glass-border); margin: 1.5rem 0; }
.onboarding .radio-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
    cursor: pointer;
}
.onboarding .radio-group input { width: auto; margin: 0; }
.diet-type-options { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.diet-type-options label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    cursor: pointer;
}
.diet-type-options input { width: auto; margin: 0; }

/* Workout & diet cards */
.workout-plan-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 1.25rem;
    margin-bottom: 1rem;
    backdrop-filter: blur(12px);
}
.workout-plan-card h4 { margin-bottom: 0.75rem; color: var(--accent-cyan); }
.workout-plan-card p { margin-bottom: 0.5rem; font-size: 0.95rem; }
.new-plan-preview {
    background: var(--glass);
    border-left: 4px solid #22c55e;
    padding: 1.25rem;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 1rem 0;
    border: 1px solid var(--glass-border);
}
.new-plan-preview h3 { margin-bottom: 0.75rem; }
.new-plan-preview p { margin-bottom: 0.5rem; }
.new-plan-preview .exercise-detail { font-size: 0.9rem; color: var(--text-muted); margin-left: 1rem; }

.plan-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.plan-list li, .scan-item { padding: 0.5rem 0; border-bottom: 1px solid var(--glass-border); }
.scan-list .scan-item { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.inline-form { display: inline; }

/* Mobile responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 1.75rem; }
    .hero-visual { max-width: 220px; margin-bottom: 1.5rem; }
    .card-grid { grid-template-columns: 1fr; }
    .card-link { padding: 1.25rem; min-height: 120px; }
    .btn, button { min-height: 48px; padding: 0.875rem 1.25rem; }
    .flex.gap { flex-wrap: wrap; }
}
@media (max-width: 480px) {
    .container { padding: 1rem; }
    .card { padding: 1.25rem; }
    .feature-card { padding: 1.25rem; }
}
