:root {
  --primary: #0A84FF;
  --primary-dark: #2563EB;
  --sky: #0EA5E9;
  --bg: #F0EEE9;
  --surface: #FFFFFF;
  --surface-2: #F2F2F7;
  --separator: #E5E5E5;
  --label: #1A1A1A;
  --label-2: rgba(0,0,0,.6);
  --label-3: rgba(0,0,0,.4);
  --green: #34C759;
  --orange: #FF9500;
  --purple: #5E5CE6;
  --red: #E11D48;
  --radius: 16px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--label);
  letter-spacing: -0.1px;
  line-height: 1.55;
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ── Nav ── */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(240,238,233,.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--separator);
}
nav { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; text-decoration: none; color: var(--label); white-space: nowrap; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.brand span b { color: var(--primary-dark); font-weight: 800; }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--label-2); font-size: 15px; font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: var(--label); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary); color: #fff;
  padding: 11px 22px; border-radius: 999px;
  font-size: 15px; font-weight: 600; text-decoration: none;
  transition: background .15s, transform .15s;
}
.btn:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--primary-dark); border: 1.5px solid var(--primary-dark); }
.btn.ghost:hover { background: rgba(37,99,235,.08); }

/* ── Language switch ── */
.lang-switch { display: inline-flex; border: 1px solid var(--separator); border-radius: 999px; padding: 2px; background: var(--surface); }
.lang-switch a { padding: 3px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: var(--label-2) !important; text-decoration: none; }
.lang-switch a.active { background: var(--label); color: #fff !important; }

/* ── Hero (product pages) ── */
.hero { padding: 72px 0 40px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 800; letter-spacing: -1.5px; line-height: 1.08; }
.hero h1 em, .hero-brand h1 em { font-style: normal; background: linear-gradient(90deg, var(--sky), var(--primary-dark)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { margin: 20px 0 32px; font-size: 19px; color: var(--label-2); max-width: 46ch; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-note { margin-top: 14px; font-size: 13px; color: var(--label-3); }

/* ── Hero (brand home) ── */
.hero-brand { padding: 84px 0 8px; text-align: center; }
.hero-brand h1 { font-size: clamp(36px, 5.5vw, 58px); font-weight: 800; letter-spacing: -1.6px; line-height: 1.08; }
.hero-brand p.lead { margin: 20px auto 0; font-size: 19px; color: var(--label-2); max-width: 58ch; }

/* ── Product cards ── */
.product-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 52px; }
.product-card {
  background: var(--surface); border: 1px solid var(--separator); border-radius: 24px;
  padding: 38px 34px; display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.08); }
.product-card .app-icon { width: 74px; height: 74px; border-radius: 18px; margin-bottom: 20px; box-shadow: 0 8px 18px rgba(30,64,175,.18); }
.product-card .who { color: var(--primary-dark); font-weight: 700; font-size: 12.5px; text-transform: uppercase; letter-spacing: .6px; }
.product-card h3 { font-size: 25px; font-weight: 800; letter-spacing: -0.6px; margin: 4px 0 6px; }
.product-card > p { color: var(--label-2); font-size: 15.5px; }
.product-card ul { list-style: none; margin: 18px 0 26px; display: flex; flex-direction: column; gap: 9px; color: var(--label-2); font-size: 15px; }
.product-card ul li::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: 9px; }
.product-card .btn { margin-top: auto; align-self: flex-start; }

/* ── Phone mockup ── */
.phone-wrap { display: flex; justify-content: center; }
.phone {
  width: 300px; background: #111; border-radius: 44px; padding: 12px;
  box-shadow: 0 30px 60px rgba(30,64,175,.25), 0 8px 20px rgba(0,0,0,.15);
  transform: rotate(2deg);
}
.screen { background: var(--bg); border-radius: 34px; overflow: hidden; padding: 18px 14px 20px; }
.screen .app-title { font-size: 17px; font-weight: 700; text-align: center; margin-bottom: 12px; }
.cal { background: var(--surface); border: 1px solid var(--separator); border-radius: 14px; padding: 12px; }
.cal .month { font-size: 13px; font-weight: 600; margin-bottom: 8px; display: flex; justify-content: space-between; color: var(--label-2); }
.cal .days { display: grid; grid-template-columns: repeat(7,1fr); gap: 4px; font-size: 10px; text-align: center; color: var(--label-3); margin-bottom: 6px; font-weight: 600; }
.cal .grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 4px; }
.cell { aspect-ratio: 1; border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 10px; background: var(--surface-2); color: var(--label-2); }
.cell .n { font-weight: 600; font-size: 11px; }
.cell .t { font-size: 7px; font-weight: 700; letter-spacing: 0; }
.cell.utic, .wchip.utic { background: #FEE2E7; color: #E11D48; }
.cell.nott, .wchip.nott { background: #F5F5F5; color: #525252; }
.cell.emo,  .wchip.emo  { background: #CFFAFE; color: #0891B2; }
.cell.fer,  .wchip.fer  { background: #F0FDF4; color: #16A34A; }
.cell.rip,  .wchip.rip  { background: #FAFAFA; color: #A3A3A3; }
.cell.today { outline: 2px solid var(--primary); }
.shift-card { margin-top: 10px; background: var(--surface); border: 1px solid var(--separator); border-radius: 14px; padding: 10px 12px; display: flex; align-items: center; gap: 10px; }
.shift-dot { width: 34px; height: 34px; border-radius: 9px; background: #FEE2E7; color: #E11D48; font-size: 9px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.shift-card .info { flex: 1; }
.shift-card .info b { font-size: 12px; display: block; }
.shift-card .info span { font-size: 10px; color: var(--label-3); }
.badge-ok { font-size: 9px; font-weight: 700; color: #16A34A; background: #F0FDF4; padding: 3px 8px; border-radius: 999px; }

/* ── Desktop window mockup (Manager) ── */
.window-wrap { display: flex; justify-content: center; }
.window {
  width: 100%; max-width: 460px; background: var(--surface);
  border: 1px solid var(--separator); border-radius: 14px; overflow: hidden;
  box-shadow: 0 30px 60px rgba(30,64,175,.22), 0 8px 20px rgba(0,0,0,.12);
}
.titlebar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: var(--surface-2); border-bottom: 1px solid var(--separator); }
.titlebar .dot { width: 11px; height: 11px; border-radius: 50%; }
.titlebar .dot.r { background: #FF5F57; } .titlebar .dot.y { background: #FEBC2E; } .titlebar .dot.g { background: #28C840; }
.titlebar .wtitle { flex: 1; text-align: center; font-size: 12px; font-weight: 600; color: var(--label-2); margin-right: 40px; }
.wgrid { display: grid; grid-template-columns: 82px repeat(5, 1fr); font-size: 10.5px; }
.wgrid .wcell { padding: 8px 5px; border-bottom: 1px solid var(--separator); text-align: center; display: flex; align-items: center; justify-content: center; }
.wgrid .whead { font-weight: 700; color: var(--label-3); font-size: 10px; text-transform: uppercase; letter-spacing: .3px; background: var(--surface); }
.wgrid .wname { justify-content: flex-start; font-weight: 600; padding-left: 12px; }
.wchip { border-radius: 6px; font-weight: 800; font-size: 9px; padding: 4px 0; width: 90%; text-align: center; }
.wfooter { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; }
.wfooter .pending { font-size: 11px; color: var(--label-2); }
.wfooter .publish { background: var(--primary); color: #fff; font-size: 11px; font-weight: 700; padding: 6px 14px; border-radius: 999px; }

/* ── Sections ── */
section { padding: 72px 0; scroll-margin-top: 64px; }
.section-tag { display: inline-block; font-size: 13px; font-weight: 700; color: var(--primary-dark); background: rgba(37,99,235,.1); padding: 5px 14px; border-radius: 999px; margin-bottom: 14px; }
h2 { font-size: clamp(26px, 3.5vw, 38px); font-weight: 800; letter-spacing: -1px; line-height: 1.15; }
.section-sub { margin-top: 12px; font-size: 17px; color: var(--label-2); max-width: 60ch; }

.features-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: var(--surface); border: 1px solid var(--separator); border-radius: var(--radius);
  padding: 26px; transition: transform .2s, box-shadow .2s;
}
.feature:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,.07); }
.feature .icon { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 22px; }
.feature h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature p { font-size: 14.5px; color: var(--label-2); }

/* ── Steps ── */
.steps { margin-top: 44px; display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--separator); border-radius: var(--radius); padding: 28px 26px; position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 999px;
  background: linear-gradient(135deg, var(--sky), var(--primary-dark));
  color: #fff; font-weight: 800; font-size: 17px; margin-bottom: 16px;
}
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--label-2); }

/* ── Banner (cross-product CTA) ── */
.banner {
  background: linear-gradient(135deg, #1E3A8A, var(--primary-dark) 55%, var(--sky));
  border-radius: 28px; color: #fff; padding: 56px 48px;
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center;
}
.banner h2 { color: #fff; }
.banner p { color: rgba(255,255,255,.85); margin-top: 12px; font-size: 16.5px; }
.banner .btn { background: #fff; color: var(--primary-dark); margin-top: 26px; }
.banner .btn:hover { background: #EFF6FF; }
.banner-visual { display: flex; justify-content: center; }
.banner-visual .board { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); border-radius: 18px; padding: 18px; width: 100%; max-width: 320px; backdrop-filter: blur(6px); }
.board .row { display: flex; align-items: center; gap: 10px; padding: 9px 6px; border-bottom: 1px solid rgba(255,255,255,.15); font-size: 13px; }
.board .row:last-child { border-bottom: 0; }
.board .pill { font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: 999px; margin-left: auto; }
.pill.ok { background: #BBF7D0; color: #14532D; }
.pill.wait { background: #FDE68A; color: #713F12; }

/* ── Download ── */
.download { text-align: center; }
.store-badges { margin-top: 32px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: #111; color: #fff; text-decoration: none;
  padding: 12px 24px; border-radius: 14px; transition: transform .15s, opacity .15s;
}
.store-badge:hover { transform: translateY(-2px); opacity: .9; }
.store-badge svg { width: 28px; height: 28px; }
.store-badge .txt { text-align: left; line-height: 1.2; }
.store-badge .txt small { font-size: 11px; opacity: .8; display: block; }
.store-badge .txt b { font-size: 17px; }
.coming-soon { margin-top: 16px; font-size: 13px; color: var(--label-3); }

/* ── Footer ── */
footer { border-top: 1px solid var(--separator); padding: 36px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
footer .brand { font-size: 15px; }
footer .brand img { width: 26px; height: 26px; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { font-size: 13.5px; color: var(--label-2); text-decoration: none; }
.footer-links a:hover { color: var(--label); }
.copyright { font-size: 12.5px; color: var(--label-3); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 48px; }
  .hero p.lead { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .phone { transform: rotate(0); }
  .features-grid, .steps, .product-cards { grid-template-columns: 1fr; }
  .banner { grid-template-columns: 1fr; padding: 40px 28px; }
  .nav-links a:not(.btn):not(.lang-switch a) { display: none; }
  .nav-links .lang-switch { display: inline-flex; }
  .nav-links .lang-switch a { display: inline-block; }
}
