:root {
  --primary: #001e40;
  --primary-container: #003366;
  --secondary: #0058bc;
  --secondary-container: #0070eb;
  --tertiary: #0f2028;
  --background: #f8f9ff;
  --surface: #f8f9ff;
  --surface-low: #eff4ff;
  --surface-card: #ffffff;
  --surface-high: #dce9ff;
  --ink: #0b1c30;
  --ink-soft: #43474f;
  --muted: #737780;
  --line: #c3c6d1;
  --line-soft: #e5eeff;
  --success: #2e7d32;
  --success-soft: #eefaf4;
  --warning: #c89f57;
  --error: #ba1a1a;
  --error-soft: #ffdad6;
  --shadow: 0 20px 60px rgba(11, 28, 48, 0.12);
  --shadow-soft: 0 8px 24px rgba(11, 28, 48, 0.08);
  --radius: 8px;
  --app-radius-sm: 4px;
  --app-radius-md: 12px;
  --app-radius-lg: 16px;
  --app-radius-xl: 24px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--background);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  max-width: 100%;
  overflow-x: hidden;
}

img,
svg {
  display: block;
}

svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  transform: translateY(-140%);
  border-radius: var(--radius);
  background: var(--primary);
  color: #ffffff;
  padding: 10px 14px;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(1120px, calc(100vw - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(195, 198, 209, 0.68);
  background: rgba(248, 249, 255, 0.9);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-size: 1.05rem;
  font-weight: 800;
  white-space: nowrap;
}

.brand-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: 0 8px 22px rgba(0, 88, 188, 0.2);
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.primary-nav a {
  border-radius: var(--radius);
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 700;
  padding: 10px 12px;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  background: rgba(0, 88, 188, 0.08);
  color: var(--secondary);
  outline: none;
}

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

.nav-download,
.button,
.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-weight: 800;
}

.nav-download {
  min-height: 42px;
  gap: 8px;
  background: var(--primary);
  color: #ffffff;
  padding: 0 14px;
  font-size: 0.92rem;
}

.nav-download svg,
.button svg {
  width: 18px;
  height: 18px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--primary);
}

.menu-toggle svg {
  width: 23px;
  height: 23px;
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(195, 198, 209, 0.7);
  background:
    radial-gradient(circle at 75% 18%, rgba(0, 112, 235, 0.14), transparent 34%),
    linear-gradient(180deg, #f8f9ff 0%, #eff4ff 100%);
}

/* Ambient Background Glow Blobs */
.glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
  z-index: 1;
  pointer-events: none;
  animation: floatBlob 24s infinite alternate ease-in-out;
}

.blob-1 {
  top: 10%;
  right: 15%;
  width: 420px;
  height: 420px;
  background: var(--secondary-container);
}

.blob-2 {
  bottom: 12%;
  right: 28%;
  width: 340px;
  height: 340px;
  background: #d81b60; /* Sweet Pink accent glow */
  animation-delay: -6s;
  animation-duration: 28s;
}

.blob-3 {
  top: 45%;
  right: 6%;
  width: 260px;
  height: 260px;
  background: #00e5ff;
  animation-delay: -12s;
  animation-duration: 20s;
}

@keyframes floatBlob {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(60px, -60px) scale(1.15);
  }
  100% {
    transform: translate(-30px, 40px) scale(0.9);
  }
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(560px, 1.24fr);
  gap: 44px;
  align-items: center;
  min-height: 100svh;
  max-width: 100%;
  padding: 48px 0 58px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--secondary);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  color: var(--primary);
  font-size: clamp(3.4rem, 9vw, 5.2rem);
  line-height: 0.98;
}

.hero-lede {
  max-width: 560px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  min-height: 52px;
  gap: 10px;
  max-width: 100%;
  padding: 0 18px;
  border: 1px solid transparent;
  font-size: 0.98rem;
}

.button-primary {
  background: var(--secondary-container);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(0, 112, 235, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--secondary);
  outline: none;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(195, 198, 209, 0.8);
  color: var(--primary);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(0, 88, 188, 0.45);
  color: var(--secondary);
  outline: none;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-stats span {
  border: 1px solid rgba(195, 198, 209, 0.74);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 800;
  padding: 8px 10px;
}

.app-showcase {
  position: relative;
  display: grid;
  gap: 14px;
  justify-self: end;
  width: min(100%, 660px);
  min-width: 0;
}

.showcase-tabs {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.showcase-tab {
  min-width: 0;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink-soft);
  font-size: 0.85rem;
  font-weight: 800;
  padding: 0 12px;
}

.showcase-tab:hover,
.showcase-tab:focus-visible,
.showcase-tab.is-active {
  border-color: var(--secondary);
  background: var(--primary);
  color: #ffffff;
  outline: none;
}

.showcase-body {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
}

.phone-frame {
  position: relative;
  overflow: hidden;
  width: 375px;
  height: 812px;
  border: 12px solid #151922;
  border-radius: 38px;
  background: var(--background);
  box-shadow: var(--shadow);
}

.phone-frame::after {
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 88px;
  height: 4px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #cbd5e1;
  content: "";
  z-index: 10;
}

.phone-camera {
  position: absolute;
  left: 50%;
  top: 8px;
  z-index: 12;
  width: 86px;
  height: 26px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #070b12;
}

.phone-status {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 11;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 50px;
  padding: 14px 22px 0;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 800;
}

.phone-status-icons {
  display: inline-flex;
  gap: 4px;
}

.phone-status-icons svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  stroke: none;
}

.app-screen {
  position: absolute;
  inset: 0;
  display: none;
  padding: 56px 20px 104px;
  background: var(--background);
  overflow: hidden;
}

.app-showcase[data-active-screen="dashboard"] [data-screen-panel="dashboard"],
.app-showcase[data-active-screen="wardrobe"] [data-screen-panel="wardrobe"],
.app-showcase[data-active-screen="scan"] [data-screen-panel="scan"] {
  display: block;
}

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 54px;
}

.app-user {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
}

.app-user img {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  object-fit: cover;
}

.app-user strong {
  min-width: 0;
  color: var(--primary);
  font-size: 1.04rem;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-icon-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.round-icon {
  position: relative;
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink-soft);
}

.round-icon svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
  stroke: none;
}

.badge {
  position: absolute;
  right: 3px;
  top: 3px;
  display: inline-flex;
  min-width: 16px;
  height: 16px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--error);
  color: #ffffff;
  font-size: 0.58rem;
  font-weight: 800;
  padding: 0 4px;
}



.bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.bento-card {
  position: relative;
  display: grid;
  min-height: 120px;
  overflow: hidden;
  align-content: space-between;
  border: 0;
  border-radius: var(--app-radius-xl);
  color: #ffffff;
  padding: 16px;
  text-align: left;
  box-shadow: var(--shadow-soft);
}

.bento-card svg {
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 112px;
  height: 112px;
  color: rgba(255, 255, 255, 0.08);
  fill: currentColor;
  stroke: none;
}

.primary-card {
  background: var(--primary);
}

.dark-card {
  background: var(--tertiary);
}

.bento-card span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
  font-weight: 700;
}

.bento-card strong {
  font-size: 2.3rem;
  line-height: 1;
}

.section-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.section-row h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1.18rem;
}

.section-row button {
  border: 0;
  background: transparent;
  color: var(--secondary);
  font-size: 0.82rem;
  font-weight: 800;
}

.trip-card {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--app-radius-xl);
  background: var(--surface-card);
  color: var(--ink);
  padding: 16px;
  text-align: left;
  box-shadow: 0 1px 2px rgba(11, 28, 48, 0.04);
}

.trip-content {
  min-width: 0;
  flex: 1;
}

.trip-title {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
}

.trip-title svg {
  width: 15px;
  height: 15px;
  color: var(--secondary);
}

.trip-title strong {
  font-size: 0.88rem;
}

.progress-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
}

.progress-label b {
  color: var(--secondary);
}

.progress-track {
  height: 8px;
  overflow: hidden;
  margin-top: 5px;
  border-radius: 999px;
  background: var(--line-soft);
}

.progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--secondary);
}

.trip-detail-list {
  display: grid;
  gap: 3px;
  margin-top: 9px;
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 650;
}

.trip-detail-list span::before {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--secondary);
  content: "";
  vertical-align: 1px;
}

.trip-thumb {
  flex: 0 0 70px;
  width: 70px;
  height: 70px;
  border: 1px solid var(--line);
  border-radius: var(--app-radius-lg);
  background:
    linear-gradient(#ffffff, #ffffff) 10px 12px / 50px 15px no-repeat,
    linear-gradient(#cfe3ff, #cfe3ff) 10px 29px / 50px 14px no-repeat,
    linear-gradient(#1f6fbd, #1f6fbd) 10px 45px / 50px 12px no-repeat,
    #eff4ff;
}

.app-fab {
  position: absolute;
  right: 20px;
  bottom: 102px;
  display: inline-flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--app-radius-lg);
  background: var(--secondary-container);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 112, 235, 0.28);
}

.app-fab svg {
  width: 28px;
  height: 28px;
}

.wardrobe-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--app-radius-xl);
  background: var(--surface-high);
  padding: 18px;
  margin-bottom: 16px;
}

.wardrobe-summary small {
  grid-column: 1 / -1;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 800;
}

.wardrobe-summary div {
  grid-column: 1 / -1;
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.wardrobe-summary strong {
  color: var(--ink);
  font-size: 2rem;
  line-height: 1;
}

.wardrobe-summary div span,
.wardrobe-summary p {
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 700;
}

.wardrobe-summary p {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  border: 1px solid rgba(195, 198, 209, 0.66);
  border-radius: var(--app-radius-md);
  background: rgba(255, 255, 255, 0.72);
  padding: 7px 9px;
}

.wardrobe-summary p span:first-child {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--secondary-container);
}

.wardrobe-summary p:last-child span:first-child {
  background: var(--error);
}

.search-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.search-box {
  display: flex;
  flex: 1;
  height: 48px;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--app-radius-md);
  background: #ffffff;
  color: var(--muted);
  padding: 0 12px;
}

.search-box svg,
.filter-button svg {
  width: 20px;
  height: 20px;
}

.search-box input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 0.88rem;
}

.filter-button {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--primary);
  border-radius: var(--app-radius-md);
  background: var(--primary);
  color: #ffffff;
}

.chip-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.chip-row span {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--app-radius-md);
  background: var(--surface-high);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 6px 10px;
}

.garment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.garment-grid::-webkit-scrollbar {
  display: none;
}

.garment-card {
  position: relative;
  min-width: 0;
}

.garment-art {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--app-radius-lg);
  background: var(--surface-low);
  margin-bottom: 8px;
}

.garment-art::before,
.garment-art::after {
  position: absolute;
  content: "";
}

.garment-art::before {
  left: 50%;
  top: 22%;
  width: 54%;
  height: 58%;
  transform: translateX(-50%);
  border-radius: 10px 10px 7px 7px;
}

.garment-art::after {
  left: 50%;
  top: 20%;
  width: 26%;
  height: 10%;
  transform: translateX(-50%);
  border-radius: 0 0 999px 999px;
  background: var(--surface-low);
}

.garment-shirt::before {
  background: #cfe3ff;
}

.garment-tee::before {
  background: #f7f7f5;
  border: 1px solid #dde5ec;
}

.garment-denim::before {
  background: #4b84be;
}

.garment-knit::before {
  background: #e9dfcf;
}

.garment-card strong {
  display: block;
  color: var(--ink);
  font-size: 0.8rem;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.garment-card p {
  margin: 3px 0 0;
  color: var(--ink-soft);
  font-size: 0.72rem;
}

.garment-card b {
  position: absolute;
  left: 8px;
  top: 8px;
  border-radius: var(--radius);
  background: var(--success-soft);
  color: var(--success);
  font-size: 0.64rem;
  padding: 4px 7px;
}

.garment-card.is-cleaning b {
  background: #fff0f1;
  color: var(--error);
}

.scan-screen {
  padding: 0;
  background: #000000;
}

.camera-feed,
.camera-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.camera-feed {
  object-fit: cover;
}

.camera-shade {
  background: rgba(0, 0, 0, 0.28);
}

.scan-grid-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: 
    linear-gradient(rgba(0, 88, 188, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 88, 188, 0.12) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: center;
  z-index: 2;
}

.scan-rec-indicator {
  position: absolute;
  top: 110px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: var(--app-radius-sm);
  letter-spacing: 0.05em;
}

.rec-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff1744;
  animation: blinkRec 1s infinite alternate;
}

@keyframes blinkRec {
  0% { opacity: 0.2; }
  100% { opacity: 1; }
}

.scan-header {
  position: absolute;
  left: 20px;
  right: 20px;
  top: 58px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ffffff;
}

.scan-header strong {
  font-size: 1rem;
}

.scan-header button {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.36);
  color: #ffffff;
}

.scan-header svg {
  width: 21px;
  height: 21px;
}

.viewfinder {
  position: absolute;
  left: 50%;
  top: 46%;
  z-index: 2;
  width: 74%;
  height: 330px;
  max-height: 44%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.05);
}

.corner {
  position: absolute;
  width: 44px;
  height: 44px;
  border-color: #ffffff;
}

.top-left {
  left: -2px;
  top: -2px;
  border-left: 6px solid;
  border-top: 6px solid;
  border-top-left-radius: 36px;
}

.top-right {
  right: -2px;
  top: -2px;
  border-right: 6px solid;
  border-top: 6px solid;
  border-top-right-radius: 36px;
}

.bottom-left {
  left: -2px;
  bottom: -2px;
  border-left: 6px solid;
  border-bottom: 6px solid;
  border-bottom-left-radius: 36px;
}

.bottom-right {
  right: -2px;
  bottom: -2px;
  border-right: 6px solid;
  border-bottom: 6px solid;
  border-bottom-right-radius: 36px;
}

.laser-line {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 20px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.95);
  animation: scanLine 2.6s ease-in-out infinite;
}

@keyframes scanLine {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(260px);
  }
}

.scan-pill {
  position: absolute;
  left: 50%;
  bottom: 226px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(11, 28, 48, 0.86);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 800;
  white-space: nowrap;
  padding: 9px 14px;
}

.scan-pill svg {
  width: 16px;
  height: 16px;
}

.capture-tray {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 120px;
  z-index: 4;
  display: grid;
  place-items: center;
  gap: 12px;
}

.capture-tray span {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0;
  padding: 7px 12px;
}

.shutter {
  width: 84px;
  height: 84px;
  border: 6px solid rgba(255, 255, 255, 0.48);
  border-radius: 50%;
  background: #ffffff content-box;
  padding: 4px;
}

.scan-sheet {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 80px;
  z-index: 25;
  border-radius: 24px;
  background: #ffffff;
  padding: 18px;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(115%);
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.scan-sheet.is-open {
  transform: translateY(0);
}

.camera-flash {
  position: absolute;
  inset: 0;
  background: #ffffff;
  opacity: 0;
  z-index: 10;
  pointer-events: none;
}

.camera-flash.flash-active {
  animation: cameraFlash 400ms ease-out;
}

@keyframes cameraFlash {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.sheet-handle {
  display: block;
  width: 40px;
  height: 4px;
  margin: 0 auto 12px;
  border-radius: 999px;
  background: var(--line);
}

.scan-sheet h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1.08rem;
}

.scan-sheet p {
  margin: 2px 0 12px;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.detected-card {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--app-radius-lg);
  background: var(--background);
  padding: 10px;
}

.detected-card img {
  width: 58px;
  height: 58px;
  border: 1px solid var(--line);
  border-radius: var(--app-radius-md);
  object-fit: cover;
}

.detected-card small {
  display: block;
  color: var(--secondary);
  font-size: 0.62rem;
  font-weight: 900;
}

.detected-card strong {
  color: var(--ink);
  font-size: 0.92rem;
}

.care-symbol-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.care-symbol-grid span {
  border: 1px solid var(--line);
  border-radius: var(--app-radius-md);
  background: #ffffff;
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 9px;
  text-align: center;
}

.app-tab-bar {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 66px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--app-radius-xl);
  background: rgba(32, 32, 35, 0.94);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.tab-item {
  display: flex;
  flex: 1;
  height: 100%;
  min-width: 0;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.45);
  padding: 0;
}

.tab-item > svg,
.tab-item > span {
  pointer-events: none;
}

.tab-item svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  stroke: none;
}

.tab-item span {
  display: block;
  max-width: 72px;
  margin-top: 4px;
  font-size: 0.58rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.tab-item {
  flex-direction: column;
}

.tab-item.is-active::before {
  position: absolute;
  width: 70px;
  height: 52px;
  border-radius: var(--app-radius-lg);
  background: rgba(255, 255, 255, 0.12);
  content: "";
}

.tab-item.is-active {
  position: relative;
  color: #ffffff;
}

.tab-item.is-active svg,
.tab-item.is-active span {
  position: relative;
  z-index: 1;
}

/* Profile Screen Panel */
.app-showcase[data-active-screen="profile"] [data-screen-panel="profile"] {
  display: block;
}

.profile-screen {
  background: var(--background);
}

.profile-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}

.profile-section-title {
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
  margin-bottom: -2px;
}

.profile-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  background: var(--surface-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--app-radius-md);
  box-shadow: 0 1px 3px rgba(11, 28, 48, 0.02);
}

.profile-row span {
  font-size: 0.82rem;
  color: var(--ink-soft);
  font-weight: 700;
}

.profile-row strong {
  font-size: 0.82rem;
  color: var(--primary);
  font-weight: 800;
}

/* Interactive Chip Row Buttons */
.chip-row button {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--app-radius-md);
  background: #ffffff;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 6px 10px;
  cursor: pointer;
  transition: all 150ms ease;
  font-family: inherit;
}

.chip-row button:hover {
  background: var(--surface-low);
}

.chip-row button.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}



.intro-band {
  background: var(--primary);
  color: #ffffff;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
  padding: 34px 0;
}

.intro-grid p {
  margin: 0;
}

.intro-grid p:first-child {
  font-size: 1.4rem;
  font-weight: 850;
  line-height: 1.18;
}

.intro-grid p:last-child {
  color: rgba(255, 255, 255, 0.78);
}

.section {
  padding: 92px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 38px;
}

.section-heading h2,
.care-copy h2,
.download-grid h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 5vw, 2.8rem);
  line-height: 1.06;
}

.section-heading p:not(.eyebrow),
.care-copy p,
.download-grid p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  min-height: 258px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-card);
  padding: 22px;
  box-shadow: 0 12px 32px rgba(11, 28, 48, 0.05);
}

.feature-icon {
  display: flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: rgba(0, 88, 188, 0.09);
  color: var(--secondary);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  margin: 20px 0 10px;
  color: var(--ink);
  font-size: 1.1rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}/* Video Demo Section */
.video-section {
  background: var(--surface-card);
  border-top: 1px solid rgba(195, 198, 209, 0.5);
}

.video-container {
  max-width: 920px;
  margin: 40px auto 0;
  border-radius: var(--app-radius-lg);
  border: 1px solid var(--line-soft);
  overflow: hidden;
  background: #000000;
  box-shadow: var(--shadow);
}

.video-player-card {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  cursor: pointer;
  background: #000000;
}

.video-thumbnail-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.65);
  transition: filter 300ms ease;
}

.video-player-card:hover .video-thumbnail {
  filter: brightness(0.75);
}

.video-overlay-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 30%, rgba(11, 28, 48, 0.4) 100%);
  pointer-events: none;
  z-index: 1;
}

.video-play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--secondary);
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(0, 88, 188, 0.35);
  transition: transform 200ms ease, background-color 200ms ease, box-shadow 200ms ease;
  z-index: 5;
  cursor: pointer;
}

.video-play-btn svg {
  width: 32px;
  height: 32px;
  margin-left: 4px;
}

.video-player-card:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--secondary-container);
  box-shadow: 0 16px 36px rgba(0, 88, 188, 0.45);
}

.video-element-wrapper {
  width: 100%;
  height: 100%;
}

.promo-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}



.workflow-section {
  background: #eef4fb;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.workflow-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1fr);
  gap: 52px;
  align-items: center;
}

.workflow-copy {
  margin-bottom: 0;
}

.step-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 18px;
}

.step-list li > span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--primary);
  color: #ffffff;
  font-weight: 900;
}

.step-list strong {
  display: block;
  color: var(--ink);
  font-size: 1.02rem;
}

.step-list p {
  margin: 4px 0 0;
  color: var(--muted);
}

.care-section {
  background: var(--background);
}

.care-grid {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 56px;
  align-items: center;
}

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

.care-visual img {
  width: min(360px, 100%);
  object-fit: contain;
  filter: drop-shadow(0 22px 38px rgba(11, 28, 48, 0.16));
}

.care-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}

.care-list span {
  min-height: 60px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink-soft);
  font-weight: 800;
  padding: 16px;
}

.download-section {
  padding: 84px 0;
  background: var(--primary);
  color: #ffffff;
}

.download-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
}

.download-grid .eyebrow,
.download-grid h2 {
  color: #ffffff;
}

.download-grid p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.74);
}

.store-actions {
  display: grid;
  gap: 12px;
  min-width: 236px;
}

.store-badge {
  min-height: 66px;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  padding: 0 16px;
}

.store-badge:hover,
.store-badge:focus-visible {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.14);
  outline: none;
}

.store-badge svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.4;
}

.store-badge span {
  display: grid;
  gap: 1px;
  min-width: 142px;
}

.store-badge small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.76rem;
  font-weight: 700;
}

.store-badge strong {
  font-size: 1.16rem;
  line-height: 1.1;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.footer-grid {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  text-align: right;
}

.footer-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.footer-nav {
  display: flex;
  gap: 16px;
}

.footer-nav a {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.footer-nav a:hover {
  color: var(--secondary);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 80;
  max-width: min(440px, calc(100% - 32px));
  transform: translate(-50%, 140%);
  border-radius: var(--radius);
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 16px 40px rgba(11, 28, 48, 0.24);
  font-weight: 800;
  opacity: 0;
  padding: 14px 16px;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.toast.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.legal-section {
  min-height: 80svh;
  padding: 140px 0 80px;
  background: var(--surface-card);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h1 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: clamp(2.3rem, 6vw, 3.2rem);
  line-height: 1.05;
}

.legal-content .last-updated {
  display: block;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 700;
  margin-bottom: 42px;
  text-transform: uppercase;
}

.legal-content h2 {
  margin: 42px 0 18px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 1.7rem;
  line-height: 1.2;
  padding-bottom: 10px;
}

.legal-content p {
  color: var(--ink-soft);
  margin: 0 0 20px;
  line-height: 1.62;
  font-size: 1.04rem;
}

.legal-content ul {
  margin: 0 0 24px;
  padding-left: 24px;
  color: var(--ink-soft);
}

.legal-content li {
  margin-bottom: 10px;
  line-height: 1.55;
  font-size: 1.02rem;
}

/* Interactive Showcase styles */
.interactive-showcase {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 48px;
}

.showcase-tabs-vertical {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.showcase-nav-btn {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--surface-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--app-radius-xl);
  text-align: left;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: var(--shadow-soft);
}

.showcase-nav-btn:hover {
  background: var(--surface-low);
  transform: translateY(-2px);
}

.showcase-nav-btn.is-active {
  background: var(--surface-low);
  border-color: var(--secondary);
  box-shadow: 0 8px 30px rgba(0, 88, 188, 0.08);
}

.showcase-nav-icon {
  width: 44px;
  height: 44px;
  background: var(--surface-high);
  color: var(--secondary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.showcase-nav-btn.is-active .showcase-nav-icon {
  background: var(--secondary);
  color: #ffffff;
}

.showcase-nav-content h3 {
  margin: 0 0 6px 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
}

.showcase-nav-content p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

.showcase-display {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 660px; /* Increased from 600px to prevent cropping the 634px scaled desktop phone */
  overflow: hidden;
}

.phone-scale-wrapper {
  width: 293px;
  height: 634px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.phone-scale-wrapper .phone-frame {
  transform: scale(0.78);
  transform-origin: center;
  flex-shrink: 0;
  margin: 0;
  pointer-events: none;
  justify-self: center;
}

@media (max-width: 980px) {
  .phone-scale-wrapper {
    width: 265px;
    height: 574px;
  }
  .showcase-display {
    height: 600px;
  }
}

@media (max-width: 420px) {
  .phone-scale-wrapper {
    width: 100%;
    height: 500px;
  }
  .showcase-display {
    height: 520px;
  }
}

.showcase-display .app-screen {
  display: none !important;
}

.showcase-display .app-screen.is-active {
  display: block !important;
}

/* Pricing Section Styles */
.pricing-section {
  background: var(--surface-low);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.pricing-toggle-container {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  background: var(--surface-card);
  padding: 6px 14px;
  border-radius: 30px;
  border: 1px solid var(--line-soft);
}

.toggle-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--muted);
  transition: color 0.2s ease;
}

.toggle-label.active {
  color: var(--primary);
}

.pricing-toggle-btn {
  width: 44px;
  height: 24px;
  background: var(--line-soft);
  border: 0;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.pricing-toggle-btn[aria-checked="true"] {
  background: var(--secondary);
}

.toggle-switch-handle {
  width: 18px;
  height: 18px;
  background: #ffffff;
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 3px;
  transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.pricing-toggle-btn[aria-checked="true"] .toggle-switch-handle {
  transform: translateX(20px);
}

.save-badge {
  font-size: 0.72rem;
  font-weight: 800;
  background: var(--success);
  color: #ffffff;
  padding: 2px 8px;
  border-radius: 10px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 360px));
  justify-content: center;
  gap: 28px;
  margin-top: 48px;
}

.pricing-grid.single-plan {
  grid-template-columns: minmax(0, 840px);
}

@media (min-width: 769px) {
  .pricing-grid.single-plan .pricing-card {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 48px;
    align-items: center;
    padding: 48px;
  }
  
  .pricing-grid.single-plan .pricing-card-header {
    margin-bottom: 0;
  }
  
  .pricing-grid.single-plan .pricing-card-right {
    border-left: 1px solid var(--line-soft);
    padding-left: 48px;
    display: flex;
    flex-direction: column;
    gap: 28px;
  }
}

.pricing-card {
  background: var(--surface-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--app-radius-xl);
  padding: 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), border-color 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
}

.pricing-card.popular {
  border-color: var(--secondary);
  box-shadow: 0 15px 40px rgba(0, 88, 188, 0.08);
}

.popular-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--secondary);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 1.2px;
  padding: 4px 14px;
  border-radius: 20px;
}

.pricing-card-header {
  margin-bottom: 24px;
}

.pricing-card-header h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 850;
  color: var(--primary);
}

.pricing-card-desc {
  margin: 8px 0 0 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.4;
}

.pricing-price {
  margin-top: 18px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.pricing-price strong {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -1px;
}

.pricing-price span {
  font-size: 0.88rem;
  color: var(--muted);
}

.pricing-card-body {
  flex: 1;
  margin-bottom: 32px;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.94rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

.pricing-features li svg {
  color: #10b981;
  flex-shrink: 0;
  margin-top: 3px;
}

.pricing-features li.disabled {
  color: var(--muted);
}

.pricing-features li.disabled svg {
  color: var(--line);
}

/* FAQ Section Styles */
.faq-accordion {
  max-width: 680px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--surface-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--app-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: var(--line);
}

.faq-trigger {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
}

.faq-trigger span {
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
}

.faq-icon {
  color: var(--muted);
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-trigger[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  color: var(--secondary);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq-content-inner {
  padding: 0 24px 20px 24px;
}

.faq-content p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

@media (max-width: 1080px) {
  .hero-layout,
  .workflow-grid,
  .care-grid,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .app-showcase {
    justify-self: center;
  }

  .interactive-showcase {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .mock-phone {
    margin-inline: auto;
  }
}

@media (max-width: 980px) {
  .primary-nav {
    position: fixed;
    left: 20px;
    right: 20px;
    top: 84px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: var(--shadow);
    padding: 10px;
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    min-height: 44px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero-layout {
    min-height: auto;
    padding-top: 56px;
  }

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

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 760px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    width: min(100%, 360px);
    margin-inline: auto;
  }
  .showcase-nav-btn {
    padding: 16px;
  }
  .faq-trigger {
    padding: 16px;
  }
  .faq-content-inner {
    padding: 0 16px 16px 16px;
  }

  .container {
    width: min(1120px, calc(100vw - 56px));
  }

  .nav-shell {
    min-height: 66px;
  }

  .brand-icon {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .nav-download {
    display: none;
  }

  .hero-layout {
    gap: 28px;
    padding: 42px 0 46px;
  }

  .hero-lede {
    font-size: 1.04rem;
  }

  .button {
    width: 100%;
  }

  .hero-stats span {
    width: 100%;
  }

  .showcase-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  .showcase-tab {
    padding: 0 8px;
    font-size: 0.78rem;
  }

  .phone-frame {
    width: min(100%, 340px);
    height: 736px;
    justify-self: center;
  }

  .app-screen {
    padding-inline: 16px;
  }

  .section {
    padding: 68px 0;
  }

  .feature-grid,
  .care-list,
  .desktop-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .desktop-empty {
    align-items: flex-start;
  }

  .download-grid {
    gap: 28px;
  }

  .store-actions {
    width: min(100%, 340px);
  }

  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 24px 0;
  }

  .footer-info {
    align-items: flex-start;
    width: 100%;
  }

  .footer-grid p {
    text-align: left;
  }

  .footer-nav {
    flex-wrap: wrap;
    gap: 12px;
  }
}

@media (max-width: 420px) {
  .phone-frame {
    width: 100%;
    height: 640px;
    border-width: 10px;
  }

  .app-user strong {
    font-size: 0.92rem;
  }

  .bento-grid {
    gap: 10px;
  }

  .bento-card {
    min-height: 106px;
    padding: 13px;
  }

  .bento-card strong {
    font-size: 2rem;
  }

  .trip-card {
    align-items: flex-start;
  }

  .trip-thumb {
    display: none;
  }

  .tab-item span {
    font-size: 0.52rem;
  }

  .scan-pill {
    max-width: calc(100% - 36px);
    white-space: normal;
    text-align: center;
  }

  .desktop-board {
    padding: 14px;
  }
}

/* Login Screen Simulator */
.app-showcase[data-active-screen="login"] [data-screen-panel="login"] {
  display: flex;
}

.app-showcase[data-active-screen="login"] .app-tab-bar {
  display: none;
}

.app-showcase[data-active-screen="login"] .showcase-tabs {
  opacity: 0.25;
  pointer-events: none;
  filter: grayscale(1);
}

.login-screen {
  background: #0b1c30;
  display: none;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: 56px 16px 28px;
  overflow-y: auto;
  color: #ffffff;
}

.login-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 14px;
  margin-bottom: 20px;
  text-align: center;
}

.login-mascot {
  width: 82px;
  height: 82px;
  object-fit: contain;
  margin-bottom: 4px;
  animation: mascotBob 2s ease-in-out infinite;
}

@keyframes mascotBob {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.login-title {
  margin: 0;
  font-size: 1.62rem;
  font-weight: 800;
  color: #ffffff;
  font-family: inherit;
}

.login-subtitle {
  margin: 4px 0 0;
  font-size: 0.74rem;
  color: #c3c6d1;
  max-width: 220px;
  line-height: 1.35;
}

.login-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  color: var(--ink);
}

.login-card-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  text-align: center;
}

.login-card-subtitle {
  margin: 3px 0 16px;
  font-size: 0.76rem;
  color: var(--muted);
  text-align: center;
}

.login-input-group {
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.login-input-label {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  text-align: left;
}

.login-input-wrapper {
  display: flex;
  align-items: center;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 0 10px;
  height: 40px;
  background: var(--background);
  gap: 8px;
}

.login-input-wrapper svg {
  width: 16px;
  height: 16px;
  color: var(--muted);
}

.login-input-wrapper input {
  border: 0;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 0.8rem;
  color: var(--ink);
}

.login-btn {
  width: 100%;
  min-height: 44px;
  background: var(--secondary);
  color: #ffffff;
  border: 0;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.88rem;
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 10px rgba(0, 88, 188, 0.18);
  transition: all 150ms ease;
  cursor: pointer;
}

.login-btn:hover {
  background: var(--secondary-container);
}

.login-divider {
  display: flex;
  align-items: center;
  margin: 12px 0;
  gap: 10px;
}

.login-divider::before,
.login-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-soft);
}

.login-divider span {
  font-size: 0.74rem;
  color: var(--muted);
  font-weight: 700;
}

.google-btn {
  width: 100%;
  min-height: 42px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 150ms ease;
}

.google-btn:hover {
  background: var(--background);
}

.google-g {
  font-weight: 950;
  font-size: 1.05rem;
  color: #4285F4;
}

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #ffffff;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* Redesigned Profile Screen Styles */
.profile-screen {
  overflow: hidden;
}

.profile-scroll {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 14px;
  overflow-y: auto;
  max-height: calc(100% - 54px);
  padding-bottom: 30px;
  scrollbar-width: none;
}

.profile-scroll::-webkit-scrollbar {
  display: none;
}

.profile-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px;
  background: var(--surface-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--app-radius-xl);
  box-shadow: var(--shadow-soft);
}

.avatar-container {
  position: relative;
  margin-bottom: 12px;
}

.large-avatar {
  width: 90px;
  height: 90px;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 88, 188, 0.15);
}

.edit-avatar-badge {
  position: absolute;
  bottom: -6px;
  right: -6px;
  background: var(--secondary);
  color: #ffffff;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 2px solid var(--surface-card);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}

.profile-details {
  text-align: center;
}

.profile-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
}

.pro-card {
  background: var(--primary);
  border-radius: var(--app-radius-xl);
  padding: 20px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 150px;
  box-shadow: var(--shadow-soft);
}

.pro-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.pro-plan-label-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.bolt-icon-background {
  padding: 4px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffb74d;
}

.pro-label {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: rgba(255, 255, 255, 0.6);
}

.pro-title {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  margin-top: 6px;
  color: #ffffff;
}

.manage-button {
  background: #ffffff;
  color: var(--primary);
  border: 0;
  border-radius: 10px;
  padding: 6px 12px;
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
  transition: opacity 150ms ease;
}

.manage-button:hover {
  opacity: 0.9;
}

.pro-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
}

.billing-text {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.6);
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.stack-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background-size: cover;
  background-position: center;
}

.stack-avatar-1 {
  background-color: var(--secondary-container);
  z-index: 2;
}

.stack-avatar-2 {
  background-color: var(--surface-high);
  margin-left: -8px;
  z-index: 1;
}

.progress-card {
  background: var(--surface-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--app-radius-xl);
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.progress-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 5px solid var(--surface-low);
  border-top-color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.progress-percent-text {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--secondary);
}

.progress-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--primary);
}

.progress-subtitle {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 2px;
}

.settings-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.settings-section-title {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding-left: 4px;
}

.settings-list-card {
  background: var(--surface-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--app-radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.settings-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  cursor: pointer;
  transition: background-color 150ms ease;
  width: 100%;
}

.settings-list-item:last-child {
  border-bottom: 0;
}

.settings-list-item:hover {
  background-color: var(--surface-low);
}

.settings-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.settings-icon-bg {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--surface-low);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.settings-item-title {
  display: block;
  font-size: 0.84rem;
  font-weight: 750;
  color: var(--ink);
}

.settings-item-subtitle {
  display: block;
  font-size: 0.68rem;
  color: var(--muted);
  margin-top: 1px;
}

.chevron {
  color: var(--line);
}

.theme-card {
  background: var(--surface-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--app-radius-xl);
  padding: 16px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.theme-title {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--ink);
}

.theme-selector-row {
  display: flex;
  gap: 10px;
}

.theme-button {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--line-soft);
  background: var(--surface-low);
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 750;
  cursor: pointer;
  transition: all 150ms ease;
}

.theme-button:hover {
  background: var(--surface-high);
}

.theme-button.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.theme-button.is-active svg {
  color: #ffffff;
}

.theme-color-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.theme-button-text {
  pointer-events: none;
}

.profile-signout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(186, 26, 26, 0.15);
  background: transparent;
  color: var(--error);
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 150ms ease;
  margin-top: 10px;
}

.profile-signout-btn:hover {
  background-color: var(--error-soft);
}

/* Empty Active Trips card styling */
.empty-trips-card {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: var(--app-radius-xl);
  background: var(--surface-card);
  padding: 16px;
  box-shadow: 0 1px 2px rgba(11, 28, 48, 0.04);
}

.empty-trips-mascot {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.empty-trips-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.empty-trips-content strong {
  font-size: 0.84rem;
  color: var(--primary);
}

.empty-trips-content p {
  margin: 0;
  font-size: 0.72rem;
  color: var(--muted);
}

/* Empty Wardrobe card styling */
.empty-wardrobe-card {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: var(--app-radius-xl);
  background: var(--surface-card);
  padding: 16px;
  box-shadow: 0 1px 2px rgba(11, 28, 48, 0.04);
  margin-top: 10px;
}

.empty-wardrobe-mascot {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.empty-wardrobe-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.empty-wardrobe-content strong {
  font-size: 0.84rem;
  color: var(--primary);
}

.empty-wardrobe-content p {
  margin: 0;
  font-size: 0.72rem;
  color: var(--muted);
}

/* Success Overlay on Scanner */
.success-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 24px;
}

.success-card {
  width: 100%;
  max-width: 280px;
  background: #ffffff;
  border-radius: 32px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: popupScale 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes popupScale {
  from {
    transform: scale(0.3);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.success-mascot-wrapper {
  animation: bobAnim 2s ease-in-out infinite alternate;
  margin-bottom: 12px;
}

@keyframes bobAnim {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-8px);
  }
}

.success-mascot {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.success-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
}

.success-message {
  margin: 6px 0 0;
  font-size: 0.78rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

/* Pulse Button glow effect for Tutorial */
.pulse-button {
  position: relative;
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 88, 188, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(0, 88, 188, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 88, 188, 0);
  }
}

/* Onboarding Tour Spotlight & Tooltip styles */
.tour-overlay {
  position: fixed;
  inset: 0;
  background: transparent;
  z-index: 9999;
  pointer-events: none;
}

.tour-highlight-box {
  position: absolute;
  border: 3px dashed var(--secondary);
  border-radius: 16px;
  box-shadow: 0 0 0 9999px rgba(11, 28, 48, 0.76); /* Spotlight overlay mask! */
  z-index: 10000;
  pointer-events: none;
  transition: top 300ms cubic-bezier(0.16, 1, 0.3, 1),
              left 300ms cubic-bezier(0.16, 1, 0.3, 1),
              width 300ms cubic-bezier(0.16, 1, 0.3, 1),
              height 300ms cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.tour-tooltip {
  position: absolute;
  width: 320px;
  background: #ffffff;
  border-radius: var(--app-radius-lg);
  border: 1px solid rgba(195, 198, 209, 0.5);
  box-shadow: 0 16px 40px rgba(11, 28, 48, 0.25), 0 0 0 1px rgba(0, 88, 188, 0.08);
  padding: 18px;
  z-index: 10001;
  pointer-events: auto; /* Allow interactions inside the tooltip! */
  transition: top 300ms cubic-bezier(0.16, 1, 0.3, 1),
              left 300ms cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  animation: tooltipFadeIn 250ms ease-out;
}

@keyframes tooltipFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.tour-tooltip-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.tour-step-badge {
  font-size: 0.72rem;
  font-weight: 900;
  color: var(--secondary);
  background: var(--surface-low);
  padding: 4px 8px;
  border-radius: var(--app-radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tour-close-btn {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.tour-close-btn:hover {
  color: var(--ink);
}

.tour-tooltip-body h4 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary);
}

.tour-tooltip-body p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

.tour-tooltip-body p strong {
  color: var(--secondary);
  font-weight: 700;
}

.tour-tooltip-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 16px;
  border-top: 1px solid var(--line-soft);
  padding-top: 12px;
}

.button-tour-skip {
  min-height: 32px;
  padding: 0 12px;
  font-size: 0.78rem;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-soft);
}

.button-tour-skip:hover {
  background: var(--surface-low);
}

.button-tour-next {
  min-height: 32px;
  padding: 0 12px;
  font-size: 0.78rem;
  background: var(--secondary);
  color: #ffffff;
}

.button-tour-next:hover {
  background: var(--secondary-container);
}

/* Highlight box pulsing border */
.tour-highlight-box::before {
  position: absolute;
  inset: -3px;
  border: 3px solid var(--secondary);
  border-radius: 16px;
  content: "";
  animation: spotlightPulse 1.8s infinite;
  pointer-events: none;
}

@keyframes spotlightPulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.08); opacity: 0; }
}

/* Shaking tooltip keyframes */
.shake-tour {
  animation: shake 0.4s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

/* Peeking Mascot Animation around Phone Frame */
.peeking-mascot {
  position: absolute;
  width: 90px;
  height: 90px;
  z-index: -1;
  pointer-events: none;
  mix-blend-mode: multiply;
  left: 50%;
  top: -24px;
  transform: translateX(-50%);
  transform-origin: bottom center;
  animation: mascot-peek-top 16s ease-in-out infinite;
}

.peeking-mascot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes mascot-peek-top {
  0%, 8%, 92%, 100% {
    transform: translateX(-50%) translateY(70px);
  }
  12%, 24% {
    transform: translateX(-50%) translateY(0);
  }
}

/* Static Hidden Mascot Easter Egg */
.hidden-easter-egg {
  position: fixed;
  bottom: 10px;
  left: -42px;
  width: 90px;
  height: 90px;
  z-index: 1000;
  pointer-events: auto;
  mix-blend-mode: multiply;
  opacity: 0.15;
  transform: rotate(-10deg);
  transition: left 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.3s ease, transform 0.3s ease;
}

.hidden-easter-egg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hidden-easter-egg:hover {
  left: 12px;
  opacity: 1;
  transform: rotate(0deg) scale(1.1);
}
