/* AI Employee Solutions — shared styles (v2, image-led + motion) */
:root {
  --bg: #0d1117;
  --bg-raise: #161c26;
  --card: #1b2330;
  --card-edge: #2a3444;
  --text: #e8edf4;
  --muted: #9aa7b8;
  --accent: #ff8a1e;      /* hi-vis amber */
  --accent-deep: #e06f00;
  --accent-soft: rgba(255, 138, 30, 0.12);
  --green: #34d399;
  --danger: #f87171;
  --radius: 16px;
  --font: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font); line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* Header */
header { position: sticky; top: 0; z-index: 50; background: rgba(13, 17, 23, 0.72); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(42, 52, 68, 0.6); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.logo { font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; }
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 26px; font-size: 0.95rem; color: var(--muted); }
.nav-links a { position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px; background: var(--accent); transition: width 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.nav .btn { padding: 9px 18px; }

/* Buttons */
.btn { display: inline-block; background: linear-gradient(120deg, var(--accent), #ffab4d); color: #14100a; font-weight: 700; padding: 13px 26px; border-radius: 12px; border: none; cursor: pointer; font-size: 1rem; transition: transform 0.15s, box-shadow 0.2s, filter 0.15s; box-shadow: 0 4px 18px rgba(255, 138, 30, 0.25); }
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 8px 26px rgba(255, 138, 30, 0.4); }
.btn.ghost { background: rgba(255, 255, 255, 0.03); color: var(--text); border: 1px solid var(--card-edge); box-shadow: none; }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.btn.big { padding: 16px 34px; font-size: 1.1rem; }

/* Hero — full-bleed image with gradient overlay */
.hero { position: relative; padding: 108px 0 84px; overflow: hidden; isolation: isolate; }
.hero .hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero .hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; animation: heroDrift 24s ease-in-out infinite alternate; }
@keyframes heroDrift { from { transform: scale(1.02) translateX(0); } to { transform: scale(1.1) translateX(-1.5%); } }
.hero .hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(13, 17, 23, 0.96) 30%, rgba(13, 17, 23, 0.72) 60%, rgba(13, 17, 23, 0.45)); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(to bottom, transparent, var(--bg)); z-index: -1; pointer-events: none; }
.hero-inner { max-width: 640px; text-align: left; }
.hero.centered .hero-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.hero h1 em { font-style: normal; background: linear-gradient(120deg, var(--accent), #ffc063); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { margin: 22px 0 34px; color: #c3cddb; font-size: 1.15rem; max-width: 560px; }
.hero.centered p.lead { margin-left: auto; margin-right: auto; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero.centered .hero-ctas { justify-content: center; }
.badge { display: inline-block; background: rgba(255, 138, 30, 0.14); border: 1px solid rgba(255, 138, 30, 0.35); color: var(--accent); font-size: 0.8rem; font-weight: 700; padding: 5px 14px; border-radius: 99px; margin-bottom: 20px; letter-spacing: 0.04em; text-transform: uppercase; backdrop-filter: blur(4px); }

/* Floating SMS job-card mock in hero */
.job-card-float { position: absolute; right: 6%; bottom: 14%; width: 300px; background: rgba(22, 28, 38, 0.85); border: 1px solid var(--card-edge); border-radius: 14px; padding: 16px 18px; backdrop-filter: blur(10px); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); animation: floatCard 5s ease-in-out infinite; font-size: 0.85rem; }
@keyframes floatCard { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.job-card-float .jc-head { display: flex; align-items: center; gap: 8px; font-weight: 700; margin-bottom: 8px; }
.job-card-float .jc-tag { background: rgba(248, 113, 113, 0.15); color: var(--danger); font-size: 0.7rem; font-weight: 800; padding: 2px 9px; border-radius: 99px; }
.job-card-float p { color: var(--muted); line-height: 1.5; }
.job-card-float strong { color: var(--text); }
@media (max-width: 900px) { .job-card-float { display: none; } }

/* Stats strip */
.stats { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; margin-top: -30px; position: relative; z-index: 2; }
.stat { flex: 1; min-width: 200px; background: rgba(27, 35, 48, 0.9); border: 1px solid var(--card-edge); border-radius: var(--radius); padding: 22px 26px; text-align: center; backdrop-filter: blur(8px); }
.stat b { display: block; font-size: 1.9rem; font-weight: 800; color: var(--accent); letter-spacing: -0.02em; }
.stat span { color: var(--muted); font-size: 0.9rem; }

/* Sections */
section { padding: 76px 0; }
.section-title { font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; text-align: center; }
.section-sub { color: var(--muted); text-align: center; max-width: 580px; margin: 12px auto 46px; }

/* Industry grid (the app store) */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.tile { position: relative; background: var(--card); border: 1px solid var(--card-edge); border-radius: var(--radius); padding: 26px 22px; transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s; display: flex; flex-direction: column; overflow: hidden; }
.tile::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px at var(--mx, 50%) var(--my, 0%), rgba(255, 138, 30, 0.08), transparent 60%); opacity: 0; transition: opacity 0.25s; pointer-events: none; }
.tile:hover { border-color: rgba(255, 138, 30, 0.55); transform: translateY(-4px); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35); }
.tile:hover::before { opacity: 1; }
.tile .icon { font-size: 2rem; }
.tile h3 { margin: 12px 0 6px; font-size: 1.15rem; }
.tile p { color: var(--muted); font-size: 0.92rem; margin-bottom: 14px; }
.tile .thumb { margin: -26px -22px 18px; height: 140px; overflow: hidden; }
.tile .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.tile:hover .thumb img { transform: scale(1.06); }
/* margin-top:auto pins the badge to the bottom so badges line up across a row */
.tile .status { display: inline-block; margin-top: auto; align-self: flex-start; font-size: 0.78rem; font-weight: 700; padding: 4px 12px; border-radius: 99px; }
.status.live { background: rgba(52, 211, 153, 0.13); color: var(--green); }
.status.live::before { content: "●"; margin-right: 6px; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.status.soon { background: var(--bg-raise); color: var(--muted); }

/* Employee cards */
.employee-card { background: linear-gradient(160deg, var(--card), #171e2a); border: 1px solid var(--card-edge); border-radius: var(--radius); padding: 34px; display: flex; gap: 30px; align-items: flex-start; flex-wrap: wrap; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); }
.avatar { width: 128px; height: 128px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 3px solid var(--accent); box-shadow: 0 0 0 6px rgba(255, 138, 30, 0.15), 0 12px 30px rgba(0, 0, 0, 0.45); position: relative; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar .online-dot { position: absolute; bottom: 8px; right: 8px; width: 18px; height: 18px; border-radius: 50%; background: var(--green); border: 3px solid var(--card); animation: pulse 1.6s ease-in-out infinite; }
.employee-card .info { flex: 1; min-width: 250px; }
.employee-card h3 { font-size: 1.45rem; }
.employee-card .role { color: var(--accent); font-weight: 600; font-size: 0.95rem; margin-bottom: 12px; }
.capabilities { list-style: none; margin: 14px 0 20px; }
.capabilities li { padding-left: 26px; position: relative; color: var(--muted); margin-bottom: 7px; font-size: 0.95rem; }
.capabilities li::before { content: "✓"; color: var(--green); position: absolute; left: 0; font-weight: 700; }

/* Demo call panel */
.demo-panel { background: rgba(13, 17, 23, 0.55); border: 1px solid var(--card-edge); border-radius: var(--radius); padding: 24px; text-align: center; min-width: 260px; backdrop-filter: blur(6px); }
.demo-panel .hint { color: var(--muted); font-size: 0.85rem; margin-top: 12px; }
.demo-status { margin-top: 12px; font-size: 0.9rem; min-height: 1.4em; color: var(--muted); }
.demo-status.on { color: var(--green); }
.demo-status.err { color: var(--danger); }
#demo-call-btn { position: relative; }
#demo-call-btn.calling { background: var(--danger); color: #fff; box-shadow: 0 0 0 0 rgba(248, 113, 113, 0.5); animation: ring 1.4s ease-out infinite; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(248, 113, 113, 0.45); } 100% { box-shadow: 0 0 0 22px rgba(248, 113, 113, 0); } }

/* Scene banner (industry pages) */
.scene { position: relative; border-radius: var(--radius); overflow: hidden; margin-top: 46px; }
.scene img { width: 100%; height: 320px; object-fit: cover; }
.scene .caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 26px; background: linear-gradient(to top, rgba(13, 17, 23, 0.92), transparent); font-weight: 600; }
.scene .caption small { display: block; color: var(--muted); font-weight: 400; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; counter-reset: step; }
.step { background: var(--card); border: 1px solid var(--card-edge); border-radius: var(--radius); padding: 26px 22px; transition: transform 0.2s, border-color 0.2s; }
.step:hover { transform: translateY(-3px); border-color: rgba(255, 138, 30, 0.4); }
.step::before { counter-increment: step; content: counter(step); display: flex; width: 38px; height: 38px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 800; align-items: center; justify-content: center; margin-bottom: 14px; }
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 0.92rem; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; align-items: stretch; }
.plan { background: var(--card); border: 1px solid var(--card-edge); border-radius: var(--radius); padding: 30px 26px; display: flex; flex-direction: column; transition: transform 0.2s, box-shadow 0.2s; }
.plan:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35); }
.plan.featured { border-color: var(--accent); position: relative; background: linear-gradient(170deg, rgba(255, 138, 30, 0.07), var(--card) 45%); }
.plan.featured::before { content: "Most popular"; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #14100a; font-size: 0.75rem; font-weight: 800; padding: 3px 14px; border-radius: 99px; }
.plan h3 { font-size: 1.15rem; }
.price { font-size: 2.3rem; font-weight: 800; margin: 10px 0 2px; }
.price small { font-size: 0.95rem; color: var(--muted); font-weight: 400; }
.plan ul { list-style: none; margin: 18px 0 26px; flex: 1; }
.plan li { padding-left: 24px; position: relative; color: var(--muted); font-size: 0.93rem; margin-bottom: 8px; }
.plan li::before { content: "✓"; color: var(--green); position: absolute; left: 0; }

/* Forms */
.lead-form { max-width: 520px; margin: 0 auto; display: grid; gap: 14px; }
.lead-form input, .lead-form select, .lead-form textarea { background: var(--bg-raise); border: 1px solid var(--card-edge); color: var(--text); border-radius: 12px; padding: 13px 16px; font-size: 1rem; font-family: var(--font); width: 100%; transition: border-color 0.15s, box-shadow 0.15s; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255, 138, 30, 0.15); }
.form-status { text-align: center; min-height: 1.4em; font-size: 0.95rem; }
.form-status.ok { color: var(--green); }
.form-status.err { color: var(--danger); }

/* Footer */
footer { border-top: 1px solid var(--card-edge); padding: 40px 0; color: var(--muted); font-size: 0.88rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.disclosure { max-width: 560px; }
.disclosure a, .form-note a, .demo-panel .hint a, .prose a { color: var(--accent); text-decoration: underline; }

/* Form notice, privacy policy and admin */
.form-note { color: var(--muted); font-size: 0.85rem; text-align: center; margin: 0; }
.prose { max-width: 760px; }
.prose h1 { margin-bottom: 8px; }
.prose h2 { font-size: 1.25rem; margin: 32px 0 10px; }
.prose p, .prose li { color: var(--muted); margin-bottom: 10px; }
.prose ul { padding-left: 22px; }
.prose strong { color: var(--text); }
.prose .updated { font-size: 0.88rem; }
.admin-table-wrap { overflow-x: auto; margin-top: 28px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.admin-table th, .admin-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--card-edge); vertical-align: top; }

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav .logo { font-size: 1rem; line-height: 1.15; }
  .nav .btn { padding: 8px 14px; font-size: 0.875rem; white-space: nowrap; flex-shrink: 0; }
  .hero { padding: 64px 0 48px; }
  section { padding: 48px 0; }
  .scene img { height: 200px; }
}
