/* ============================================================
   Talent Freelancer – main stylesheet
   ============================================================ */
:root {
  --primary: #1677b8;
  --primary-dark: #0f5a8c;
  --cyan: #2bb3e6;
  --navy: #071a33;
  --navy-2: #0c2648;
  --ink: #13263f;
  --text: #33465e;
  --muted: #6b7b90;
  --line: #e3e9f1;
  --bg: #f5f8fc;
  --card: #ffffff;
  --green: #12a46b;
  --amber: #e0a200;
  --red: #d64545;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 38, 70, .06), 0 8px 24px rgba(16, 38, 70, .06);
  --shadow-lg: 0 20px 60px rgba(7, 26, 51, .18);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h2 { font-size: 1.35rem; }
h3 { font-size: 1.08rem; }
p { margin: 0 0 1em; }
.container { width: min(1180px, 92%); margin: 0 auto; }
.narrow { width: min(820px, 92%); }
.section { padding: 56px 0; }
.section-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.section-head h1, .section-head h2 { margin: 0; }
.center { text-align: center; }
.block { display: block; margin-top: 8px; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.tiny { font-size: .74rem; }
.nowrap { white-space: nowrap; }
.grow { flex: 1; min-width: 0; }
.lead { font-size: 1.12rem; }
.hp { position: absolute; left: -9999px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: linear-gradient(135deg, var(--primary), var(--cyan)); color: #fff; border: 0; border-radius: 10px; padding: 11px 20px; font: 600 .95rem var(--font); cursor: pointer; transition: transform .15s, box-shadow .2s, filter .2s; box-shadow: 0 6px 18px rgba(22, 119, 184, .28); }
.btn:hover { color: #fff; text-decoration: none; transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 10px 26px rgba(22, 119, 184, .36); }
.btn-sm { padding: 7px 14px; font-size: .85rem; border-radius: 8px; }
.btn-block { width: 100%; margin-top: 10px; }
.btn-outline { background: #fff; color: var(--primary); border: 1.5px solid var(--primary); box-shadow: none; }
.btn-outline:hover { background: #eef6fc; color: var(--primary-dark); }
.btn-ghost { background: #eef2f7; color: var(--ink); box-shadow: none; }
.btn-ghost:hover { background: #e2e8f0; color: var(--ink); }
.btn-danger { background: var(--red); box-shadow: none; }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { color: var(--primary-dark); }
.link-btn { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; }
.link { font-weight: 600; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid rgba(227, 233, 241, .8); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand img { display: block; height: 44px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav > a { color: var(--ink); font-weight: 500; font-size: .95rem; position: relative; }
.main-nav > a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: linear-gradient(90deg, var(--primary), var(--cyan)); transform: scaleX(0); transition: transform .25s; border-radius: 2px; }
.main-nav > a:hover { text-decoration: none; }
.main-nav > a:hover::after, .main-nav > a.active::after { transform: scaleX(1); }
.main-nav > a.btn { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--ink); }
.nav-user { position: relative; }
.nav-avatar { display: block; }
.nav-dropdown { position: absolute; right: 0; top: 46px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); min-width: 190px; padding: 8px; display: none; }
.nav-user:hover .nav-dropdown, .nav-user:focus-within .nav-dropdown { display: block; }
.nav-dropdown::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.nav-dropdown a, .nav-dropdown .link-btn { display: block; width: 100%; text-align: left; padding: 8px 12px; border-radius: 8px; color: var(--ink); }
.nav-dropdown a:hover, .nav-dropdown .link-btn:hover { background: var(--bg); text-decoration: none; }
.badge { display: inline-block; background: var(--red); color: #fff; font-size: .7rem; font-weight: 700; padding: 1px 7px; border-radius: 99px; vertical-align: middle; }
.badge-red { background: var(--red); }

/* ---------- Avatars ---------- */
.avatar { border-radius: 50%; object-fit: cover; display: inline-block; flex-shrink: 0; vertical-align: middle; }
.avatar-initials { display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--primary), var(--cyan)); color: #fff; font-weight: 700; }

/* ---------- Alerts ---------- */
.alert { padding: 12px 16px; border-radius: 10px; margin: 14px 0; font-size: .95rem; }
.alert-success { background: #e7f8f0; color: #0b6b45; border: 1px solid #bfe9d5; }
.alert-error { background: #fdecec; color: #9b2525; border: 1px solid #f5c6c6; }
.alert-info { background: #e9f3fb; color: #11507c; border: 1px solid #c6e0f3; }

/* ---------- Cards & forms ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); margin-bottom: 18px; }
.form label, .filters label { display: block; font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: 14px; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=url], input[type=search], input[type=date], select, textarea {
  display: block; width: 100%; margin-top: 6px; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 10px; font: 400 .95rem var(--font); color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(22, 119, 184, .12); }
textarea { resize: vertical; }
.form .check { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; }
.form .check input { margin-top: 5px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.danger-zone { border-color: #f5c6c6; }
.avatar-row { display: flex; gap: 18px; align-items: center; margin-bottom: 14px; }
.avatar-row label { flex: 1; margin: 0; }
.stack { margin: 0; }
.inline { display: inline; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.actions form { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- Auth ---------- */
.auth { display: grid; place-items: center; padding: 60px 4%; min-height: 70vh; background: radial-gradient(800px 400px at 20% 0%, rgba(43, 179, 230, .14), transparent 60%), radial-gradient(700px 400px at 100% 100%, rgba(22, 119, 184, .12), transparent 60%); }
.auth-card { width: min(440px, 100%); background: #fff; border-radius: 20px; padding: 34px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.type-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.type-switch label { margin: 0; cursor: pointer; }
.type-switch input { position: absolute; opacity: 0; }
.type-switch span { display: block; text-align: center; padding: 14px 8px; border: 1.5px solid var(--line); border-radius: 12px; font-weight: 600; transition: .15s; }
.type-switch input:checked + span { border-color: var(--primary); background: #eef6fc; color: var(--primary-dark); box-shadow: 0 0 0 4px rgba(22, 119, 184, .1); }

/* ---------- Tags, chips, status ---------- */
.pill { display: inline-flex; align-items: center; gap: 8px; background: #e6f4fb; color: var(--primary-dark); font-weight: 600; font-size: .82rem; padding: 6px 14px; border-radius: 99px; }
.tag { display: inline-block; font-size: .74rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: #e6f4fb; color: var(--primary-dark); text-transform: uppercase; letter-spacing: .03em; }
.tag-fulltime { background: #e7f8f0; color: #0b6b45; }
.tag-parttime { background: #fff6dd; color: #7a5800; }
.tag-contract { background: #f1ebfd; color: #5b33b5; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.chips.center { justify-content: center; }
.chip { display: inline-block; background: #eef2f7; color: var(--ink); font-size: .8rem; padding: 4px 11px; border-radius: 99px; }
a.chip:hover { background: #e0ecf7; text-decoration: none; }
.status { display: inline-block; font-size: .76rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: #eef2f7; color: var(--ink); white-space: nowrap; }
.status-open, .status-p-accepted { background: #e7f8f0; color: #0b6b45; }
.status-in_progress, .status-p-shortlisted { background: #e6f4fb; color: var(--primary-dark); }
.status-completed { background: #f1ebfd; color: #5b33b5; }
.status-closed, .status-p-rejected, .status-p-withdrawn { background: #f2f2f4; color: #6b6b78; }
.status-p-pending { background: #fff6dd; color: #7a5800; }
.stars { color: var(--amber); letter-spacing: 1px; }
.stars-off { color: #d9dee6; }

/* ---------- Job cards ---------- */
.job-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 18px; }
.job-list { display: grid; gap: 14px; }
.job-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s, border-color .2s; display: flex; flex-direction: column; }
.job-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(16, 38, 70, .12); border-color: #cfe3f3; }
.job-card h3 { margin: 10px 0 6px; font-size: 1.08rem; }
.job-card h3 a { color: var(--ink); }
.job-card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.job-meta { font-size: .88rem; color: var(--muted); margin-bottom: 8px; }
.job-meta strong { color: var(--ink); }
.job-excerpt { font-size: .92rem; flex: 1; }
.job-card-foot { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 10px; margin-top: 6px; }

/* ---------- Layouts ---------- */
.browse-layout { display: grid; grid-template-columns: 270px 1fr; gap: 26px; align-items: start; }
.filters { position: sticky; top: 90px; }
.filter-bar { display: flex; gap: 10px; align-items: center; }
.filter-bar input { margin: 0; }
.filter-bar input[type=number] { max-width: 150px; }
.job-layout { display: grid; grid-template-columns: 1fr 340px; gap: 26px; align-items: start; }
.job-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 18px 0; }
.job-facts > div { background: var(--bg); border-radius: 12px; padding: 12px 14px; }
.job-facts span { display: block; font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.job-facts strong { color: var(--ink); display: block; }
.job-facts small { color: var(--muted); }
.prose { word-wrap: break-word; }
.prose ul { padding-left: 1.2em; }
.proposal { border-top: 1px solid var(--line); padding: 18px 0; }
.proposal:first-of-type { border-top: 0; }
.proposal-head { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.facts { list-style: none; padding: 0; margin: 14px 0; }
.facts li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.facts li span { color: var(--muted); }
.safety-note { background: #fffaf0; border-color: #f4e3b5; }
.report summary { cursor: pointer; margin-top: 12px; }
.report textarea { margin: 8px 0; }
.profile-layout { display: grid; grid-template-columns: 320px 1fr; gap: 26px; align-items: start; }
.profile-side h1 { font-size: 1.5rem; margin-top: 12px; margin-bottom: 4px; }
.review { border-top: 1px solid var(--line); padding: 14px 0; }
.review:first-of-type { border-top: 0; }
.review-head { display: flex; gap: 10px; align-items: center; margin-bottom: 6px; }
.list { padding-left: 1.1em; }
.list li { margin-bottom: 6px; }
.rating-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; margin-bottom: 10px; }
.rating-input input { display: none; }
.rating-input label { font-size: 1.9rem; color: #d9dee6; cursor: pointer; margin: 0 !important; transition: color .1s, transform .1s; }
.rating-input input:checked ~ label, .rating-input label:hover, .rating-input label:hover ~ label { color: var(--amber); }
.rating-input label:hover { transform: scale(1.15); }
.people-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.person-card { text-align: center; color: var(--text); transition: transform .2s, box-shadow .2s; }
.person-card:hover { text-decoration: none; transform: translateY(-4px); box-shadow: 0 16px 40px rgba(16, 38, 70, .12); color: var(--text); }
.person-card h3 { margin: 10px 0 2px; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 6px; }
.stat-card strong { display: block; font-size: 1.8rem; color: var(--ink); }
.stat-card span { color: var(--muted); font-size: .88rem; }
.progress { height: 8px; background: #eef2f7; border-radius: 99px; margin: 10px 0 14px; overflow: hidden; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--primary), var(--cyan)); border-radius: 99px; }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th { text-align: left; color: var(--muted); font-weight: 600; font-size: .8rem; text-transform: uppercase; padding: 8px; border-bottom: 1px solid var(--line); }
.table td { padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.tabs a { padding: 8px 16px; border-radius: 99px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: .9rem; }
.tabs a.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.empty { text-align: center; padding: 48px 20px; background: #fff; border: 1.5px dashed var(--line); border-radius: var(--radius); color: var(--muted); }
.pagination { display: flex; gap: 6px; justify-content: center; margin: 26px 0; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 38px; text-align: center; padding: 7px 10px; border-radius: 9px; background: #fff; border: 1px solid var(--line); color: var(--ink); }
.pagination .current { background: var(--primary); color: #fff; border-color: var(--primary); }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.faq p { margin: 12px 0 0; }

/* ---------- Messages ---------- */
.chat-layout { display: grid; grid-template-columns: 300px 1fr; gap: 20px; align-items: start; }
.convo-list { max-height: 72vh; overflow-y: auto; padding: 14px; }
.convo-list h2 { padding: 6px 8px 0; }
.convo { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 10px; color: var(--text); }
.convo:hover, .convo.active { background: var(--bg); text-decoration: none; color: var(--text); }
.chat { display: flex; flex-direction: column; height: 72vh; padding: 0; overflow: hidden; }
.chat .empty { margin: auto; border: 0; }
.chat-head { display: flex; gap: 12px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.chat-body { flex: 1; overflow-y: auto; padding: 18px; background: linear-gradient(180deg, #f8fbfe, #f2f6fb); }
.msg { display: flex; flex-direction: column; margin-bottom: 12px; max-width: 75%; }
.msg.mine { margin-left: auto; align-items: flex-end; }
.bubble { padding: 10px 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); word-wrap: break-word; overflow-wrap: anywhere; }
.msg.mine .bubble { background: linear-gradient(135deg, var(--primary), var(--cyan)); color: #fff; border: 0; border-bottom-right-radius: 4px; }
.msg.mine .bubble a { color: #fff; text-decoration: underline; }
.msg.theirs .bubble { border-bottom-left-radius: 4px; }
.chat-form { display: flex; gap: 10px; padding: 12px; border-top: 1px solid var(--line); align-items: flex-end; }
.chat-form textarea { margin: 0; }

/* ---------- Home sections ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: 16px; perspective: 1000px; }
.cat-card { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 22px 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); box-shadow: var(--shadow); transform-style: preserve-3d; transition: box-shadow .25s, border-color .25s; overflow: hidden; }
.cat-card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(43, 179, 230, .16), transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.cat-card:hover { text-decoration: none; color: var(--ink); border-color: #bfdcf0; box-shadow: 0 20px 44px rgba(16, 38, 70, .14); }
.cat-card:hover::after { opacity: 1; }
.cat-icon { font-size: 1.9rem; transform: translateZ(30px); display: inline-block; }
.cat-name { font-weight: 700; transform: translateZ(20px); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 26px; perspective: 1000px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px 22px; box-shadow: var(--shadow); transform-style: preserve-3d; }
.step > span { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(135deg, var(--primary), var(--cyan)); color: #fff; font-weight: 800; font-size: 1.2rem; margin-bottom: 14px; box-shadow: 0 10px 24px rgba(22, 119, 184, .35); transform: translateZ(40px); }
.step h3 { transform: translateZ(24px); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding: 12px 0 12px 38px; border-bottom: 1px solid var(--line); }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 11px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #e7f8f0; color: var(--green); font-weight: 800; font-size: .85rem; }
.cta-band { background: linear-gradient(135deg, var(--primary), var(--cyan)); color: #fff; }
.cta-band h2 { color: #fff; font-size: 2rem; }
.cta-3d { position: relative; overflow: hidden; background: linear-gradient(135deg, #0c4f86, var(--primary) 45%, var(--cyan)); }
.cta-3d::before, .cta-3d::after { content: ""; position: absolute; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .18); animation: spin3d 18s linear infinite; }
.cta-3d::before { width: 520px; height: 520px; left: -160px; top: -200px; }
.cta-3d::after { width: 420px; height: 420px; right: -120px; bottom: -220px; animation-duration: 24s; animation-direction: reverse; }
.cta-3d .container { position: relative; z-index: 1; }

/* Scroll reveal + tilt */
.js .reveal { opacity: 0; transform: translateY(30px) rotateX(10deg); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.tilt { will-change: transform; }

/* Keyframes */
@keyframes shine { to { background-position: 200% center; } }
@keyframes float-orb { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(40px, 30px) scale(1.12); } }
@keyframes grid-move { from { background-position: 0 0; } to { background-position: 0 60px; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(62, 224, 143, .7); } 70% { box-shadow: 0 0 0 10px rgba(62, 224, 143, 0); } 100% { box-shadow: 0 0 0 0 rgba(62, 224, 143, 0); } }
@keyframes ring-spin { from { transform: rotateX(74deg) rotateZ(0); } to { transform: rotateX(74deg) rotateZ(360deg); } }
@keyframes chip-counter { from { transform: rotateZ(var(--a)) translateX(230px) rotateZ(calc(var(--a) * -1)) rotateZ(0deg) rotateX(-74deg); } to { transform: rotateZ(var(--a)) translateX(230px) rotateZ(calc(var(--a) * -1)) rotateZ(-360deg) rotateX(-74deg); } }
@keyframes core-float { 0%, 100% { transform: translateZ(40px) translateY(0) rotateY(0); } 50% { transform: translateZ(60px) translateY(-12px) rotateY(12deg); } }
@keyframes bob-a { 0%, 100% { transform: translateZ(120px) translateY(0) rotateX(0); } 50% { transform: translateZ(140px) translateY(-14px) rotateX(4deg); } }
@keyframes bob-b { 0%, 100% { transform: translateZ(80px) translateY(0) rotateY(0); } 50% { transform: translateZ(100px) translateY(12px) rotateY(-8deg); } }
@keyframes bob-c { 0%, 100% { transform: translateZ(150px) translateY(0); } 50% { transform: translateZ(170px) translateY(-10px); } }
@keyframes bar-fill { 0% { width: 10%; } 60%, 100% { width: 92%; } }
@keyframes pop { 0%, 70%, 100% { transform: scale(1); } 80% { transform: scale(1.2); } }
@keyframes spin3d { from { transform: rotate(0) rotateX(60deg); } to { transform: rotate(360deg) rotateX(60deg); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #a9bad1; padding: 56px 0 24px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
.footer-grid h4 { color: #fff; font-size: .95rem; }
.footer-grid a { display: block; color: #a9bad1; margin-bottom: 8px; font-size: .92rem; }
.footer-grid a:hover { color: #fff; }
.footer-logo { background: #fff; border-radius: 10px; padding: 6px 10px; height: 52px; width: auto; margin-bottom: 12px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 30px; padding-top: 20px; font-size: .85rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; }
  .scene { height: 440px; transform: scale(.85); margin-top: -20px; }
  .job-layout, .profile-layout { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 10px 4%; box-shadow: var(--shadow-lg); }
  .main-nav.open { display: flex; }
  .main-nav > a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .main-nav > a::after { display: none; }
  .main-nav > a.btn { margin-top: 10px; }
  .nav-user { padding: 12px 0; }
  .nav-dropdown { display: block; position: static; box-shadow: none; border: 0; padding: 6px 0 0; }
  .browse-layout, .chat-layout, .why-grid { grid-template-columns: 1fr; }
  .filters { position: static; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 600px) {
  .hero-3d { padding: 50px 0 110px; }
  .scene { height: 380px; transform: scale(.68); margin: -40px -10% -30px; }
  .hero-search { flex-wrap: wrap; }
  .hero-search .search-icon { display: none; }
  .hero-search .btn { width: 100%; }
  .hero-stats { gap: 20px; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .filter-bar { flex-wrap: wrap; }
  .filter-bar input[type=number] { max-width: none; }
  .msg { max-width: 90%; }
  .chat-form { flex-direction: column; align-items: stretch; }
}

/* Hero copy entrance (CSS only, always ends visible) */
.hero-copy > * { animation: rise-in .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero-copy > *:nth-child(2) { animation-delay: .08s; }
.hero-copy > *:nth-child(3) { animation-delay: .16s; }
.hero-copy > *:nth-child(4) { animation-delay: .24s; }
.hero-copy > *:nth-child(5) { animation-delay: .32s; }
.hero-copy > *:nth-child(6) { animation-delay: .4s; }
@keyframes rise-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.prose + h3, .prose + .chips + h3 { margin-top: 20px; }

/* ============================================================
   v3 – Roles, approvals, dashboards
   ============================================================ */
.btn-lg { padding: 14px 28px; font-size: 1rem; border-radius: 12px; }
.text-red { color: var(--red); }
.form-section { font-size: 1rem; margin: 4px 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.auth-card-wide { width: min(640px, 100%); }
.type-switch a { display: block; text-align: center; padding: 14px 8px; border: 1.5px solid var(--line); border-radius: 12px; color: var(--ink); transition: .15s; }
.type-switch a span { display: block; font-weight: 700; }
.type-switch a small { color: var(--muted); }
.type-switch a:hover { text-decoration: none; border-color: #bcd9ee; }
.type-switch a.on { border-color: var(--primary); background: #eef6fc; box-shadow: 0 0 0 4px rgba(22, 119, 184, .1); }
.inline-check { display: inline-flex !important; margin: 0 0 0 12px !important; font-weight: 400 !important; }

/* Status boxes */
.profile-status-bar { display: flex; flex-direction: column; gap: 2px; padding: 14px 18px; border-radius: 12px; margin-bottom: 18px; border: 1px solid; }
.status-box-draft { background: #f3f6fa; border-color: var(--line); }
.status-box-pending { background: #fff8e6; border-color: #f3dc9b; color: #6b5200; }
.status-box-approved, .status-box-open { background: #e9f8f1; border-color: #bfe9d5; color: #0b6b45; }
.status-box-rejected { background: #fdeeee; border-color: #f5c6c6; color: #8f2323; }
.status-pending, .status-c-pending, .status-pr-pending { background: #fff6dd; color: #7a5800; }
.status-rejected, .status-c-rejected, .status-pr-rejected { background: #fdecec; color: #9b2525; }
.status-c-approved, .status-pr-approved { background: #e7f8f0; color: #0b6b45; }
.status-pr-draft { background: #eef2f7; color: var(--muted); }
.verified { display: inline-block; font-size: .72rem; font-weight: 700; color: #0b6b45; background: #e7f8f0; padding: 2px 8px; border-radius: 99px; vertical-align: middle; letter-spacing: 0; }

/* Toggle switch */
.switch { display: flex !important; align-items: center; gap: 10px; cursor: pointer; font-weight: 500 !important; margin: 4px 0 16px; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch .slider { position: relative; flex: 0 0 44px; height: 24px; background: #cfd8e3; border-radius: 99px; transition: .2s; }
.switch .slider::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: .2s; }
.switch input:checked + .slider { background: linear-gradient(135deg, var(--primary), var(--cyan)); }
.switch input:checked + .slider::after { transform: translateX(20px); }
.switch input:focus-visible + .slider { box-shadow: 0 0 0 4px rgba(22, 119, 184, .2); }
.switch-row { padding: 14px 0; border-bottom: 1px solid var(--line); margin: 0 !important; }
.settings-form .btn { margin-top: 18px; }

/* Profile builder */
.builder-layout { display: grid; grid-template-columns: 1fr 320px; gap: 26px; align-items: start; }
.builder-side .sticky { position: sticky; top: 90px; }
.tip-list { list-style: none; padding: 0; margin: 0 0 14px; }
.tip-list li { position: relative; padding: 10px 0 10px 32px; border-bottom: 1px dashed var(--line); font-size: .88rem; }
.tip-list li::before { content: "＋"; position: absolute; left: 0; top: 10px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #eef2f7; color: var(--muted); font-size: .75rem; font-weight: 800; }
.tip-list li.done::before { content: "✓"; background: #e7f8f0; color: var(--green); }
.tip-list li strong { display: block; color: var(--ink); }
.tip-list li span { color: var(--muted); }
.tip-list li.done span { display: none; }
.chip-done { background: #e7f8f0; color: #0b6b45; }
.chip-todo { background: #fff6dd; color: #7a5800; }
.profile-builder-cta { display: flex; gap: 24px; align-items: center; background: linear-gradient(135deg, #ffffff, #f0f8fe); }
.profile-builder-cta h3 { margin-bottom: 4px; }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { position: relative; padding: 8px 0 8px 22px; border-left: 2px solid #dbe9f5; margin-left: 6px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 14px; width: 12px; height: 12px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--cyan)); }
.links-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Company */
.company-logo { border-radius: 14px; object-fit: cover; flex-shrink: 0; background: #fff; border: 1px solid var(--line); vertical-align: middle; }
.company-logo-initial { display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #0f5a8c, var(--cyan)); color: #fff; font-weight: 800; border: 0; }
.company-hero { background: linear-gradient(135deg, var(--navy), #0f3d6e 60%, #1677b8); color: #cfdcf0; padding: 40px 0; }
.company-hero h1 { color: #fff; margin-bottom: 4px; }
.company-hero .muted { color: #a9bad1; }
.company-hero-inner { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.job-company { display: inline-flex; align-items: center; gap: 6px; }
.job-company .company-logo { border-radius: 6px; }

/* Dashboard hero */
.dash-hero { background: radial-gradient(900px 300px at 85% 0%, #1c5c9a, var(--navy-2) 50%, var(--navy)); padding: 34px 0 70px; color: #cfdcf0; }
.dash-hero h1 { color: #fff; margin: 2px 0 8px; }
.dash-hero-inner { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.dash-role { font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: #8fe3ff; font-weight: 700; }
.section-tight { padding-top: 0; margin-top: -46px; }
.dash-grid-2 { display: grid; grid-template-columns: 1fr 360px; gap: 20px; align-items: start; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.card-head h2, .card-head h3 { margin: 0; }
.mini-row { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mini-row:last-child { border-bottom: 0; }
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; margin-bottom: 20px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.kpi::after { content: ""; position: absolute; right: -20px; top: -20px; width: 80px; height: 80px; border-radius: 50%; background: radial-gradient(circle, rgba(43, 179, 230, .16), transparent 70%); }
.kpi span { display: block; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.kpi strong { display: block; font-size: 2rem; color: var(--ink); line-height: 1.2; margin-top: 4px; }
.kpi strong a { color: inherit; }
.kpi small { color: var(--muted); }
.kpi-warn { border-color: #f3dc9b; background: linear-gradient(135deg, #fff, #fffaf0); }

/* Notifications */
.nav-bell { position: relative; font-size: 1.1rem; }
.nav-bell .badge { position: absolute; top: -8px; right: -12px; }
.nav-dropdown-head { padding: 8px 12px 10px; border-bottom: 1px solid var(--line); margin-bottom: 6px; display: flex; flex-direction: column; }
.notif-list { padding: 6px; }
.notif { display: flex; justify-content: space-between; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 10px; color: var(--text); }
.notif:hover { background: var(--bg); text-decoration: none; color: var(--text); }
.notif.unread { background: #eef6fc; font-weight: 600; color: var(--ink); }
.notif small { white-space: nowrap; }
.notif-sm { padding: 9px 10px; font-size: .88rem; }

/* Admin layout */
.admin-layout { display: grid; grid-template-columns: 250px 1fr; min-height: calc(100vh - 68px); }
.admin-side { background: var(--navy); padding: 18px 12px; position: sticky; top: 68px; height: calc(100vh - 68px); overflow-y: auto; }
.admin-side-head { padding: 6px 12px 18px; color: #fff; font-weight: 800; display: flex; flex-direction: column; }
.admin-side-head small { color: #8ea6c4; font-weight: 500; }
.admin-side a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: #b6c7de; font-weight: 500; font-size: .93rem; margin-bottom: 2px; }
.admin-side a:hover { background: rgba(255, 255, 255, .06); color: #fff; text-decoration: none; }
.admin-side a.active { background: linear-gradient(135deg, var(--primary), var(--cyan)); color: #fff; box-shadow: 0 8px 20px rgba(22, 119, 184, .35); }
.admin-side a em { margin-left: auto; font-style: normal; background: var(--red); color: #fff; font-size: .72rem; font-weight: 700; padding: 1px 8px; border-radius: 99px; }
.admin-main { padding: 30px 34px 60px; min-width: 0; }
.admin-grid { gap: 20px; align-items: start; }
.pending-banner { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; background: linear-gradient(135deg, #fff8e6, #fff2cc); border: 1px solid #f3dc9b; color: #6b5200; padding: 14px 18px; border-radius: 14px; margin-bottom: 20px; }
.pending-banner span { margin-left: auto; font-weight: 700; }
.pending-banner:hover { text-decoration: none; color: #4d3b00; box-shadow: var(--shadow); }
.mini-chart { display: flex; gap: 6px; align-items: flex-end; height: 170px; padding-top: 10px; }
.mc-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; }
.mc-bars { flex: 1; width: 100%; display: flex; gap: 2px; align-items: flex-end; justify-content: center; }
.mc-bars span { width: 40%; min-height: 2px; border-radius: 4px 4px 0 0; }
.mc-a, .legend-a { background: var(--primary); }
.mc-b, .legend-b { background: var(--cyan); opacity: .6; }
.mc-col small { font-size: .68rem; color: var(--muted); }
.legend { display: inline-block; width: 10px; height: 10px; border-radius: 3px; vertical-align: middle; }
.activity { list-style: none; padding: 0; margin: 0; font-size: .9rem; }
.activity li { padding: 9px 0; border-bottom: 1px solid var(--line); display: flex; gap: 8px; flex-wrap: wrap; align-items: baseline; }
.activity li small { margin-left: auto; }
.act-tag { display: inline-block; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; padding: 2px 8px; border-radius: 6px; background: #eef2f7; color: var(--muted); white-space: nowrap; }
.act-company, .act-job { background: #e6f4fb; color: var(--primary-dark); }
.act-applied, .act-hired, .act-shortlisted { background: #f1ebfd; color: #5b33b5; }
.act-seeker, .act-profile { background: #e7f8f0; color: #0b6b45; }
.act-admin, .act-settings, .act-user { background: #fff6dd; color: #7a5800; }
.queue-item { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-top: 1px solid var(--line); }
.queue-item:first-of-type { border-top: 0; }
.queue-item p { margin: 6px 0 0; }
.queue-check { margin-top: 6px; width: 18px; height: 18px; }
.queue-actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: flex-start; justify-content: flex-end; max-width: 330px; }
.reject-box { position: relative; display: inline-block; }
.reject-box summary { list-style: none; cursor: pointer; }
.reject-box summary::-webkit-details-marker { display: none; }
.reject-box[open] form { position: absolute; right: 0; top: 38px; z-index: 5; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; box-shadow: var(--shadow-lg); width: 280px; display: flex; flex-direction: column; gap: 8px; }
.reject-box input { margin: 0; }
.row-actions { white-space: nowrap; text-align: right; }
.row-actions > * { margin-left: 4px; }
.cell-user { display: flex; align-items: center; gap: 10px; }
.pill-filter { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.pill-filter a { padding: 6px 14px; border-radius: 99px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-size: .85rem; font-weight: 600; }
.pill-filter a.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.pill-filter a:hover { text-decoration: none; }
.admin-bar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; border-color: #f3dc9b; background: #fffbf0; padding: 14px 18px; }
.admin-bar input { width: auto; flex: 1; min-width: 160px; margin: 0; }
.decision-box { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; background: var(--bg); padding: 14px; border-radius: 12px; margin: 10px 0 18px; }
.decision-box input[type=text] { flex-basis: 100%; margin: 0; }
.radio-pill { display: inline-flex !important; gap: 6px; align-items: center; margin: 0 !important; background: #fff; border: 1px solid var(--line); padding: 7px 12px; border-radius: 99px; font-weight: 500 !important; cursor: pointer; }

@media (max-width: 1000px) {
  .builder-layout, .dash-grid-2 { grid-template-columns: 1fr; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-side { position: static; height: auto; display: flex; overflow-x: auto; gap: 4px; padding: 10px; }
  .admin-side-head { display: none; }
  .admin-side a { white-space: nowrap; }
  .admin-main { padding: 22px 4%; }
  .queue-item { flex-wrap: wrap; }
  .queue-actions { max-width: none; justify-content: flex-start; }
  .profile-builder-cta { flex-direction: column; align-items: stretch; }
}

/* ============================================================
   v5 – PREMIUM REDESIGN
   ============================================================ */
:root {
  --primary: #1a73e8;
  --primary-dark: #0f56c2;
  --cyan: #22c3ee;
  --violet: #7c5cff;
  --navy: #050d1f;
  --navy-2: #0a1630;
  --ink: #0d1b2e;
  --text: #3d4f66;
  --muted: #7184a0;
  --line: #e6ebf3;
  --bg: #f5f7fb;
  --radius: 18px;
  --grad: linear-gradient(135deg, #1a73e8 0%, #22c3ee 55%, #7c5cff 120%);
  --grad-text: linear-gradient(90deg, #7dd3fc, #22c3ee 35%, #a78bfa 70%, #7dd3fc);
  --shadow: 0 1px 2px rgba(13, 27, 46, .04), 0 10px 30px -12px rgba(13, 27, 46, .12);
  --shadow-lg: 0 30px 80px -20px rgba(5, 13, 31, .35);
  --display: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
body { background: var(--bg); }
h1, h2, h3, .x-title { font-family: var(--display); letter-spacing: -.025em; }
::selection { background: #c7e3ff; }

/* Buttons */
.btn { border-radius: 12px; background: var(--grad); background-size: 140% 140%; box-shadow: 0 10px 24px -8px rgba(26, 115, 232, .55); }
.btn:hover { background-position: 100% 0; }
.x-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 14px; font: 700 .95rem var(--font); cursor: pointer; border: 0; transition: transform .2s, box-shadow .2s, background .2s; white-space: nowrap; }
.x-btn:hover { text-decoration: none; transform: translateY(-2px); }
.x-btn-primary { background: var(--grad); color: #fff; box-shadow: 0 12px 30px -8px rgba(34, 195, 238, .7), inset 0 1px 0 rgba(255, 255, 255, .25); }
.x-btn-primary:hover { color: #fff; box-shadow: 0 18px 40px -8px rgba(34, 195, 238, .85); }
.x-btn-white { background: #fff; color: var(--ink); box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .4); }
.x-btn-white:hover { color: var(--primary); }
.x-btn-glass { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(10px); }
.x-btn-glass:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.x-btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow); }
.x-btn-ghost:hover { color: var(--primary); border-color: #c9dcf5; }

/* Header – floating glass */
.site-header { background: rgba(255, 255, 255, .78); border-bottom: 1px solid rgba(230, 235, 243, .7); transition: background .3s, border-color .3s, box-shadow .3s; }
.brand { position: relative; display: block; }
.brand .logo-white, .x-footer .logo-white { filter: brightness(0) invert(1); }
.brand .logo-white { position: absolute; inset: 0; opacity: 0; transition: opacity .3s; }
.brand img { transition: opacity .3s; }
.main-nav > a { font-weight: 600; font-size: .92rem; }
.main-nav > a.btn { padding: 9px 18px; }
body.home .site-header { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; }
body.home .site-header:not(.scrolled) .main-nav > a:not(.btn) { color: rgba(255, 255, 255, .86); }
body.home .site-header:not(.scrolled) .main-nav > a:not(.btn):hover { color: #fff; }
body.home .site-header:not(.scrolled) .logo-color { opacity: 0; }
body.home .site-header:not(.scrolled) .logo-white { opacity: 1; }
body.home .site-header:not(.scrolled) .nav-toggle { color: #fff; }
body.home .site-header.scrolled { background: rgba(255, 255, 255, .82); border-color: rgba(230, 235, 243, .8); box-shadow: 0 10px 30px -15px rgba(5, 13, 31, .25); }

/* Shared backgrounds */
.aurora { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; mix-blend-mode: screen; animation: aurora 18s ease-in-out infinite; }
.aurora.a1 { width: 620px; height: 620px; background: #1a73e8; left: -180px; top: -220px; }
.aurora.a2 { width: 520px; height: 520px; background: #22c3ee; right: -140px; top: 10%; animation-delay: -6s; opacity: .38; }
.aurora.a3 { width: 480px; height: 480px; background: #7c5cff; left: 35%; bottom: -220px; animation-delay: -11s; opacity: .35; }
.noise { position: absolute; inset: 0; opacity: .06; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); pointer-events: none; }
@keyframes aurora { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(60px, 40px) scale(1.15); } 66% { transform: translate(-40px, 30px) scale(.92); } }

/* ================= HERO ================= */
.x-hero { position: relative; overflow: hidden; background: var(--navy); color: #c3d1e6; padding: 150px 0 0; isolation: isolate; }
.x-hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.x-hero-bg canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.x-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(125, 211, 252, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(125, 211, 252, .07) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%); }
.x-hero-inner { display: grid; grid-template-columns: 1.08fr 1fr; gap: 30px; align-items: center; }
.x-badge { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 99px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); color: #cfe6ff; font-size: .85rem; font-weight: 500; margin-bottom: 26px; backdrop-filter: blur(8px); }
.x-badge:hover { text-decoration: none; color: #fff; border-color: rgba(125, 211, 252, .5); }
.x-badge-new { background: var(--grad); color: #fff; font-weight: 800; font-size: .7rem; padding: 4px 9px; border-radius: 99px; letter-spacing: .05em; }
.x-title { color: #fff; font-size: clamp(2.4rem, 4.3vw, 3.75rem); line-height: 1.04; font-weight: 800; margin: 0 0 22px; letter-spacing: -.04em; }
.x-title .line { display: block; }
.rotator { display: inline-block; position: relative; background: var(--grad-text); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s linear infinite; }
.rot-word { display: inline-block; transition: opacity .35s, transform .35s, filter .35s; }
.rot-word.out { opacity: 0; transform: translateY(-18px); filter: blur(6px); }
.rot-word.in { opacity: 0; transform: translateY(18px); filter: blur(6px); }
.x-lead { font-size: 1.15rem; color: #a9bbd4; max-width: 560px; margin-bottom: 30px; }
.x-lead strong { color: #fff; }
.x-search { max-width: 610px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: 22px; padding: 8px; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .08); }
.x-search-tabs { display: flex; gap: 4px; padding: 2px 2px 8px; }
.x-search-tabs button { background: none; border: 0; color: #9fb3cf; font: 600 .85rem var(--font); padding: 7px 14px; border-radius: 10px; cursor: pointer; transition: .2s; }
.x-search-tabs button.on { background: rgba(255, 255, 255, .12); color: #fff; }
.x-search-row { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 16px; padding: 6px 6px 6px 16px; color: var(--muted); }
.x-search-row input { margin: 0; border: 0; padding: 12px 4px; font-size: 1rem; box-shadow: none !important; background: transparent; }
.x-popular { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 18px 0 34px; font-size: .85rem; }
.x-popular span { color: #7f93b0; }
.x-popular a { color: #cfe0f5; padding: 5px 12px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .03); transition: .2s; }
.x-popular a:hover { text-decoration: none; background: rgba(255, 255, 255, .1); color: #fff; }
.x-trust { display: flex; align-items: center; gap: 16px; }
.x-trust p { margin: 0; font-size: .9rem; color: #a9bbd4; line-height: 1.45; }
.x-trust strong { color: #fff; }
.x-trust p span { color: #7f93b0; font-size: .82rem; }
.x-avatars { display: flex; }
.x-avatars span { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 800; color: #fff; background: linear-gradient(135deg, hsl(var(--h, 200) 80% 55%), hsl(calc(var(--h, 200) + 40) 80% 45%)); border: 2px solid var(--navy); margin-left: -10px; }
.x-avatars span:first-child { margin-left: 0; }
.x-avatars .more { background: rgba(255, 255, 255, .12); }

/* Globe scene */
.x-scene { position: relative; height: 560px; perspective: 1400px; }
.x-stage { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(6deg) rotateY(-10deg); }
.globe-glow { position: absolute; left: 50%; top: 50%; width: 420px; height: 420px; margin: -210px 0 0 -210px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(125, 211, 252, .55), rgba(26, 115, 232, .25) 40%, rgba(124, 92, 255, .15) 60%, transparent 70%); filter: blur(10px); animation: pulse-glow 6s ease-in-out infinite; }
.globe { position: absolute; left: 50%; top: 50%; width: 320px; height: 320px; margin: -160px 0 0 -160px; transform-style: preserve-3d; animation: globe-spin 28s linear infinite; }
.globe span { position: absolute; inset: 0; border-radius: 50%; border: 1.2px solid rgba(125, 211, 252, .45); box-shadow: 0 0 12px rgba(34, 195, 238, .15); }
.globe .meridian { transform: rotateY(var(--r)); }
.globe .parallel { transform: translateY(var(--y)) rotateX(90deg) scale(var(--s)); border-color: rgba(167, 139, 250, .4); }
.orbit { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px dashed rgba(125, 211, 252, .3); transform-style: preserve-3d; }
.orbit.o1 { width: 500px; height: 500px; margin: -250px 0 0 -250px; transform: rotateX(72deg) rotateY(12deg); animation: orbit-a 16s linear infinite; }
.orbit.o2 { width: 400px; height: 400px; margin: -200px 0 0 -200px; transform: rotateX(70deg) rotateY(-30deg); animation: orbit-b 22s linear infinite; border-color: rgba(167, 139, 250, .3); }
.sat { position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #7dd3fc; box-shadow: 0 0 18px 4px rgba(125, 211, 252, .8); }
.o2 .sat { background: #c4b5fd; box-shadow: 0 0 18px 4px rgba(167, 139, 250, .8); }
@keyframes globe-spin { from { transform: rotateX(-18deg) rotateY(0); } to { transform: rotateX(-18deg) rotateY(360deg); } }
@keyframes orbit-a { from { transform: rotateX(72deg) rotateY(12deg) rotateZ(0); } to { transform: rotateX(72deg) rotateY(12deg) rotateZ(360deg); } }
@keyframes orbit-b { from { transform: rotateX(70deg) rotateY(-30deg) rotateZ(360deg); } to { transform: rotateX(70deg) rotateY(-30deg) rotateZ(0); } }
@keyframes pulse-glow { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.08); opacity: 1; } }

.glass { position: absolute; color: #e6f0ff; background: linear-gradient(135deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .05)); border: 1px solid rgba(255, 255, 255, .2); border-radius: 18px; padding: 14px 16px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .2); font-size: .85rem; }
.glass b { color: #fff; display: block; font-size: .92rem; }
.glass small { color: #a9bbd4; display: block; }
.gc-row { display: flex; gap: 12px; align-items: center; }
.gc-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); font-size: 1.1rem; }
.gc-av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: linear-gradient(135deg, #f472b6, #a78bfa); color: #fff; }
.gc-tags { display: flex; gap: 6px; margin: 10px 0 8px; }
.gc-tags i { font-style: normal; font-size: .72rem; padding: 3px 9px; border-radius: 99px; background: rgba(255, 255, 255, .12); }
.gc-foot { font-size: .75rem; color: #86efac; display: flex; align-items: center; gap: 6px; }
.dot-live { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74, 222, 128, .7); animation: pulse 2s infinite; }
.gc-check { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #22c55e; color: #fff; font-weight: 900; flex-shrink: 0; }
.gc-3 { display: flex; gap: 10px; align-items: center; }
.gc-big { display: block; font-family: var(--display); font-size: 2.3rem; font-weight: 800; line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gc-bars { display: flex; gap: 5px; align-items: flex-end; height: 46px; margin-bottom: 6px; }
.gc-bars i { width: 12px; height: var(--v); border-radius: 4px; background: var(--grad); animation: bar-grow 3s ease-in-out infinite alternate; transform-origin: bottom; }
.gc-bars i:nth-child(2n) { animation-delay: -1s; }
@keyframes bar-grow { from { transform: scaleY(.55); } to { transform: scaleY(1); } }
.gc-1 { left: -10px; top: 40px; width: 250px; transform: translateZ(140px); animation: float-1 7s ease-in-out infinite; }
.gc-2 { right: -10px; top: 90px; transform: translateZ(90px); animation: float-2 8s ease-in-out infinite; }
.gc-3 { left: 90px; bottom: 40px; transform: translateZ(170px); animation: float-3 6.5s ease-in-out infinite; }
.gc-4 { right: 40px; bottom: 150px; text-align: center; transform: translateZ(200px); animation: float-2 7.5s ease-in-out infinite reverse; }
.gc-5 { right: 0; bottom: 0; transform: translateZ(60px); animation: float-1 9s ease-in-out infinite reverse; }
@keyframes float-1 { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
@keyframes float-2 { 0%, 100% { translate: 0 0; } 50% { translate: 0 12px; } }
@keyframes float-3 { 0%, 100% { translate: 0 0; } 50% { translate: 8px -10px; } }

.x-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 40px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1); border-radius: 22px; overflow: hidden; backdrop-filter: blur(10px); }
.x-stats > div { padding: 24px 28px; background: rgba(5, 13, 31, .55); }
.x-stats strong { display: block; font-family: var(--display); font-size: 2rem; font-weight: 800; color: #fff; letter-spacing: -.03em; }
.x-stats span { color: #7f93b0; font-size: .85rem; }
.marquee { margin-top: 50px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .08); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 45s linear infinite; }
.marquee-track span { white-space: nowrap; padding: 9px 18px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .1); color: #b6c7de; font-weight: 600; font-size: .9rem; background: rgba(255, 255, 255, .03); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ================= SECTIONS ================= */
.x-section { position: relative; padding: 110px 0; }
.x-soft { background: linear-gradient(180deg, #fff, var(--bg)); border-top: 1px solid var(--line); }
.x-head { text-align: center; max-width: 720px; margin: 0 auto 54px; }
.x-head h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 800; margin-bottom: 14px; }
.x-head p { font-size: 1.08rem; color: var(--muted); margin: 0; }
.x-head-row { display: flex; justify-content: space-between; align-items: flex-end; text-align: left; max-width: none; }
.x-head-row h2 { margin: 0; }
.x-eyebrow { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); background: #e8f1fe; padding: 6px 14px; border-radius: 99px; margin-bottom: 16px; }
.grad { background: var(--grad-text); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s linear infinite; }

.x-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; perspective: 1200px; }
.x-cat { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 26px 24px; border-radius: 22px; background: #fff; border: 1px solid var(--line); color: var(--ink); overflow: hidden; transform-style: preserve-3d; transition: box-shadow .3s, border-color .3s; }
.x-cat::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, hsl(var(--h) 90% 60%), transparent 50%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .3s; }
.x-cat::after { content: ""; position: absolute; inset: 0; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), hsl(var(--h) 90% 60% / .12), transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.x-cat:hover { text-decoration: none; color: var(--ink); box-shadow: 0 30px 60px -25px hsl(var(--h) 70% 40% / .45); border-color: transparent; }
.x-cat:hover::before, .x-cat:hover::after { opacity: 1; }
.x-cat-ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 1.7rem; background: linear-gradient(135deg, hsl(var(--h) 90% 96%), hsl(var(--h) 80% 90%)); margin-bottom: 10px; transform: translateZ(40px); box-shadow: inset 0 0 0 1px hsl(var(--h) 70% 85%); }
.x-cat-name { font-family: var(--display); font-weight: 700; font-size: 1.06rem; transform: translateZ(25px); }
.x-cat-count { color: var(--muted); font-size: .85rem; display: flex; justify-content: space-between; }
.x-cat-count b { color: hsl(var(--h) 70% 45%); transition: transform .3s; }
.x-cat:hover .x-cat-count b { transform: translateX(4px); }

/* Dark bento */
.x-dark { background: var(--navy); color: #a9bbd4; overflow: hidden; isolation: isolate; }
.x-dark-bg { position: absolute; inset: 0; z-index: -1; }
.x-dark .x-head h2 { color: #fff; }
.x-dark .x-head p { color: #8ea3c0; }
.x-dark .x-eyebrow { background: rgba(125, 211, 252, .1); color: #7dd3fc; }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.b-card { position: relative; border-radius: 26px; padding: 30px; background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); border: 1px solid rgba(255, 255, 255, .09); overflow: hidden; }
.b-card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(125, 211, 252, .12), transparent 50%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.b-card:hover::after { opacity: 1; }
.b-card h3 { color: #fff; font-size: 1.25rem; margin-bottom: 10px; }
.b-card p { color: #93a7c3; font-size: .95rem; }
.b-wide { grid-column: span 2; }
.b-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 1.5rem; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); margin-bottom: 18px; }
.b-zero { font-family: var(--display); font-size: 6rem; font-weight: 800; line-height: .9; letter-spacing: -.05em; background: var(--grad-text); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s linear infinite; margin-bottom: 14px; }
.b-compare { display: grid; gap: 14px; margin-top: 22px; max-width: 460px; }
.b-compare > div { display: grid; grid-template-columns: 130px 1fr 90px; gap: 12px; align-items: center; font-size: .85rem; }
.b-compare b { color: #fff; text-align: right; }
.bar { height: 10px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 99px; }
.bar-them i { background: linear-gradient(90deg, #f87171, #fb923c); }
.bar-us i { background: #4ade80; min-width: 10px; }
.b-flow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .8rem; font-weight: 700; }
.b-flow span { padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, .07); color: #cbd8ea; }
.b-flow .ok { background: rgba(74, 222, 128, .15); color: #86efac; }
.b-flow i { font-style: normal; color: #5b6f8d; }
.b-toggles { display: flex; gap: 10px; }
.tg { display: inline-flex; align-items: center; gap: 10px; font-size: .85rem; font-weight: 600; color: #cbd8ea; padding: 8px 14px; border-radius: 12px; background: rgba(255, 255, 255, .06); }
.tg::before { content: ""; width: 30px; height: 18px; border-radius: 99px; background: rgba(255, 255, 255, .2) radial-gradient(circle 7px at 9px 50%, #fff 98%, transparent) no-repeat; }
.tg.on::before { background: var(--grad); background-image: radial-gradient(circle 7px at 21px 50%, #fff 98%, transparent), var(--grad); }
.b-chat { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.b-chat p { margin: 0; padding: 10px 14px; border-radius: 16px; font-size: .88rem; max-width: 85%; }
.b-chat .them { background: rgba(255, 255, 255, .08); color: #dbe6f5; border-bottom-left-radius: 4px; }
.b-chat .me { background: var(--grad); color: #fff; margin-left: auto; border-bottom-right-radius: 4px; }
.b-meter { display: flex; align-items: center; gap: 16px; margin-top: 18px; max-width: 460px; }
.b-meter-bar { flex: 1; height: 12px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.b-meter-bar i { display: block; height: 100%; width: 92%; background: var(--grad); border-radius: 99px; animation: bar-fill 3s ease-out both; }
.b-meter span { font-size: .85rem; white-space: nowrap; }
.b-meter b { color: #fff; }

/* Tabs + steps */
.x-tabs { display: flex; justify-content: center; gap: 6px; margin: -20px auto 40px; background: #fff; border: 1px solid var(--line); padding: 6px; border-radius: 16px; width: max-content; box-shadow: var(--shadow); }
.x-tabs button { border: 0; background: none; padding: 11px 22px; border-radius: 12px; font: 700 .92rem var(--font); color: var(--muted); cursor: pointer; transition: .2s; }
.x-tabs button.on { background: var(--ink); color: #fff; box-shadow: 0 8px 20px -8px rgba(13, 27, 46, .6); }
.x-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.x-steps::before { content: ""; position: absolute; top: 46px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, transparent, #b9d4f7, #c4b5fd, transparent); z-index: 0; }
.x-step { position: relative; z-index: 1; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px 24px; box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; }
.x-step:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -25px rgba(26, 115, 232, .35); }
.x-step > span { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--grad); color: #fff; font-family: var(--display); font-weight: 800; font-size: .9rem; margin-bottom: 18px; box-shadow: 0 10px 24px -6px rgba(26, 115, 232, .6); }
.x-step h3 { font-size: 1.08rem; }
.x-step p { color: var(--muted); font-size: .93rem; margin: 0; }
.x-empty { text-align: center; padding: 60px 20px; border-radius: 26px; background: #fff; border: 1px dashed #cfdcee; }
.x-empty > span { font-size: 2.6rem; }

/* CTA */
.x-cta-wrap { padding: 0 0 110px; background: var(--bg); }
.x-cta { position: relative; overflow: hidden; text-align: center; padding: 80px 30px; border-radius: 32px; background: radial-gradient(800px 400px at 50% 0%, #1d4ed8, #0b1d45 55%, var(--navy)); color: #b6c7de; isolation: isolate; box-shadow: var(--shadow-lg); }
.x-cta h2 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.8rem); max-width: 680px; margin: 0 auto 14px; }
.x-cta-glow { position: absolute; z-index: -1; inset: -40%; background: conic-gradient(from 0deg, transparent, rgba(34, 195, 238, .25), transparent 30%, rgba(124, 92, 255, .25), transparent 60%); animation: spin 14s linear infinite; }
.x-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Footer */
.x-footer { position: relative; overflow: hidden; background: var(--navy); color: #8ea3c0; padding: 70px 0 30px; isolation: isolate; }
.x-footer-glow { position: absolute; z-index: -1; width: 800px; height: 400px; left: 50%; top: -200px; margin-left: -400px; background: radial-gradient(closest-side, rgba(26, 115, 232, .35), transparent); filter: blur(30px); }
.x-footer-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 30px 34px; border-radius: 24px; background: linear-gradient(135deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)); border: 1px solid rgba(255, 255, 255, .1); margin-bottom: 60px; }
.x-footer-cta h3 { color: #fff; margin: 0 0 4px; }
.x-footer-cta p { margin: 0; }
.x-footer-cta .x-cta-btns { margin: 0; }
.x-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.x-footer-brand p { max-width: 340px; margin: 16px 0; }
.x-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; }
.x-footer-grid a { display: block; color: #8ea3c0; margin-bottom: 10px; font-size: .93rem; transition: color .2s, transform .2s; }
.x-footer-grid a:hover { color: #fff; text-decoration: none; transform: translateX(3px); }
.x-mail { color: #7dd3fc !important; font-weight: 600; }
.x-footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; }

/* Inner page hero */
.page-hero { position: relative; overflow: hidden; background: var(--navy); color: #a9bbd4; padding: 60px 0 64px; isolation: isolate; }
.page-hero .aurora { opacity: .4; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin: 10px 0 10px; }
.page-hero p { max-width: 620px; font-size: 1.05rem; margin: 0; }
.page-hero .x-eyebrow { background: rgba(125, 211, 252, .1); color: #7dd3fc; margin: 0; }
.page-hero + .section, .page-hero + section { padding-top: 44px; }

/* Polished shared components */
.card { border-radius: 20px; border-color: var(--line); box-shadow: var(--shadow); }
.job-card { border-radius: 20px; padding: 22px; position: relative; overflow: hidden; }
.job-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--grad); transform: scaleY(0); transform-origin: top; transition: transform .3s; }
.job-card:hover::before { transform: scaleY(1); }
.job-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -28px rgba(26, 115, 232, .45); border-color: #d5e5f8; }
.job-card h3 { font-family: var(--display); }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=url], input[type=search], input[type=date], input[type=month], select, textarea { border-radius: 12px; background: #fbfcfe; }
.person-card { border-radius: 22px; }
.filters { border-radius: 20px; }

/* Auth split screen */
.auth { display: grid; grid-template-columns: 1fr 1fr; padding: 0; min-height: calc(100vh - 68px); background: #fff; align-items: stretch; }
.auth-visual { position: relative; overflow: hidden; background: var(--navy); color: #a9bbd4; padding: 60px; display: flex; flex-direction: column; justify-content: center; isolation: isolate; }
.auth-visual h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; }
.auth-visual ul { list-style: none; padding: 0; margin: 26px 0 0; }
.auth-visual li { padding: 10px 0 10px 36px; position: relative; color: #cbd8ea; }
.auth-visual li::before { content: "✓"; position: absolute; left: 0; top: 9px; width: 24px; height: 24px; border-radius: 50%; background: rgba(74, 222, 128, .15); color: #4ade80; display: grid; place-items: center; font-size: .8rem; font-weight: 900; }
.auth-visual .glass { position: relative; margin-top: 34px; max-width: 320px; }
.auth-form { display: flex; align-items: center; justify-content: center; padding: 50px 6%; background: radial-gradient(600px 300px at 100% 0%, #eef6ff, transparent); }
.auth-card { box-shadow: none; border: 0; padding: 0; width: min(520px, 100%); }
.auth-card h1 { font-size: 2rem; }

@media (max-width: 1000px) {
  .x-cats { grid-template-columns: repeat(2, 1fr); }
  .x-hero { padding-top: 120px; }
  .x-hero-inner { grid-template-columns: 1fr; }
  .x-scene { height: 460px; transform: scale(.85); margin: -20px 0; }
  .x-stats { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .x-steps { grid-template-columns: 1fr 1fr; }
  .x-steps::before { display: none; }
  .x-footer-grid { grid-template-columns: 1fr 1fr; }
  .auth { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
}
@media (max-width: 860px) {
  body.home .site-header:not(.scrolled) .main-nav.open > a:not(.btn) { color: var(--ink); }
}
@media (max-width: 640px) {
  .x-scene { height: 380px; transform: scale(.66); margin: -60px -12% -40px; }
  .x-title { font-size: 2.3rem; }
  .bento, .x-steps, .x-cats { grid-template-columns: 1fr; }
  .b-wide { grid-column: auto; }
  .b-zero { font-size: 4.2rem; }
  .b-compare > div { grid-template-columns: 1fr; gap: 4px; }
  .b-compare b { text-align: left; }
  .x-tabs { width: 100%; }
  .x-tabs button { flex: 1; padding: 10px; }
  .x-head-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .x-footer-grid { grid-template-columns: 1fr; }
  .x-section { padding: 80px 0; }
  .x-search-row { flex-wrap: wrap; padding: 6px; }
  .x-search-row svg { display: none; }
  .x-search-row .x-btn { width: 100%; }
}
[hidden] { display: none !important; }

/* Repeatable entries (LinkedIn-style) */
.form-section-plain { margin: 0; font-size: 1.02rem; display: flex; flex-direction: column; }
.form-section-plain small { font-family: var(--font); font-weight: 500; font-size: .8rem; }
.entries { display: flex; flex-direction: column; gap: 12px; }
.entry { border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: box-shadow .2s, border-color .2s, opacity .25s, transform .25s; }
.entry:hover { border-color: #cfe0f5; }
.entry.removing { opacity: 0; transform: translateX(20px); }
.entry-view { display: flex; gap: 14px; align-items: center; padding: 14px 16px; }
.entry-view b { color: var(--ink); display: block; }
.entry-logo { width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, #e8f1fe, #f3edff); font-size: 1.3rem; }
.entry-edit { display: none; padding: 4px 18px 18px; border-top: 1px dashed var(--line); }
.entry.editing { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(26, 115, 232, .08), var(--shadow); }
.entry.editing .entry-edit { display: block; padding-top: 16px; }
.entry.editing .entry-view .icon-btn[data-edit] { display: none; }
.entry-actions { display: flex; gap: 8px; }
.icon-btn { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: .95rem; color: var(--text); transition: .15s; flex-shrink: 0; }
.icon-btn:hover { background: #eef5ff; border-color: #c9dcf5; color: var(--primary); }
.icon-danger:hover { background: #fdeeee; border-color: #f5c6c6; color: var(--red); }
.add-btn { white-space: nowrap; }
.entries-empty { margin: 4px 0 0; padding: 18px; text-align: center; border: 1.5px dashed var(--line); border-radius: 14px; }
.check-pad { padding-top: 30px; }
input[type=month] { display: block; width: 100%; margin-top: 6px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; font: 400 .95rem var(--font); background: #fbfcfe; }
input:disabled { background: #f1f4f8; color: var(--muted); }

/* LinkedIn-style display on profile */
.li-list { list-style: none; padding: 0; margin: 0; }
.li-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.li-item:last-child { border-bottom: 0; }
.li-item b { color: var(--ink); font-size: 1rem; }
.li-item .li-sub { font-size: .92rem; color: var(--text); }
.li-item .li-meta { font-size: .84rem; color: var(--muted); }
.li-item .li-desc { font-size: .92rem; margin-top: 8px; white-space: pre-line; }

/* CV template picker */
.cv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cv-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.cv-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -25px rgba(26, 115, 232, .45); }
.cv-thumb { position: relative; height: 360px; overflow: hidden; background: #eef2f7; border-bottom: 1px solid var(--line); }
.cv-thumb iframe { position: absolute; left: 0; top: 0; width: 794px; height: 1123px; border: 0; transform: scale(.34); transform-origin: 0 0; pointer-events: none; background: #fff; }
.cv-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.cv-card-body h3 { margin: 0; }
.cv-card-body p { font-size: .88rem; color: var(--muted); margin: 0; flex: 1; }
@media (max-width: 1100px) { .cv-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cv-grid { grid-template-columns: 1fr; } .cv-thumb { height: 400px; } .cv-thumb iframe { transform: scale(.42); } }
.stack-btns { display: flex; flex-direction: column; gap: 10px; min-width: 220px; }

/* Button variants must win over the gradient base */
.btn.btn-outline { background: #fff; color: var(--primary); border: 1.5px solid var(--primary); box-shadow: none; }
.btn.btn-outline:hover { background: #eef5ff; color: var(--primary-dark); }
.btn.btn-ghost { background: #eef2f7; color: var(--ink); box-shadow: none; }
.btn.btn-ghost:hover { background: #e2e8f0; color: var(--ink); }
.btn.btn-danger { background: var(--red); box-shadow: none; }
.btn.btn-light { background: #fff; color: var(--primary); }
.btn.btn-glass { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .25); box-shadow: none; }

/* Resume builder menu + page */
.nav-new { display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: 99px; font-size: .66rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #fff; background: var(--grad); vertical-align: 2px; }
.rb-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 30px; }
.rb-steps > div { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 2px; }
.rb-steps span { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 800; margin-bottom: 8px; }
.rb-steps b { color: var(--ink); }
.rb-steps small { color: var(--muted); }
.cv-sample { position: absolute; z-index: 2; top: 12px; right: 12px; padding: 4px 10px; border-radius: 99px; background: rgba(13, 27, 46, .8); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.rb-cta { margin-top: 40px; }
@media (max-width: 900px) { .rb-steps { grid-template-columns: 1fr 1fr; } }

body { font-feature-settings: "cv11", "ss01", "ss03"; }

/* ===== Gigs ===== */
.gig-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gig-grid-sm { grid-template-columns: repeat(2, 1fr); }
.gig-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; color: var(--text); box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.gig-card:hover { text-decoration: none; color: var(--text); transform: translateY(-5px); box-shadow: 0 30px 60px -28px rgba(26, 115, 232, .45); }
.gig-media { aspect-ratio: 16 / 10; overflow: hidden; background: #eef2f7; }
.gig-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.gig-card:hover .gig-img { transform: scale(1.05); }
.gig-img-ph { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 6px; padding: 16px; color: #fff; background: radial-gradient(circle at 85% 15%, hsl(var(--h) 90% 70% / .9), transparent 45%), linear-gradient(135deg, hsl(var(--h) 75% 45%), hsl(calc(var(--h) + 50) 80% 38%)); }
.gig-img-ph span { font-size: 2rem; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .25)); }
.gig-img-ph b { font-size: .95rem; line-height: 1.3; font-weight: 700; text-shadow: 0 2px 10px rgba(0, 0, 0, .25); }
.gig-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.gig-body h3 { font-size: .98rem; margin: 0; color: var(--ink); line-height: 1.4; flex: 1; }
.gig-seller { display: flex; align-items: center; gap: 8px; font-size: .84rem; font-weight: 600; color: var(--ink); }
.gig-foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 10px; }
.gig-foot strong { color: var(--ink); }
.gig-filter select, .gig-filter input[type=number] { width: auto; margin: 0; }
.gig-hero-img { border-radius: 16px; overflow: hidden; margin: 16px 0 20px; aspect-ratio: 16 / 8; }
.gig-hero-img .gig-img-ph b { font-size: 1.4rem; }
.gig-hero-img .gig-img-ph span { font-size: 3rem; }
.gig-price { font-size: 1.9rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.gig-thumb-sm { width: 120px; height: 75px; border-radius: 10px; object-fit: cover; }
.status-g-approved { background: #e7f8f0; color: #0b6b45; }
.status-g-pending { background: #fff6dd; color: #7a5800; }
.status-g-rejected { background: #fdecec; color: #9b2525; }
.status-g-paused { background: #eef2f7; color: var(--muted); }

/* ===== Featured talent ===== */
.talent-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; perspective: 1200px; }
.talent-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px; color: var(--text); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 6px; transform-style: preserve-3d; transition: box-shadow .3s; }
.talent-card:hover { text-decoration: none; color: var(--text); box-shadow: 0 30px 60px -28px rgba(26, 115, 232, .45); }
.talent-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.talent-card h3 { margin: 0; font-size: 1.05rem; }
.talent-head { font-size: .88rem; color: var(--muted); margin: 0; min-height: 2.6em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.talent-foot { display: flex; justify-content: space-between; font-size: .82rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 10px; margin-top: auto; }

/* ===== Resume import ===== */
.import-cta { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 18px; margin-bottom: 20px; background: linear-gradient(135deg, #0a1630, #12346a); color: #cbd8ea; box-shadow: var(--shadow); }
.import-cta:hover { text-decoration: none; color: #fff; }
.import-cta strong { color: #fff; }
.import-cta-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 1.4rem; background: var(--grad); flex-shrink: 0; }
.import-card { padding: 28px; }
.dropzone { display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 44px 20px; border: 2px dashed #bcd3f0; border-radius: 20px; background: linear-gradient(180deg, #f7fbff, #fff); cursor: pointer; transition: .2s; margin-bottom: 16px !important; }
.dropzone:hover, .dropzone.over { border-color: var(--primary); background: #eef5ff; }
.dropzone input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.dz-ico { font-size: 2.6rem; }
.import-status { padding: 12px 16px; border-radius: 12px; margin: 12px 0; background: #eef5ff; color: var(--primary-dark); font-weight: 600; font-size: .92rem; }
.import-status.ok { background: #e7f8f0; color: #0b6b45; }
.import-status.err { background: #fdecec; color: #9b2525; }
.import-help { margin-top: 20px; }
.import-help ol { padding-left: 18px; margin: 0; }
.import-help li { margin-bottom: 6px; }
.li-badge { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; background: #0a66c2; color: #fff; font-weight: 800; font-size: .8rem; vertical-align: 2px; }

@media (max-width: 1000px) { .gig-grid, .talent-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .gig-grid, .talent-grid, .gig-grid-sm { grid-template-columns: 1fr; } .import-cta { flex-wrap: wrap; } }
.btn:disabled, .btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
@media (max-width: 640px) {
  .dash-hero-inner .grow { flex: 1 1 calc(100% - 90px); }
  .dash-hero-inner .actions { width: 100%; }
  .dash-hero-inner .actions .btn { flex: 1; }
  .dash-role { display: block; }
}

/* Email verification bar + single auth */
.verify-bar { background: linear-gradient(90deg, #1a73e8, #22c3ee); color: #fff; font-size: .9rem; }
.verify-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; flex-wrap: wrap; }
.verify-bar form { margin: 0; }
.auth-single { grid-template-columns: 1fr; }

/* Share buttons */
.share { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.share-label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); width: 100%; margin-bottom: 2px; }
.sh { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 99px; font: 600 .8rem var(--font); color: #fff; border: 0; cursor: pointer; text-decoration: none; transition: transform .15s, filter .15s; }
.sh:hover { color: #fff; text-decoration: none; transform: translateY(-1px); filter: brightness(1.08); }
.sh-wa { background: #25d366; } .sh-li { background: #0a66c2; } .sh-x { background: #0f1419; } .sh-fb { background: #1877f2; } .sh-tg { background: #229ed9; }
.sh-copy { background: #eef2f7; color: var(--ink); }
.sh-copy:hover { color: var(--ink); }
.alert-box { margin-top: 14px; }
.alert-box p { margin: 6px 0 10px; }
.alert-row { display: flex; align-items: center; gap: 10px; }
.alert-row form { margin: 0; }

/* Portfolio */
.pf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.pf-grid-sm { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.pf-item { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; color: var(--text); transition: transform .2s, box-shadow .2s; }
a.pf-item:hover { text-decoration: none; color: var(--text); transform: translateY(-3px); box-shadow: var(--shadow); }
.pf-media { aspect-ratio: 16 / 10; background: #eef2f7; overflow: hidden; }
.pf-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-link { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: linear-gradient(135deg, #e8f1fe, #f3edff); color: var(--ink); }
.pf-link span { font-size: 1.8rem; }
.pf-body { padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.pf-body p { margin: 0; }
.pf-body form { margin: 0; }
.text-green { color: var(--green); }
.cr-form summary { list-style: none; display: inline-flex; cursor: pointer; margin-top: 10px; }
.cr-form summary::-webkit-details-marker { display: none; }

/* Interviews */
.iv-form { display: inline-block; }
.iv-form summary { list-style: none; cursor: pointer; }
.iv-form summary::-webkit-details-marker { display: none; }
.iv-form[open] { display: block; width: 100%; margin-top: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); }
.iv-form[open] summary { margin-bottom: 10px; }
.iv-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 8px 12px; margin-top: 8px; border-radius: 10px; background: #f3f8ff; font-size: .88rem; }
.iv-row form { display: inline; }
.iv-card { display: flex; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.iv-card:last-child { border-bottom: 0; }
.iv-date { width: 56px; height: 60px; border-radius: 14px; background: var(--grad); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; flex-shrink: 0; }
.iv-date b { font-size: 1.4rem; }
.iv-date span { font-size: .75rem; text-transform: uppercase; }
.iv-actions { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.iv-actions input { width: 190px; margin: 0; padding: 7px 10px; }
.status-iv-proposed { background: #fff6dd; color: #7a5800; }
.status-iv-accepted { background: #e7f8f0; color: #0b6b45; }
.status-iv-declined, .status-iv-cancelled { background: #fdecec; color: #9b2525; }
.status-iv-completed { background: #eef2f7; color: var(--muted); }

/* Employer analytics */
.an-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.an-kpis > div { background: var(--bg); border-radius: 14px; padding: 14px 16px; }
.an-kpis b { display: block; font-size: 1.6rem; color: var(--ink); letter-spacing: -.02em; }
.an-kpis span { font-size: .8rem; color: var(--muted); }
.an-table td, .an-table th { text-align: center; }
.an-table td:first-child, .an-table th:first-child { text-align: left; }
.an-bars { min-width: 140px; }
.an-bars i { display: block; height: 6px; border-radius: 99px; margin: 3px 0; min-width: 2px; }
.an-bars i:nth-child(1) { background: var(--primary); }
.an-bars i:nth-child(2) { background: var(--cyan); }
.an-bars i:nth-child(3) { background: var(--green); }
.legend-c { background: var(--green); }
@media (max-width: 640px) { .an-kpis { grid-template-columns: 1fr 1fr; } }
.x-install { background: var(--grad); color: #fff; border: 0; padding: 8px 16px; border-radius: 99px; font: 700 .85rem var(--font); cursor: pointer; }

/* AI */
.ai-btn { display: inline-flex; align-items: center; gap: 6px; border: 0; cursor: pointer; padding: 8px 14px; border-radius: 10px; font: 700 .85rem var(--font); color: #fff; background: linear-gradient(135deg, #7c5cff, #1a73e8 60%, #22c3ee); box-shadow: 0 8px 20px -8px rgba(124, 92, 255, .6); margin-bottom: 8px; }
.ai-btn:disabled { opacity: .7; cursor: progress; }
.ai-btn-block { width: 100%; justify-content: center; margin: 4px 0 12px; }
.ai-box { background: linear-gradient(135deg, #f5f3ff, #eef6ff); border: 1px solid #ddd6fe; border-radius: 14px; padding: 14px; margin-bottom: 16px; }
.ai-box textarea { margin: 8px 0; }
.ai-result { display: flex; gap: 14px; align-items: flex-start; margin: 10px 0; padding: 14px; border-radius: 14px; background: #f8faff; border: 1px solid #dbe7fb; }
.ai-result[hidden] { display: none; }
.ai-score { flex: 0 0 74px; height: 74px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; line-height: 1; }
.ai-score b { font-size: 1.6rem; }
.ai-score span { font-size: .7rem; opacity: .85; }
.ai-good { background: linear-gradient(135deg, #12a46b, #34d399); } .ai-mid { background: linear-gradient(135deg, #e0a200, #fbbf24); } .ai-low { background: linear-gradient(135deg, #d64545, #f87171); }
.ai-list { list-style: none; padding: 0; margin: 6px 0; font-size: .88rem; }
.ai-plus li::before { content: "✓ "; color: var(--green); font-weight: 800; }
.ai-minus li::before { content: "△ "; color: var(--amber); font-weight: 800; }

/* Social login */
.social-login { display: flex; flex-direction: column; gap: 10px; margin: 14px 0 4px; }
.soc-btn { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 11px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-weight: 700; font-size: .93rem; transition: .15s; }
.soc-btn:hover { text-decoration: none; color: var(--ink); border-color: #c9dcf5; background: #f8fbff; }
.soc-linkedin .li-badge { width: 20px; height: 20px; font-size: .7rem; }
.or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .82rem; margin: 6px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* Language switch */
.lang-switch { order: 3; margin-left: 14px; display: inline-grid; place-items: center; min-width: 38px; height: 34px; padding: 0 8px; border-radius: 10px; border: 1.5px solid var(--line); font-weight: 800; font-size: .85rem; color: var(--ink); background: #fff; }
.lang-switch:hover { text-decoration: none; border-color: var(--primary); color: var(--primary); }
.nav-wrap { gap: 10px; }
.main-nav { margin-left: auto; }
body.home .site-header:not(.scrolled) .lang-switch { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .3); }
html[lang=hi] body { font-family: "Inter", "Noto Sans Devanagari", "Nirmala UI", "Mangal", system-ui, sans-serif; }

/* ===== Auth layout fix (children must stretch) ===== */
.auth { justify-items: stretch; align-items: stretch; place-items: stretch; }

/* ===== Login page ===== */
.auth-login { min-height: calc(100vh - 68px); grid-template-columns: 1.05fr 1fr; }
.login-visual { padding: 56px clamp(32px, 5vw, 80px); justify-content: center; }
.lv-inner { position: relative; max-width: 540px; }
.login-visual .x-badge { margin-bottom: 22px; }
.login-visual h2 { font-size: clamp(2.2rem, 3.6vw, 3.2rem); line-height: 1.08; letter-spacing: -.035em; margin-bottom: 14px; }
.wave { display: inline-block; transform-origin: 70% 70%; animation: wave 2.4s ease-in-out infinite; }
@keyframes wave { 0%, 60%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(16deg); } 20% { transform: rotate(-8deg); } 40% { transform: rotate(10deg); } }
.lv-lead { font-size: 1.08rem; color: #a9bbd4; max-width: 460px; }
.lv-stack { position: relative; height: 262px; margin: 30px 0 34px; perspective: 1000px; }
.lv-stack .glass { position: absolute; width: min(360px, 90%); padding: 14px 16px; transform-style: preserve-3d; }
.lv-c1 { left: 0; top: 0; animation: lv-float 7s ease-in-out infinite; }
.lv-c2 { left: 70px; top: 86px; animation: lv-float 8s ease-in-out infinite -2s; }
.lv-c3 { left: 20px; top: 172px; animation: lv-float 6.5s ease-in-out infinite -4s; }
@keyframes lv-float { 0%, 100% { transform: translateY(0) rotateX(6deg) rotateY(-8deg); } 50% { transform: translateY(-10px) rotateX(2deg) rotateY(-3deg); } }
.lv-date { width: 44px; height: 46px; border-radius: 12px; flex-shrink: 0; }
.lv-date b { font-size: 1.1rem; }
.lv-date span { font-size: .65rem; }
.lv-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; overflow: hidden; }
.lv-stats div { background: rgba(5, 13, 31, .5); padding: 16px 18px; }
.lv-stats b { display: block; font-size: 1.5rem; color: #fff; }
.lv-stats span { font-size: .8rem; color: #8ea3c0; }

.login-form { background: radial-gradient(700px 400px at 100% 0%, #eaf3ff, transparent 60%), radial-gradient(500px 300px at 0% 100%, #f3efff, transparent 60%), #fff; padding: 40px clamp(20px, 5vw, 72px); }
.login-card { width: 100%; max-width: 440px; }
.login-logo { height: 46px; margin-bottom: 26px; }
.login-card h1 { font-size: 1.9rem; margin-bottom: 6px; }
.login-card > .muted { margin-bottom: 22px; }
.login-fields { display: flex; flex-direction: column; }
.lf-label { font-weight: 600; font-size: .9rem; color: var(--ink); margin: 0 0 7px; }
.lf-row { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; }
.lf-row .lf-label { margin-bottom: 7px; }
.lf-input { position: relative; display: flex; align-items: center; }
.lf-input svg { position: absolute; left: 14px; width: 19px; height: 19px; color: #94a3b8; pointer-events: none; transition: color .2s; }
.lf-input input { margin: 0; padding: 14px 46px 14px 44px; font-size: 1rem; border-radius: 14px; border: 1.5px solid #dfe6f0; background: #fff; transition: border-color .2s, box-shadow .2s; }
.lf-input input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(26, 115, 232, .12); }
.lf-input:focus-within svg { color: var(--primary); }
.lf-eye { position: absolute; right: 8px; width: 34px; height: 34px; border: 0; border-radius: 10px; background: transparent; cursor: pointer; font-size: 1rem; opacity: .55; transition: .15s; }
.lf-eye:hover, .lf-eye.on { opacity: 1; background: #eef5ff; }
.lf-remember { display: flex; align-items: center; gap: 8px; font-size: .9rem; margin: 16px 0 18px; color: var(--text); cursor: pointer; }
.lf-remember input { width: 17px; height: 17px; accent-color: var(--primary); }
.lf-submit { gap: 10px; padding: 15px; font-size: 1.02rem; border-radius: 14px; }
.lf-submit b { transition: transform .2s; }
.lf-submit:hover b { transform: translateX(4px); }
.lf-submit.loading span::after { content: '…'; }
.lf-submit.loading b { animation: lf-spin .8s linear infinite; }
@keyframes lf-spin { to { transform: rotate(360deg); } }
.lf-new { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); text-align: center; }
.lf-new > span { font-size: .9rem; color: var(--muted); }
.lf-new-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.lf-new-btns a { padding: 11px 10px; border-radius: 12px; border: 1.5px solid var(--line); color: var(--ink); font-weight: 600; font-size: .88rem; background: #fff; transition: .2s; }
.lf-new-btns a:hover { text-decoration: none; border-color: var(--primary); color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow); }
.lf-secure { text-align: center; font-size: .8rem; color: var(--muted); margin: 18px 0 0; }
@media (max-width: 1000px) {
  .auth-login { grid-template-columns: 1fr; }
  .login-form { padding: 36px 20px 50px; background: linear-gradient(180deg, #eef5ff, #fff 220px); }
  .login-card { margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) { .wave, .lv-stack .glass { animation: none; } }
@media (max-width: 860px) {
  .lang-switch { margin-left: auto; }
  .nav-toggle { order: 4; }
  .main-nav { margin-left: 0; }
}
@media (max-width: 1000px) { .login-logo { display: none; } }

/* Direct contact buttons */
.contact-btns { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.cb { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 12px; font-weight: 700; font-size: .88rem; color: #fff; transition: transform .15s, filter .15s; }
.cb:hover { color: #fff; text-decoration: none; transform: translateY(-1px); filter: brightness(1.08); }
.cb-mail { background: var(--primary); } .cb-wa { background: #25d366; } .cb-call { background: #0f1f3a; }
.gig-buy .contact-btns .cb, .profile-side .contact-btns .cb { flex: 1; justify-content: center; }
.disclaimer { background: #f6f8fb; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; color: var(--muted); margin: 12px 0; line-height: 1.5; }
