/* ===========================================================
   Acrrnovation Pvt. Ltd. — shared styles
   Professional / corporate medical theme
   =========================================================== */

:root {
  --navy:        #0d2b4e;
  --navy-dark:   #08213d;
  --teal:        #0a9396;
  --teal-dark:   #087a7c;
  --accent:      #94d2bd;
  --ink:         #1c2b36;
  --muted:       #5a6b78;
  --line:        #e2e8ee;
  --bg:          #ffffff;
  --bg-soft:     #f4f8fb;
  --bg-navy-soft:#eef3f8;
  --radius:      14px;
  --shadow:      0 10px 30px rgba(13, 43, 78, .08);
  --shadow-lg:   0 20px 50px rgba(13, 43, 78, .14);
  --maxw:        1160px;
  --font:        "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.5px; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.3px; }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1rem; color: var(--ink); }

a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: .6rem;
}

.section { padding: 84px 0; }
.section-soft { background: var(--bg-soft); }
.section-tight { padding: 56px 0; }
.center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 720px; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 8px 20px rgba(10,147,150,.3); }
.btn-primary:hover { background: var(--teal-dark); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--teal); color: var(--teal-dark); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--navy); font-size: 1.15rem; letter-spacing: -.3px; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1.1rem;
  box-shadow: var(--shadow);
}
/* Image logo in the header (replaces the "A" mark) */
.brand-logo { height: 52px; width: auto; display: block; }
/* Product logo (e.g. on a product's own page hero) */
.product-logo { height: 96px; width: auto; display: block; margin-bottom: 20px; }
/* Small logo used on an app/product card */
.app-logo { height: 54px; width: auto; display: block; margin-bottom: 14px; }
.brand-logo-wrap { position: relative; display: inline-block; line-height: 0; }
.brand-logo-wrap .logo-reg {
  position: absolute; top: 4px; right: -9px;
  font-size: .62rem; font-weight: 700; color: var(--navy); line-height: 1;
}
.brand small { display:block; font-size:.66rem; font-weight:600; letter-spacing:2px; color: var(--teal-dark); text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); font-weight: 600; font-size: .96rem; }
.nav-links a:hover, .nav-links a.active { color: var(--teal-dark); text-decoration: none; }
.nav-cta { margin-left: 6px; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display:block; width:24px; height:2px; background: var(--navy); margin:5px 0; transition:.2s; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 74px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 24px; box-shadow: var(--shadow);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav-links li:last-child a { border-bottom: 0; }
  .nav-cta { margin: 10px 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(1200px 500px at 80% -10%, rgba(10,147,150,.25), transparent 60%),
              linear-gradient(135deg, var(--navy-dark), var(--navy) 55%, #123a63);
  color: #fff;
  padding: 96px 0 104px;
  overflow: hidden;
}
.hero::after {
  content:""; position:absolute; right:-120px; bottom:-120px;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(148,210,189,.22), transparent 70%);
}
.hero h1 { color: #fff; max-width: 15ch; }
.hero p { color: rgba(255,255,255,.85); font-size: 1.2rem; max-width: 54ch; }
.hero .eyebrow { color: var(--accent); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-badges { display:flex; gap:28px; flex-wrap:wrap; margin-top:48px; }
.hero-badge { }
.hero-badge b { display:block; font-size:1.8rem; color:#fff; }
.hero-badge span { color: rgba(255,255,255,.7); font-size:.9rem; }

/* ---------- Page banner (interior pages) ---------- */
.page-banner {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: #fff; padding: 66px 0;
}
.page-banner h1 { color: #fff; margin-bottom: .3rem; }
.page-banner p { color: rgba(255,255,255,.8); margin: 0; }
.crumbs { font-size:.85rem; color: rgba(255,255,255,.6); margin-bottom: 14px; }
.crumbs a { color: var(--accent); }

/* ---------- Grid & cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card h3 { margin-bottom: .4rem; }
.card p:last-child { margin-bottom: 0; }

.icon {
  width: 54px; height: 54px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(10,147,150,.15), rgba(13,43,78,.12));
  display: grid; place-items: center; margin-bottom: 16px;
  font-size: 1.5rem;
}

.tag {
  display:inline-block; font-size:.72rem; font-weight:700; letter-spacing:.5px;
  text-transform:uppercase; padding: 4px 12px; border-radius: 999px;
  background: var(--bg-navy-soft); color: var(--navy);
}
.tag-trial { background:#fff4e0; color:#a86400; }
.tag-rd    { background:#e8f0ff; color:#2b57a8; }
.tag-live  { background:#e3f6ec; color:#1a7a45; }

/* ---------- Split / feature rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 30px; } }
.media-frame {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--bg-navy-soft), #fff);
  aspect-ratio: 4/3; display: grid; place-items: center;
}
.media-frame .placeholder { color: var(--muted); font-size: .95rem; text-align:center; padding: 20px; }

/* ---------- Lists ---------- */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding: 6px 0 6px 30px; color: var(--ink); }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 6px;
  color: var(--teal-dark); font-weight: 800;
}
.cols-2 { columns: 2; column-gap: 40px; }
@media (max-width: 640px){ .cols-2 { columns: 1; } }

/* ---------- Team ---------- */
.team-card { text-align: center; }
.avatar {
  width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  display: grid; place-items: center; color:#fff; font-size: 1.8rem; font-weight: 700;
}
.team-card .role { color: var(--teal-dark); font-weight: 600; font-size: .9rem; text-transform: uppercase; letter-spacing:1px; }
.team-card .meta { color: var(--muted); font-size: .92rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: #fff; border-radius: 20px; padding: 52px; text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 620px; margin: 0 auto 24px; }

/* ---------- Contact ---------- */
.info-row { display:flex; gap:16px; align-items:flex-start; margin-bottom: 22px; }
.info-row .icon { margin: 0; flex: 0 0 auto; }
.info-row h4 { margin:0 0 2px; }
.info-row p { margin:0; color: var(--muted); }
.form-field { margin-bottom: 16px; }
.form-field label { display:block; font-weight:600; font-size:.9rem; margin-bottom:6px; color: var(--navy); }
.form-field input, .form-field textarea, .form-field select {
  width:100%; padding:12px 14px; border:1px solid var(--line); border-radius:10px;
  font-family: inherit; font-size:1rem; color: var(--ink); background:#fff;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(10,147,150,.15);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,.75); padding: 60px 0 26px; }
.site-footer p { color: rgba(255,255,255,.75); }
.site-footer h4 { color:#fff; font-size:1rem; margin-bottom: 16px; }
.footer-grid { display:grid; grid-template-columns: 1.8fr 1fr 1.3fr; gap: 40px; }
@media (max-width: 900px){ .footer-grid { grid-template-columns: 1fr 1fr; gap:28px; } }
@media (max-width: 560px){ .footer-grid { grid-template-columns: 1fr; } }
.footer-grid a { color: rgba(255,255,255,.75); }
.footer-grid a:hover { color:#fff; }
.footer-links { list-style:none; padding:0; margin:0; }
.footer-links li { margin-bottom: 10px; }
.footer-brand .brand { color:#fff; }
.footer-logo { height: 56px; width: auto; display: block; background: #fff; padding: 6px 8px; border-radius: 10px; }
.footer-brand p { color: rgba(255,255,255,.6); font-size:.92rem; margin-top:14px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px;
  display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap;
  font-size:.85rem; color: rgba(255,255,255,.55);
}

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.stack > * + * { margin-top: 14px; }

/* ---------- Long-form story / narrative ---------- */
.reading { max-width: 760px; margin: 0 auto; }
.reading p { font-size: 1.05rem; line-height: 1.8; }
.verse {
  font-style: italic; color: var(--teal-dark);
  font-size: 1.12rem; line-height: 1.9; font-weight: 600;
  margin: 26px 0; padding-left: 22px; border-left: 3px solid var(--accent);
}
.pull {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 700; color: var(--navy);
  line-height: 1.35; margin: 34px 0; letter-spacing: -.3px;
}
.pull.center { text-align: center; }
.skill-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 28px; }
.skill-tags .tag { font-size: .85rem; padding: 6px 14px; }

/* ===========================================================
   Digital Library — shelf + flipbook preview modal
   =========================================================== */

.library {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
}
@media (max-width: 900px){ .library { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .library { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; } }

/* A single book on the shelf */
.book {
  cursor: pointer;
  text-align: center;
  transition: transform .2s ease;
}
.book:hover { transform: translateY(-6px); }

.book-cover {
  position: relative;
  aspect-ratio: 3 / 4.4;
  border-radius: 6px 12px 12px 6px;
  color: #fff;
  padding: 26px 22px 22px 30px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  text-align: left;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
}
/* colour variants */
.book-cover.c1 { background: linear-gradient(150deg, #0a9396, #05545a); }
.book-cover.c2 { background: linear-gradient(150deg, #1d3f72, #0d2b4e); }
.book-cover.c3 { background: linear-gradient(150deg, #7a3b8f, #3f1d55); }
/* spine highlight */
.book-cover::before {
  content:""; position:absolute; top:0; bottom:0; left:0; width:12px;
  background: rgba(0,0,0,.22);
  box-shadow: inset -3px 0 6px rgba(0,0,0,.25);
}
/* page edges on the right */
.book-cover::after {
  content:""; position:absolute; top:4px; bottom:4px; right:0; width:6px;
  background: repeating-linear-gradient(to bottom, #fff, #fff 2px, #d9d9d9 2px, #d9d9d9 3px);
  border-radius: 0 4px 4px 0;
}
.book-cover .bc-kicker { font-size:.68rem; letter-spacing:2px; text-transform:uppercase; opacity:.8; }
.book-cover .bc-title { font-size:1.15rem; font-weight:800; line-height:1.25; margin-top:8px; color:#fff; }
.book-cover .bc-author { margin-top:auto; font-size:.8rem; opacity:.85; }
.book-cover .bc-emoji { font-size:2rem; margin-top:14px; }
.book-preview-hint {
  position:absolute; inset:0; display:grid; place-items:center;
  background: rgba(8,33,61,.55); opacity:0; transition:opacity .2s ease;
  font-weight:700; font-size:.9rem; letter-spacing:.5px;
}
.book:hover .book-preview-hint { opacity:1; }
.book-meta { margin-top: 16px; }
.book-meta .t { font-weight:700; color:var(--navy); }
.book-meta .p { color: var(--muted); font-size:.9rem; }
.book-status {
  display:inline-block; margin-top:8px;
  font-size:.7rem; font-weight:700; text-transform:uppercase; letter-spacing:.5px;
  color:#b23b3b; background:#fdecec; padding:4px 12px; border-radius:999px;
}
/* "Under Review" corner ribbon on the book cover */
.book-ribbon {
  position:absolute; top:16px; right:-42px; z-index:3;
  transform: rotate(45deg);
  background:#b23b3b; color:#fff;
  font-size:.6rem; font-weight:800; letter-spacing:1px; text-transform:uppercase;
  padding:5px 48px; box-shadow:0 2px 6px rgba(0,0,0,.25);
}

/* ---------- Modal / flipbook ---------- */
.reader-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(8,21,37,.72); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.reader-overlay.open { display: flex; }
.reader {
  background: #fff; border-radius: 16px; width: 100%; max-width: 900px;
  max-height: 92vh; overflow: hidden; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column;
  animation: pop .2s ease;
}
@keyframes pop { from { transform: scale(.96); opacity:.4; } to { transform: scale(1); opacity:1; } }

.reader-head {
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding: 18px 24px; border-bottom: 1px solid var(--line);
}
.reader-head h3 { margin:0; font-size:1.15rem; }
.reader-close {
  background: var(--bg-soft); border:1px solid var(--line); border-radius:50%;
  width:38px; height:38px; font-size:1.2rem; cursor:pointer; color:var(--navy);
  flex:0 0 auto; line-height:1;
}
.reader-close:hover { background: var(--line); }

.reader-body {
  display:flex; align-items:center; gap:14px; justify-content:center;
  padding: 26px; background: var(--bg-soft); flex: 1 1 auto; overflow:auto;
}
.page-view {
  width: min(420px, 70vw); aspect-ratio: 3/4;
  background:#fff; border-radius: 4px 10px 10px 4px;
  box-shadow: 0 14px 40px rgba(13,43,78,.22);
  border:1px solid #e7ecf1;
  padding: 34px 30px; overflow:auto; position:relative;
}
.page-view img { width:100%; height:100%; object-fit:contain; }
.page-view .pg-h { color:var(--navy); font-size:1.05rem; margin:0 0 12px; }
.page-view p { font-size:.9rem; color:#3a4a57; line-height:1.6; }
.page-view .pg-num { position:absolute; bottom:12px; left:0; right:0; text-align:center; font-size:.72rem; color:var(--muted); }
.page-view.cover-page { background: linear-gradient(150deg, var(--navy), var(--navy-dark)); color:#fff; display:flex; flex-direction:column; justify-content:center; align-items:center; text-align:center; }
.page-view.cover-page .pg-h { color:#fff; font-size:1.6rem; }
.page-view.cover-page p { color: rgba(255,255,255,.8); }

.pager-btn {
  flex:0 0 auto; width:46px; height:46px; border-radius:50%;
  border:1px solid var(--line); background:#fff; cursor:pointer;
  font-size:1.3rem; color:var(--navy); box-shadow: var(--shadow);
}
.pager-btn:hover { border-color:var(--teal); color:var(--teal-dark); }
.pager-btn:disabled { opacity:.35; cursor:not-allowed; }

.reader-foot {
  display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap;
  padding: 16px 24px; border-top:1px solid var(--line);
}
.reader-foot .price { font-weight:800; color:var(--navy); font-size:1.1rem; }
.reader-foot .counter { color:var(--muted); font-size:.85rem; }
@media (max-width:560px){
  .reader-body { padding:16px; }
  .page-view { width: 78vw; padding:22px 18px; }
  .pager-btn { width:40px; height:40px; }
}
