/* landing.css — KILLMEJOB landing page styles (Telegram dual theme) */
:root {
  --primary: #3390ec;
  --primary-dark: #2b7fd6;
  --primary-light: #e8f2fd;
  --surface: #ffffff;
  --surface-2: #f0f2f5;
  --bg: #f4f4f5;
  --text: #0f1620;
  --text-secondary: #56606b;
  --muted: #8b98a5;
  --border: #e4e8ec;
  --tg-online: #46c93a;
  color-scheme: light;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--bg); }
body { font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Helvetica Neue', Arial, sans-serif; background: var(--bg); color: var(--text); line-height: 1.65; -webkit-font-smoothing: antialiased; }
/* Keep content inside its frame */
h1, h2, h3, h4, h5, h6, p, li, label, td, th, blockquote, figcaption, strong, em, small, a, span, div { overflow-wrap: anywhere; }
pre, code { white-space: pre-wrap; overflow-wrap: anywhere; }
input, select, textarea, button, .btn { max-width: 100%; }
img, svg, video, canvas { max-width: 100%; }
.container, main, section, article { min-width: 0; }
[class*="-grid"] > *, .contact-grid2 > * { min-width: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.d-flex { display: flex; }
.w-100 { width: 100%; }
.tag { background: var(--primary-light); color: var(--primary-dark); padding: 4px 10px; border-radius: 999px; font-size: 0.78rem; font-weight: 600; display: inline-block; }
.tag-success { background: #d1fae5; color: #065f46; }
.tag-warning { background: #fef3c7; color: #92400e; }

/* BUTTONS */
.btn { 
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border-radius: 12px; padding: 11px 22px; font-weight: 700; font-size: 0.93rem;
  border: none; cursor: pointer;
  transition: transform 0.16s, box-shadow 0.16s, background 0.16s;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #10140b; box-shadow: 0 10px 22px rgba(183,255,54,.16); }
.btn-primary:hover { background: #d0ff75; box-shadow: 0 12px 26px rgba(183,255,54,.24); }
.btn-secondary { background: #1b212a; color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { background: #252e39; }
.btn-white { background: #f8fafc; color: #10140b; box-shadow: 0 2px 8px rgba(0,0,0,0.32); }
.btn-white:hover { background: var(--primary); }
.btn-sm { padding: 7px 16px; font-size: 0.85rem; }
.btn-lg { padding: 14px 28px; font-size: 1.05rem; }

/* NAVBAR */
.navbar { position: sticky; top: 0; z-index: 100; background: rgba(10,13,16,.94); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.15rem; color: var(--text); letter-spacing: -0.02em; flex-shrink: 0; white-space: nowrap; }
.brand-mark { width: 38px; height: 38px; border-radius: 10px; background: var(--primary); color: #10140b; display: grid; place-items: center; font-weight: 900; box-shadow: 0 8px 18px rgba(183,255,54,.16); }
.nav-links { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.nav-links a { padding: 7px 12px; border-radius: 10px; color: var(--text-secondary); font-weight: 600; font-size: 0.9rem; transition: color 0.14s, background 0.14s; white-space: nowrap; }
.nav-links a:hover { color: var(--primary); background: var(--primary-light); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.simple-public .navbar-inner { flex-wrap: wrap; row-gap: 10px; }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; border-radius: 8px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.22s, opacity 0.22s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: none; flex-direction: column; gap: 4px; padding: 12px 0 18px; border-top: 1px solid var(--border); }
.mobile-menu a { padding: 10px 8px; border-radius: 10px; color: var(--text-secondary); font-weight: 600; transition: color 0.14s, background 0.14s; }
.mobile-menu a:hover { color: var(--primary); background: var(--primary-light); }
.mobile-menu.open { display: flex; }
.contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:start; }
.contact-grid > * { min-width: 0; }

/* HERO */
.hero { padding: 72px 0 64px; background: radial-gradient(circle at 14% 8%, rgba(15,118,110,.14), transparent 30rem), linear-gradient(150deg, #fbfaf7 0%, #eef3ef 52%, #d8ebe4 100%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: var(--primary-light); color: var(--primary); border-radius: 999px; padding: 6px 14px; font-size: 0.84rem; font-weight: 700; margin-bottom: 20px; }
.pulse-dot { display: block; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); animation: pulse 1.5s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity:1; transform: scale(1); } 50% { opacity:0.4; transform: scale(0.8); } }
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 900; line-height: 1.12; color: var(--text); letter-spacing: -0.025em; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--primary); }
.hero > .container > .hero-grid > div > p { font-size: 1.05rem; color: var(--text-secondary); max-width: 540px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-pill { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 10px 16px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); min-width: 100px; }
.trust-pill .num { font-size: 1rem; font-weight: 800; color: var(--primary-dark); }
.trust-pill .lbl { font-size: 0.75rem; color: var(--text-secondary); }
/* Search card */
.search-card { background: rgba(255,255,255,.92); border: 1px solid rgba(18,24,38,.08); border-radius: 18px; padding: 32px; box-shadow: 0 24px 64px rgba(18,24,38,0.12), 0 4px 12px rgba(18,24,38,0.05); }
.search-card h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 4px; }
.search-card .sub { font-size: 0.87rem; color: var(--text-secondary); margin-bottom: 20px; }
.search-field { display: grid; gap: 5px; margin-bottom: 14px; }
.search-field label { font-size: 0.84rem; font-weight: 600; }
.search-field input, .search-field select { padding: 11px 14px; border: 1.5px solid var(--border); border-radius: 11px; font: inherit; color: var(--text); transition: border-color 0.18s, box-shadow 0.18s; width: 100%; background: #fff; }
.search-field input:focus, .search-field select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,0.10); }
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.chip { background: var(--primary-light); color: var(--primary-dark); border-radius: 999px; padding: 5px 12px; font-size: 0.79rem; font-weight: 600; cursor: pointer; transition: background 0.14s; border: none; }
.chip:hover { background: #dbeafe; }

/* OPERATIONS */
.operations-section { background: #0f172a; padding: 34px 0; }
.operations-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ops-card { background: #172033; border: 1px solid rgba(148,163,184,0.18); border-radius: 18px; padding: 22px; color: #e2e8f0; }
.ops-card span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #2563eb; color: #fff; font-size: 0.78rem; font-weight: 900; margin-bottom: 14px; }
.ops-card h3 { font-size: 1rem; font-weight: 800; margin-bottom: 8px; }
.ops-card p { font-size: 0.88rem; color: #94a3b8; line-height: 1.7; }

/* SECTION COMMONS */
.section { padding: 80px 0; }
.sec-label { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary); margin-bottom: 10px; }
.sec-title { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; line-height: 1.18; letter-spacing: -0.02em; margin-bottom: 14px; }
.sec-sub { font-size: 0.98rem; color: var(--text-secondary); max-width: 560px; margin-bottom: 40px; }

/* FEATURES */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 26px; transition: border-color 0.18s, box-shadow 0.18s; }
.feat-card:hover { border-color: #99d6cb; box-shadow: 0 12px 32px rgba(15,118,110,0.10); }
.feat-icon { width: 50px; height: 50px; border-radius: 14px; background: var(--primary-light); display: grid; place-items: center; font-size: 1.25rem; margin-bottom: 14px; }
.feat-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 7px; }
.feat-card p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.65; }

/* STEPS */
.steps-section { padding: 80px 0; background: #f8fafc; }
.steps-center { text-align: center; }
.steps-center .sec-sub { margin: 0 auto 48px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step-card { text-align: center; padding: 32px 24px; }
.step-num { width: 58px; height: 58px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: 1.3rem; font-weight: 900; margin: 0 auto 18px; box-shadow: 0 8px 22px rgba(37,99,235,0.28); }
.step-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.step-card p { font-size: 0.89rem; color: var(--text-secondary); }

/* JOBS PREVIEW */
.jobs-preview-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.jp-card { background: #fff; border: 1.5px solid var(--border); border-radius: 18px; padding: 20px; transition: border-color 0.18s, box-shadow 0.18s; }
.jp-card:hover { border-color: #93c5fd; box-shadow: 0 6px 24px rgba(37,99,235,0.09); }
.jp-co { font-size: 0.8rem; color: var(--text-secondary); font-weight: 600; margin-bottom: 4px; }
.jp-title { font-size: 0.98rem; font-weight: 700; margin-bottom: 6px; }
.jp-meta { font-size: 0.82rem; color: var(--text-secondary); margin-bottom: 12px; }
.jp-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; }

/* CTA SPLIT */
.cta-section { padding: 80px 0; }
.cta-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.cta-box { background: linear-gradient(135deg, var(--primary-dark), var(--primary), #60a5fa); border-radius: 28px; padding: 48px; color: #fff; position: relative; overflow: hidden; }
.cta-box::before { content:''; position:absolute; top:-60px; right:-60px; width:240px; height:240px; border-radius:50%; background:rgba(255,255,255,0.07); }
.cta-box h2 { font-size: 1.7rem; font-weight: 800; margin-bottom: 12px; letter-spacing: -0.02em; }
.cta-box p { opacity: 0.88; margin-bottom: 20px; font-size: 0.96rem; }
.cta-list { list-style: none; display: grid; gap: 10px; margin-bottom: 28px; }
.cta-list li { font-size: 0.92rem; display: flex; align-items: center; gap: 8px; }
.cta-list li::before { content:'✓'; width:20px; height:20px; border-radius:50%; background:rgba(255,255,255,0.18); display:grid; place-items:center; font-size:0.7rem; flex-shrink:0; }
.cta-info h2 { font-size: 1.7rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
.cta-info p { color: var(--text-secondary); margin-bottom: 20px; font-size: 0.96rem; }
.info-list { list-style: none; display: grid; gap: 11px; margin-bottom: 28px; }
.info-list li { font-size: 0.9rem; color: var(--text-secondary); display: flex; gap: 8px; align-items: flex-start; }

/* FOOTER */
.site-footer { background: #0f172a; color: #94a3b8; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding: 56px 0 36px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.1rem; color: #fff; margin-bottom: 12px; }
.footer-bmark { width: 34px; height: 34px; border-radius: 8px; background: linear-gradient(135deg, var(--primary), #60a5fa); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 0.85rem; }
.footer-desc { font-size: 0.87rem; line-height: 1.7; max-width: 260px; }
.fcol h4 { font-size: 0.82rem; font-weight: 700; color: #fff; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 14px; }
.fcol a { display: block; font-size: 0.87rem; margin-bottom: 9px; transition: color 0.14s; }
.fcol a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 18px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 0.84rem; }

/* RESPONSIVE */
@media (max-width: 960px) {
  .landing-home .hamburger { display: flex; }
  .landing-home .nav-links, .landing-home .nav-actions { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .jobs-preview-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .cta-split { grid-template-columns: 1fr; }
  .operations-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns:1fr; gap:32px; }
}
@media (max-width: 768px) {
  .hero { padding: 48px 0 44px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .search-card { padding: 24px; }
  .steps-grid { grid-template-columns: 1fr; gap: 18px; }
  .features-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .steps-section { padding: 56px 0; }
  .cta-section { padding: 56px 0; }
  .cta-box, .cta-info { padding: 32px; }
}
@media (max-width: 480px) {
  .simple-public .navbar-inner { flex-wrap: wrap; }
  .simple-public .nav-links { order: 3; width: 100%; overflow-x: auto; }
  .simple-public .nav-actions { margin-left: auto; }
  .contact-card { padding: 24px !important; }
  .footer-top { grid-template-columns: 1fr; }
}

/* ===== Telegram dual-theme overrides ===== */
.navbar { background: var(--surface); border-bottom: 1px solid var(--border); }
@supports (backdrop-filter: blur(1px)) { .navbar { background: color-mix(in srgb, var(--surface) 85%, transparent); backdrop-filter: blur(16px); } }
.brand { color: var(--text); }
.brand-mark { background: var(--primary); color: #fff; box-shadow: 0 8px 18px rgba(51,144,236,.28); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px rgba(51,144,236,.24); }
.btn-primary:hover { background: var(--primary-dark); box-shadow: 0 10px 24px rgba(51,144,236,.30); }
.btn-secondary { background: var(--surface-2); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { background: var(--border); }
.btn-white { background: var(--surface); color: var(--primary); box-shadow: var(--shadow-sm, 0 2px 8px rgba(0,0,0,.12)); }
.btn-white:hover { background: var(--surface-2); }
.btn:active { transform: scale(.97); }
.hero { background: radial-gradient(circle at 14% 8%, rgba(51,144,236,.12), transparent 30rem), var(--bg); }
.operations-section { background: var(--surface-2); }
.ops-card { background: var(--surface); color: var(--text); border-color: var(--border); }
.ops-card p { color: var(--text-secondary); }
.search-card, .trust-pill, .feat-card, .jp-card { background: var(--surface); border-color: var(--border); }
.steps-section { background: var(--surface-2); }
.search-field input, .search-field select { background: var(--surface-2); border-color: var(--border); color: var(--text); }
.site-footer { background: var(--surface-2); border-top: 1px solid var(--border); color: var(--text-secondary); }
.footer-brand, .fcol h4 { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--border); }
/* support dialog */
.kmj-support-dialog { width: min(520px, calc(100% - 24px)); margin: auto; padding: 28px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg, 0 24px 70px rgba(0,0,0,.46)); }
.kmj-support-dialog::backdrop { background: rgba(0,0,0,.55); }
.kmj-support-dialog h2 { margin: 0 32px 12px 0; }
.kmj-support-dialog p { color: var(--text-secondary); margin-bottom: 20px; }
.kmj-support-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.kmj-dialog-close { position: absolute; top: 10px; right: 12px; border: 0; background: transparent; color: var(--text); font-size: 1.5rem; cursor: pointer; }
@media (max-width: 640px) { .kmj-support-dialog { padding: 22px; } .kmj-support-actions .btn { width: 100%; min-height: 46px; } }
/* ── Telegram shared components ── */
.tg-toggle { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; font-size: 1rem; line-height: 1; transition: background .15s ease, transform .12s ease; }
.tg-toggle:hover { background: var(--surface-2); }
.tg-toggle:active { transform: scale(.9); }
.online-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--tg-online, #46c93a); }
.brand-status { font-size: .7rem; color: var(--tg-online, #46c93a); font-weight: 700; display: inline-flex; align-items: center; gap: 5px; }
.tg-bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000; display: none; justify-content: space-around; gap: 2px; padding: 8px 6px calc(8px + env(safe-area-inset-bottom, 0px)); background: var(--surface); border-top: 1px solid var(--border); }
@supports (backdrop-filter: blur(1px)) { .tg-bottom-nav { background: color-mix(in srgb, var(--surface) 82%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); } }
.tg-bottom-nav a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 4px 2px; border-radius: 12px; color: var(--muted); font-size: .68rem; font-weight: 700; text-decoration: none; transition: color .15s ease, transform .12s ease; }
.tg-bottom-nav a .ic { font-size: 1.3rem; line-height: 1; }
.tg-bottom-nav a.active { color: var(--primary); }
.tg-bottom-nav a:active { transform: scale(.9); }
@media (max-width: 760px) { .tg-bottom-nav { display: flex; } body { padding-bottom: 74px; } }
/* Telegram chat-style job cards */
.tg-jobs { display: grid; gap: 10px; }
.tg-job { display: flex; align-items: flex-start; gap: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 14px; }
.tg-ava { flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 1.5rem; background: var(--primary-light); }
.tg-job-body { flex: 1; min-width: 0; }
.tg-job-title { font-weight: 800; color: var(--text); font-size: 1rem; margin-bottom: 4px; }
.tg-job-sub { color: var(--text-secondary); font-size: .82rem; margin-bottom: 8px; }
.tg-bubbles { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.tg-bubble { background: var(--surface-2); color: var(--text-secondary); border-radius: 12px 12px 12px 4px; padding: 4px 10px; font-size: .76rem; font-weight: 700; }
.tg-bubble.rate { background: var(--primary-light); color: var(--primary); }
.tg-take { display: block; width: 100%; text-align: center; padding: 12px; border: 0; border-radius: 14px; background: var(--primary); color: #fff; font-weight: 800; font-size: .95rem; cursor: pointer; text-decoration: none; transition: transform .1s ease, background .15s ease; }
.tg-take:active { transform: scale(.95); }
.tg-take:disabled { opacity: .5; cursor: default; }
.kmj-fixed-controls { position: fixed; right: 14px; bottom: 14px; z-index: 9999; display: none; flex-direction: column; gap: 8px; }
@media (max-width: 760px) { .kmj-fixed-controls { display: flex; bottom: calc(86px + env(safe-area-inset-bottom, 0px)); } .kmj-header-ctl { display: none !important; } }
@media (max-width: 760px) { input, select, textarea { font-size: 16px; } }
