/* ── Public design layer (landing, sign-in, sign-up) ───────────────────────────
   Light & clean: white / ivory surfaces, deep navy text, royal-blue actions, teal highlights.
   Deliberately static — no looping or decorative animation. Shared by _PublicLayout and _AuthLayout. */

:root {
    --t-bg: #ffffff;
    --t-bg-2: #f6f8fc;
    --t-surface: #ffffff;
    --t-surface-2: #f3f6fb;
    --t-border: #e3e9f2;
    --t-border-2: #cfdaea;
    --t-ink: #0b2545;
    --t-muted: #5a6b85;
    --t-blue: #2563eb;
    --t-blue-d: #1d4ed8;
    --t-blue-50: #eef4ff;
    --t-teal: #0d9488;
    --t-teal-50: #e6f7f5;
    /* names used by the markup */
    --t-mint: var(--t-teal);
    --t-cyan: var(--t-blue);
    --t-grad: linear-gradient(120deg, #2563eb 0%, #1d4ed8 100%);
    --t-shadow: 0 1px 2px rgba(11, 37, 69, .05), 0 12px 32px -16px rgba(11, 37, 69, .18);
    --t-shadow-lg: 0 2px 4px rgba(11, 37, 69, .04), 0 28px 60px -28px rgba(11, 37, 69, .28);
    --t-display: 'Space Grotesk', 'Inter', 'Hind Siliguri', system-ui, sans-serif;
    --t-mono: 'JetBrains Mono', ui-monospace, 'Cascadia Code', Consolas, monospace;
}

body.tech {
    background: var(--t-bg); color: var(--t-ink);
    --bs-body-bg: var(--t-bg); --bs-body-color: var(--t-ink);
    --bs-secondary-color: var(--t-muted); --bs-border-color: var(--t-border);
    --bs-link-color: var(--t-blue); --bs-link-color-rgb: 37, 99, 235; --bs-link-hover-color: var(--t-blue-d);
    -webkit-font-smoothing: antialiased;
}
body.tech ::selection { background: rgba(37, 99, 235, .18); color: var(--t-ink); }
body.tech.lang-bn { --t-display: 'Hind Siliguri', 'Space Grotesk', system-ui, sans-serif; }

.mono { font-family: var(--t-mono); letter-spacing: .02em; }
.grad-text { color: var(--t-blue); }

/* Headline (formerly animated) — plain, crisp text */
.glitch { position: relative; display: inline; }
.glitch::before, .glitch::after { content: none; display: none; }

/* ── Eyebrow pill ── */
.hud-pill {
    display: inline-flex; align-items: center; gap: .55rem;
    font-family: var(--t-mono); font-size: .74rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
    color: var(--t-teal); padding: .4rem .8rem; border-radius: 999px;
    background: var(--t-teal-50); border: 1px solid rgba(13, 148, 136, .22);
}
body.lang-bn .hud-pill { text-transform: none; letter-spacing: 0; font-family: 'Hind Siliguri', var(--t-mono); font-size: .85rem; }
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--t-teal); flex: none; }

/* ── Buttons ── */
.btn-glow, .btn-ghost {
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    height: 52px; padding: 0 1.5rem; border-radius: 12px; font-weight: 700; font-size: 1rem; text-decoration: none; white-space: nowrap;
    transition: background-color .15s, border-color .15s, color .15s;
}
.btn-glow { color: #fff; border: 0; background: var(--t-blue); box-shadow: 0 8px 20px -10px rgba(37, 99, 235, .7); }
.btn-glow:hover { color: #fff; background: var(--t-blue-d); }
.btn-glow[disabled] { opacity: .7; }
.btn-ghost { color: var(--t-ink); background: #fff; border: 1px solid var(--t-border-2); }
.btn-ghost:hover { color: var(--t-blue); border-color: var(--t-blue); background: var(--t-blue-50); }
.btn-ghost .bi-whatsapp { color: #16a34a; }
.btn-sm-tech { height: 40px; padding: 0 1rem; border-radius: 10px; font-size: .9rem; }

/* ── Card surface ── */
.glass { background: #fff; border: 1px solid var(--t-border); border-radius: 20px; box-shadow: var(--t-shadow); }

/* ── Language toggle ── */
.lang-toggle { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--t-surface-2); border: 1px solid var(--t-border); }
.lang-toggle a { padding: 5px 10px; border-radius: 7px; font-size: .8rem; font-weight: 600; color: var(--t-muted); text-decoration: none; }
.lang-toggle a:hover { color: var(--t-ink); }
.lang-toggle a.active { background: #fff; color: var(--t-blue); box-shadow: 0 1px 3px rgba(11, 37, 69, .12); }

/* ── Brand mark ── */
.t-logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--t-display); font-weight: 700; font-size: 1.15rem; color: var(--t-ink); text-decoration: none; letter-spacing: -.01em; }
.t-logo:hover { color: var(--t-ink); }
.t-logo .mark { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; color: #fff; background: var(--t-blue); }
.t-logo .mark svg { width: 20px; height: 20px; }

/* ── Tooth illustration (static) ───────────────────────────────────────── */
.scanner { position: relative; width: 100%; max-width: 420px; aspect-ratio: 6 / 7; margin: 0 auto; }
.scanner-ring { position: absolute; inset: 6% 4%; border-radius: 50%; background: radial-gradient(circle at 50% 45%, #e8f0ff, #f3f8ff 55%, transparent 70%); }
.scanner-ring::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px dashed #c7d6ee; }
.scanner-ring::after { content: none; }

.scanner svg.tooth { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.tooth .t-outline { fill: #ffffff; stroke: var(--t-blue); stroke-width: 2.2; }
.tooth .t-fill { fill: #f4f8ff; }
.tooth .t-detail { fill: none; stroke: #93b4e8; stroke-width: 1.2; stroke-linecap: round; stroke-dasharray: 4 5; }
.tooth .t-pulp { fill: #fde8ee; stroke: #e2627f; stroke-width: 1.2; }
.tooth .t-ghost, .tooth .t-scan { display: none; }
.tooth .t-mark { fill: #e11d48; }
.tooth .t-mark-ring { fill: none; stroke: #e11d48; stroke-width: 1.2; opacity: .45; }
.tooth .t-lead { stroke: #e11d48; stroke-width: 1; fill: none; opacity: .7; }
.tooth .t-bracket { fill: none; stroke: #93b4e8; stroke-width: 1.5; }

.hud {
    position: absolute; z-index: 2; font-family: var(--t-mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase;
    color: var(--t-teal); white-space: nowrap; line-height: 1.35;
    padding: 5px 10px; border-radius: 9px; background: #fff; border: 1px solid var(--t-border); box-shadow: var(--t-shadow);
}
.hud b { display: block; color: var(--t-ink); font-weight: 600; font-size: .78rem; letter-spacing: .02em; }
.hud.alert { color: #e11d48; }
.hud-tl { top: 0; left: 0; }
.hud-r  { top: 21%; right: -2%; text-align: right; }
.hud-bl { display: none; }
.hud-bar { flex: 1; height: 4px; border-radius: 4px; background: var(--t-border); overflow: hidden; }
.hud-bar i { display: block; height: 100%; width: 100%; background: var(--t-teal); }

/* ── Data cards beside the illustration ── */
.float-card {
    position: absolute; z-index: 3; padding: 14px 16px; border-radius: 16px; min-width: 200px;
    background: #fff; border: 1px solid var(--t-border); box-shadow: var(--t-shadow-lg); color: var(--t-ink);
}
.float-card .fc-label { font-family: var(--t-mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--t-teal); }
body.lang-bn .float-card .fc-label { font-family: 'Hind Siliguri', var(--t-mono); font-size: .78rem; letter-spacing: 0; }
.float-card .fc-big { font-family: var(--t-display); font-size: 2rem; font-weight: 700; line-height: 1; letter-spacing: -.03em; color: var(--t-ink); }
.float-card .fc-sub { font-size: .8rem; color: var(--t-muted); }
.float-card .text-white { color: var(--t-ink) !important; }
.fc-split { display: flex; gap: 2px; height: 6px; border-radius: 4px; overflow: hidden; margin-top: 10px; }
.fc-split span:nth-child(1) { flex: 62; background: #16a34a; }
.fc-split span:nth-child(2) { flex: 28; background: #e2136e; }
.fc-split span:nth-child(3) { flex: 10; background: #f7941d; }
.fc-keys { display: flex; gap: 10px; margin-top: 7px; font-size: .68rem; color: var(--t-muted); }
.fc-keys i { display: inline-block; width: 7px; height: 7px; border-radius: 2px; margin-right: 4px; }

/* Content is always visible — no scroll-in effects */
.reveal { opacity: 1; transform: none; }
