.landing-page { background: #fff; color: #102e4d; }
.landing-skip { position: absolute; z-index: 20; top: -60px; left: 12px; padding: 10px 14px; border-radius: 8px; background: #fff; color: var(--primary); font-weight: 700; }
.landing-skip:focus { top: 12px; }
.landing-header { position: relative; z-index: 2; background: #fff; border-bottom: 1px solid #e4ecf5; }
.landing-header-inner { width: min(1220px, calc(100% - 64px)); min-height: 82px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.landing-brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; flex: 0 0 auto; }
.landing-brand img.smartcare-logo { display: block; width: 44px; height: 44px; border-radius: 12px; }
.landing-brand strong, .landing-brand small { display: block; }
.landing-brand strong { color: #0b294a; font-size: 21px; letter-spacing: -.04em; line-height: 1.12; }
.landing-brand small { margin-top: 3px; color: #5e7186; font-size: 11px; letter-spacing: .02em; }
.landing-nav { display: flex; align-items: center; gap: 28px; }
.landing-nav-link { color: #385672; font-size: 13px; font-weight: 650; text-decoration: none; }
.landing-nav-link:hover, .landing-footer a:hover, .landing-cta-login:hover { color: var(--primary-light); text-decoration: underline; text-underline-offset: 4px; }
.landing-signin { display: inline-flex; min-height: 42px; padding: 0 19px; align-items: center; justify-content: center; border: 1px solid #c9d9eb; border-radius: 10px; color: var(--primary); font-size: 13px; font-weight: 750; text-decoration: none; }
.landing-signin:hover { background: #eef5ff; }
.landing-hero { background: radial-gradient(circle at 78% 28%, #d8eaff 0, transparent 34%), linear-gradient(125deg, #f9fcff 0%, #eff6fe 65%, #e4f3f8 100%); }
.landing-hero-inner { width: min(1220px, calc(100% - 64px)); min-height: 620px; margin: auto; padding: 68px 0 74px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr); align-items: center; gap: clamp(32px, 6vw, 88px); }
.landing-hero-copy { max-width: 650px; }
.landing-eyebrow, .landing-section-label { color: #006c8a; font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.landing-eyebrow { display: inline-flex; align-items: center; gap: 9px; }
.landing-eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: #07a7a0; box-shadow: 0 0 0 4px #daf4f0; }
.landing-hero h1 { max-width: 690px; margin: 23px 0 22px; color: #0b2c4e; font-family: 'Fraunces', Georgia, serif; font-size: clamp(42px, 4.9vw, 68px); font-weight: 600; letter-spacing: -.055em; line-height: 1.09; }
.landing-hero h1 em { color: var(--primary-light); font-style: normal; }
.landing-lead { max-width: 550px; color: #425d79; font-size: clamp(16px, 1.5vw, 18px); line-height: 1.75; }
.landing-hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 11px; }
.landing-button { display: inline-flex; min-height: 50px; padding: 0 20px; align-items: center; justify-content: center; gap: 14px; border-radius: 11px; font-size: 13px; font-weight: 750; text-align: center; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.landing-button:hover { transform: translateY(-2px); }
.landing-button-primary { background: #0655b5; color: #fff; box-shadow: 0 10px 18px rgba(0, 63, 135, .16); }
.landing-button-primary:hover { background: #003f87; box-shadow: 0 13px 24px rgba(0, 63, 135, .22); }
.landing-button-secondary { border: 1px solid #c5d5e8; background: rgba(255,255,255,.74); color: #164b82; }
.landing-button-secondary:hover { background: #fff; }
.landing-hero-note { max-width: 555px; margin-top: 24px; padding-left: 14px; border-left: 3px solid #53b5b0; color: #4a627b; font-size: 13px; line-height: 1.6; }
.landing-queue-scene { position: relative; min-width: 0; padding: 25px; overflow: hidden; border: 1px solid #19527c; border-radius: 28px; background: radial-gradient(circle at 95% 7%, rgba(19,151,158,.28), transparent 40%), linear-gradient(145deg,#0d477c 0%,#092c55 62%,#071f3c 100%); box-shadow: 0 28px 46px rgba(18,55,95,.22); color: #fff; }
.landing-queue-scene::before { content: ''; position: absolute; width: 340px; height: 340px; right: -150px; bottom: -160px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 55px rgba(255,255,255,.025), 0 0 0 110px rgba(255,255,255,.02); pointer-events: none; }
.landing-scene-top, .landing-queue-card, .landing-scene-foot { position: relative; z-index: 1; }
.landing-scene-top { display: flex; justify-content: space-between; align-items: center; color: #a8d8ec; }
.landing-scene-kicker { font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.landing-scene-mark { color: #5cdbd4; font-size: 26px; }
.landing-queue-card { margin: 30px 0 24px; padding: 26px; border-radius: 19px; background: #fff; color: #0f2c4b; box-shadow: 0 12px 30px rgba(1,22,50,.14); }
.landing-queue-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.landing-queue-card-head > div { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 800; }
.landing-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #0aa69c; box-shadow: 0 0 0 4px #dff8f3; }
.landing-live-label { padding: 6px 9px; border-radius: 20px; background: #e9f7f6; color: #00706e; font-size: 10px; font-weight: 800; }
.landing-live-label.is-unavailable { background: #fff3e5; color: #9b570e; }
.landing-queue-caption { margin-top: 33px; color: #5d7187; font-size: 12px; font-weight: 650; }
.landing-ticket-number { display: block; min-height: 104px; color: #0458b9; font-family: 'Fraunces', Georgia, serif; font-size: clamp(70px, 7vw, 100px); font-weight: 600; line-height: 1.12; letter-spacing: -.07em; }
.landing-current-state { min-height: 25px; color: #214767; font-size: 14px; font-weight: 700; }
.landing-queue-divider { height: 1px; margin: 24px 0 17px; background: #e2eaf2; }
.landing-doctor-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; font-size: 12px; line-height: 1.45; }
.landing-doctor-row span { color: #697d92; flex: 0 0 auto; }
.landing-doctor-row strong { max-width: 65%; color: #153b5d; text-align: right; overflow-wrap: anywhere; }
.landing-up-next { margin-top: 20px; padding-top: 17px; border-top: 1px solid #e2eaf2; }
.landing-up-next[hidden] { display: none; }
.landing-up-next-heading { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; line-height: 1.45; }
.landing-up-next-heading strong { color: #183e61; font-size: 12px; }
.landing-up-next-heading span { color: #6b8095; font-size: 11px; }
.landing-up-next-groups { display: grid; gap: 10px; max-height: 178px; margin-top: 12px; overflow-y: auto; }
.landing-up-next-group { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 14px; padding: 9px 11px; border: 1px solid #e1ebf1; border-radius: 10px; background: #f8fbfd; }
.landing-up-next-doctor { color: #31536f; font-size: 11px; font-weight: 700; overflow-wrap: anywhere; }
.landing-up-next-tickets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.landing-up-next-group .landing-up-next-tickets { margin-top: 0; }
.landing-up-next-ticket { min-width: 64px; padding: 8px 12px; border: 1px solid #c9e2e9; border-radius: 9px; background: #eff9fa; color: #006c83; font-size: 14px; font-weight: 800; text-align: center; }
.landing-up-next-empty { color: #627b91; font-size: 12px; }
.landing-queue-updated { margin-top: 23px; color: #71849a; font-size: 10px; }
.landing-scene-foot { max-width: 340px; color: #c1d9ec; font-size: 12px; line-height: 1.55; }
.landing-section { width: min(1220px, calc(100% - 64px)); margin: auto; }
.landing-journey { padding: 88px 0 96px; }
.landing-section-head { max-width: 720px; }
.landing-section-head h2, .landing-care h2, .landing-cta h2 { margin: 13px 0 13px; color: #0d2f50; font-family: 'Fraunces', Georgia, serif; font-size: clamp(30px, 3.6vw, 45px); font-weight: 600; line-height: 1.18; letter-spacing: -.035em; }
.landing-section-head > p:last-child, .landing-care-copy > p:last-child { color: #567088; font-size: 15px; line-height: 1.7; }
.landing-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 38px; }
.landing-step { min-height: 226px; padding: 23px; border: 1px solid #e1eaf3; border-radius: 17px; background: #fff; box-shadow: 0 8px 24px rgba(15,55,90,.045); }
.landing-step-number { color: #087e91; font-family: 'Fraunces', Georgia, serif; font-size: 29px; font-weight: 600; }
.landing-step h3 { margin-top: 24px; color: #173c5e; font-size: 16px; }
.landing-step p { margin-top: 10px; color: #5b7085; font-size: 13px; line-height: 1.65; }
.landing-care { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .83fr); align-items: center; gap: 60px; padding: 58px 0 95px; border-top: 1px solid #e4ecf3; }
.landing-care-copy { max-width: 570px; }
.landing-care-points { padding: 13px 28px; border: 1px solid #dce9ee; border-radius: 20px; background: #f3fafb; }
.landing-care-points > div { display: flex; align-items: flex-start; gap: 15px; padding: 18px 0; }
.landing-care-points > div + div { border-top: 1px solid #dce9ee; }
.landing-care-points span { display: inline-grid; flex: 0 0 27px; width: 27px; height: 27px; place-items: center; border-radius: 50%; background: #d9f2ee; color: #00706e; font-size: 15px; font-weight: 800; }
.landing-care-points strong, .landing-care-points small { display: block; }
.landing-care-points strong { color: #193d5c; font-size: 14px; }
.landing-care-points small { margin-top: 4px; color: #5a7185; font-size: 12px; line-height: 1.5; }
.landing-cta { width: min(1220px, calc(100% - 64px)); margin: 0 auto 64px; padding: 42px 50px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-radius: 24px; background: linear-gradient(110deg,#0a407a,#09264c); color: #fff; }
.landing-cta .landing-section-label { color: #70d8cf; }
.landing-cta h2 { max-width: 590px; margin-bottom: 10px; color: #fff; font-size: clamp(27px, 3vw, 37px); }
.landing-cta p:last-child { color: #c6dbed; font-size: 13px; line-height: 1.6; }
.landing-cta-actions { display: flex; flex-direction: column; align-items: stretch; gap: 15px; flex: 0 0 auto; }
.landing-cta-actions .landing-button-primary { background: #fff; color: #064b91; box-shadow: none; }
.landing-cta-actions .landing-button-primary:hover { background: #eaf5ff; }
.landing-cta-login { color: #e2efff; font-size: 12px; font-weight: 700; text-align: center; text-decoration: underline; text-underline-offset: 4px; }
.landing-footer { width: min(1220px, calc(100% - 64px)); margin: auto; padding: 0 0 35px; display: flex; justify-content: space-between; gap: 18px; color: #61788e; font-size: 12px; }
.landing-footer a { color: #0855a3; font-weight: 700; }
@media (max-width: 980px) {
  .landing-hero-inner { grid-template-columns: 1fr; gap: 40px; min-height: 0; }
  .landing-hero-copy { max-width: 720px; }
  .landing-queue-scene { max-width: 680px; width: 100%; }
  .landing-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .landing-step { min-height: 190px; }
  .landing-care { gap: 32px; }
}
@media (max-width: 680px) {
  .landing-header-inner, .landing-hero-inner, .landing-section, .landing-cta, .landing-footer { width: min(100% - 36px, 540px); }
  .landing-header-inner { min-height: 70px; }
  .landing-brand img.smartcare-logo { width: 39px; height: 39px; }
  .landing-brand strong { font-size: 18px; }
  .landing-brand small { font-size: 9px; }
  .landing-nav { gap: 0; }
  .landing-nav-link { display: none; }
  .landing-signin { min-height: 40px; padding: 0 14px; }
  .landing-hero-inner { padding: 54px 0 58px; gap: 36px; }
  .landing-hero h1 { margin: 18px 0; font-size: clamp(40px, 11vw, 55px); }
  .landing-lead { font-size: 15px; line-height: 1.7; }
  .landing-hero-actions { flex-direction: column; align-items: stretch; margin-top: 26px; }
  .landing-button { min-height: 48px; }
  .landing-hero-note { font-size: 12px; }
  .landing-queue-scene { padding: 18px; border-radius: 21px; }
  .landing-queue-card { margin: 21px 0 18px; padding: 21px; }
  .landing-ticket-number { min-height: 82px; font-size: 75px; }
  .landing-journey { padding: 65px 0 68px; }
  .landing-steps { grid-template-columns: 1fr; gap: 11px; margin-top: 26px; }
  .landing-step { min-height: 0; padding: 20px; }
  .landing-step h3 { margin-top: 10px; }
  .landing-care { grid-template-columns: 1fr; padding: 52px 0 64px; gap: 27px; }
  .landing-cta { flex-direction: column; align-items: stretch; margin-bottom: 36px; padding: 31px 24px; }
  .landing-footer { flex-direction: column; padding-bottom: 30px; }
}
@media (max-width: 370px) {
  .landing-brand small { display: none; }
  .landing-queue-card-head > div { font-size: 11px; }
  .landing-doctor-row { flex-direction: column; gap: 5px; }
  .landing-doctor-row strong { max-width: 100%; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .landing-button { transition: none; }
  .landing-button:hover { transform: none; }
}
