/* ============================================================
   WebBoard - Landing Page & Auth Styles
   ============================================================ */

/* Light & cheerful landing palette (does not affect the app or preview window) */
.landing-body {
    background:
        radial-gradient(ellipse 70% 45% at 8% 0%, #fff1b8 0%, transparent 55%),
        radial-gradient(ellipse 60% 40% at 95% 5%, #ffc9a8 0%, transparent 55%),
        radial-gradient(ellipse 65% 45% at 100% 55%, #c8f5dd 0%, transparent 55%),
        radial-gradient(ellipse 55% 40% at 10% 70%, #b8e6ff 0%, transparent 55%),
        radial-gradient(ellipse 60% 45% at 50% 100%, #e6c8ff 0%, transparent 55%),
        linear-gradient(180deg, #fffbf2 0%, #f4fbff 50%, #fff8f2 100%);
    color: #1e1b4b;
}
.landing-body { --ink: #1e1b4b; --ink-muted: #4c4574; --ink-soft: #6b6493; --line: rgba(255,140,90,0.18); --surface: rgba(255,255,255,0.78); --surface-strong: #ffffff; --fun-1: #ff6b9d; --fun-2: #ffa45c; --fun-3: #4ecdc4; --fun-4: #a86eff; --fun-5: #ffd93d; }

/* ---- Nav ---- */
.landing-nav {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 40px;
    background: rgba(255,255,255,0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 2px 16px rgba(108,99,255,0.06);
}
/* Pro logo: gradient badge + clean wordmark */
.landing-body .nav-logo,
.landing-body .footer-brand { gap: 10px; }
.landing-body .logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, #6c63ff 0%, #a86eff 55%, #ff6b9d 100%);
    border-radius: 9px;
    color: #fff;
    -webkit-text-fill-color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    box-shadow: 0 6px 18px rgba(108,99,255,0.30), inset 0 1px 0 rgba(255,255,255,0.25);
    line-height: 1;
}
.landing-body .logo-text {
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: var(--ink);
    color: var(--ink);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.4px;
}
.landing-body .landing-footer .logo-text { color: var(--ink); -webkit-text-fill-color: var(--ink); }
.landing-body .btn-outline { color: var(--primary); border-color: var(--primary); background: rgba(255,255,255,0.6); }
.landing-body .btn-outline:hover { background: var(--primary); color: #fff; }

/* The auth pages (register/login) put the same light top bar over a dark page,
   but the legibility fixes above were scoped to .landing-body only, so the logo
   and buttons fell back to light-on-light. Re-apply them to the bar itself.
   Scoped to .landing-nav so the auth CARD logo (light gradient on dark) is left
   untouched. */
.auth-body .landing-nav .logo-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px;
    background: linear-gradient(135deg, #6c63ff 0%, #a86eff 55%, #ff6b9d 100%);
    border-radius: 9px;
    color: #fff; -webkit-text-fill-color: #fff;
    font-size: 1.1rem; font-weight: 700; margin: 0; line-height: 1;
    box-shadow: 0 6px 18px rgba(108,99,255,0.30), inset 0 1px 0 rgba(255,255,255,0.25);
}
.auth-body .landing-nav .logo-text {
    background: none; -webkit-background-clip: border-box; background-clip: border-box;
    -webkit-text-fill-color: var(--ink); color: var(--ink);
    font-weight: 800; font-size: 1.25rem; letter-spacing: -0.4px;
}
.auth-body .landing-nav .btn-outline { color: var(--primary); border-color: var(--primary); background: rgba(255,255,255,0.6); }
.auth-body .landing-nav .btn-outline:hover { background: var(--primary); color: #fff; }
.auth-body .landing-nav .lang-switcher { color: var(--ink); opacity: 0.85; }
.auth-body .landing-nav .lang-link.active { background: rgba(108,99,255,0.18); color: var(--primary); }

.nav-logo { display: flex; align-items: center; gap: 6px; }
.nav-actions { display: flex; align-items: center; gap: 12px; }

/* ---- Free badge in nav ---- */
.free-badge {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
    color: #0a2a1a;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ---- Hero ---- */
.hero {
    min-height: 100vh;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 100px 40px 60px;
    position: relative; overflow: hidden;
    text-align: center;
    background:
        radial-gradient(ellipse 50% 40% at 12% 18%, rgba(255,217,61,0.45) 0%, transparent 62%),
        radial-gradient(ellipse 55% 45% at 88% 22%, rgba(255,164,92,0.45) 0%, transparent 62%),
        radial-gradient(ellipse 50% 40% at 90% 75%, rgba(168,110,255,0.40) 0%, transparent 62%),
        radial-gradient(ellipse 50% 40% at 10% 80%, rgba(78,205,196,0.45) 0%, transparent 62%),
        radial-gradient(ellipse 45% 35% at 50% 50%, rgba(255,107,157,0.30) 0%, transparent 62%),
        linear-gradient(135deg, #fff8e8 0%, #fff0f5 50%, #ecfaff 100%);
}
/* soft overlay to blend into the next section */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 75%, rgba(255,251,242,0.9) 100%);
    z-index: 0;
    pointer-events: none;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; z-index: 1; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.4; mix-blend-mode: multiply; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; animation: float 8s ease-in-out infinite; }
.orb-1 { width: 500px; height: 500px; background: radial-gradient(circle, #ffd93d, transparent); top: -120px; left: -100px; }
.orb-2 { width: 400px; height: 400px; background: radial-gradient(circle, #ff6b9d, transparent); top: 180px; right: -80px; animation-delay: -3s; }
.orb-3 { width: 320px; height: 320px; background: radial-gradient(circle, #4ecdc4, transparent); bottom: -60px; left: 40%; animation-delay: -5s; }
@keyframes float { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-30px) scale(1.05); } }

.hero-content {
    position: relative;
    z-index: 2;
    width: 75vw;
    max-width: 1000px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(108, 99, 255, 0.18);
    border-radius: 28px;
    padding: 64px 60px 56px;
    box-shadow: 0 12px 60px rgba(108,99,255,0.18), 0 0 0 1px rgba(255,255,255,0.6) inset;
}
.landing-body .hero-title { color: var(--ink); }
.landing-body .hero-subtitle { color: var(--ink-muted); }
.landing-body .hero-social-proof { color: var(--ink-soft); }
.landing-body .hero-free-tag,
.landing-body .cta-free-tag {
    background: linear-gradient(135deg, #ff6b9d 0%, #ffa45c 100%);
    border: none;
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    box-shadow: 0 6px 20px rgba(255,107,157,0.35);
}

.hero-free-tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(67,233,123,0.15), rgba(56,249,215,0.15));
    border: 1px solid rgba(67,233,123,0.3);
    color: #43e97b;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
    letter-spacing: 0.3px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
}
.gradient-text {
    background: linear-gradient(135deg, #ff6b9d 0%, #ffa45c 35%, #4ecdc4 70%, #a86eff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.landing-body .gradient-text {
    background: linear-gradient(135deg, #ff6b9d 0%, #ffa45c 35%, #4ecdc4 70%, #a86eff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 560px;
    margin-left: auto; margin-right: auto;
}
.hero-subtitle .sub-gap { display: block; height: 0.9em; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }

.hero-cta { position: relative; overflow: hidden; }
.hero-cta::after {
    content: '';
    position: absolute;
    top: -50%; left: -60%;
    width: 40%; height: 200%;
    background: rgba(255,255,255,0.2);
    transform: skewX(-20deg);
    animation: shimmer 3s ease-in-out infinite;
}
@keyframes shimmer { 0%, 100% { left: -60%; } 50% { left: 120%; } }

.hero-social-proof {
    display: flex; align-items: center; justify-content: center;
    gap: 20px; flex-wrap: wrap;
    font-size: 0.8rem; color: var(--text-muted);
    margin-top: 12px;
}
.hero-social-proof span { display: flex; align-items: center; gap: 6px; }

/* ---- Preview Window ---- */
.hero-preview {
    position: relative; z-index: 2;
    margin-top: 60px;
    width: 100%; max-width: 680px;
}
.preview-window {
    background: var(--dark-2);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow), 0 0 80px rgba(108,99,255,0.25);
    animation: windowFloat 6s ease-in-out infinite;
}
@keyframes windowFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.preview-topbar {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 16px;
    background: var(--dark-3);
    border-bottom: 1px solid var(--border);
}
.preview-dots span { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 4px; }
.preview-dots span:nth-child(1) { background: #ff5f56; }
.preview-dots span:nth-child(2) { background: #ffbd2e; }
.preview-dots span:nth-child(3) { background: #27c93f; }
.preview-title { font-size: 0.82rem; color: var(--text-muted); font-weight: 600; flex: 1; }
.preview-screens-dots { display: flex; gap: 5px; align-items: center; }
.preview-screens-dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.2); transition: all 0.3s; }
.preview-screens-dots span.active { background: var(--primary); width: 16px; border-radius: 4px; }

.preview-desktop {
    position: relative;
    height: 290px;
    overflow: hidden;
    background: linear-gradient(135deg, #0f0c29, #302b63);
}

/* Multiple screens inside preview */
.preview-screen {
    position: absolute;
    inset: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 0;
    transform: translateX(100%);
}
.preview-screen.active { opacity: 1; transform: translateX(0); }

.preview-icon {
    position: absolute;
    display: flex; flex-direction: column; align-items: center;
    gap: 5px; cursor: pointer;
    animation: iconFloat 4s ease-in-out infinite;
}
.preview-icon:nth-child(2) { animation-delay: -1s; }
.preview-icon:nth-child(3) { animation-delay: -2s; }
.preview-icon:nth-child(4) { animation-delay: -0.5s; }
@keyframes iconFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes iconAppear { from { transform: scale(0) rotate(-10deg); opacity: 0; } to { transform: scale(1) rotate(0deg); opacity: 1; } }

.pi-img {
    width: 46px; height: 46px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.preview-icon span { font-size: 0.68rem; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,0.8); font-weight: 600; }

.preview-nav-left, .preview-nav-right {
    position: absolute; top: 50%; transform: translateY(-50%);
    font-size: 1.8rem; color: rgba(255,255,255,0.4); padding: 8px; cursor: pointer;
    z-index: 10;
}
.preview-nav-left { left: 4px; }
.preview-nav-right { right: 4px; }

/* ---- Post-it notes in demo ---- */
.preview-note {
    position: absolute;
    border-radius: 3px;
    padding: 7px 9px;
    z-index: 5;
    box-shadow: 2px 5px 14px rgba(0,0,0,0.45);
    animation: noteWobble 6s ease-in-out infinite;
}
.preview-note:nth-child(3) { animation-delay: -2s; }
.preview-note:nth-child(4) { animation-delay: -4s; }
@keyframes noteWobble { 0%,100%{ transform-origin:center; } 30%{ transform: rotate(calc(var(--r,0deg) + 1deg)) translateY(-2px); } 70%{ transform: rotate(calc(var(--r,0deg) - 1deg)); } }
.pnote-title { font-weight: 700; color: rgba(0,0,0,0.65); margin-bottom: 5px; font-size: 0.6rem; }
.pnote-line { height: 2px; background: rgba(0,0,0,0.18); border-radius: 1px; margin: 4px 0; }
.pnote-line.short { width: 55%; }

/* ---- Task list in demo ---- */
.preview-tasklist {
    position: absolute;
    background: rgba(10,22,45,0.92);
    border: 1px solid rgba(80,160,255,0.22);
    border-radius: 8px;
    padding: 8px 11px;
    min-width: 128px;
    z-index: 5;
    box-shadow: 0 4px 18px rgba(0,0,0,0.5);
}
.ptl-header { font-size: 0.62rem; font-weight: 700; color: #c8deff; margin-bottom: 5px; }
.ptl-item { font-size: 0.58rem; color: rgba(255,255,255,0.72); padding: 1.5px 0; }
.ptl-done { color: rgba(255,255,255,0.35); text-decoration: line-through; }

/* ---- Widgets in demo ---- */
.preview-widget-mini {
    position: absolute;
    background: rgba(18,10,40,0.88);
    border: 1px solid rgba(160,130,255,0.22);
    border-radius: 8px;
    padding: 7px 10px;
    z-index: 5;
    box-shadow: 0 4px 18px rgba(0,0,0,0.5);
}
.pwm-header { font-size: 0.56rem; color: rgba(255,255,255,0.38); margin-bottom: 3px; font-weight: 600; letter-spacing: 0.3px; }
.pwm-time { font-size: 1.15rem; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: 2px; }
.pwm-body { font-size: 0.65rem; color: rgba(255,255,255,0.82); }
.pwm-quote-text { font-size: 0.58rem; color: rgba(255,255,255,0.62); font-style: italic; line-height: 1.45; }

/* ---- Feature label below desktop ---- */
.preview-feature-label {
    padding: 9px 16px;
    text-align: center;
    background: var(--dark-3);
    border-top: 1px solid var(--border);
    font-size: 0.78rem;
    color: rgba(255,255,255,0.55);
}
#previewFeatureText { transition: opacity 0.28s ease; }

/* ---- Features ---- */
.features { padding: 80px 0; }
.section-title { text-align: center; font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; margin-bottom: 8px; }
.section-subtitle { text-align: center; color: var(--text-muted); font-size: 1rem; margin-bottom: 48px; }
.landing-body .section-title { color: var(--ink); }
.landing-body .section-subtitle { color: var(--ink-muted); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.feature-card {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: all var(--transition);
}
.feature-card:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: 0 12px 40px rgba(108,99,255,0.2); }
.feature-icon { font-size: 2.5rem; margin-bottom: 16px; }
.feature-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; color: var(--primary-light); }
.feature-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }
.landing-body .feature-card {
    background: rgba(255,255,255,0.78);
    border: 1px solid var(--line);
    box-shadow: 0 4px 18px rgba(108,99,255,0.06);
}
.landing-body .feature-card:hover {
    background: #fff;
    border-color: rgba(108,99,255,0.42);
    box-shadow: 0 14px 36px rgba(108,99,255,0.18);
}
.landing-body .feature-card h3 { color: var(--primary); }
.landing-body .feature-card p { color: var(--ink-muted); }

/* ---- How it works ---- */
.how-it-works { padding: 80px 0; background: var(--dark-2); }
.steps { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.step { flex: 1; min-width: 220px; max-width: 300px; text-align: center; padding: 28px 20px; }
.step-num {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; font-weight: 800;
    margin: 0 auto 16px;
    box-shadow: 0 0 30px rgba(108,99,255,0.5);
    color: #fff;
}
.step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 0.88rem; }
.step-arrow { font-size: 2rem; color: var(--primary); opacity: 0.6; }
.landing-body .how-it-works {
    background:
        radial-gradient(ellipse 60% 50% at 0% 50%, rgba(78,205,196,0.18) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 100% 50%, rgba(255,217,61,0.18) 0%, transparent 60%),
        linear-gradient(180deg, rgba(255,255,255,0.6) 0%, rgba(255,248,232,0.5) 100%);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.landing-body .step-num {
    background: linear-gradient(135deg, #ff6b9d 0%, #ffa45c 100%);
    box-shadow: 0 8px 28px rgba(255,107,157,0.4);
}
.landing-body .steps .step:nth-child(3) .step-num { background: linear-gradient(135deg, #ffd93d 0%, #ffa45c 100%); box-shadow: 0 8px 28px rgba(255,217,61,0.4); }
.landing-body .steps .step:nth-child(5) .step-num { background: linear-gradient(135deg, #4ecdc4 0%, #6c63ff 100%); box-shadow: 0 8px 28px rgba(78,205,196,0.4); }
.landing-body .steps .step:nth-child(7) .step-num { background: linear-gradient(135deg, #a86eff 0%, #ff6b9d 100%); box-shadow: 0 8px 28px rgba(168,110,255,0.4); }
.landing-body .step-arrow { color: #ffa45c; opacity: 0.7; }
.landing-body .step h3 { color: var(--ink); }
.landing-body .step p { color: var(--ink-muted); }

/* ---- CTA ---- */
.cta { padding: 80px 0; background: var(--dark); text-align: center; }
.landing-body .cta {
    background:
        radial-gradient(ellipse 50% 60% at 15% 20%, rgba(255,217,61,0.30) 0%, transparent 60%),
        radial-gradient(ellipse 55% 60% at 85% 30%, rgba(255,107,157,0.28) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 50% 100%, rgba(78,205,196,0.30) 0%, transparent 60%),
        linear-gradient(135deg, #fff8e8 0%, #fff0f5 50%, #ecfaff 100%);
    border-top: 1px solid var(--line);
}
.landing-body .cta h2 {
    background: linear-gradient(135deg, #ff6b9d 0%, #ffa45c 50%, #a86eff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.landing-body .cta h2 { color: var(--ink); }
.landing-body .cta p { color: var(--ink-muted); }
.landing-body .cta-share { color: var(--ink-soft); }
.cta-free-tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(67,233,123,0.15), rgba(56,249,215,0.15));
    border: 1px solid rgba(67,233,123,0.3);
    color: #43e97b;
    font-size: 0.85rem; font-weight: 700;
    padding: 6px 18px; border-radius: 20px;
    margin-bottom: 20px;
}
.cta h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; margin-bottom: 12px; }
.cta p { color: var(--text-muted); margin-bottom: 32px; }
.cta-share {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    margin-top: 32px;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.share-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--glass);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}
.share-btn:hover { border-color: var(--primary); background: rgba(108,99,255,0.2); color: #fff; transform: scale(1.1); }
.landing-body .share-btn {
    background: #fff;
    border: 1px solid var(--line);
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(108,99,255,0.08);
}
.landing-body .share-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* ---- Shared Desktops (signature feature) ---- */
.shared-feature {
    padding: 90px 0 80px;
    position: relative;
    overflow: hidden;
}
.landing-body .shared-feature {
    background:
        radial-gradient(ellipse 60% 50% at 0% 0%, rgba(255,107,157,0.18) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 100% 100%, rgba(78,205,196,0.18) 0%, transparent 60%),
        linear-gradient(180deg, #fff8e8 0%, #f0fbff 100%);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.shared-feature .container { position: relative; z-index: 1; }
.shared-tag {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b9d 0%, #ffa45c 100%);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: 24px;
    margin: 0 auto 18px;
    box-shadow: 0 6px 20px rgba(255,107,157,0.35);
    letter-spacing: 0.4px;
    text-transform: uppercase;
}
.shared-feature .section-title { margin-bottom: 14px; }
.shared-feature .section-subtitle { max-width: 720px; margin-left: auto; margin-right: auto; font-size: 1.05rem; line-height: 1.7; }
.landing-body .shared-feature .section-subtitle strong { color: var(--ink); background: linear-gradient(135deg, #ff6b9d 0%, #a86eff 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-weight: 800; }
.shared-feature { text-align: center; }

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
    margin: 50px auto 36px;
    max-width: 1100px;
    text-align: left;
}
.use-case {
    background: #fff;
    border-radius: 18px;
    padding: 28px 24px 26px;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border-top: 4px solid transparent;
}
.use-case::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    padding: 1px;
    pointer-events: none;
    background: linear-gradient(160deg, rgba(255,255,255,0.9), rgba(255,255,255,0.2));
    -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
    -webkit-mask-composite: xor; mask-composite: exclude;
}
.use-case:hover { transform: translateY(-6px); }
.use-case-family { box-shadow: 0 10px 30px rgba(255,107,157,0.20); border-top-color: #ff6b9d; }
.use-case-family:hover { box-shadow: 0 18px 44px rgba(255,107,157,0.32); }
.use-case-sme    { box-shadow: 0 10px 30px rgba(255,164,92,0.20); border-top-color: #ffa45c; }
.use-case-sme:hover    { box-shadow: 0 18px 44px rgba(255,164,92,0.32); }
.use-case-team   { box-shadow: 0 10px 30px rgba(78,205,196,0.20); border-top-color: #4ecdc4; }
.use-case-team:hover   { box-shadow: 0 18px 44px rgba(78,205,196,0.32); }
.use-case-client { box-shadow: 0 10px 30px rgba(168,110,255,0.20); border-top-color: #a86eff; }
.use-case-client:hover { box-shadow: 0 18px 44px rgba(168,110,255,0.32); }

.use-case-emoji {
    font-size: 2.4rem;
    margin-bottom: 14px;
    display: inline-block;
    line-height: 1;
}
.use-case h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--ink, #1e1b4b);
}
.use-case p {
    color: var(--ink-muted, #4c4574);
    font-size: 0.92rem;
    line-height: 1.6;
}

.shared-perms {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}
.shared-chat-highlight {
    display: flex; align-items: center; gap: 18px;
    margin: 32px auto 0; max-width: 720px;
    padding: 20px 26px;
    background: linear-gradient(135deg, rgba(255,107,157,0.18), rgba(168,110,255,0.16));
    border: 1.5px solid rgba(168,110,255,0.40);
    border-radius: 18px;
    text-align: left;
    box-shadow: 0 8px 28px rgba(168,110,255,0.18);
}
.shared-chat-emoji { font-size: 2.6rem; flex-shrink: 0; line-height: 1; }
.shared-chat-text h3 {
    font-size: 1.1rem; font-weight: 700; margin: 0 0 4px;
    color: var(--ink, #1e1b4b);
}
.shared-chat-text p {
    margin: 0; font-size: 0.92rem; line-height: 1.5;
    color: var(--ink-soft, rgba(30,27,75,0.78));
}
@media (max-width: 540px) {
    .shared-chat-highlight { flex-direction: column; text-align: center; gap: 12px; padding: 18px; }
    .shared-chat-emoji { font-size: 2.2rem; }
}
.perm-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255,255,255,0.88);
    border: 1px solid var(--line, rgba(255,140,90,0.18));
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ink, #1e1b4b);
    box-shadow: 0 3px 12px rgba(168,110,255,0.10);
}
.perm-icon { font-size: 1.05rem; }

@media (max-width: 768px) {
    .shared-feature { padding: 60px 0 50px; }
    .use-cases-grid { gap: 16px; margin: 36px auto 28px; }
    .use-case { padding: 22px 20px 20px; }
    .perm-chip { padding: 8px 14px; font-size: 0.8rem; }
}

/* ---- Footer ---- */
.landing-footer { padding: 32px 0; text-align: center; border-top: 1px solid var(--border); }
.footer-brand { display: flex; align-items: center; justify-content: center; gap: 6px; }
.landing-body .landing-footer { border-top: 1px solid var(--line); }

/* ============================================================
   Live demo
   ============================================================ */
/* The demo CTA is a POST form (bot-proofing), styled to sit inline like a button. */
.demo-form { display: inline; margin: 0; }
.hero-actions .demo-form { display: inline-flex; }
.hero-demo-btn { margin-left: 10px; }
.try-demo {
    padding: 70px 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(124,58,237,0.16), transparent 60%);
    text-align: center;
}
.try-demo-inner { max-width: 640px; }
.try-demo-text {
    color: var(--text-muted); font-size: 1.05rem; line-height: 1.7;
    margin: 14px auto 26px; max-width: 560px;
}
.try-demo-btn { font-size: 1.05rem; }
.try-demo-note { color: var(--text-muted); font-size: 0.82rem; margin-top: 14px; }
.landing-body .try-demo-text { color: var(--ink-soft, #4b5563); }
@media (max-width: 560px) {
    .hero-demo-btn { margin-left: 0; margin-top: 10px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .demo-form { display: flex; }
    .hero-actions .demo-form .btn { width: 100%; }
}

/* ============================================================
   Auth Pages
   ============================================================ */
/* Google sign-in: Google's brand guidance is a white button with the 4-colour
   G and dark text — recognisable, and it reads on the dark auth card. */
.btn-google {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; padding: 12px 16px;
    background: #fff; color: #1f1f1f;
    border: 1px solid #dadce0; border-radius: var(--radius);
    font-size: 0.95rem; font-weight: 600; text-decoration: none;
    transition: box-shadow 0.15s, background 0.15s;
}
.btn-google:hover { background: #f7f8f8; box-shadow: 0 1px 3px rgba(0,0,0,0.25); }
.btn-google svg { flex: none; }
/* "or" divider with a rule on each side */
.auth-or {
    display: flex; align-items: center; text-align: center;
    color: var(--text-muted); font-size: 0.8rem;
    margin: 18px 0;
}
.auth-or::before, .auth-or::after {
    content: ''; flex: 1; height: 1px; background: var(--border);
}
.auth-or span { padding: 0 12px; }

.auth-body {
    display: flex; align-items: flex-start; justify-content: center;
    min-height: 100vh; padding: 100px 20px 60px;
    background: var(--dark);
    position: relative; overflow-x: hidden;
}
.auth-body::before {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(108,99,255,0.15), transparent 70%);
    top: -200px; left: -200px; border-radius: 50%;
}
.auth-body::after {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(255,101,132,0.1), transparent 70%);
    bottom: -100px; right: -100px; border-radius: 50%;
}

.auth-container { width: 100%; max-width: 440px; position: relative; z-index: 1; }

.auth-card {
    background: var(--dark-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    box-shadow: var(--shadow), 0 0 60px rgba(108,99,255,0.1);
    position: relative;
    animation: slideUp 0.3s ease;
}
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.auth-logo {
    display: flex; align-items: center; justify-content: center; gap: 4px;
    text-decoration: none; margin-bottom: 28px;
}
.auth-title { font-size: 1.6rem; font-weight: 700; text-align: center; margin-bottom: 8px; }
.auth-subtitle { text-align: center; color: var(--text-muted); font-size: 0.9rem; margin-bottom: 28px; }
.auth-form { margin-top: 8px; }
.auth-footer { text-align: center; margin-top: 24px; font-size: 0.88rem; color: var(--text-muted); }
.auth-footer a { color: var(--primary-light); text-decoration: none; font-weight: 600; }
.auth-footer a:hover { text-decoration: underline; }

/* ---- Remember-me row (toggle switch style) ---- */
.form-remember {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding: 10px 14px;
    background: var(--dark-3);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}
.form-remember-label { font-size: 0.88rem; color: var(--text-muted); }

/* ---- Themes Showcase ---- */
.themes-showcase { padding: 80px 0 60px; background: var(--dark-2); overflow: hidden; }
.landing-body .themes-showcase {
    background:
        radial-gradient(ellipse 60% 40% at 0% 100%, rgba(168,110,255,0.25) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 100% 0%, rgba(78,205,196,0.25) 0%, transparent 60%),
        linear-gradient(160deg, #fff5e8 0%, #f0fbff 100%);
}

.themes-track-wrap {
    position: relative;
    overflow: hidden;
    margin-top: 40px;
}
.themes-track-wrap::before,
.themes-track-wrap::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}
.themes-track-wrap::before {
    left: 0;
    background: linear-gradient(to right, var(--dark-2), transparent);
}
.themes-track-wrap::after {
    right: 0;
    background: linear-gradient(to left, var(--dark-2), transparent);
}
.landing-body .themes-track-wrap::before { background: linear-gradient(to right, #fff5e8, transparent); }
.landing-body .themes-track-wrap::after { background: linear-gradient(to left, #f0fbff, transparent); }

.themes-track {
    display: flex;
    gap: 20px;
    padding: 8px 20px 16px;
    animation: themesScroll 32s linear infinite;
    width: max-content;
}
.themes-track:hover { animation-play-state: paused; }

@keyframes themesScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.theme-slide {
    flex: 0 0 220px;
    height: 160px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}
.theme-slide:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 16px 48px rgba(108,99,255,0.35);
    border-color: rgba(108,99,255,0.5);
}

.theme-slide-custom {
    background: linear-gradient(160deg, #1a0a00 0%, #3a1800 50%, #5a2a0a 100%);
    background-image:
        linear-gradient(160deg, rgba(26,10,0,0.85) 0%, rgba(58,24,0,0.85) 100%),
        repeating-linear-gradient(
            45deg,
            rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 2px,
            transparent 2px, transparent 10px
        );
}

.theme-slide-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 28px 16px 10px;
}

.tsi {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.tsi-img {
    width: 42px; height: 42px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.18);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 3px 12px rgba(0,0,0,0.3);
}
.tsi span {
    font-size: 0.6rem;
    color: rgba(255,255,255,0.75);
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0,0,0,0.9);
    white-space: nowrap;
}

.theme-slide-label {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 6px 12px 8px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
    letter-spacing: 0.3px;
}

/* ---- Multi-device ---- */
.multi-device { padding: 80px 0; background: var(--dark); }
.landing-body .multi-device {
    background:
        radial-gradient(ellipse 60% 50% at 100% 0%, rgba(78,205,196,0.18) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 0% 100%, rgba(168,110,255,0.16) 0%, transparent 60%),
        linear-gradient(180deg, #f0fbff 0%, #fff5e8 100%);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.landing-body .multi-device .shared-tag {
    background: linear-gradient(135deg, #4ecdc4 0%, #6c63ff 100%);
    box-shadow: 0 6px 20px rgba(78,205,196,0.35);
    margin-bottom: 18px;
}
.landing-body .multi-device .section-subtitle strong {
    color: var(--ink);
    background: linear-gradient(135deg, #4ecdc4 0%, #6c63ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}
.landing-body .multi-device .container { text-align: center; }
.landing-body .multi-device .devices-grid { text-align: left; }
.landing-body .device-card {
    background: rgba(255,255,255,0.8);
    border: 1px solid var(--line);
    box-shadow: 0 4px 16px rgba(108,99,255,0.06);
}
.landing-body .device-card:hover {
    background: #fff;
    border-color: rgba(108,99,255,0.4);
    box-shadow: 0 10px 28px rgba(108,99,255,0.18);
}
.landing-body .device-card strong { color: var(--ink); }
.landing-body .device-note {
    background: rgba(255,255,255,0.78);
    border: 1px solid var(--line);
    color: var(--ink-muted);
    box-shadow: 0 2px 12px rgba(108,99,255,0.06);
}
.landing-body .pwa-install-cta {
    background: linear-gradient(135deg, rgba(108,99,255,0.10), rgba(255,101,132,0.08));
    border: 1px solid var(--line);
    box-shadow: 0 6px 24px rgba(108,99,255,0.10);
}
.landing-body .pwa-install-cta h3 { color: var(--ink); }
.landing-body .pwa-install-cta p { color: var(--ink-muted); }

.devices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin-top: 40px;
}

.device-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px 16px;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    transition: all var(--transition);
}
.device-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 8px 28px rgba(108,99,255,0.2);
}
.device-icon { font-size: 2rem; }
.device-card strong { font-size: 0.85rem; color: var(--text); font-weight: 600; }

.device-note {
    margin-top: 28px;
    text-align: center;
    font-size: 0.88rem;
    color: var(--text-muted);
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 24px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}
.device-note strong { color: var(--primary-light); }

.pwa-install-cta {
    margin-top: 36px;
    text-align: center;
    background: linear-gradient(135deg, rgba(108,99,255,0.12), rgba(108,99,255,0.04));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}
.pwa-install-cta h3 { margin: 0 0 8px; font-size: 1.15rem; color: var(--text); }
.pwa-install-cta p  { margin: 0 0 16px; color: var(--text-muted); font-size: 0.92rem; }

/* ---- Pricing ---- */
.pricing { padding: 80px 0; background: var(--dark-2); }
.landing-body .pricing {
    background:
        radial-gradient(ellipse 60% 50% at 20% 100%, rgba(255,217,61,0.22) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 0%, rgba(255,107,157,0.22) 0%, transparent 60%),
        linear-gradient(180deg, #f0fbff 0%, #fff5e8 100%);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.landing-body .pricing-card {
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 8px 28px rgba(108,99,255,0.08);
}
.landing-body .pricing-card-pro {
    background: linear-gradient(160deg, rgba(255,107,157,0.12), rgba(255,164,92,0.12) 50%, rgba(168,110,255,0.12));
    border-color: rgba(255,107,157,0.45);
    box-shadow: 0 10px 36px rgba(255,107,157,0.20);
}
.landing-body .pricing-card-pro .pricing-price,
.landing-body .pricing-card-pro .pricing-plan-name {
    background: linear-gradient(135deg, #ff6b9d 0%, #a86eff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}
.landing-body .pricing-badge-pro {
    background: linear-gradient(135deg, #ff6b9d 0%, #ffa45c 100%);
    box-shadow: 0 4px 16px rgba(255,107,157,0.45);
}
.landing-body .pricing-plan-name { color: var(--ink); }
.landing-body .pricing-price { color: var(--ink); }
.landing-body .pricing-card-pro .pricing-price { color: var(--primary); }
.landing-body .pricing-card-pro .pricing-plan-name { color: var(--primary); }
.landing-body .pricing-period { color: var(--ink-soft); }
.landing-body .pricing-annual-note { color: var(--ink-soft); }
.landing-body .pricing-features { border-top: 1px solid var(--line); }
.landing-body .pricing-features li { color: var(--ink-muted); }
.landing-body .pricing-highlight { color: var(--ink) !important; }
/* Lifetime card — light theme (gold → pink accent) */
.landing-body .pricing-card-life {
    background: linear-gradient(160deg, rgba(245,158,11,0.14), rgba(255,107,157,0.10) 60%, rgba(168,110,255,0.10));
    border-color: rgba(245,158,11,0.5);
    box-shadow: 0 10px 36px rgba(245,158,11,0.20);
}
.landing-body .pricing-card-life .pricing-price,
.landing-body .pricing-card-life .pricing-plan-name {
    background: linear-gradient(135deg, #f59e0b 0%, #ff6b9d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}
.landing-body .pricing-badge-life {
    background: linear-gradient(135deg, #f59e0b 0%, #ff6b9d 100%);
    box-shadow: 0 4px 16px rgba(245,158,11,0.4);
}
.landing-body .life-launch-head { color: #d97706; }
.landing-body .life-launch-label { color: var(--ink-muted); }
.landing-body .life-progress { background: rgba(245,158,11,0.2); }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1040px;
    margin: 48px auto 0;
}

.pricing-card {
    background: var(--dark-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    position: relative;
    transition: all var(--transition);
}
.pricing-card:hover { transform: translateY(-4px); }

.pricing-card-pro {
    background: linear-gradient(160deg, rgba(108,99,255,0.12), rgba(168,237,234,0.05));
    border-color: rgba(108,99,255,0.45);
    box-shadow: 0 0 40px rgba(108,99,255,0.18);
}
.pricing-card-pro:hover {
    border-color: var(--primary);
    box-shadow: 0 12px 48px rgba(108,99,255,0.3);
}

.pricing-badge-pro {
    position: absolute;
    top: -14px; left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 20px;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(108,99,255,0.4);
}

/* Lifetime card — base/dark (gold accent) */
.pricing-card-life {
    background: linear-gradient(160deg, rgba(255,179,64,0.12), rgba(168,110,255,0.08));
    border-color: rgba(255,179,64,0.5);
    box-shadow: 0 0 40px rgba(255,179,64,0.16);
}
.pricing-card-life:hover { border-color: #ffb340; box-shadow: 0 12px 48px rgba(255,179,64,0.3); }
.pricing-card-life .pricing-plan-name,
.pricing-card-life .pricing-price { color: #ffb340; }
.pricing-badge-life {
    position: absolute;
    top: -14px; left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ffb340, #ff6b9d);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 20px;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(255,140,64,0.45);
}

/* Values — "no ads" highlight banner */
.values-noads {
    display: flex; align-items: center; gap: 16px; text-align: left;
    max-width: 560px; margin: 6px auto 26px;
    padding: 16px 20px; border-radius: 14px;
    background: linear-gradient(135deg, rgba(108,99,255,0.10), rgba(255,107,157,0.08));
    border: 1px solid rgba(108,99,255,0.25);
}
.values-noads-icon { font-size: 1.9rem; flex-shrink: 0; line-height: 1; }
.values-noads-title { font-size: 1.05rem; font-weight: 800; color: var(--ink); margin-bottom: 2px; }
.values-noads-text { font-size: 0.85rem; color: var(--ink-soft); line-height: 1.5; }

/* Max card — manual-renewal trust callout */
.pricing-trust {
    background: rgba(108,99,255,0.08);
    border: 1px solid rgba(108,99,255,0.2);
    border-radius: 10px;
    padding: 12px 14px;
    margin: 4px 0 18px;
    text-align: left;
}
.pricing-trust-title { font-size: 0.82rem; font-weight: 700; color: var(--primary-light); margin-bottom: 4px; }
.pricing-trust-text { font-size: 0.76rem; color: var(--text-muted); line-height: 1.5; }
.landing-body .pricing-trust { background: rgba(108,99,255,0.06); border-color: rgba(108,99,255,0.18); }
.landing-body .pricing-trust-title { color: var(--primary); }
.landing-body .pricing-trust-text { color: var(--ink-soft); }

/* Lifetime launch-offer counter — highlighted to stand out */
.life-launch {
    margin: 0 0 20px;
    padding: 14px 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255,179,64,0.16), rgba(255,107,157,0.12));
    border: 1px solid rgba(255,164,92,0.45);
    box-shadow: 0 6px 20px rgba(255,164,92,0.15);
}
.life-launch-head { font-size: 0.95rem; font-weight: 800; color: #f59e0b; margin-bottom: 9px; letter-spacing: .2px; }
.life-progress { height: 10px; background: rgba(255,179,64,0.2); border-radius: 999px; overflow: hidden; }
.life-progress-bar { height: 100%; background: linear-gradient(90deg, #ffb340, #ff6b9d); border-radius: 999px; transition: width .6s ease; }
.life-launch-label { font-size: 0.85rem; color: var(--text-muted); margin-top: 8px; font-weight: 700; }

.pricing-plan-name {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text);
}
.pricing-card-pro .pricing-plan-name { color: var(--primary-light); }

.pricing-price-wrap { display: flex; align-items: baseline; gap: 4px; margin-bottom: 6px; }
.pricing-price { font-size: 2.6rem; font-weight: 800; color: var(--text); }
.pricing-card-pro .pricing-price { color: var(--primary-light); }
.pricing-period { font-size: 1rem; color: var(--text-muted); }

.pricing-annual-note {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.pricing-features {
    list-style: none;
    padding: 0; margin: 0 0 24px;
    border-top: 1px solid var(--border);
    padding-top: 18px;
}
.pricing-features li {
    padding: 6px 0;
    font-size: 0.88rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}
.pricing-highlight {
    color: var(--text) !important;
    font-weight: 600;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .landing-nav { padding: 12px 16px; flex-wrap: wrap; gap: 8px; }
    .nav-actions { gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
    .nav-actions .btn { padding: 6px 12px; font-size: 0.78rem; }
    .hero { padding: 90px 20px 40px; }
    /* CTA buttons: let the long label wrap instead of overflowing the viewport */
    .hero-actions { width: 100%; }
    .hero-cta, .cta .btn-large { white-space: normal; max-width: 100%; text-align: center; }
    .hero-actions .btn-large, .cta .btn-large { padding: 13px 22px; font-size: 1rem; }
    .step-arrow { display: none; }
    .auth-card { padding: 30px 24px; }
    .hero-social-proof { gap: 10px; font-size: 0.75rem; }
    .cta-share { flex-wrap: wrap; }
    .preview-desktop { height: 200px; }
    .themes-track-wrap::before,
    .themes-track-wrap::after { width: 60px; }
    .theme-slide { flex: 0 0 180px; height: 140px; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 360px; }
    .devices-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
    .landing-nav { padding: 10px 14px; gap: 8px; }
    .nav-logo { flex: 0 1 auto; min-width: 0; }
    .nav-logo .logo-text, .auth-body .landing-nav .logo-text { font-size: 1.05rem; }
    .nav-actions .btn { padding: 7px 11px; font-size: 0.76rem; white-space: nowrap; }

    /* Landing bar: too many buttons for a phone row, so keep logo + actions on a
       single line and let the secondary ones (language, Install, Contact) step
       aside — the primary Sign in / Sign up always fit. */
    .landing-body .landing-nav { flex-wrap: nowrap; }
    .landing-body .nav-actions { flex-wrap: nowrap; gap: 6px; }
    .landing-body .nav-actions .lang-switcher,
    .landing-body .nav-actions [data-pwa-install],
    .landing-body .nav-actions a[href="contact.php"] { display: none; }

    /* Auth bar (register/login): the logo already links home, so drop the
       redundant "back home" button and keep language + the primary action on
       one tidy row. */
    .auth-body .nav-actions { gap: 6px; justify-content: flex-end; }
    .auth-body .landing-nav a.btn[href="index.php"] { display: none; }
}
@media (max-width: 360px) {
    .auth-body .landing-nav .lang-switcher { display: none; }
}

/* Language switcher (auth/landing pages) */
.lang-switcher { display: inline-flex; gap: 6px; align-items: center; font-size: 0.78rem; opacity: 0.7; }
.lang-switcher .lang-link { color: inherit; text-decoration: none; padding: 2px 6px; border-radius: 4px; transition: background 0.15s; }
.lang-switcher .lang-link:hover { background: rgba(255,255,255,0.08); opacity: 1; }
.lang-switcher .lang-link.active { background: rgba(108,99,255,0.25); color: #fff; opacity: 1; font-weight: 600; }
