/* Colors match apps/maintenance/ios/HotelCraft/Theme.swift */
:root {
  --bg: #050B10;
  --surface: #0B141B;
  --surface-2: #101B23;
  --line: #263640;
  --text: #F5F7F8;
  --muted: #AEB8C1;
  --blue: #278CFF;
  --red: #FF4545;
  --orange: #FF7B19;
  --yellow: #FFC400;
  --green: #2FC968;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Roboto, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; line-height: 1.15; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(5, 11, 16, 0.85);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; }
.logo {
  display: grid; place-items: center; width: 34px; height: 34px;
  border-radius: 9px; background: #09141C; border: 1px solid #355063;
  color: var(--blue); font-weight: 900; font-size: 17px;
}
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 15px; color: var(--muted); }
.nav-links a:not(.btn):hover { color: var(--text); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 22px; border-radius: 10px;
  font-weight: 800; font-size: 16px; border: 1px solid transparent;
  transition: background .15s, border-color .15s;
}
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; color: var(--text); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #4a9fff; }
.btn-ghost { border-color: var(--line); background: var(--surface); color: var(--text); }
.btn-ghost:hover { border-color: #355063; background: var(--surface-2); }
.btn:focus-visible, .nav-links a:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* hero */
.hero {
  padding: 96px 0 88px;
  background:
    radial-gradient(60% 70% at 80% 0%, rgba(39, 140, 255, 0.16), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(47, 201, 104, 0.07), transparent 70%);
}
.hero-inner { max-width: 760px; }
.eyebrow { margin: 0 0 14px; color: var(--blue); font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.hero h1 { font-size: clamp(36px, 6vw, 60px); font-weight: 900; }
.accent { color: var(--blue); }
.lead { margin: 22px 0 32px; font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); max-width: 620px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.fine { margin: 16px 0 0; font-size: 14px; color: var(--muted); }

/* sections */
.section { padding: 80px 0; border-top: 1px solid var(--line); }
.section-alt { background: var(--surface); }
.section h2 { font-size: clamp(28px, 4vw, 38px); font-weight: 900; }
.section-lead { margin: 10px 0 0; color: var(--muted); font-size: 17px; }

/* department cards */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-bottom: 14px; }
.card h3 { font-size: 19px; font-weight: 800; flex: 1 1 auto; min-width: 0; }
.card ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 15px; }
.card li + li { margin-top: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.dot-blue { background: var(--blue); }
.dot-green { background: var(--green); }
.dot-yellow { background: var(--yellow); }
.dot-red { background: var(--red); }
.tag {
  font-size: 12px; font-weight: 800; padding: 3px 9px; border-radius: 999px;
  color: var(--muted); background: var(--surface-2); border: 1px solid var(--line); white-space: nowrap;
}
.tag-live { color: var(--green); border-color: rgba(47, 201, 104, 0.4); background: rgba(47, 201, 104, 0.1); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; margin-top: 36px; }
.num {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
  background: rgba(39, 140, 255, 0.14); color: var(--blue); font-weight: 900; margin-bottom: 14px;
}
.step h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); }

/* CTA band */
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); font-size: 14px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

@media (max-width: 640px) {
  .grid { grid-template-columns: 1fr; }
  .nav-links a:not(.btn) { display: none; }
  .hero { padding: 64px 0 56px; }
  .section { padding: 56px 0; }
  .cta-row .btn { flex: 1 1 100%; }
}
