:root {
    --primary: #667eea;
    --primary-2: #764ba2;
    --grad: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --text: #1f2333;
    --muted: #6b7085;
    --bg: #f4f5fb;
    --card: #fff;
    --border: #e6e8f2;
    --green: #16a34a;
    --amber: #d97706;
    --red: #dc2626;
    --radius: 16px;
    --shadow: 0 10px 30px rgba(40, 40, 90, .08);
}
* { box-sizing: border-box; }
body { margin: 0; font-family: Inter, system-ui, sans-serif; color: var(--text); background: var(--bg); line-height: 1.55; }
a { color: var(--primary); text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5rem; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.section { padding: 64px 0; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }

/* nav */
.nav { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { font-weight: 800; font-size: 1.25rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand i { color: var(--primary); }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--text); font-weight: 500; }
.nav-links a.btn-primary { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.3rem; cursor: pointer; }
@media (max-width: 820px) {
    .nav-toggle { display: block; }
    .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 16px; gap: 12px; border-bottom: 1px solid var(--border); }
    .nav-open .nav-links { display: flex; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 20px; border-radius: 10px; font-weight: 600; border: 1px solid transparent; cursor: pointer; font: inherit; font-weight: 600; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 6px 18px rgba(102, 126, 234, .35); }
.btn-white { background: #fff; color: var(--text); }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn-outline-white { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.4); color: #fff; }
.btn-green { background: var(--green); color: #fff; }
.btn-red { background: var(--red); color: #fff; }
.btn-sm { padding: 6px 12px; font-size: .85rem; }
.btn-block { width: 100%; }
.btn-lg { padding: 14px 28px; font-size: 1.05rem; }

/* hero */
.hero { background: var(--grad); color: #fff; padding: 80px 0; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; }
.hero p { font-size: 1.1rem; opacity: .92; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-art { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); border-radius: 24px; padding: 28px; backdrop-filter: blur(6px); }
.hero-art .stack { display: grid; gap: 14px; }
.hero-art .mini { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.95); color: var(--text); border-radius: 14px; padding: 14px; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }

.stats-band { background: var(--grad); color: #fff; padding: 28px 0; }
.stats-band .container { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px; text-align: center; }
.stats-band strong { display: block; font-size: 2rem; }

/* features */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; border: 1px solid var(--border); }
.feature { text-align: center; }
.icon-box { width: 60px; height: 60px; border-radius: 16px; background: var(--grad); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 16px; }

/* talent cards */
.talent-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); display: flex; flex-direction: column; }
.talent-photo { position: relative; aspect-ratio: 4/3; background: var(--grad); display: flex; align-items: center; justify-content: center; }
.talent-photo img { width: 100%; height: 100%; object-fit: cover; }
.avatar-lg { font-size: 3rem; font-weight: 800; color: #fff; }
.chip { position: absolute; top: 12px; right: 12px; background: rgba(0,0,0,.6); color: #fff; padding: 4px 10px; border-radius: 999px; font-size: .75rem; font-weight: 600; }
.chip-green { background: var(--green); }
.chip i { font-size: .5rem; vertical-align: middle; }
.talent-body { padding: 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.cat { color: var(--primary); font-weight: 600; font-size: .9rem; }
.clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 6px 0; }
.price-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; background: var(--bg); border-radius: 12px; padding: 12px; text-align: center; margin: 8px 0 14px; margin-top: auto; }
.price-row small { display: block; color: var(--muted); font-size: .75rem; }
.price-row strong { color: var(--green); }

/* filters */
.filters { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.filters input, .filters select { flex: 1 1 180px; }

/* forms */
.form-card { max-width: 480px; margin: 48px auto; padding: 0; overflow: hidden; }
.form-card .form-head { background: var(--grad); color: #fff; text-align: center; padding: 32px 24px; }
.form-card .form-body { padding: 28px; }
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
input, select, textarea { width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: 10px; font: inherit; background: #fff; color: var(--text); }
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(102, 126, 234, .4); border-color: var(--primary); }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.check { display: flex; gap: 8px; align-items: center; font-weight: 500; }
.check input { width: auto; }
.help { font-size: .8rem; color: var(--muted); margin-top: 4px; }

.alert { padding: 14px 18px; border-radius: 12px; margin: 16px 0; font-weight: 500; }
.alert-success { background: #dcfce7; color: #14532d; }
.alert-error { background: #fee2e2; color: #7f1d1d; }
.alert-info { background: #e0e7ff; color: #312e81; }

/* page header */
.page-head { background: var(--grad); color: #fff; padding: 48px 0; }
.page-head p { opacity: .9; margin: 0; }

/* profile */
.profile-grid { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
@media (max-width: 900px) { .profile-grid { grid-template-columns: 1fr; } }
.profile-top { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.profile-top .pic { width: 160px; height: 160px; border-radius: 20px; overflow: hidden; background: var(--grad); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.profile-top .pic img { width: 100%; height: 100%; object-fit: cover; }
.sticky { position: sticky; top: 88px; }
.list-check { list-style: none; padding: 0; margin: 0; }
.list-check li { padding: 4px 0; }
.list-check li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--green); margin-right: 8px; }
.kv { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--border); }

/* dashboard */
.dash-hero { background: var(--grad); color: #fff; border-radius: 0 0 24px 24px; padding: 40px 0; }
.stat { text-align: center; }
.stat .num { font-size: 2rem; font-weight: 800; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { font-size: .8rem; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; }
.badge-pending { background: #fef3c7; color: var(--amber); }
.badge-accepted, .badge-completed { background: #dcfce7; color: var(--green); }
.badge-declined, .badge-cancelled { background: #fee2e2; color: var(--red); }

.footer { background: #1c1f2e; color: #c9cbe0; margin-top: 64px; padding: 48px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; }
.footer h4 { color: #fff; margin: 0 0 10px; }
.footer a { display: block; color: #c9cbe0; padding: 3px 0; }
.footer .muted { color: #9a9db5; }
.copyright { border-top: 1px solid #2d3146; margin-top: 28px; padding-top: 16px; font-size: .85rem; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }

/* admin */
.admin-layout { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.admin-side { background: #14161f; color: #c9cbe0; padding: 24px 16px; }
.admin-side a { display: flex; gap: 10px; align-items: center; color: #c9cbe0; padding: 10px 12px; border-radius: 10px; margin-bottom: 4px; }
.admin-side a.active, .admin-side a:hover { background: var(--grad); color: #fff; }
.admin-side .brand { display: block; margin-bottom: 24px; padding-left: 12px; }
.admin-main { padding: 28px; min-width: 0; }
.admin-main h1 { font-size: 1.6rem; margin-bottom: 20px; }
@media (max-width: 860px) { .admin-layout { grid-template-columns: 1fr; } .admin-side { display: flex; flex-wrap: wrap; gap: 4px; } .admin-side .brand { width: 100%; } }
