:root {
  --ink: #16233b;
  --ink-soft: #546077;
  --navy: #0d1b32;
  --navy-2: #142948;
  --cream: #f7f1e6;
  --paper: #fffdf8;
  --gold: #dba83d;
  --gold-light: #f3cb70;
  --blue: #169fda;
  --green: #1a9d50;
  --red: #df2929;
  --line: rgba(20, 38, 68, .11);
  --shadow: 0 28px 80px rgba(19, 32, 55, .14);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.section-shell { width: min(1210px, calc(100% - 48px)); margin-inline: auto; }

.ambient {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  pointer-events: none;
  opacity: .55;
}
.ambient-one {
  width: 520px;
  height: 520px;
  top: 84px;
  right: -170px;
  background: radial-gradient(circle, rgba(231, 184, 77, .26), rgba(231, 184, 77, 0) 70%);
}
.ambient-two {
  width: 450px;
  height: 450px;
  top: 520px;
  left: -250px;
  background: radial-gradient(circle, rgba(30, 153, 218, .14), rgba(30, 153, 218, 0) 70%);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  padding: 22px 0;
  transition: padding .25s ease, background .25s ease, box-shadow .25s ease;
}
.site-header.scrolled {
  padding: 12px 0;
  background: rgba(247, 241, 230, .88);
  box-shadow: 0 8px 36px rgba(14, 26, 46, .08);
  backdrop-filter: blur(18px);
}
.nav-shell {
  width: min(1280px, calc(100% - 48px));
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.home-brand { display: inline-flex; align-items: center; gap: 12px; }
.home-brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: var(--navy);
  background: linear-gradient(145deg, var(--gold-light), var(--gold));
  box-shadow: 0 10px 25px rgba(180, 127, 24, .25);
  font-size: 22px;
}
.home-brand > span:last-child { display: grid; line-height: 1.12; }
.home-brand strong { font-size: 15px; letter-spacing: -.01em; }
.home-brand small { margin-top: 5px; color: #7b7469; font-size: 11px; }
.main-nav { display: flex; align-items: center; gap: 27px; font-size: 13px; font-weight: 700; }
.main-nav > a:not(.nav-reader):not(.nav-admin) { color: #5b6474; }
.main-nav > a:not(.nav-reader):not(.nav-admin):hover { color: var(--ink); }
.nav-reader {
  padding: 12px 17px;
  border: 1px solid rgba(21, 35, 58, .13);
  border-radius: 13px;
  background: rgba(255, 255, 255, .45);
}
.nav-admin {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 18px;
  border-radius: 13px;
  color: #fff;
  background: var(--navy);
  box-shadow: 0 10px 25px rgba(13, 27, 50, .2);
}
.nav-admin span { color: var(--gold-light); font-size: 17px; transition: transform .2s ease; }
.nav-admin:hover span { transform: translateX(3px); }
.nav-toggle { display: none; border: 0; color: var(--ink); background: transparent; font-size: 25px; cursor: pointer; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 70px;
  min-height: 720px;
  padding: 66px 0 110px;
}
.hero-copy { position: relative; z-index: 2; }
.hero-kicker, .section-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #936a18;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.pulse { width: 9px; height: 9px; border-radius: 50%; background: #2bc56b; box-shadow: 0 0 0 6px rgba(43, 197, 107, .13); }
.hero h1 {
  max-width: 620px;
  margin: 27px 0 24px;
  color: #19253a;
  font-family: var(--serif);
  font-size: clamp(49px, 5vw, 75px);
  font-weight: 700;
  line-height: .99;
  letter-spacing: -.05em;
}
.hero h1 em { color: #a7791d; font-weight: 400; }
.hero-text { max-width: 590px; margin: 0; color: #626b7b; font-size: 18px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 15px;
  font-size: 14px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--navy); box-shadow: 0 14px 30px rgba(13, 27, 50, .21); }
.button-primary span, .button-light span { color: var(--gold-light); font-size: 18px; }
.button-secondary { border-color: rgba(20, 38, 68, .12); background: rgba(255, 253, 248, .55); }
.lock { color: #ac7c1f; font-size: 20px; }
.hero-proof { display: flex; gap: 24px; margin-top: 39px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-proof div { display: grid; gap: 5px; }
.hero-proof strong { color: #23314a; font-size: 13px; }
.hero-proof span { color: #7d8490; font-size: 11px; }

.hero-stage { position: relative; min-width: 0; perspective: 1200px; }
.stage-glow { position: absolute; inset: 5% 4%; border-radius: 50%; background: rgba(228, 174, 53, .25); filter: blur(65px); }
.product-window {
  position: relative;
  z-index: 2;
  overflow: hidden;
  min-height: 490px;
  border: 1px solid rgba(19, 37, 63, .11);
  border-radius: 25px;
  background: #fffdf8;
  box-shadow: var(--shadow), 0 0 0 10px rgba(255, 255, 255, .27);
  transform: rotateY(-2deg) rotateX(1deg);
}
.window-bar { height: 57px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 20px; border-bottom: 1px solid #e8e3da; background: #fff; color: #758092; font-size: 11px; font-weight: 700; }
.window-dots { display: flex; gap: 6px; }
.window-dots i { width: 8px; height: 8px; border-radius: 50%; background: #e7c26f; }
.window-dots i:nth-child(2) { background: #cfdae2; }
.window-dots i:nth-child(3) { background: #dce5d7; }
.window-live { justify-self: end; display: flex; align-items: center; gap: 7px; }
.window-live i { width: 7px; height: 7px; border-radius: 50%; background: #32c76f; box-shadow: 0 0 0 4px rgba(50, 199, 111, .12); }
.window-body { min-height: 433px; display: grid; grid-template-columns: 148px 1fr; }
.preview-nav { padding: 21px 13px; color: #dce6f8; background: linear-gradient(175deg, #172b4a, #09162a); }
.preview-logo { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 10px; color: #12213a; background: var(--gold); font-size: 13px; }
.preview-total { margin: 26px 0 19px; padding: 14px; border: 1px solid rgba(255,255,255,.1); border-radius: 13px; background: rgba(255,255,255,.06); }
.preview-total small { display: block; color: #91a0b7; font-size: 8px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.preview-total strong { display: block; margin-top: 4px; color: #fff; font-size: 27px; }
.preview-types { display: grid; gap: 7px; }
.preview-types span { display: grid; grid-template-columns: 20px 1fr auto; align-items: center; min-height: 38px; padding: 0 8px; border-radius: 10px; color: #aebbd0; font-size: 8px; font-weight: 700; }
.preview-types span.active { color: #fff; background: rgba(255,255,255,.09); }
.preview-types i { font-style: normal; font-size: 11px; }
.preview-types b { min-width: 18px; padding: 4px; border-radius: 10px; color: #17253c; background: #f0bc4f; text-align: center; }
.preview-reader { padding: 32px 29px; background: #f7f1e7; }
.preview-heading { display: grid; gap: 6px; }
.preview-heading small { color: #a0772d; font-size: 8px; font-weight: 900; letter-spacing: .16em; }
.preview-heading strong { color: #273246; font-family: var(--serif); font-size: 25px; }
.preview-card { margin-top: 23px; padding: 25px; border: 1px solid #e5d6bd; border-left: 4px solid #dca941; border-radius: 17px; background: #fffaf1; box-shadow: 0 12px 25px rgba(50, 39, 21, .06); }
.preview-card-top, .preview-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.preview-card-top span { color: #137ca7; font-size: 10px; font-weight: 900; }
.preview-card-top small { color: #999181; font-size: 8px; }
.preview-card h3 { margin: 24px 0 11px; font-size: 20px; }
.preview-card p { margin: 0; color: #696253; font-family: var(--serif); font-size: 15px; line-height: 1.65; }
.preview-card-foot { margin-top: 25px; color: #8b816f; font-size: 8px; }
.preview-card-foot b { color: #409d68; }
.preview-lines { display: grid; gap: 9px; margin-top: 19px; }
.preview-lines span { display: block; height: 10px; border-radius: 10px; background: #e7ded0; }
.preview-lines span:nth-child(2) { width: 84%; }
.preview-lines span:nth-child(3) { width: 55%; }
.floating-card { position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; min-width: 190px; padding: 13px 15px; border: 1px solid rgba(18, 34, 57, .11); border-radius: 15px; background: rgba(255,255,255,.91); box-shadow: 0 17px 45px rgba(19, 32, 55, .15); backdrop-filter: blur(10px); }
.floating-card > span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 10px; font-weight: 900; }
.floating-card div { display: grid; gap: 3px; }
.floating-card strong { color: #253149; font-size: 10px; }
.floating-card small { color: #88909e; font-size: 8px; }
.floating-new { top: 70px; right: -36px; animation: float 5s ease-in-out infinite; }
.floating-new > span { color: #fff; background: var(--blue); }
.floating-safe { bottom: 47px; left: -36px; animation: float 6s ease-in-out .7s infinite; }
.floating-safe > span { color: #fff; background: #2aa965; }
@keyframes float { 50% { transform: translateY(-8px); } }

.feature-section { padding: 105px 0 120px; background: var(--navy); }
.section-intro { max-width: 675px; margin-bottom: 46px; }
.section-intro h2 { margin: 14px 0 14px; font-family: var(--serif); font-size: clamp(38px, 4vw, 57px); line-height: 1.08; letter-spacing: -.035em; }
.section-intro p { margin: 0; color: #6d7585; font-size: 16px; line-height: 1.7; }
.feature-section .section-label { color: var(--gold-light); }
.feature-section .section-intro h2 { color: #fff; }
.feature-section .section-intro p { color: #98a6bc; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 17px; }
.feature-card { position: relative; overflow: hidden; min-height: 275px; padding: 35px; border: 1px solid rgba(255,255,255,.09); border-radius: 22px; background: rgba(255,255,255,.045); }
.feature-card::after { content: ""; position: absolute; width: 160px; height: 160px; right: -60px; bottom: -75px; border-radius: 50%; background: currentColor; opacity: .08; }
.feature-card .feature-icon { width: 50px; height: 50px; display: grid; place-items: center; margin-bottom: 30px; border-radius: 15px; color: var(--navy); background: var(--gold-light); font-size: 17px; font-weight: 900; }
.feature-card > small { color: currentColor; font-size: 9px; font-weight: 900; letter-spacing: .15em; }
.feature-card h3 { max-width: 470px; margin: 11px 0 12px; color: #fff; font-size: 22px; line-height: 1.3; }
.feature-card p { max-width: 480px; margin: 0; color: #9ca9bc; font-size: 13px; line-height: 1.7; }
.feature-live { color: #55c1ec; }
.feature-read { color: #e6bc59; }
.feature-organize { color: #55cf89; }
.feature-admin { color: #cf9fe9; }

.appointment-showcase {
  padding: 110px 0 115px;
}
.workflow-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.workflow-board article {
  position: relative;
  overflow: hidden;
  min-height: 315px;
  padding: 34px;
  border: 1px solid rgba(20, 38, 68, .11);
  border-radius: 25px;
  background: rgba(255,253,248,.72);
  box-shadow: 0 20px 55px rgba(19, 32, 55, .08);
}
.workflow-board article::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -90px;
  width: 210px;
  height: 210px;
  border-radius: 999px;
  background: currentColor;
  opacity: .08;
}
.workflow-board article:nth-child(1) { color: #8b5cf6; }
.workflow-board article:nth-child(2) { color: #0ea5e9; }
.workflow-board article:nth-child(3) { color: #0f766e; }
.workflow-board span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 34px;
  border-radius: 18px;
  color: #fff;
  background: currentColor;
  font-size: 26px;
  box-shadow: 0 16px 34px rgba(19, 32, 55, .12);
}
.workflow-board small {
  color: #936a18;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .15em;
}
.workflow-board h3 {
  margin: 12px 0 13px;
  color: var(--ink);
  font-size: 25px;
  line-height: 1.2;
}
.workflow-board p {
  margin: 0;
  color: #667083;
  font-size: 14px;
  line-height: 1.75;
}
.workflow-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin-top: 28px;
  padding: 18px;
  border: 1px solid rgba(20, 38, 68, .1);
  border-radius: 22px;
  background: rgba(255,255,255,.52);
}
.workflow-line span {
  padding: 10px 13px;
  border-radius: 999px;
  color: #26354d;
  background: #fff8e8;
  font-size: 12px;
  font-weight: 900;
}
.workflow-line i {
  width: 26px;
  height: 2px;
  border-radius: 999px;
  background: #dba83d;
}

.process-section { padding: 120px 0 130px; }
.section-intro.compact { max-width: 740px; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.process-grid article { min-height: 220px; padding: 29px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,253,248,.6); }
.process-grid article > span { width: 45px; height: 45px; display: grid; place-items: center; margin-bottom: 35px; border-radius: 50%; color: #8b661e; background: #f4dfb2; font-size: 11px; font-weight: 900; }
.process-grid strong { font-size: 17px; }
.process-grid p { margin: 12px 0 0; color: #737b89; font-size: 13px; line-height: 1.65; }

.final-cta { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 50px; margin-bottom: 90px; padding: 60px; border-radius: 28px; color: #fff; background: linear-gradient(130deg, #1a2c49, #09182e); box-shadow: 0 30px 70px rgba(11, 27, 50, .2); }
.final-cta::after { content: "✦"; position: absolute; right: 31%; bottom: -90px; color: rgba(230, 183, 72, .08); font-size: 240px; line-height: 1; }
.final-cta > div { position: relative; z-index: 2; }
.final-cta h2 { max-width: 650px; margin: 13px 0 0; font-family: var(--serif); font-size: clamp(32px, 3.4vw, 48px); line-height: 1.1; }
.cta-actions { flex: 0 0 auto; display: grid; gap: 10px; }
.button-light { color: var(--navy); background: #fff; }
.button-light span { color: #9d7118; }
.button-outline { color: #fff; border-color: rgba(255,255,255,.24); background: rgba(255,255,255,.05); }

.site-footer { padding: 35px 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; color: #7b8290; font-size: 11px; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; color: var(--navy); background: var(--gold); }
.footer-brand div { display: grid; gap: 3px; }
.footer-brand strong { color: var(--ink); }
.footer-inner > div:last-child { display: flex; gap: 22px; font-weight: 700; }

[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

@media (max-width: 1050px) {
  .main-nav { gap: 15px; }
  .main-nav > a:not(.nav-reader):not(.nav-admin) { display: none; }
  .hero { grid-template-columns: 1fr; gap: 75px; padding-top: 70px; }
  .hero-copy { max-width: 800px; }
  .hero-stage { width: min(760px, 95%); margin: auto; }
  .final-cta { align-items: flex-start; flex-direction: column; }
  .cta-actions { display: flex; flex-wrap: wrap; }
}

@media (max-width: 720px) {
  .section-shell, .nav-shell { width: min(100% - 30px, 1210px); }
  .site-header { padding: 14px 0; }
  .nav-toggle { display: block; }
  .main-nav { position: absolute; top: calc(100% + 7px); left: 15px; right: 15px; display: none; align-items: stretch; flex-direction: column; padding: 15px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,253,248,.98); box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav > a:not(.nav-reader):not(.nav-admin) { display: block; padding: 9px; }
  .nav-reader, .nav-admin { justify-content: center; text-align: center; }
  .hero { min-height: 0; padding: 66px 0 90px; }
  .hero h1 { font-size: clamp(43px, 13.5vw, 62px); }
  .hero-text { font-size: 16px; }
  .hero-proof { gap: 17px; overflow-x: auto; }
  .hero-proof div { min-width: 110px; }
  .product-window { min-height: 400px; transform: none; }
  .window-body { min-height: 343px; grid-template-columns: 76px 1fr; }
  .preview-nav { padding: 18px 8px; }
  .preview-total { padding: 9px 5px; text-align: center; }
  .preview-total strong { font-size: 22px; }
  .preview-types span { grid-template-columns: 1fr; place-items: center; padding: 5px; }
  .preview-types span i { font-size: 14px; }
  .preview-types span b { font-size: 7px; }
  .preview-types span { font-size: 0; }
  .preview-reader { padding: 23px 15px; }
  .preview-heading strong { font-size: 21px; }
  .preview-card { padding: 18px; }
  .preview-card h3 { font-size: 17px; }
  .preview-card p { font-size: 13px; }
  .floating-card { display: none; }
  .feature-section, .process-section { padding: 80px 0; }
  .feature-grid, .process-grid, .workflow-board { grid-template-columns: 1fr; }
  .feature-card { min-height: 250px; }
  .appointment-showcase { padding: 80px 0; }
  .workflow-line { align-items: stretch; flex-direction: column; }
  .workflow-line i { width: 2px; height: 18px; align-self: center; }
  .final-cta { width: calc(100% - 30px); margin-bottom: 60px; padding: 37px 25px; }
  .cta-actions { width: 100%; display: grid; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
