/* ClineUp landing — design tokens */
:root {
  --teal-900: #0b4f4a;
  --teal-700: #0f766e;
  --teal-600: #0d9488;
  --teal-500: #14b8a6;
  --teal-50:  #f0fdfa;
  --green-600: #16a34a;
  --amber-500: #f59e0b;
  --red-500:  #ef4444;
  --ink:      #0f172a;
  --slate-700:#334155;
  --muted:    #64748b;
  --line:     #e2e8f0;
  --bg:       #f6faf9;
  --surface:  #ffffff;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow-md: 0 10px 30px -12px rgba(13, 148, 136, .25);
  --shadow-lg: 0 30px 60px -20px rgba(15, 23, 42, .25);
  --radius: 18px;
  --maxw: 1120px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --bn: 'Noto Sans Bengali', var(--font);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.bn { font-family: var(--bn); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--teal-700); background: var(--teal-50);
  border: 1px solid #c7ede8; padding: 6px 14px; border-radius: 999px;
}
.section-title { font-size: clamp(28px, 4vw, 42px); font-weight: 800; margin-top: 18px; }
.section-sub { color: var(--muted); font-size: 18px; margin-top: 14px; max-width: 640px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font); font-weight: 700; font-size: 16px;
  padding: 13px 24px; border-radius: 12px; cursor: pointer;
  border: 1px solid transparent; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  color: #fff; background: linear-gradient(135deg, var(--teal-600), var(--teal-700));
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { box-shadow: 0 14px 34px -10px rgba(13,148,136,.5); transform: translateY(-1px); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--teal-500); color: var(--teal-700); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(180%) blur(12px);
  background: rgba(246, 250, 249, .8);
  border-bottom: 1px solid rgba(226, 232, 240, .7);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.brand .mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
  display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-md);
}
.brand .up { color: var(--teal-600); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--slate-700); font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--teal-700); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.menu-btn { display: none; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 96px; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 50% at 85% 0%, rgba(20,184,166,.18), transparent 60%),
    radial-gradient(50% 40% at 0% 20%, rgba(22,163,74,.12), transparent 60%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(34px, 5.2vw, 58px); font-weight: 800; margin-top: 22px; }
.hero h1 .grad {
  background: linear-gradient(120deg, var(--teal-600), var(--green-600));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lede { font-size: 19px; color: var(--slate-700); margin-top: 20px; max-width: 520px; }
.hero-bn { font-size: 17px; color: var(--teal-700); font-weight: 600; margin-top: 12px; }
.hero-cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 26px; margin-top: 34px; flex-wrap: wrap; }
.hero-trust .stat b { font-size: 24px; font-weight: 800; color: var(--ink); display: block; }
.hero-trust .stat span { font-size: 13px; color: var(--muted); }

/* Phone mock */
.phone {
  position: relative; width: 300px; margin: 0 auto;
  background: #0f172a; border-radius: 40px; padding: 12px;
  box-shadow: var(--shadow-lg); border: 1px solid #1e293b;
}
.phone-screen {
  background: linear-gradient(180deg, #ffffff, #f0fdfa);
  border-radius: 30px; overflow: hidden; padding: 20px 18px 26px;
}
.phone-top { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--muted); margin-bottom: 18px; }
.phone-top .dot { width: 46px; height: 5px; border-radius: 99px; background: #cbd5e1; }
.q-label { font-size: 13px; color: var(--muted); font-weight: 600; }
.q-clinic { font-weight: 800; font-size: 17px; margin-top: 2px; }
.token-card {
  margin-top: 18px; border-radius: 20px; padding: 22px;
  background: linear-gradient(135deg, var(--teal-600), var(--teal-700)); color: #fff;
  box-shadow: var(--shadow-md); text-align: center;
}
.token-card .t-label { font-size: 12px; opacity: .85; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.token-card .t-num { font-size: 60px; font-weight: 800; line-height: 1; margin-top: 6px; }
.token-card .t-eta { font-size: 13px; opacity: .9; margin-top: 8px; }
.q-rows { margin-top: 16px; display: flex; flex-direction: column; gap: 9px; }
.q-row {
  display: flex; align-items: center; gap: 11px; padding: 11px 13px;
  background: #fff; border: 1px solid var(--line); border-radius: 13px; box-shadow: var(--shadow-sm);
}
.q-pill { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.q-pill.now { background: #dcfce7; color: var(--green-600); }
.q-pill.wait { background: #fef3c7; color: #b45309; }
.q-pill.you { background: var(--teal-600); color: #fff; }
.q-row .q-name { font-weight: 700; font-size: 14px; }
.q-row .q-meta { font-size: 12px; color: var(--muted); }
.q-row .q-status { margin-left: auto; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 99px; }
.q-status.go { background: #dcfce7; color: var(--green-600); }
.q-status.hold { background: #fef3c7; color: #b45309; }
.pulse { animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(20,184,166,.5);} 50% { box-shadow: 0 0 0 8px rgba(20,184,166,0);} }
.floaty { animation: floaty 5s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-10px);} }

/* Logos / trust strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; padding: 26px 0; }
.strip-inner { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; color: var(--muted); font-weight: 600; font-size: 14px; }
.strip-inner .pill { display: inline-flex; align-items: center; gap: 8px; }

/* Problem cards */
.prob-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.prob {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
}
.prob .ic { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 16px; }
.prob h3 { font-size: 19px; font-weight: 800; }
.prob p { color: var(--muted); margin-top: 8px; font-size: 15px; }

/* Features */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; }
.feat {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #bae6df; }
.feat .ic {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--teal-50); color: var(--teal-700); border: 1px solid #cdeee9;
}
.feat h3 { font-size: 20px; font-weight: 800; }
.feat .bn { color: var(--teal-700); font-weight: 600; font-size: 14px; margin-top: 3px; }
.feat p { color: var(--muted); margin-top: 10px; font-size: 15px; }
.feat.wide { grid-column: span 3; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }

/* How it works */
.how { background: linear-gradient(180deg, #ffffff, var(--teal-50)); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; position: relative; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.step .num {
  width: 44px; height: 44px; border-radius: 12px; font-weight: 800; font-size: 18px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-700)); box-shadow: var(--shadow-md);
}
.step h3 { font-size: 19px; font-weight: 800; margin-top: 18px; }
.step p { color: var(--muted); margin-top: 8px; font-size: 15px; }

/* Audience */
.aud-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; }
.aud { border-radius: var(--radius); padding: 30px; color: #fff; box-shadow: var(--shadow-md); }
.aud.p1 { background: linear-gradient(150deg, #0d9488, #0f766e); }
.aud.p2 { background: linear-gradient(150deg, #16a34a, #15803d); }
.aud.p3 { background: linear-gradient(150deg, #0891b2, #0e7490); }
.aud .emoji { font-size: 34px; }
.aud h3 { font-size: 21px; font-weight: 800; margin-top: 12px; }
.aud .bn { opacity: .9; font-weight: 600; margin-top: 2px; }
.aud ul { margin: 16px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.aud li { display: flex; gap: 9px; font-size: 15px; opacity: .96; }
.aud li::before { content: "✓"; font-weight: 800; }

/* CTA band */
.cta-band {
  border-radius: 28px; padding: 56px; text-align: center; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--teal-700), var(--teal-900));
  box-shadow: var(--shadow-lg);
}
.cta-band::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(50% 120% at 100% 0%, rgba(20,184,166,.45), transparent 60%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.cta-band p { color: #cbfbf1; font-size: 18px; margin-top: 14px; max-width: 560px; margin-inline: auto; }
.cta-band .btn-primary { background: #fff; color: var(--teal-700); margin-top: 30px; }
.cta-band .btn-primary:hover { background: #ecfdf8; }

/* Footer */
.site-footer { background: #0b1220; color: #94a3b8; padding: 60px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.site-footer .brand { color: #fff; }
.site-footer .brand .up { color: var(--teal-500); }
.foot-about { margin-top: 16px; font-size: 15px; max-width: 320px; }
.foot-col h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.foot-col a { display: block; color: #94a3b8; font-size: 15px; padding: 5px 0; }
.foot-col a:hover { color: var(--teal-400, #2dd4bf); }
.foot-bottom {
  margin-top: 44px; padding-top: 24px; border-top: 1px solid #1e293b;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 14px;
}

/* Legal page */
.legal { max-width: 820px; margin: 0 auto; }
.legal-head { padding: 56px 0 20px; }
.legal-head h1 { font-size: clamp(30px, 4.5vw, 44px); font-weight: 800; }
.legal-head .updated { color: var(--muted); margin-top: 12px; font-size: 15px; }
.legal-body { padding-bottom: 80px; }
.legal-body h2 { font-size: 22px; font-weight: 800; margin: 40px 0 10px; }
.legal-body h3 { font-size: 17px; font-weight: 700; margin: 24px 0 8px; }
.legal-body p, .legal-body li { color: var(--slate-700); font-size: 16px; }
.legal-body ul { padding-left: 22px; margin: 10px 0; }
.legal-body li { margin: 6px 0; }
.legal-body a { color: var(--teal-700); font-weight: 600; }
.legal-toc {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 26px; margin: 28px 0 10px; box-shadow: var(--shadow-sm);
}
.legal-toc h4 { margin: 0 0 12px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.legal-toc ol { margin: 0; padding-left: 20px; columns: 2; gap: 30px; }
.legal-toc a { color: var(--slate-700); font-size: 15px; line-height: 2; }
.legal-toc a:hover { color: var(--teal-700); }
.callout {
  background: var(--teal-50); border: 1px solid #cdeee9; border-left: 4px solid var(--teal-600);
  border-radius: 12px; padding: 16px 20px; margin: 18px 0; font-size: 15px; color: var(--slate-700);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
  .prob-grid, .feat-grid, .steps, .aud-grid, .foot-grid { grid-template-columns: 1fr; }
  .feat.wide { grid-column: auto; grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .legal-toc ol { columns: 1; }
}
@media (max-width: 560px) {
  .section { padding: 60px 0; }
  .cta-band { padding: 40px 24px; }
  .hero-cta .btn, .hero-cta { width: 100%; }
  .hero-cta .btn { justify-content: center; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
}
