@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --primary: #4f46e5;
  --primary-dark: #3730a3;
  --primary-light: #eef2ff;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --dark: #0f172a;
  --dark-soft: #1e293b;
  --gray: #64748b;
  --gray-light: #94a3b8;
  --border: #e2e8f0;
  --bg: #f8fafc;
  --white: #ffffff;
  --success: #16a34a;
  --danger: #dc2626;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 10px 40px rgba(15, 23, 42, 0.12);
  --font-head: 'Poppins', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.25; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 72px 0; }
.section-alt { background: var(--white); }

.section-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.section-head h2 { font-size: 34px; font-weight: 700; margin-bottom: 12px; }
.section-head p { color: var(--gray); font-size: 16px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--primary); color: var(--white); box-shadow: 0 8px 20px rgba(79, 70, 229, 0.28); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-accent { background: var(--accent); color: var(--dark); box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3); }
.btn-accent:hover { background: var(--accent-dark); color: var(--white); }
.btn-outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.5); }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-ghost { background: var(--white); color: var(--primary); border: 1.5px solid var(--border); }
.btn-ghost:hover { border-color: var(--primary); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 18px; font-size: 14px; }

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 22px; color: var(--dark); }
.brand-mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent), var(--primary));
  background-size: 220% 220%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 800; font-size: 18px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.5);
  animation: logoGradient 6s ease infinite, logoPulse 3.2s ease infinite;
  transition: transform 0.25s ease;
}
.brand-mark::after {
  content: '';
  position: absolute;
  top: 0; left: -75%;
  width: 45%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,0.75), transparent);
  transform: skewX(-20deg);
  animation: logoShine 4.5s ease-in-out infinite;
}
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.1); }
@keyframes logoGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes logoShine {
  0% { left: -75%; }
  28% { left: 130%; }
  100% { left: 130%; }
}
@keyframes logoPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.35); }
  50% { box-shadow: 0 0 0 6px rgba(79, 70, 229, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .brand-mark, .brand-mark::after { animation: none; }
}
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  padding: 10px 16px;
  font-weight: 600;
  font-size: 15px;
  color: var(--dark-soft);
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-links a:hover, .nav-links a.active { background: var(--primary-light); color: var(--primary); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.currency-toggle { display: flex; gap: 2px; background: var(--bg); padding: 3px; border-radius: 999px; border: 1px solid var(--border); flex-shrink: 0; }
.currency-toggle button {
  padding: 6px 12px; font-size: 12.5px; font-weight: 700; background: transparent; border: none;
  border-radius: 999px; cursor: pointer; color: var(--gray); font-family: var(--font-body); transition: all 0.15s ease;
}
.currency-toggle button.active { background: var(--primary); color: var(--white); }
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 40px; height: 40px; border-radius: 8px;
  align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--dark); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; width: 22px; height: 2px; background: var(--dark); left: 0;
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

/* Nav search trigger + "Buy Resume" attention pulse */
.search-toggle-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  background: var(--primary-light); color: var(--primary); border: none; cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.search-toggle-btn:hover { background: var(--primary); color: var(--white); transform: scale(1.06); }

@keyframes buyResumePulse {
  0%, 100% { box-shadow: 0 8px 20px rgba(79, 70, 229, 0.28), 0 0 0 0 rgba(79, 70, 229, 0.45); }
  60% { box-shadow: 0 8px 20px rgba(79, 70, 229, 0.28), 0 0 0 9px rgba(79, 70, 229, 0); }
}
.nav-cta > a.btn-primary { animation: buyResumePulse 2.4s ease-in-out infinite; }
.nav-cta > a.btn-primary:hover, .nav-cta > a.btn-primary:focus-visible { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .nav-cta > a.btn-primary { animation: none; }
}

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--dark) 0%, var(--primary-dark) 60%, var(--primary) 100%);
  color: var(--white);
  padding: 90px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(245,158,11,0.25), transparent 70%);
  top: -180px; right: -140px;
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
  padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; margin-bottom: 22px;
}
.hero h1 { font-size: 46px; font-weight: 800; margin-bottom: 18px; letter-spacing: -0.02em; }
.hero h1 span { color: var(--accent); }
.hero p { font-size: 17px; color: rgba(255,255,255,0.82); max-width: 520px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 32px; margin-top: 40px; }
.hero-stats div strong { display: block; font-size: 26px; font-family: var(--font-head); }
.hero-stats div span { font-size: 13px; color: rgba(255,255,255,0.7); }
.hero-panel {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 28px;
  backdrop-filter: blur(6px);
}
.hero-panel h3 { font-size: 17px; margin-bottom: 16px; }
.hero-panel .chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip {
  background: rgba(255,255,255,0.12); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600;
}
.hero-mini-card {
  background: var(--white); color: var(--dark); border-radius: var(--radius-sm); padding: 16px; margin-bottom: 10px;
  transition: transform 0.35s ease, opacity 0.35s ease;
}
@media (prefers-reduced-motion: reduce) {
  .hero-mini-card { transition: none; }
}
.hero-mini-card strong { display: block; font-size: 14px; }
.hero-mini-card span { font-size: 12px; color: var(--gray); }

/* Page header (for inner pages) */
.page-header {
  background: linear-gradient(135deg, var(--dark), var(--primary-dark));
  color: var(--white);
  padding: 64px 0 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header .container { position: relative; z-index: 1; }
.page-header .eyebrow { background: rgba(255,255,255,0.15); color: var(--white); }
.page-header h1 { font-size: 36px; font-weight: 800; margin-bottom: 10px; }
.page-header p { color: rgba(255,255,255,0.8); max-width: 560px; margin: 0 auto; }

/* Animated gradient blob background (DigitalOcean-style) */
.bg-blobs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.bg-blobs span {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  will-change: transform;
  animation: blobFloat 22s ease-in-out infinite;
}
.bg-blobs span:nth-child(1) {
  width: 440px; height: 440px;
  background: radial-gradient(circle at 30% 30%, var(--accent), transparent 70%);
  top: -160px; left: -100px;
  animation-duration: 24s;
}
.bg-blobs span:nth-child(2) {
  width: 400px; height: 400px;
  background: radial-gradient(circle at 30% 30%, #22d3ee, transparent 70%);
  top: 20%; right: -140px;
  animation-duration: 28s;
  animation-delay: -6s;
}
.bg-blobs span:nth-child(3) {
  width: 360px; height: 360px;
  background: radial-gradient(circle at 30% 30%, var(--primary), transparent 70%);
  bottom: -160px; left: 28%;
  animation-duration: 26s;
  animation-delay: -12s;
}
@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, -35px) scale(1.1); }
  66% { transform: translate(-35px, 30px) scale(0.94); }
}
@media (prefers-reduced-motion: reduce) {
  .bg-blobs span { animation: none; }
}

/* Grids & Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 18px;
}
.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p { color: var(--gray); font-size: 14.5px; }

/* Job cards */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between;
  margin-bottom: 30px; gap: 16px;
}
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tab {
  padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 14px;
  background: var(--white); border: 1px solid var(--border); cursor: pointer; color: var(--dark-soft);
  transition: all 0.15s ease;
}
.tab.active, .tab:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.search-box { display: flex; align-items: center; background: var(--white); border: 1px solid var(--border); border-radius: 999px; padding: 6px 6px 6px 18px; min-width: 260px; }
.search-box input { border: none; outline: none; flex: 1; font-size: 14px; font-family: var(--font-body); padding: 8px 0; }
.search-box button { border: none; background: var(--primary); color: var(--white); width: 36px; height: 36px; border-radius: 50%; cursor: pointer; }

.job-list { display: flex; flex-direction: column; gap: 16px; }
.job-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  box-shadow: var(--shadow); flex-wrap: wrap;
}
.job-card:hover { border-color: var(--primary); }
.job-main { display: flex; gap: 16px; align-items: flex-start; flex: 1; min-width: 260px; }
.job-avatar {
  width: 50px; height: 50px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white); display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 18px; font-family: var(--font-head);
}
.job-main h3 { font-size: 17px; margin-bottom: 4px; }
.job-main .company { color: var(--gray); font-size: 14px; margin-bottom: 8px; }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.badge {
  font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
  background: var(--primary-light); color: var(--primary); text-transform: capitalize;
}
.badge-outline { background: var(--bg); color: var(--gray); border: 1px solid var(--border); }
.job-desc { color: var(--gray); font-size: 14px; margin-top: 10px; max-width: 640px; }
.job-side { text-align: right; }
.job-side .salary { font-weight: 700; color: var(--dark); margin-bottom: 10px; font-size: 15px; }
.job-side-actions { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--gray); }
.empty-state h3 { color: var(--dark); margin-bottom: 8px; }

/* Resume storefront */
.resume-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.resume-preview {
  height: 170px; display: flex; align-items: center; justify-content: center; position: relative;
  color: var(--white); font-family: var(--font-head);
}
.resume-preview .lines { width: 60%; }
.resume-preview .lines div { height: 6px; background: rgba(255,255,255,0.7); border-radius: 4px; margin-bottom: 8px; }
.resume-preview .lines div:nth-child(1) { width: 70%; height: 10px; margin-bottom: 12px; }
.resume-preview .lines div:nth-child(3) { width: 45%; }
.resume-tier {
  position: absolute; top: 14px; right: 14px; background: rgba(255,255,255,0.9); color: var(--dark);
  font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.04em;
}
.resume-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.resume-body h3 { font-size: 17px; }
.resume-body p { color: var(--gray); font-size: 14px; flex: 1; }
.resume-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.price { font-size: 20px; font-weight: 800; font-family: var(--font-head); }
.price.free { color: var(--success); }
.format-tag { font-size: 12px; color: var(--gray-light); }

/* About / Why trust */
.why-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.why-item { display: flex; gap: 16px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.why-item .num {
  width: 40px; height: 40px; border-radius: 10px; background: var(--dark); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; font-family: var(--font-head);
}
.why-item h4 { font-size: 16px; margin-bottom: 6px; }
.why-item p { font-size: 14px; color: var(--gray); }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-copy p { color: var(--gray); margin-bottom: 16px; font-size: 15.5px; }
.about-visual {
  background: linear-gradient(160deg, var(--primary), var(--dark));
  border-radius: var(--radius); padding: 40px; color: var(--white); min-height: 320px;
  display: flex; flex-direction: column; justify-content: center; gap: 18px;
}
.about-visual .stat { display: flex; align-items: baseline; gap: 10px; }
.about-visual .stat strong { font-size: 32px; font-family: var(--font-head); }
.about-visual .stat span { font-size: 14px; color: rgba(255,255,255,0.75); }

/* Contact / socials */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; }
.contact-info-card { background: var(--dark); color: var(--white); border-radius: var(--radius); padding: 32px; }
.contact-info-card h3 { margin-bottom: 18px; font-size: 19px; }
.contact-row { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.contact-row .ico {
  width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-row strong { display: block; font-size: 14px; margin-bottom: 2px; }
.contact-row span, .contact-row a { font-size: 13.5px; color: rgba(255,255,255,0.75); }
.social-row { display: flex; gap: 10px; margin-top: 22px; }
.social-btn {
  flex: 1; text-align: center; padding: 12px; border-radius: 10px; font-weight: 600; font-size: 14px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.social-btn.telegram { background: #229ED9; color: var(--white); }
.social-btn.facebook { background: #1877F2; color: var(--white); }

.form-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 13.5px; font-weight: 600; }
.field input, .field textarea, .field select {
  border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 14px; font-size: 14.5px;
  font-family: var(--font-body); outline: none; transition: border-color 0.15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--primary); }
.form-msg { font-size: 14px; margin-top: 10px; display: none; padding: 10px 14px; border-radius: var(--radius-sm); }
.form-msg.show { display: block; }
.form-msg.ok { background: #f0fdf4; color: var(--success); border: 1px solid #bbf7d0; }
.form-msg.err { background: #fef2f2; color: var(--danger); border: 1px solid #fecaca; }

/* Newsletter band */
.newsletter-band {
  background: linear-gradient(135deg, var(--primary), var(--dark));
  color: var(--white); border-radius: var(--radius); padding: 44px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.newsletter-band h2 { font-size: 26px; }
.newsletter-band p { color: rgba(255,255,255,0.8); max-width: 480px; }
.newsletter-form { display: flex; gap: 10px; width: 100%; max-width: 420px; flex-wrap: wrap; }
.newsletter-form input {
  flex: 1; min-width: 200px; padding: 13px 18px; border-radius: 999px; border: none; outline: none; font-size: 14.5px;
}
.newsletter-form button { flex-shrink: 0; }

/* Footer */
footer { background: var(--dark); color: rgba(255,255,255,0.8); padding: 56px 0 24px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .brand { color: var(--white); margin-bottom: 14px; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.6); max-width: 280px; }
footer h4 { color: var(--white); font-size: 15px; margin-bottom: 16px; }
footer ul li { margin-bottom: 10px; }
footer ul li a { font-size: 14px; color: rgba(255,255,255,0.65); transition: color 0.15s ease; }
footer ul li a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 22px; font-size: 13px; color: rgba(255,255,255,0.5); flex-wrap: wrap; gap: 10px; }

/* Live chat widget (custom bubble; opens Tawk.to when configured) */
.chat-bubble {
  position: fixed; bottom: 24px; right: 24px; width: 60px; height: 60px; border-radius: 50%;
  background: var(--primary); color: var(--white); display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); cursor: pointer; z-index: 200; border: none; font-size: 26px;
  transition: transform 0.15s ease;
}
.chat-bubble:hover { transform: scale(1.08); }

/* Scroll-to-top button */
.scroll-top-btn {
  position: fixed; bottom: 24px; right: 96px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--white); color: var(--primary); border: 1px solid var(--border);
  box-shadow: var(--shadow-lg); cursor: pointer; z-index: 199;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(10px); pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.15s ease, color 0.15s ease;
}
.scroll-top-btn.show { opacity: 1; transform: none; pointer-events: auto; }
.scroll-top-btn:hover { background: var(--primary); color: var(--white); }
@media (max-width: 720px) {
  .scroll-top-btn { right: 80px; width: 42px; height: 42px; }
}

/* Site search overlay */
.search-overlay {
  position: fixed; inset: 0; background: rgba(15, 23, 42, 0.55); z-index: 500;
  display: none; align-items: flex-start; justify-content: center; padding: 90px 20px 20px;
}
.search-overlay.open { display: flex; }
.search-panel {
  background: var(--white); border-radius: var(--radius); width: 640px; max-width: 100%;
  box-shadow: var(--shadow-lg); overflow: hidden; display: flex; flex-direction: column;
  max-height: 76vh; animation: searchPanelIn 0.16s ease;
}
@keyframes searchPanelIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .search-panel { animation: none; }
}
.search-input-row {
  display: flex; align-items: center; gap: 12px; padding: 16px 20px;
  border-bottom: 1px solid var(--border); flex-shrink: 0;
}
.search-input-row svg { color: var(--gray-light); flex-shrink: 0; }
.search-input-row input {
  flex: 1; border: none; outline: none; font-size: 16px; font-family: var(--font-body); color: var(--dark);
}
.search-close-btn {
  background: var(--bg); border: none; width: 30px; height: 30px; border-radius: 50%;
  cursor: pointer; color: var(--gray); flex-shrink: 0; font-size: 14px;
}
.search-results { overflow-y: auto; padding: 8px; }
.search-group-label {
  font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700;
  color: var(--gray-light); padding: 12px 12px 6px;
}
.search-result-item {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px;
  text-decoration: none; color: inherit; cursor: pointer;
}
.search-result-item:hover, .search-result-item.is-active { background: var(--primary-light); }
.search-result-icon {
  width: 36px; height: 36px; border-radius: 9px; background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 15px;
}
.search-result-title { font-size: 14px; font-weight: 600; }
.search-result-meta { font-size: 12.5px; color: var(--gray); }
.search-state { padding: 44px 20px; text-align: center; color: var(--gray-light); font-size: 14px; }

/* Modal (used for resume checkout placeholder) */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(15, 23, 42, 0.55); display: none;
  align-items: center; justify-content: center; z-index: 300; padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-box { background: var(--white); border-radius: var(--radius); padding: 32px; max-width: 420px; width: 100%; position: relative; }
.modal-close { position: absolute; top: 16px; right: 16px; border: none; background: var(--bg); width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 16px; }
.modal-box h3 { font-size: 19px; margin-bottom: 10px; }
.modal-box p { color: var(--gray); font-size: 14.5px; margin-bottom: 20px; }
.modal-tag { display: inline-block; background: #fef3c7; color: #92400e; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }
.modal-actions { display: flex; flex-direction: column; gap: 10px; }
.khqr-note { background: var(--primary-light); color: var(--primary-dark); font-size: 13px; padding: 12px 14px; border-radius: var(--radius-sm); line-height: 1.5; }

/* Mobile */
/* Job detail page */
.jd-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: start; }
.jd-main { display: flex; flex-direction: column; gap: 24px; }
.jd-section { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.jd-section h3 { font-size: 17px; margin-bottom: 14px; }
.jd-section p { color: var(--gray); font-size: 14.5px; }
.jd-list { display: flex; flex-direction: column; gap: 10px; }
.jd-list li { display: flex; gap: 10px; font-size: 14.5px; color: var(--dark-soft); align-items: flex-start; list-style: none; }
.jd-list li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); margin-top: 7px; flex-shrink: 0; }
.jd-side { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 96px; }
.jd-summary-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.jd-summary-card .job-avatar { width: 56px; height: 56px; font-size: 20px; margin-bottom: 14px; border-radius: 14px; }
.jd-summary-card h1 { font-size: 22px; margin-bottom: 6px; }
.jd-summary-card .company { color: var(--gray); font-size: 14.5px; margin-bottom: 14px; }
.jd-meta-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.jd-salary { font-size: 20px; font-weight: 800; font-family: var(--font-head); margin-bottom: 16px; }
.jd-hr-card { background: var(--dark); color: var(--white); border-radius: var(--radius); padding: 24px; }
.jd-hr-card h3 { font-size: 16px; margin-bottom: 16px; }
.jd-hr-row { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.jd-hr-row:last-child { margin-bottom: 0; }
.jd-hr-row .ico { width: 34px; height: 34px; border-radius: 9px; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.jd-hr-row strong { display: block; font-size: 13.5px; }
.jd-hr-row span, .jd-hr-row a { font-size: 13px; color: rgba(255,255,255,0.75); }
.jd-breadcrumb { font-size: 13.5px; color: rgba(255,255,255,0.75); margin-bottom: 14px; }
.jd-breadcrumb a { color: var(--white); font-weight: 600; }

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .why-list { grid-template-columns: 1fr; }
  .jd-grid { grid-template-columns: 1fr; }
  .jd-side { position: static; }
}
@media (max-width: 720px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
  .navbar.menu-open .nav-links {
    display: flex; position: absolute; top: 76px; left: 0; right: 0; background: var(--white);
    flex-direction: column; padding: 16px 24px; border-bottom: 1px solid var(--border); gap: 4px;
  }
  .navbar.menu-open .nav-links a { width: 100%; }
  .hero h1 { font-size: 32px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .job-card { flex-direction: column; align-items: flex-start; }
  .job-side { text-align: left; width: 100%; }
  .job-side-actions { justify-content: flex-start; width: 100%; }
}
