/* ============================================================
   MedScribe AI — HospiSmart Landing Page
   style.css
   Recreation using HTML5 + CSS3 + Bootstrap 5.0.2
   Fonts: Playfair Display (display headings), Noto Serif (body)
   ============================================================ */

/* ------------------------------------------------------------
   1. Design Tokens (CSS Variables)
   ------------------------------------------------------------ */
:root {
  /* Brand / text */
  --navy: #16294d;
  --navy-deep: #0f1f3d;
  --heading: #16294d;
  --body: #55606f;
  --muted: #8a94a3;

  /* Accent palette */
  --blue: #2b5dce;
  --royal: #1f4fb0;
  --orange: #e8751a;
  --orange-red: #d1471f;
  --green: #17a58a;
  --green-txt: #1a7a55;
  --purple: #7c3aed;
  --amber: #e39a1d;

  /* Gradient used on primary CTA button + hero word */
  --cta-grad: linear-gradient(90deg, #1f4fb0 0%, #3554b0 42%, #b8502a 78%, #d1471f 100%);
  --hero-word: linear-gradient(90deg, #4773be 0%, #8b5f8f 55%, #c05a44 100%);

  /* Surfaces */
  --page-bg: #f6fbff;
  --card: #ffffff;
  --card-alt: #fbfdff;
  --border: #eaeff6;
  --border-soft: #f0f3f9;

  /* Effects */
  --shadow-sm: 0 2px 10px rgba(22, 41, 77, .05);
  --shadow-md: 0 12px 34px rgba(22, 41, 77, .08);
  --shadow-lg: 0 22px 55px rgba(22, 41, 77, .12);
  --radius: 18px;
  --radius-lg: 24px;
}

/* ------------------------------------------------------------
   2. Base
   ------------------------------------------------------------ */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Serif', Georgia, serif;
  color: var(--body);
  background: var(--page-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
.display-serif {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--heading);
  letter-spacing: -.5px;
}

a {
  text-decoration: none;
}

.div-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.section {
  padding: 92px 0;
}

/* Small centered eyebrow label */
.eyebrow {
  font-family: 'Noto Serif', serif;
  font-weight: 700;
  font-size: .74rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.section-title {
  font-weight: 800;
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  line-height: 1.12;
}

.section-sub {
  color: var(--muted);
  font-size: 1.04rem;
  max-width: 640px;
  margin-inline: auto;
}

/* ------------------------------------------------------------
   3. Buttons
   ------------------------------------------------------------ */
.btn-cta {
  background: var(--cta-grad);
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 15px 28px;
  font-weight: 700;
  font-family: 'Noto Serif', serif;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 26px rgba(31, 79, 176, .28);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

.btn-cta:hover {
  color: #fff;
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 18px 34px rgba(209, 71, 31, .32);
}

.btn-cta .arrow {
  transition: transform .25s ease;
}

.btn-cta:hover .arrow {
  transform: translateX(4px);
}

.btn-cta .lead-ico {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ------------------------------------------------------------
   4. Header / Navbar
   ------------------------------------------------------------ */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1030;
}

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

.brand img {
  width: 140px;
}

/* ------------------------------------------------------------
   5. Hero
   ------------------------------------------------------------ */
.hero {
  position: relative;
  padding: 0 0 84px;
  background:
    radial-gradient(900px 460px at 90% 0%, #eaf3ff 0%, rgba(234, 243, 255, 0) 60%),
    radial-gradient(760px 520px at 0% 100%, #fdf1e6 0%, rgba(253, 241, 230, 0) 60%),
    var(--page-bg);
  overflow: hidden;
}

/* faint grid overlay */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30, 80, 160, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 80, 160, .05) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 80%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 80%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fdeccb;
  color: #9a5a12;
  border: 1px solid #f3d9a6;
  border-radius: 40px;
  padding: 8px 16px;
  font-size: .82rem;
  font-weight: 700;
}

.hero-title {
  font-weight: 900;
  font-size: 40px;
  line-height: 1.08;
  color: var(--navy);
  margin: 22px 0 20px;
}

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

.hero-copy {
  color: var(--body);
  max-width: 520px;
  font-size: 1.05rem;
}

/* Hero demo video window (mac-style) */
.demo-window {
  background: #0d1526;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(13, 21, 38, .35);
  border: 1px solid rgba(255, 255, 255, .05);
}

.demo-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #0b1220;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.demo-window video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  /* optional */
}

@keyframes blink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: .25
  }
}



.play-btn {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4a7bf0, #7c5cf0);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 18px;
  box-shadow: 0 10px 26px rgba(90, 110, 240, .5);
  cursor: pointer;
  transition: transform .25s ease;
  animation: floaty 3.2s ease-in-out infinite;
}

.play-btn:hover {
  transform: scale(1.08);
}

@keyframes floaty {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-6px)
  }
}

.demo-screen h5 {
  color: #fff;
  font-weight: 800;
  font-size: 1.5rem;
  margin: 0;
}

.demo-screen .sub {
  color: rgba(255, 255, 255, .72);
  font-size: .82rem;
}

.demo-progress {
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #0b1220;
}

.demo-progress .t {
  color: #7d8aa3;
  font-size: .68rem;
}

.demo-progress .track {
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: #26324a;
  position: relative;
}

.demo-progress .track::before {
  content: "";
  position: absolute;
  left: 0;
  top: -2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
}

.demo-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  background: #0b1220;
  color: #9aa6bd;
  font-size: .78rem;
}

.demo-controls .spec {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.demo-controls .right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.spd {
  font-size: .68rem;
  padding: 3px 8px;
  border-radius: 6px;
  color: #8494ad;
}

.spd.on {
  background: #1f4fb0;
  color: #fff;
}

.cc {
  background: #3a2f14;
  color: #f0b429;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: .68rem;
  font-weight: 700;
}

.demo-tabs {
  display: flex;
  gap: 8px;
  padding: 12px 16px 16px;
  background: #0b1220;
  overflow-x: auto;
}

.demo-tab {
  white-space: nowrap;
  font-size: .74rem;
  padding: 8px 14px;
  border-radius: 9px;
  background: #141d31;
  color: #9aa6bd;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.demo-tab.on {
  background: #1f4fb0;
  color: #fff;
}

.demo-tab .ic {
  color: #f0b429;
}

/* ------------------------------------------------------------
   6. Stats
   ------------------------------------------------------------ */
.stats {
  margin-top: 16px;
}

.odometer.odometer-auto-theme,
.odometer.odometer-auto-theme .odometer-digit,
.odometer.odometer-theme-minimal,
.odometer.odometer-theme-minimal .odometer-digit {
  padding: 1px;
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.stat-ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 18px;
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 2.15rem;
  color: var(--navy);
  line-height: 1;
  display: flex;
  align-items: center;
}

.ml-2 {
  margin-left: 6px;
}

.stat-label {
  font-weight: 700;
  color: var(--navy);
  margin-top: 8px;
  font-size: 1rem;
}

.stat-note {
  color: var(--muted);
  font-size: .84rem;
}

/* ------------------------------------------------------------
   7. Workflow — Zero Friction
   ------------------------------------------------------------ */
.pill-eyebrow {
  display: inline-block;
  background: #e9eefb;
  color: var(--royal);
  border-radius: 40px;
  padding: 7px 18px;
}

.wf-wrap {
  position: relative;
}

.wf-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 30px 30px;
  height: 100%;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}

.wf-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.wf-card:hover .wf-num {
  color: var(--blue);
}

.wf-ico {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.wf-num {
  position: absolute;
  top: 26px;
  right: 30px;
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 2.4rem;
  color: #eef1f7;
}

.wf-tag {
  display: inline-block;
  margin: 22px 0 12px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  padding: 5px 12px;
  border-radius: 8px;
}

.wf-card h4 {
  font-weight: 800;
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.wf-card p {
  color: var(--body);
  font-size: .95rem;
  margin: 0;
}

.wf-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #b9c4d6;
  font-size: 1.3rem;
  z-index: 2;
}

/* tints */
.tint-green {
  background: #e6f6f1;
  color: var(--green);
}

.tint-amber {
  background: #fdf1da;
  color: var(--amber);
}

.tint-teal {
  background: #e3f4f0;
  color: var(--green);
}

.tint-blue {
  background: #3671b833;
  color: #3671b8;
}

.tint-purple {
  background: #7c5cf033;
  color: #7c5cf0;
}

.tag-green {
  background: #e6f6f1;
  color: #1a8a6c;
}

.tag-amber {
  background: #fdf1da;
  color: #b7791f;
}

.tag-teal {
  background: #e3f4f0;
  color: #1a8a6c;
}

/* ------------------------------------------------------------
   8. Real-Time Capture section
   ------------------------------------------------------------ */
.capture-live {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 3px solid #cfeee6;
  box-shadow: var(--shadow-md);
  background: #dfeee9;

}

.capture-live img {
  width: 100%;
}

.live-tag {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 40, 50, .55);
  border: 1px solid rgba(120, 220, 200, .6);
  color: #d9fff4;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 8px 20px;
  border-radius: 10px;
  font-size: .85rem;
  backdrop-filter: blur(2px);
}

.mic-badge {
  position: absolute;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: #16a58a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .2);
}

.mic-badge::before,
.mic-badge::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(60, 210, 180, .55);
  animation: pulse-ring 2.4s ease-out infinite;
}

.mic-badge::before {
  inset: -10px;
}

.mic-badge::after {
  inset: -10px;
  animation-delay: 1.2s;
}

@keyframes pulse-ring {
  0% {
    transform: scale(.8);
    opacity: .9
  }

  100% {
    transform: scale(1.7);
    opacity: 0
  }
}

.wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 26px;
}

.wave span {
  width: 3px;
  background: #38d6b4;
  border-radius: 3px;
  animation: wv 1s ease-in-out infinite;
}

.wave span:nth-child(odd) {
  animation-duration: .8s;
}

.wave span:nth-child(3n) {
  animation-duration: 1.2s;
}

@keyframes wv {

  0%,
  100% {
    height: 6px
  }

  50% {
    height: 24px
  }
}

.caption-tag,
.caption-note {
  color: #fff;
}

.caption-tag {
  position: absolute;
  bottom: 24%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(12, 40, 52, .72);
  border-radius: 10px;
  padding: 8px 14px;
  font-size: .8rem;
  max-width: 80%;
  text-align: center;
}

.caption-note {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 38%;
  background: rgba(12, 40, 52, .82);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: .8rem;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.caption-note .wm {
  color: #38d6b4;
}


/* Clinical note card */
.note-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.note-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-soft);
}

.note-badge {
  background: linear-gradient(90deg, #2f6fe0, #3f57c8);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .4px;
  padding: 7px 14px;
  border-radius: 8px;
}

.note-date {
  color: var(--muted);
  font-size: .78rem;
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.note-body {
  display: flex;
}

.note-nav {
  flex: 0 0 38%;
  padding: 18px 14px;
  border-right: 1px solid var(--border-soft);
}

.note-nav .nv {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border-radius: 9px;
  font-size: .85rem;
  color: #5a6678;
  margin-bottom: 4px;
  cursor: default;
}

.note-nav .nv.on {
  background: #2f6fe0;
  color: #fff;
  font-weight: 700;
}

.note-content {
  flex: 1;
  padding: 18px 20px;
}

.note-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.note-item i {
  font-size: .95rem;
  margin-top: 3px;
}

.note-item h6 {
  font-family: 'Noto Serif', serif;
  font-weight: 700;
  font-size: .85rem;
  margin: 0 0 2px;
}

.note-item p {
  margin: 0;
  font-size: .82rem;
  color: var(--body);
}

.emr-ready {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e6f7ef;
  color: #128a5c;
  font-size: .76rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 30px;
}

/* accent text colors for note items */
.c-cc {
  color: #e0724c;
}

.c-hi {
  color: #2f6fe0;
}

.c-sy {
  color: #a23fb0;
}

.c-dg {
  color: #1aa886;
}

.c-tx {
  color: #e08a1e;
}

.c-fu {
  color: #7c5cf0;
}

/* ------------------------------------------------------------
   9. Powerful Features
   ------------------------------------------------------------ */
.key-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--blue);
}

.key-eyebrow::before,
.key-eyebrow::after {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--blue);
  opacity: .5;
}

.feat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 16px 32px;
  height: 100%;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}

.feat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.feat-toppill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 26px;
}

.feat-ico-wrap {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  position: relative;
}

.feat-ico-wrap::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: currentColor;
  opacity: .08;
  z-index: -1;
}

.feat-card h4 {
  font-weight: 800;
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.feat-card p {
  color: var(--body);
  font-size: .92rem;
  margin: 0;
}

/* accent variants */
.acc-green {
  color: #17a58a;
}

.acc-green .feat-toppill {
  background: #e6f6f1;
  color: #1a8a6c;
}

.acc-green h4 {
  color: #1a8a5f;
}

.acc-blue {
  color: #2f6fe0;
}

.acc-blue .feat-toppill {
  background: #e8eefc;
  color: #2f5fd0;
}

.acc-blue h4 {
  color: #2f5fd0;
}

.acc-purple {
  color: #8b3fd6;
}

.acc-purple .feat-toppill {
  background: #f3e8fb;
  color: #8b3fd6;
}

.acc-purple h4 {
  color: #8b3fd6;
}

.acc-orange {
  color: #e08a1e;
}

.acc-orange .feat-toppill {
  background: #fdf0da;
  color: #c47615;
}

.acc-orange h4 {
  color: #cf6a1a;
}

/* small (row 2) feature cards */
.feat-mini {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 20px 24px;
  height: 100%;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}

.feat-mini:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.feat-mini-ico {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.feat-mini h5 {
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.feat-mini p {
  color: var(--body);
  font-size: .83rem;
  margin: 0;
}

/* ------------------------------------------------------------
   10. Designed For (personas)
   ------------------------------------------------------------ */
.persona-card {
  border-radius: var(--radius-lg);
  padding: 30px 28px 28px;
  height: 100%;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}

.persona-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.persona-card .bg-figure {
  position: absolute;
  right: 0;
  top: 30px;
  bottom: 0;
  width: 60%;
  object-fit: cover;
  opacity: .12;
  z-index: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
  mask-image: linear-gradient(90deg, transparent, #000 60%);
}

.persona-card>* {
  position: relative;
  z-index: 1;
}

.persona-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 6px;
}

.persona-ico {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.persona-card h4 {
  font-weight: 800;
  font-size: 1.45rem;
  margin: 0;
}

.persona-sub {
  color: var(--muted);
  font-size: .86rem;
  margin-bottom: 22px;
}

.persona-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex: 1;
}

.persona-list li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: .92rem;
  font-weight: 600;
  color: #3f4a5c;
  margin-bottom: 15px;
}

.persona-list li i {
  margin-top: 2px;
  font-size: 1.05rem;
}

.btn-persona {
  width: 100%;
  border: none;
  border-radius: 12px;
  color: #fff;
  font-family: 'Noto Serif', serif;
  font-weight: 700;
  padding: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  transition: filter .2s ease, transform .2s ease;
}

.btn-persona:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
  color: #fff;
}

.persona-blue {
  background: linear-gradient(160deg, #eef4ff, #f7faff);
}

.persona-blue h4,
.persona-blue .icc {
  color: #2f5fd0;
}

.persona-blue .btn-persona {
  background: #2f5fd0;
}

.persona-orange {
  background: linear-gradient(160deg, #fff5ec, #fffaf5);
}

.persona-orange h4,
.persona-orange .icc {
  color: #e07620;
}

.persona-orange .btn-persona {
  background: #e2701c;
}

.persona-green {
  background: linear-gradient(160deg, #eafaf3, #f6fdfa);
}

.persona-green h4,
.persona-green .icc {
  color: #16a37a;
}

.persona-green .btn-persona {
  background: #12a074;
}

/* ------------------------------------------------------------
   11. Integration Hub
   ------------------------------------------------------------ */


/* ------------------------------------------------------------
   12. FAQ
   ------------------------------------------------------------ */
.faq-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fdeee2;
  color: #c86a2a;
  border-radius: 40px;
  padding: 8px 18px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: box-shadow .25s ease;
}

.txt h3 {
  font-size: 18px;
}

.faq-item.open {
  box-shadow: var(--shadow-md);
  border-color: #dbe4f3;
}

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 26px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  cursor: pointer;
}

.faq-q .txt {
  flex: 1;
}

.faq-cat {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #d1732f;
  text-transform: uppercase;
}

.faq-q h5 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--navy);
  margin: 6px 0 0;
}

.faq-chev {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #eef2fa;
  color: #5a6b86;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s ease, background .3s ease;
}

.faq-item.open .faq-chev {
  transform: rotate(180deg);
  background: #e2eaf9;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}

.faq-a-inner {
  padding: 0 26px 24px 24px;
  color: var(--body);
  font-size: .95rem;
}

/* ------------------------------------------------------------
   13. CTA banner
   ------------------------------------------------------------ */
.cta-banner {
  background: linear-gradient(120deg, #152a54 0%, #1c3f7d 55%, #23508f 100%);
  border-radius: 20px;
  padding: 30px 36px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.cta-banner::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255, 255, 255, .08), transparent 70%);
}

.cta-banner .cb-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .12);
  color: #8fb6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex: 0 0 auto;
}

.cta-banner h4 {
  color: #fff;
  font-weight: 800;
  font-size: 1.35rem;
  margin: 0 0 4px;
}

.cta-banner p {
  color: #c3d3ee;
  font-size: .9rem;
  margin: 0;
}

.btn-yellow {
  margin-left: auto;
  background: #f5b52a;
  color: #3a2a08;
  border: none;
  border-radius: 12px;
  padding: 13px 24px;
  font-family: 'Noto Serif', serif;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: filter .2s ease, transform .2s ease;
}

.btn-yellow:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
  color: #3a2a08;
}

/* ------------------------------------------------------------
   14. Footer
   ------------------------------------------------------------ */
.site-footer {
  background: #0c1424;
  color: #aeb8c9;
  padding: 64px 0 0;
}

.footer-brand-name {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 1.35rem;
}

.footer-brand-name .ai {
  background: #3f63e0;
  color: #fff;
  font-family: 'Noto Serif', serif;
  font-size: .7rem;
  padding: 2px 8px;
  border-radius: 6px;
  margin-left: 6px;
  vertical-align: middle;
  font-weight: 700;
}

.footer-product {
  color: #5b8bff;
  font-size: .86rem;
  font-weight: 700;
}

.footer-desc {
  color: #8994a8;
  font-size: .88rem;
  max-width: 340px;
}

.footer-compliance {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #12233b;
  color: #57c99a;
  border: 1px solid #1d3a5c;
  border-radius: 10px;
  padding: 9px 14px;
  font-size: .78rem;
  font-weight: 600;
}

.footer h6 {
  color: #fff;
  font-family: 'Noto Serif', serif;
  font-weight: 700;
  letter-spacing: 1px;
  font-size: .82rem;
}

.footer-col h6 {
  color: #fff;
  font-family: 'Noto Serif', serif;
  font-weight: 700;
  letter-spacing: 1px;
  font-size: .82rem;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #93a0b6;
  font-size: .9rem;
  transition: color .2s ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #93a0b6;
  font-size: .9rem;
  margin-bottom: 14px;
}

.footer-contact i {
  color: #5b8bff;
}

.btn-footer {
  background: #2f5fd0;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 11px 22px;
  font-family: 'Noto Serif', serif;
  font-weight: 700;
  font-size: .9rem;
  transition: filter .2s ease, transform .2s ease;
}

.btn-footer:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #1a2a44;
  color: #6b7890;
  font-size: .82rem;
  padding: 12px;
  align-items: center;
  display: flex;
  justify-content: center;
}

/* ------------------------------------------------------------
   15. Modal
   ------------------------------------------------------------ */

.modal-header {
  color: #fff;
  background: #1a385b;
}

.btn-close {
  opacity: 1;
  filter: brightness(0) invert(1);
}

.modal-title {
  color: #fff;
}

.modal-content {
  border-radius: 26px;
}


.modal-header .btn-close {
  filter: invert(1);
}

.form-label {
  font-weight: 600;
  margin-bottom: 6px;
}

.form-control,
.form-select {
  height: 48px;
  border-radius: 8px;
}

.modal-footer {
  border-top: 1px solid #eee;
}

#submitBtn {
  min-width: 170px;
}

.spinner-border {
  width: 18px;
  height: 18px;
  margin-right: 8px;
}

@media(max-width:768px) {
  .modal-content {
    border-radius: 26px;
  }

  .modal-header {
    border-radius: 26px 0 26px 0;
  }

  .modal-title {
    margin-left: 14px;
  }

}

/* ------------------------------------------------------------
   16. Scroll Reveal Animation
   ------------------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}

.p-100 {
  padding-top: 100px;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.reveal.d1 {
  transition-delay: .08s;
}

.reveal.d2 {
  transition-delay: .16s;
}

.reveal.d3 {
  transition-delay: .24s;
}

.reveal.d4 {
  transition-delay: .32s;
}

/* ------------------------------------------------------------
   17. Responsive
   ------------------------------------------------------------ */
@media (max-width: 991.98px) {
  .section {
    padding: 64px 0;
  }

  .wf-arrow {
    display: none;
  }

  /* Hub -> stacked list */
  .hub {
    min-height: auto;
    max-width: 520px;
  }

  .hub-center {
    position: static;
    transform: none;
    margin: 0 auto 30px;
    width: 200px;
    height: 200px;
  }

  .hub-node {
    position: static;
    width: 100%;
    text-align: left !important;
    margin-bottom: 18px;
    display: flex;
    gap: 14px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px 16px;
    box-shadow: var(--shadow-sm);
    transform: none !important;
  }

  .hub-node .hn-ico {
    margin: 0 !important;
    flex: 0 0 auto;
  }

  .hub-line {
    display: none;
  }

  .flow-card {
    position: static;
    max-width: 100%;
    margin-top: 6px;
  }

  .node-bill {
    left: auto;
  }
}

@media (max-width: 767.98px) {
  .hero {
    padding: 44px 0 60px;
  }

  .hero-title {
    font-size: 2.35rem;
  }

  .demo-window {
    margin-top: 34px;
  }

  .stats {
    margin-top: 30px;
  }

  .cta-banner {
    padding: 26px 22px;
    text-align: center;
    justify-content: center;
  }

  .btn-yellow {
    margin: 16px auto 0;
  }

  .note-body {
    flex-direction: column;
  }

  .note-nav {
    flex: none;
    border-right: none;
    border-bottom: 1px solid var(--border-soft);
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .note-nav .nv {
    margin: 0;
  }

  .caption-note {
    right: 16px;
  }

  .faq-a-inner {
    padding-left: 26px;
  }

  .footer-bottom {
    text-align: center;
  }
}