/* LifeScore marketing + auth — aligned with TickTick-style app brand */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --mk-ink: #1f2329;
    --mk-muted: #646a73;
    --mk-accent: #4772fa;
    --mk-accent-2: #6b8dff;
    --mk-bg: #f4f5f7;
    --mk-white: #ffffff;
    --mk-radius: 1.25rem;
    --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
}

.marketing-body,
.auth-body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--mk-ink);
    background:
        radial-gradient(1000px 520px at 12% -8%, rgba(71, 114, 250, 0.16), transparent 55%),
        radial-gradient(800px 480px at 92% 0%, rgba(107, 141, 255, 0.12), transparent 50%),
        linear-gradient(180deg, #f7f8fb 0%, var(--mk-bg) 45%, #eef1f7 100%);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

.marketing-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.15rem 5vw;
    max-width: 1120px;
    margin: 0 auto;
}

.marketing-nav .brand,
.auth-brand {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--mk-ink);
    letter-spacing: -0.03em;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: linear-gradient(145deg, #4772fa, #6b8dff);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 14px rgba(71, 114, 250, 0.28);
}

.marketing-nav .nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.marketing-nav .nav-actions a:not(.btn) {
    color: var(--mk-muted);
    text-decoration: none;
    font-weight: 600;
}

.marketing-nav .nav-actions a:not(.btn):hover { color: var(--mk-ink); }

.marketing-nav .btn-primary,
.auth-card .btn-primary,
.hero-cta .btn-primary,
.cta-band .btn-light {
    border-radius: 12px;
    font-weight: 700;
}

.marketing-nav .btn-primary,
.auth-card .btn-primary,
.hero-cta .btn-primary {
    background: var(--mk-accent);
    border-color: var(--mk-accent);
    box-shadow: 0 6px 16px rgba(71, 114, 250, 0.25);
}

.marketing-nav .btn-primary:hover,
.auth-card .btn-primary:hover,
.hero-cta .btn-primary:hover {
    background: #3b63e0;
    border-color: #3b63e0;
}

.hero {
    max-width: 1120px;
    margin: 0 auto;
    padding: 3.5rem 5vw 4.5rem;
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 960px) {
    .hero {
        grid-template-columns: 1.05fr 0.95fr;
        min-height: calc(100vh - 88px);
        padding-top: 1.5rem;
    }
}

.hero-kicker {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mk-accent);
    margin-bottom: 0.9rem;
}

.hero h1 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.35rem, 5vw, 3.5rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
    margin: 0 0 1rem;
}

.hero-lead {
    font-size: 1.1rem;
    color: var(--mk-muted);
    max-width: 34rem;
    margin-bottom: 1.65rem;
    line-height: 1.55;
    font-weight: 500;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.hero-cta .btn-outline-dark {
    border-radius: 12px;
    font-weight: 700;
    border-color: #d0d3d9;
    color: var(--mk-ink);
    background: rgba(255, 255, 255, 0.7);
}

.hero-cta .btn-outline-dark:hover {
    background: #fff;
    border-color: #b8bcc4;
}

.hero-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--mk-muted);
    font-weight: 500;
}

.hero-visual {
    position: relative;
    border-radius: 1.4rem;
    background:
        linear-gradient(155deg, #3f6af5 0%, #2c48b8 55%, #1f2329 120%);
    color: #eef3ff;
    padding: 2rem;
    min-height: 340px;
    box-shadow: 0 28px 60px rgba(47, 74, 180, 0.28);
    overflow: hidden;
}

.hero-visual::before {
    content: '';
    position: absolute;
    inset: auto -20% -40% 35%;
    height: 280px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent 65%);
    pointer-events: none;
}

.score-ring {
    width: 148px;
    height: 148px;
    border-radius: 50%;
    border: 10px solid rgba(255, 255, 255, 0.14);
    border-top-color: #a8c0fd;
    border-right-color: #ffffff;
    display: grid;
    place-items: center;
    margin-bottom: 1.5rem;
    font-family: var(--font-display);
    font-size: 2.35rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.hero-visual h2 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 750;
    margin-bottom: 0.35rem;
}

.hero-visual p {
    opacity: 0.85;
    margin-bottom: 1.25rem;
    font-weight: 500;
}

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.pill-row span {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.section {
    max-width: 1040px;
    margin: 0 auto;
    padding: 3.25rem 5vw;
}

.section h2 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.7rem, 3vw, 2.15rem);
    letter-spacing: -0.03em;
    margin-bottom: 0.65rem;
}

.section .section-lead {
    color: var(--mk-muted);
    max-width: 36rem;
    margin-bottom: 2rem;
    font-weight: 500;
}

.feature-grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .feature-grid { grid-template-columns: repeat(3, 1fr); }
}

.feature-item {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(231, 233, 238, 0.95);
    border-radius: 1rem;
    padding: 1.25rem;
    box-shadow: 0 1px 2px rgba(31, 35, 41, 0.04);
}

.feature-item h3 {
    font-size: 1.02rem;
    font-weight: 750;
    margin-bottom: 0.35rem;
    letter-spacing: -0.02em;
}

.feature-item p {
    color: var(--mk-muted);
    margin: 0;
    font-size: 0.94rem;
    font-weight: 500;
    line-height: 1.5;
}

.feature-item i {
    color: var(--mk-accent);
    font-size: 1.35rem;
    margin-bottom: 0.7rem;
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #eef2ff;
}

.cta-band {
    max-width: 1040px;
    margin: 1rem auto 4rem;
    padding: 2.5rem 5vw;
    border-radius: var(--mk-radius);
    background: linear-gradient(135deg, #2f4ab4, #4772fa 55%, #6b8dff);
    color: #eef3ff;
    text-align: center;
    box-shadow: 0 20px 48px rgba(47, 74, 180, 0.28);
}

.cta-band h2 {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
}

.cta-band p {
    opacity: 0.88;
    margin-bottom: 1.25rem;
    font-weight: 500;
}

.marketing-footer {
    text-align: center;
    padding: 2rem 5vw 3rem;
    color: var(--mk-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.marketing-footer a {
    color: var(--mk-accent);
    text-decoration: none;
    font-weight: 650;
}

/* Pricing */
.pricing-card {
    background: var(--mk-white);
    border-radius: var(--mk-radius);
    padding: 2rem;
    border: 1px solid rgba(231, 233, 238, 0.95);
    box-shadow: 0 10px 30px rgba(31, 35, 41, 0.06);
    position: relative;
    height: 100%;
}

.pricing-card-pro {
    background: linear-gradient(160deg, #2f4ab4, #1f2329);
    color: #eef3ff;
    border: none;
    box-shadow: 0 18px 40px rgba(47, 74, 180, 0.28);
}

.pricing-card-pro .text-muted,
.pricing-card-pro .muted {
    color: rgba(238, 243, 255, 0.68) !important;
}

.pricing-card .price .amount {
    font-family: var(--font-display);
    font-size: 2.75rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.pricing-card .price .period {
    color: inherit;
    opacity: 0.7;
    font-weight: 600;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.pricing-features li {
    padding: 0.42rem 0;
    display: flex;
    gap: 0.55rem;
    align-items: flex-start;
    font-weight: 500;
}

.pricing-features li.muted { opacity: 0.55; }
.pricing-features .bi-check-lg { color: var(--mk-accent); }
.pricing-card-pro .bi-check-lg { color: #a8c0fd; }

.badge-pro {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #a8c0fd;
    color: #1f2329;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.32rem 0.55rem;
    border-radius: 999px;
}

/* Auth */
.auth-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    gap: 1.15rem;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    border-radius: var(--mk-radius);
    padding: 2rem;
    border: 1px solid rgba(231, 233, 238, 0.95);
    box-shadow: 0 20px 50px rgba(31, 35, 41, 0.08);
}

.auth-title {
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.3rem;
}

.auth-sub {
    color: var(--mk-muted);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.auth-footer {
    margin-top: 1.25rem;
    text-align: center;
    color: var(--mk-muted);
    font-weight: 500;
}

.auth-footer a {
    color: var(--mk-accent);
    font-weight: 700;
    text-decoration: none;
}

.auth-card .form-control {
    border-radius: 11px;
    min-height: 44px;
    border-color: #e7e9ee;
}

.auth-card .form-control:focus {
    border-color: #9db6fc;
    box-shadow: 0 0 0 3px rgba(71, 114, 250, 0.14);
}

.auth-card .input-group .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.auth-card .password-toggle {
    border-color: #e7e9ee;
    border-top-right-radius: 11px;
    border-bottom-right-radius: 11px;
    min-height: 44px;
    color: #6b7280;
}

.auth-card .password-toggle:hover,
.auth-card .password-toggle[aria-pressed="true"] {
    color: var(--mk-accent);
    border-color: #e7e9ee;
    background: #f7f8ff;
}
