/* AV TeleMed — shared landing page styles (Doctor Console / Patient App) */

:root {
  --brand: #9e1d39;
  --brand-dark: #7a1734;
  --brand-light: #c84a68;
  --brand-tint: #fbeaee;
  --accent-blue: #1f7aec;
  --accent-green: #2e9e4f;
  --ink: #2b2b33;
  --muted: #6b6b76;
  --bg: #f5f6fa;
  --surface: #ffffff;
  --border: #ececf2;
}

* { box-sizing: border-box; }

body.landing {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.landing a { color: inherit; text-decoration: none; }
.landing img { max-width: 100%; display: block; }

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

/* ---------- Top bar ---------- */
.landing-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.landing-nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.landing-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--brand);
}
.landing-brand img { height: 38px; width: auto; }
.landing-nav-links { display: flex; align-items: center; gap: 28px; font-size: 14.5px; font-weight: 600; color: var(--muted); }
.landing-nav-links a:hover { color: var(--brand); }
.landing-pill-link {
  background: var(--brand);
  color: #fff !important;
  padding: 9px 20px;
  border-radius: 999px;
  font-weight: 700;
}
.landing-pill-link:hover { background: var(--brand-dark); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 65%, #5d1227 100%);
  color: #fff;
  padding: 68px 0 90px;
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}
.hero::before { width: 420px; height: 420px; top: -180px; right: -120px; }
.hero::after { width: 280px; height: 280px; bottom: -140px; left: -80px; background: rgba(255,255,255,0.06); }
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: 44px;
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}
.hero h1 span { color: #ffd9c2; }
.hero p.lead {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.86);
  max-width: 540px;
  margin: 0 0 28px;
}
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn-soon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--brand);
  font-weight: 800;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}
.btn-soon .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 0 0 rgba(46,158,79, 0.6);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(46,158,79, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(46,158,79, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46,158,79, 0); }
}
/* ---------- Google Play button ---------- */
a.btn-playstore, .btn-playstore {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  color: var(--brand) !important;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
a.btn-playstore:hover, .btn-playstore:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(0,0,0,0.22); }
.btn-playstore .gplay-icon { width: 22px; height: 22px; flex-shrink: 0; fill: var(--brand) !important; }
.btn-playstore span { display: flex; flex-direction: column; line-height: 1.1; color: var(--brand); }
.btn-playstore small { font-size: 10px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand); }
a.btn-playstore-light, .btn-playstore-light { background: rgba(255,255,255,0.12); border: 1.5px solid rgba(255,255,255,0.38); color: #fff !important; box-shadow: none; }
.btn-playstore-light .gplay-icon { fill: #fff !important; }
.btn-playstore-light span, .btn-playstore-light small { color: #fff; }
a.btn-playstore-light:hover, .btn-playstore-light:hover { background: rgba(255,255,255,0.2); box-shadow: none; }
/* ---------- Available-now banner variant ---------- */
.available-banner { background: #eafaf0; border-color: #b7eacb; }
.badge-live { background: var(--accent-green) !important; }

.hero-note { font-size: 13.5px; color: rgba(255,255,255,0.72); }
.hero-stats { display: flex; gap: 30px; margin-top: 36px; }
.hero-stats div b { display: block; font-size: 22px; font-weight: 800; }
.hero-stats div span { font-size: 12.5px; color: rgba(255,255,255,0.7); }

/* ---------- Hero screenshot mockup ---------- */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-glow {
  position: absolute;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(255,255,255,0.16), transparent 70%);
  border-radius: 50%;
  z-index: 0;
}
.hero-phone {
  position: relative;
  z-index: 1;
  width: 232px;
  border-radius: 34px;
  background: linear-gradient(160deg, #ffffff 0%, #f6dde4 100%);
  padding: 9px;
  box-shadow: 0 36px 80px rgba(20, 6, 14, 0.45), 0 0 0 1px rgba(255,255,255,0.18);
  transform: rotate(-3.5deg);
}
.hero-phone .screen {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
}
.hero-phone .screen img { display: block; width: 100%; height: auto; }
.hero-phone .notch {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 13px;
  background: #fff;
  border-radius: 0 0 10px 10px;
  opacity: 0.9;
  z-index: 2;
}
.hero-tag {
  position: absolute;
  z-index: 2;
  background: #fff;
  color: var(--brand);
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  padding: 9px 16px;
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(0,0,0,0.22);
  white-space: nowrap;
}
.hero-tag.tag-top { top: 6%; right: -6%; transform: rotate(4deg); }
.hero-tag.tag-bottom { bottom: 10%; left: -10%; transform: rotate(-4deg); }

@media (max-width: 880px) {
  .hero-visual { margin-top: 36px; }
  .hero-tag { display: none; }
}

/* ---------- Coming soon ribbon ---------- */
.soon-banner {
  background: var(--brand-tint);
  border: 1px solid #f1cdd6;
  color: var(--brand-dark);
  border-radius: 14px;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14.5px;
  font-weight: 600;
  margin: -54px auto 56px;
  max-width: 760px;
  position: relative;
  z-index: 5;
  box-shadow: 0 14px 38px rgba(122, 23, 52, 0.14);
}
.soon-banner .badge {
  flex-shrink: 0;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  font-size: 11.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
}
.soon-banner span.muted { color: var(--muted); font-weight: 500; }

/* ---------- Device showcase ---------- */
.showcase { padding: 10px 0 90px; }
.showcase-heading { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.showcase-heading h2 { font-size: 30px; font-weight: 800; letter-spacing: -0.01em; margin: 0 0 12px; }
.showcase-heading p { color: var(--muted); font-size: 15.5px; line-height: 1.6; margin: 0; }

.device-row {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 56px;
  flex-wrap: wrap;
}
.device-row.single { gap: 0; }

.device-frame {
  position: relative;
  filter: drop-shadow(0 30px 60px rgba(40, 16, 28, 0.22));
}
.device-frame .frame-label {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  white-space: nowrap;
  z-index: 3;
}

/* phone chrome */
.frame-phone {
  width: 256px;
  border-radius: 38px;
  background: #15151a;
  padding: 12px;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.04);
}
.frame-phone .screen {
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #000;
}
.frame-phone .screen img { display: block; width: 100%; height: auto; }
.frame-phone .notch {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 86px;
  height: 18px;
  background: #15151a;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}

/* tablet chrome */
.frame-tablet {
  width: 480px;
  border-radius: 26px;
  background: #15151a;
  padding: 16px;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.04);
}
.frame-tablet .screen {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #000;
}
.frame-tablet .screen img { display: block; width: 100%; height: auto; }
.frame-tablet .cam {
  position: absolute;
  top: 50%;
  left: 6px;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3a3a42;
}

@media (max-width: 760px) {
  .frame-tablet { width: 100%; max-width: 420px; }
  .frame-phone { width: 220px; }
}

/* ---------- Feature grid ---------- */
.features { padding: 10px 0 90px; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 22px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px 26px 24px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(40, 16, 28, 0.10);
  border-color: transparent;
}
.feature-icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
  color: #fff;
}
.feature-icon.brand { background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%); }
.feature-icon.blue  { background: linear-gradient(135deg, #2f8ff0 0%, #1f7aec 100%); }
.feature-icon.green { background: linear-gradient(135deg, #43b96a 0%, #2e9e4f 100%); }
.feature-card h3 { font-size: 17px; font-weight: 700; margin: 0 0 8px; letter-spacing: -0.01em; }
.feature-card ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.feature-card ul li::marker { color: var(--brand-light); }

/* ---------- Closing CTA ---------- */
.closing { padding: 80px 0; text-align: center; }
.closing-card {
  background: linear-gradient(120deg, var(--brand) 0%, var(--brand-dark) 100%);
  border-radius: 28px;
  padding: 56px 40px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.closing-card::after {
  content: "";
  position: absolute;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  right: -120px; top: -160px;
}
.closing-card h2 { position: relative; z-index: 2; font-size: 28px; font-weight: 800; margin: 0 0 12px; letter-spacing: -0.01em; }
.closing-card p { position: relative; z-index: 2; color: rgba(255,255,255,0.85); max-width: 540px; margin: 0 auto 26px; font-size: 15px; line-height: 1.6; }
.closing-fineprint { position: relative; z-index: 2; font-size: 12.5px; color: rgba(255,255,255,0.66); margin-top: 18px; }

/* ---------- Footer ---------- */
.landing-footer {
  background: #1c1320;
  color: rgba(255,255,255,0.62);
  padding: 36px 0;
  font-size: 13.5px;
}
.landing-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.landing-footer a { color: rgba(255,255,255,0.78); font-weight: 600; }
.landing-footer a:hover { color: #fff; }
.landing-footer-links { display: flex; gap: 22px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .hero { padding: 48px 0 56px; }
  .hero-inner { grid-template-columns: 1fr; gap: 8px; }
  .hero-visual { order: -1; margin-bottom: 28px; }
  .hero h1 { font-size: 30px; }
  .hero p.lead { font-size: 15.5px; }
  .hero-stats { gap: 22px; flex-wrap: wrap; }
  .soon-banner { margin-top: -36px; flex-direction: column; align-items: flex-start; text-align: left; }
  .landing-nav-links { gap: 14px; }
  .landing-nav-links a:not(.landing-pill-link) { display: none; }
  .landing-pill-link { padding: 8px 16px; font-size: 13px; }
}

@media (max-width: 480px) {
  .landing-nav-inner { padding: 12px 16px; }
  .landing-brand { font-size: 16px; gap: 8px; }
  .landing-brand img { height: 30px; }
  .hero h1 { font-size: 26px; }
  .hero-stats { gap: 18px; }
  .hero-stats div b { font-size: 19px; }
  .closing-card { padding: 40px 22px; }
  .closing-card h2 { font-size: 23px; }
}
