.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 245, 240, 0.85);
  border-bottom: 1px solid rgba(9, 41, 66, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-inner {
  position: relative;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.site-logo {
  width: 132px;
  height: auto;
  object-fit: contain;
}

.site-brand-name {
  color: var(--color-primary);
  font-family: var(--font-family);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.site-nav a {
  color: var(--color-text-secondary);
  font-size: var(--text-sm, 14px);
  font-weight: var(--font-medium, 500);
  transition: var(--transition, 150ms ease);
}

.site-nav a:hover {
  color: var(--color-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.mobile-menu-button span {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-primary);
}

.hero {
  padding: 120px 0 104px;
  background:
    radial-gradient(
      circle at top right,
      rgba(26, 122, 94, 0.08) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at bottom left,
      rgba(9, 41, 66, 0.05) 0%,
      transparent 40%
    ),
    var(--color-bg);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: 80px;
}

.hero-content {
  max-width: 680px;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--color-primary);
  font-size: var(--text-xs, 12px);
  font-weight: var(--font-bold, 700);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 680px;
  font-size: clamp(46px, 5.3vw, 74px);
  line-height: 1.05;
  letter-spacing: -0.055em;
  font-weight: 800;
  background: linear-gradient(135deg, #092942 0%, #1a7a5e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-bottom: 5px;
  margin-bottom: 0;
}

.hero-description {
  max-width: 570px;
  margin-top: 24px;
  color: var(--color-text-secondary);
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 34px;
}

.hero-note {
  margin-top: 16px;
  color: var(--color-text-muted);
  font-size: var(--text-xs, 12px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary);
  font-size: var(--text-sm, 14px);
  font-weight: var(--font-semibold, 600);
}

.text-link span {
  transition: transform 150ms ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.workflow-animation {
  width: min(100%, 390px);
}

.workflow-device {
  position: relative;
  width: 100%;
  padding: 10px;
  overflow: hidden;
  border: 12px solid #0f172a;
  border-radius: 44px;
  background: #0f172a;
  box-shadow:
    0 25px 50px -12px rgba(9, 41, 66, 0.25),
    inset 0 0 0 2px rgba(255, 255, 255, 0.15);
}

.workflow-device-top {
  position: absolute;
  top: 8px;
  left: 50%;
  z-index: 4;
  width: calc(100% - 18px);
  display: flex;
  justify-content: space-between;
  padding: 10px 14px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.8);
  font-size: 10px;
  font-weight: 600;
  pointer-events: none;
}

.workflow-device-brand {
  letter-spacing: 0.04em;
}

.workflow-screen {
  position: relative;
  min-height: 530px;
  overflow: hidden;
  border-radius: 32px;
  background: var(--color-surface);
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.03);
}

.workflow-step-screen {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 76px 24px 28px;
  opacity: 0;
  transform: translateX(32px);
  pointer-events: none;
  transition:
    opacity 500ms ease,
    transform 500ms ease;
}

.workflow-step-screen.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.workflow-screen-label {
  margin-bottom: 10px;
  color: var(--color-text-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.workflow-step-screen h3 {
  color: var(--color-primary);
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.035em;
  text-align: center;
}

.workflow-step-screen > p {
  max-width: 260px;
  margin-top: 10px;
  color: var(--color-text-secondary);
  font-size: 13px;
  line-height: 1.55;
  text-align: center;
}

.workflow-qr {
  position: relative;
  width: 170px;
  height: 170px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-top: 30px;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.workflow-qr span {
  display: block;
  background: var(--color-primary);
  border-radius: 3px;
}

.workflow-qr span:nth-child(2),
.workflow-qr span:nth-child(4),
.workflow-qr span:nth-child(8) {
  background: transparent;
}

.workflow-qr span:nth-child(5) {
  background: var(--color-primary);
}

.workflow-scan-line {
  position: absolute;
  top: 215px;
  width: 170px;
  height: 3px;
  background: var(--color-accent, #1a7a5e);
  box-shadow: 0 0 16px rgba(26, 122, 94, 0.6);
  border-radius: 3px;
  animation: workflowScan 1.8s ease-in-out infinite;
}

@keyframes workflowScan {
  0%,
  100% {
    transform: translateY(-48px);
    opacity: 0.3;
  }
  50% {
    transform: translateY(48px);
    opacity: 1;
  }
}

.workflow-hint {
  margin-top: 22px;
  color: var(--color-text-muted);
  font-size: 11px;
}

.workflow-token {
  width: 100%;
  max-width: 245px;
  margin-top: 30px;
  padding: 30px 20px;
  border: 1px solid rgba(9, 41, 66, 0.08);
  border-radius: 20px;
  background: var(--color-bg);
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.5);
  text-align: center;
}

.workflow-token span {
  display: block;
  color: var(--color-text-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.workflow-token strong {
  display: block;
  margin-top: 8px;
  color: var(--color-primary);
  font-size: 64px;
  line-height: 1;
  letter-spacing: -0.05em;
}

.workflow-token small {
  display: block;
  margin-top: 10px;
  color: var(--color-text-secondary);
  font-size: 11px;
}

.workflow-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--color-text-secondary);
  font-size: 11px;
  font-weight: 500;
}

.workflow-status > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent, #1a7a5e);
  box-shadow: 0 0 8px rgba(26, 122, 94, 0.4);
}

.workflow-status.complete {
  color: var(--color-success);
}

.workflow-queue {
  width: 100%;
  max-width: 270px;
  margin-top: 26px;
  overflow: hidden;
  border: 1px solid rgba(9, 41, 66, 0.08);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  background: #fff;
}

.workflow-queue-row {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 8px;
  min-height: 56px;
  padding: 0 16px;
  border-bottom: 1px solid var(--color-border);
}

.workflow-queue-row:last-child {
  border-bottom: 0;
}

.workflow-queue-row strong {
  color: var(--color-primary);
  font-size: 14px;
}

.workflow-queue-row span {
  color: var(--color-text-secondary);
  font-size: 11px;
  font-weight: 500;
}

.workflow-queue-row small {
  color: var(--color-text-muted);
  font-size: 10px;
}

.workflow-queue-row.current {
  background: linear-gradient(
    90deg,
    rgba(26, 122, 94, 0.05) 0%,
    transparent 100%
  );
}

.workflow-queue-row.current strong {
  color: var(--color-accent, #1a7a5e);
}

.workflow-prescription {
  width: 100%;
  max-width: 275px;
  margin-top: 25px;
  padding: 20px;
  border: 1px solid rgba(9, 41, 66, 0.08);
  border-radius: 16px;
  background: var(--color-bg);
  box-shadow: var(--shadow-sm);
}

.workflow-prescription-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--color-border);
  color: var(--color-text-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.workflow-prescription-header span:last-child {
  color: var(--color-success);
  font-size: 14px;
}

.workflow-medicine {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
}

.workflow-medicine:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.workflow-medicine strong {
  color: var(--color-text);
  font-size: 12px;
}

.workflow-medicine span {
  color: var(--color-text-muted);
  font-size: 11px;
}

.workflow-animation-caption {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}

.workflow-progress {
  display: flex;
  align-items: center;
  gap: 8px;
}

.workflow-progress span {
  width: 24px;
  height: 4px;
  border-radius: 999px;
  background: rgba(9, 41, 66, 0.1);
  transition:
    width 300ms ease,
    background 300ms ease;
}

.workflow-progress span.active {
  width: 36px;
  background: var(--color-primary);
}

.workflow-caption-text {
  color: var(--color-text-muted);
  font-size: 11px;
  font-weight: 500;
  text-align: center;
}

.trust-strip {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.trust-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.trust-inner > p {
  color: var(--color-text-secondary);
  font-size: var(--text-sm, 14px);
  font-weight: var(--font-medium, 500);
}

.trust-points {
  display: flex;
  align-items: center;
  gap: 32px;
}

.trust-points span {
  color: var(--color-text-muted);
  font-size: var(--text-xs, 12px);
  font-weight: 500;
}

.problem-section {
  padding: 130px 0;
  background: var(--color-surface);
}

.narrow-container {
  max-width: 820px;
}

.problem-section h2,
.section-heading h2,
.doctor-content h2,
.privacy-card h2,
.cta-card h2 {
  color: var(--color-primary);
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-weight: 800;
}

.section-description {
  max-width: 680px;
  margin-top: 24px;
  color: var(--color-text-secondary);
  font-size: 18px;
  line-height: 1.7;
}

.workflow-section {
  padding: 120px 0;
  background: var(--color-bg);
}

.section-heading {
  max-width: 650px;
  margin-bottom: 60px;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background: transparent;
  border: none;
}

.workflow-step {
  min-height: 260px;
  padding: 32px;
  background: var(--color-surface);
  border: 1px solid rgba(9, 41, 66, 0.08);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  transition:
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}

.workflow-step:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(26, 122, 94, 0.2);
}

.step-number {
  display: inline-block;
  margin-bottom: 32px;
  color: var(--color-primary);
  background: rgba(9, 41, 66, 0.06);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.workflow-step h3 {
  margin-bottom: 14px;
  color: var(--color-primary);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.workflow-step p {
  color: var(--color-text-secondary);
  font-size: 15px;
  line-height: 1.65;
}

.doctor-section {
  padding: 130px 0;
  background: var(--color-surface);
}

.doctor-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
  align-items: center;
  gap: 90px;
}

.doctor-content > p:not(.eyebrow) {
  max-width: 560px;
  margin-top: 24px;
  color: var(--color-text-secondary);
  font-size: 18px;
  line-height: 1.7;
}

.feature-list {
  display: grid;
  gap: 16px;
  margin-top: 36px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-text);
  font-size: 15px;
  font-weight: 500;
}

.feature-list li span {
  color: var(--color-success);
  font-weight: 800;
}

.doctor-note {
  overflow: hidden;
  background: var(--color-bg);
  border: 1px solid rgba(9, 41, 66, 0.08);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.note-header {
  display: flex;
  justify-content: space-between;
  padding: 24px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  font-size: 13px;
  font-weight: 600;
}

.note-status {
  color: var(--color-success);
}

.note-body {
  padding: 28px;
}

.note-label {
  display: block;
  margin-bottom: 24px;
  color: var(--color-text-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.prescription-line {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px dashed var(--color-border);
  color: var(--color-text-secondary);
  font-size: 15px;
}

.prescription-line:last-child {
  border-bottom: 0;
}

.privacy-section {
  padding: 110px 0;
  background: var(--color-bg);
}

.privacy-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  gap: 60px;
  padding: 60px;
  background: var(--color-surface);
  border: 1px solid rgba(9, 41, 66, 0.06);
  border-radius: 32px;
  box-shadow: var(--shadow-md);
}

.privacy-card > p {
  color: var(--color-text-secondary);
  font-size: var(--text-md, 16px);
  line-height: 1.7;
}

.privacy-card .text-link {
  grid-column: 2;
  margin-top: -36px;
}

.cta-section {
  padding: 0 0 110px;
  background: var(--color-bg);
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 64px;
  background: linear-gradient(135deg, var(--color-primary) 0%, #1a7a5e 100%);
  border-radius: 32px;
  box-shadow: var(--shadow-lg);
}

.cta-card .eyebrow {
  color: rgba(255, 255, 255, 0.75);
}

.cta-card h2 {
  color: #fff;
}

.cta-card p:not(.eyebrow) {
  max-width: 520px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  font-size: 17px;
}

.site-footer {
  padding: 80px 0 32px;
  background: #061522;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr repeat(3, 1fr);
  gap: 60px;
}

.footer-brand .site-logo {
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-brand .site-brand-name {
  color: #fff;
}

.footer-brand p {
  max-width: 250px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  line-height: 1.6;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.footer-column h3 {
  margin-bottom: 8px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  transition: var(--transition);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 70px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
}

@media (max-width: 1000px) {
  .site-nav {
    display: none;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-visual {
    justify-content: center;
  }

  .workflow-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .doctor-grid {
    grid-template-columns: 1fr;
    gap: 56px;
    text-align: center;
  }
  .doctor-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .feature-list {
    justify-content: center;
  }

  .privacy-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .privacy-card .text-link {
    margin-top: 0;
    justify-content: center;
  }
}

@media (max-width: 760px) {
  .header-actions {
    display: none;
  }
  .mobile-menu-button {
    display: flex;
    margin-left: auto;
  }
  .header-inner {
    min-height: 64px;
  }

  .site-nav.mobile-open {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 20px 16px;
    background: var(--color-surface);
    border-bottom: 1px solid rgba(9, 41, 66, 0.08);
    border-radius: 0 0 24px 24px;
    box-shadow: var(--shadow-md);
  }
  .site-nav.mobile-open a {
    padding: 14px 0;
    border-bottom: 1px solid var(--color-border);
    text-align: center;
    font-weight: 600;
  }
  .site-nav.mobile-open a:last-child {
    border-bottom: 0;
  }

  .header-actions.mobile-open {
    position: absolute;
    top: 270px;
    left: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    padding: 16px;
    background: var(--color-surface);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
  }

  .hero {
    padding: 56px 0 64px;
  }
  .hero h1 {
    font-size: 40px;
    line-height: 1.15;
    padding-bottom: 8px;
  }
  .hero-description {
    font-size: 16px;
    padding: 0 10px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 16px;
  }
  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
  }

  .trust-inner {
    flex-direction: column;
    padding: 32px 0;
    text-align: center;
    gap: 24px;
  }
  .trust-points {
    flex-direction: column;
    gap: 16px;
  }

  .problem-section,
  .workflow-section,
  .doctor-section {
    padding: 72px 0;
    text-align: center;
  }
  .section-heading h2,
  .problem-section h2,
  .doctor-content h2,
  .privacy-card h2,
  .cta-card h2 {
    font-size: 32px;
  }
  .section-description {
    font-size: 16px;
    margin-left: auto;
    margin-right: auto;
  }

  .workflow-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .workflow-step {
    min-height: auto;
    padding: 28px 24px;
  }
  .step-number {
    margin-bottom: 16px;
  }

  .privacy-section {
    padding: 64px 0;
  }
  .privacy-card {
    padding: 40px 24px;
    border-radius: 24px;
  }

  .cta-section {
    padding-bottom: 72px;
  }
  .cta-card {
    flex-direction: column;
    padding: 40px 24px;
    text-align: center;
    border-radius: 24px;
    gap: 32px;
  }
  .cta-card p {
    text-align: center;
    margin: 16px auto 0;
  }
  .cta-card .btn {
    width: 100%;
    max-width: 280px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .footer-column {
    align-items: center;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .workflow-animation {
    width: 100%;
    max-width: 310px;
    margin: 0 auto;
  }
  .workflow-screen {
    min-height: 490px;
  }
  .workflow-step-screen {
    padding-top: 60px;
  }
  .workflow-qr {
    width: 140px;
    height: 140px;
  }
  .workflow-scan-line {
    top: 200px;
    width: 140px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .workflow-step-screen,
  .workflow-scan-line,
  .workflow-step,
  .btn {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}
