/* ============ Design tokens ============ */
:root {
  --ink: #0e1730;
  --ink-soft: #46536e;
  --blue: #0a5aa9;
  --teal: #00aec9;
  --indigo: #5227f5;
  --grad: linear-gradient(135deg, #0a54a8 0%, #00aec9 100%);
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --line: #e3e9f2;
  --radius: 18px;
  --shadow-sm: 0 1px 2px rgba(14, 23, 48, 0.06), 0 4px 12px rgba(14, 23, 48, 0.06);
  --shadow-lg: 0 8px 24px rgba(14, 23, 48, 0.1), 0 24px 64px rgba(14, 23, 48, 0.12);
  --font-head: "Sora", sans-serif;
  --font-body: "Inter", sans-serif;
}

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

html { scroll-behavior: smooth; }

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

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-lg { padding: 15px 32px; font-size: 16px; }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 4px 14px rgba(10, 90, 169, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(10, 90, 169, 0.45); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--teal); color: var(--blue); }

.btn-light {
  background: #fff;
  color: var(--ink);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25); }

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

/* ============ Nav ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.nav-logo img { height: 34px; width: auto; }

.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--ink); }

.nav-cta { display: flex; align-items: center; gap: 12px; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.nav-burger span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* ============ Hero ============ */
.hero {
  position: relative;
  padding: 88px 0 0;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(0, 174, 201, 0.12), transparent 60%),
    radial-gradient(800px 500px at -5% 20%, rgba(82, 39, 245, 0.07), transparent 55%),
    var(--bg);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  background: rgba(10, 90, 169, 0.08);
  border: 1px solid rgba(10, 90, 169, 0.15);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.hero-eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 174, 201, 0.2);
}

.hero h1 {
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 800;
  margin-bottom: 22px;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }

.hero-points {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  list-style: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
}
.hero-points li { display: flex; align-items: center; gap: 7px; }
.hero-points li::before {
  content: "";
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--grad);
  -webkit-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3.4" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center / contain no-repeat;
  mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3.4" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center / contain no-repeat;
}

.hero-media { position: relative; }

.hero-photo {
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

.hero-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(227, 233, 242, 0.9);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  font-size: 13px;
  min-width: 230px;
}
.hero-card strong { display: block; font-size: 13.5px; }
.hero-card span { color: var(--ink-soft); font-size: 12.5px; }

.hero-card-job { bottom: 130px; left: -28px; animation: float 5s ease-in-out infinite; }
.hero-card-ava { bottom: 28px; right: -18px; animation: float 5s ease-in-out 1.2s infinite; }

.hero-card-icon {
  width: 36px; height: 36px;
  flex: none;
  border-radius: 10px;
  background: var(--grad);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}
.hero-card-ava img { width: 36px; height: 36px; object-fit: contain; flex: none; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-board {
  margin-top: 72px;
  padding-bottom: 8px;
}
.hero-board img {
  width: 100%;
  filter: drop-shadow(0 30px 60px rgba(14, 23, 48, 0.18));
}

/* ============ Pillars ============ */
.pillars {
  padding: 88px 0;
  background: var(--bg);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pillar {
  padding: 34px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }

.pillar-icon {
  width: 48px; height: 48px;
  border-radius: 13px;
  background: var(--grad);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.pillar-icon svg { width: 24px; height: 24px; }

.pillar h3 { font-size: 19px; margin-bottom: 10px; }
.pillar p { color: var(--ink-soft); font-size: 15px; }

/* ============ Section headers ============ */
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 700;
  margin-bottom: 16px;
}

.section-head p { color: var(--ink-soft); font-size: 17px; }

/* ============ Products ============ */
.products {
  padding: 96px 0;
  background: var(--bg-soft);
}

.product-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 44px 40px;
  box-shadow: var(--shadow-sm);
}

.product-card-dark {
  background: linear-gradient(160deg, #0e1730 0%, #14224a 100%);
  border-color: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.product-card-dark p, .product-card-dark li { color: #fff; }

.product-logo { height: 44px; width: auto; margin-bottom: 26px; }
.product-card-dark .product-logo {
  background: #fff;
  padding: 8px 14px;
  border-radius: 12px;
  height: 48px;
}

.product-card h3 { font-size: 23px; margin-bottom: 14px; }
.product-card p { color: var(--ink-soft); margin-bottom: 22px; font-size: 15.5px; }

.product-card ul { list-style: none; display: grid; gap: 10px; }
.product-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--ink-soft);
  font-weight: 500;
}
.product-card li::before {
  content: "";
  flex: none;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: var(--teal);
  -webkit-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3.4" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center / contain no-repeat;
  mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3.4" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center / contain no-repeat;
}

/* ============ How it works ============ */
.how { padding: 96px 0; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
}

.step {
  position: relative;
  padding: 36px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 20px;
}

.step h3 { font-size: 19px; margin-bottom: 10px; }
.step p { color: var(--ink-soft); font-size: 15px; }

/* ============ Features ============ */
.features {
  padding: 96px 0;
  background: var(--bg-soft);
}

.feature-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
  padding: 44px 0;
}
.feature-row + .feature-row { border-top: 1px solid var(--line); }

.feature-row-flip .feature-copy { order: 2; }
.feature-row-flip .feature-media { order: 1; }

.feature-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--indigo);
  background: rgba(82, 39, 245, 0.08);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.feature-copy h3 {
  font-size: clamp(24px, 2.6vw, 31px);
  margin-bottom: 14px;
}
.feature-copy > p { color: var(--ink-soft); margin-bottom: 20px; font-size: 16px; }

.check-list { list-style: none; display: grid; gap: 11px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
}
.check-list li::before {
  content: "";
  flex: none;
  margin-top: 3px;
  width: 17px; height: 17px;
  background: var(--grad);
  -webkit-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10" fill="black" stroke="none"/></svg>') center / contain no-repeat;
  mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none"><circle cx="12" cy="12" r="10" fill="black"/><path d="M16.5 9 10.5 15l-3-3" stroke="white" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round" fill="none"/></svg>') center / contain no-repeat;
}

.browser-frame {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  background: #fff;
}

.browser-bar {
  display: flex;
  gap: 7px;
  padding: 11px 14px;
  background: #eef2f8;
  border-bottom: 1px solid var(--line);
}
.browser-bar span {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: #d3dbe7;
}
.browser-bar span:first-child { background: #f8837e; }
.browser-bar span:nth-child(2) { background: #f5c04c; }
.browser-bar span:nth-child(3) { background: #66c962; }

/* ============ Ava ============ */
.ava {
  padding: 104px 0;
  background:
    radial-gradient(900px 500px at 90% 0%, rgba(0, 174, 201, 0.14), transparent 55%),
    radial-gradient(700px 500px at 0% 100%, rgba(82, 39, 245, 0.16), transparent 55%),
    linear-gradient(160deg, #0b1226 0%, #101c3f 100%);
  color: #fff;
}

.ava-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.ava-logo {
  height: 46px;
  width: auto;
  background: #fff;
  padding: 8px 14px;
  border-radius: 12px;
  margin-bottom: 28px;
}

.ava-copy h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  margin-bottom: 16px;
}
.ava-copy > p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 17px;
  margin-bottom: 34px;
  max-width: 460px;
}

.ava-modes { display: grid; gap: 18px; }

.ava-mode {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 17px 19px;
}

.ava-mode-icon {
  flex: none;
  width: 42px; height: 42px;
  border-radius: 11px;
  background: var(--grad);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ava-mode-icon svg { width: 21px; height: 21px; }

.ava-mode strong { display: block; font-family: var(--font-head); font-size: 15.5px; margin-bottom: 3px; }
.ava-mode span { color: rgba(255, 255, 255, 0.65); font-size: 14px; line-height: 1.5; }

.ava-media { position: relative; }

.ava-photo {
  border-radius: 22px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.ava-chat {
  position: absolute;
  bottom: -30px;
  left: -14px;
  right: 34px;
  display: grid;
  gap: 10px;
}

.ava-chat-msg {
  border-radius: 15px;
  padding: 13px 17px;
  font-size: 13.5px;
  line-height: 1.5;
  box-shadow: var(--shadow-lg);
  max-width: 88%;
}

.ava-chat-user {
  justify-self: end;
  background: var(--grad);
  color: #fff;
  border-bottom-right-radius: 5px;
}

.ava-chat-bot {
  justify-self: start;
  background: #fff;
  color: var(--ink);
  border-bottom-left-radius: 5px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.ava-chat-bot img { width: 24px; height: 24px; object-fit: contain; flex: none; margin-top: 2px; }

/* ============ Mobile ============ */
.mobile { padding: 128px 0 96px; }

.mobile-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.mobile-media {
  position: relative;
  height: 560px;
}

.phone-frame {
  position: absolute;
  width: 250px;
  border-radius: 34px;
  overflow: hidden;
  border: 9px solid #10182b;
  box-shadow: var(--shadow-lg);
  background: #10182b;
}
.phone-frame img { border-radius: 24px; }

.phone-back { left: 8%; top: 0; transform: rotate(-5deg); }
.phone-front { right: 8%; bottom: 0; transform: rotate(4deg); z-index: 2; }

.mobile-copy h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 16px; }
.mobile-copy > p { color: var(--ink-soft); font-size: 17px; margin-bottom: 24px; }

/* ============ CTA ============ */
.cta {
  padding: 40px 24px 96px;
}

.cta-inner {
  position: relative;
  text-align: center;
  background:
    radial-gradient(700px 400px at 80% -20%, rgba(0, 174, 201, 0.25), transparent 60%),
    radial-gradient(600px 400px at 10% 120%, rgba(82, 39, 245, 0.3), transparent 60%),
    linear-gradient(160deg, #0b1226 0%, #12204a 100%);
  border-radius: 28px;
  padding: 84px 40px;
  color: #fff;
  overflow: hidden;
}

.cta-mark {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin: 0 auto 26px;
}

.cta-inner h2 { font-size: clamp(30px, 3.8vw, 44px); margin-bottom: 16px; }
.cta-inner p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  max-width: 540px;
  margin: 0 auto 36px;
}

.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============ Footer ============ */
.footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 0;
  background: var(--bg);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand img { height: 32px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: var(--ink-soft); font-size: 14.5px; max-width: 320px; }

.footer-col h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  margin-bottom: 11px;
  transition: color 0.15s ease;
}
.footer-col a:hover { color: var(--blue); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 22px;
  padding-bottom: 26px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 13.5px;
}

/* ============ Demo modal ============ */
.modal-overlay[hidden] { display: none; }

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(11, 18, 38, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.modal-overlay.open { opacity: 1; }

.modal {
  position: relative;
  width: 100%;
  max-width: 540px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: #fff;
  border-radius: 22px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  transform: translateY(14px) scale(0.98);
  transition: transform 0.2s ease;
}
.modal-overlay.open .modal { transform: none; }

.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 36px; height: 36px;
  border: none;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--ink-soft);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.modal-close:hover { background: var(--line); color: var(--ink); }

.modal-mark { width: 44px; height: 44px; object-fit: contain; margin-bottom: 16px; }

.modal h3 { font-size: 26px; margin-bottom: 8px; }
.modal-sub { color: var(--ink-soft); font-size: 15px; margin-bottom: 26px; }

.modal form { display: grid; gap: 16px; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.modal label { display: grid; gap: 6px; }
.modal label span {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.modal input,
.modal textarea {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: 11px;
  background: var(--bg-soft);
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease;
  width: 100%;
  resize: vertical;
}
.modal input:focus,
.modal textarea:focus {
  border-color: var(--teal);
  background: #fff;
}

.slot-picker { display: grid; gap: 10px; }

.slot-label {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.slot-days {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.slot-times {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 8px;
}

.slot-chip {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--bg-soft);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 9px 13px;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.slot-chip:hover { border-color: var(--teal); color: var(--blue); }
.slot-chip.active {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
}

.slot-custom {
  display: flex;
  align-items: center;
  gap: 10px;
}
.slot-custom > span {
  font-size: 13px;
  color: var(--ink-soft);
  white-space: nowrap;
}
.slot-custom input[type="date"] {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--bg-soft);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.slot-custom input[type="date"]:hover,
.slot-custom input[type="date"]:focus {
  border-color: var(--teal);
  color: var(--blue);
  outline: none;
}

.slot-empty { font-size: 13.5px; color: var(--ink-soft); }

.slot-note { font-size: 12.5px; color: var(--ink-soft); }

.modal-submit { width: 100%; margin-top: 4px; }
.modal-submit[disabled] { opacity: 0.6; cursor: wait; transform: none !important; }

.form-status { font-size: 14px; text-align: center; min-height: 20px; }
.form-status.ok { color: #0c7a43; font-weight: 500; }
.form-status.err { color: #c0392b; font-weight: 500; }

body.modal-open { overflow: hidden; }

@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
  .modal { padding: 30px 22px; }
}

/* ============ Product pages ============ */
.nav-links a.active { color: var(--ink); }

.product-link {
  display: inline-block;
  margin-top: 24px;
  font-family: var(--font-head);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  transition: color 0.15s ease;
}
.product-link:hover { color: var(--teal); }
.product-card-dark .product-link { color: #8fd8e8; }
.product-card-dark .product-link:hover { color: #fff; }

.hero-page { padding-bottom: 96px; }

.hero-logo { height: 46px; width: auto; margin-bottom: 26px; }

.hero-dark {
  background:
    radial-gradient(900px 500px at 90% 0%, rgba(0, 174, 201, 0.14), transparent 55%),
    radial-gradient(700px 500px at 0% 100%, rgba(82, 39, 245, 0.16), transparent 55%),
    linear-gradient(160deg, #0b1226 0%, #101c3f 100%);
  color: #fff;
}
.hero-dark .hero-sub { color: rgba(255, 255, 255, 0.72); }
.hero-dark .hero-points { color: rgba(255, 255, 255, 0.7); }
.hero-dark .hero-eyebrow {
  color: #8fd8e8;
  background: rgba(0, 174, 201, 0.12);
  border-color: rgba(0, 174, 201, 0.35);
}
.hero-dark .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.hero-dark .btn-ghost:hover { border-color: #fff; color: #fff; }
.hero-dark .hero-logo {
  background: #fff;
  padding: 8px 14px;
  border-radius: 12px;
  height: 48px;
}

.steps-four { grid-template-columns: repeat(4, 1fr); }

.hero-media-phone,
.feature-media-phone {
  display: flex;
  justify-content: center;
}
.hero-media-phone .phone-frame,
.feature-media-phone .phone-frame {
  position: static;
  transform: none;
  width: 260px;
}

@media (max-width: 1100px) {
  .steps-four { grid-template-columns: repeat(2, 1fr); }
}

/* ============ Reveal animations ============ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-card { animation: none; }
}

/* ============ Responsive ============ */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-card-job { left: 8px; }
  .hero-card-ava { right: 8px; }
  .pillars-grid, .steps { grid-template-columns: 1fr; }
  .product-cards { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 32px; }
  .feature-row-flip .feature-copy { order: 1; }
  .feature-row-flip .feature-media { order: 2; }
  .ava-inner { grid-template-columns: 1fr; }
  .ava-chat { position: static; margin-top: 18px; }
  .mobile-inner { grid-template-columns: 1fr; }
  .mobile-media { height: 500px; max-width: 470px; margin: 0 auto; width: 100%; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 16px;
    box-shadow: var(--shadow-sm);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; }
  .nav-burger { display: flex; }
  .nav-cta .btn { padding: 10px 18px; font-size: 14px; }

  .hero { padding-top: 56px; }
  .hero-board { margin-top: 48px; }
  .phone-frame { width: 200px; }
  .mobile-media { height: 430px; }
  .cta { padding: 24px 16px 64px; }
  .cta-inner { padding: 64px 24px; }
}
