/* Jameen — Apple-inspired landing page */

:root {
  --bg: #000;
  --bg-elevated: #0a0a0a;
  --bg-light: #f5f5f7;
  --bg-light-alt: #fff;
  --text: #f5f5f7;
  --text-muted: rgba(245, 245, 247, 0.72);
  --text-dark: #1d1d1f;
  --text-dark-muted: #6e6e73;
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --blue: #2997ff;
  --green: #30d158;
  --purple: #bf5af2;
  --orange: #ff9f0a;
  --teal: #64d2ff;
  --nav-h: 44px;
  --ease-out: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-apple: cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

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

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ─── Global nav ─── */
.global-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.4s var(--ease-apple);
}

.global-nav.is-light {
  background: rgba(251, 251, 253, 0.72);
  border-bottom-color: rgba(0, 0, 0, 0.08);
  color: var(--text-dark);
}

.nav-inner {
  width: min(980px, 100%);
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nav-logo-icon {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-links {
  display: none;
  gap: 28px;
  font-size: 12px;
  opacity: 0.88;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a:hover {
  opacity: 1;
}

.nav-cta {
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 980px;
  background: var(--accent);
  color: #fff;
  transition: background 0.2s;
}

.nav-cta:hover {
  background: var(--accent-hover);
}

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 40px) 24px 80px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(41, 151, 255, 0.22), transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(48, 209, 88, 0.08), transparent 50%),
    radial-gradient(ellipse 50% 30% at 20% 80%, rgba(191, 90, 242, 0.08), transparent 50%);
}

.hero-eyebrow {
  position: relative;
  font-size: 17px;
  font-weight: 500;
  color: var(--blue);
  margin: 0 0 12px;
  opacity: 0;
  transform: translateY(20px);
}

.hero-title {
  position: relative;
  font-size: clamp(48px, 10vw, 96px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin: 0;
  opacity: 0;
  transform: translateY(30px);
}

.hero-subtitle {
  position: relative;
  font-size: clamp(21px, 3vw, 28px);
  font-weight: 400;
  color: var(--text-muted);
  margin: 16px 0 0;
  max-width: 640px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  opacity: 0;
  transform: translateY(20px);
}

.hero-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
  opacity: 0;
  transform: translateY(20px);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  padding: 12px 22px;
  border-radius: 980px;
  background: var(--accent);
  color: #fff;
  font-size: 17px;
  font-weight: 400;
  transition: background 0.2s;
}

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

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 22px;
  border-radius: 980px;
  color: var(--blue);
  font-size: 17px;
}

.btn-ghost:hover {
  text-decoration: underline;
}

.hero-visual {
  position: relative;
  width: min(720px, 92vw);
  margin-top: 48px;
  opacity: 1;
  transform: scale(0.96) translateY(24px);
}

.hero-building {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.5));
}

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  opacity: 0;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(6px);
  }
}

.scroll-hint svg {
  width: 20px;
  height: 20px;
  opacity: 0.6;
}

/* ─── Highlights carousel ─── */
.highlights {
  background: var(--bg);
  padding: 80px 0 100px;
}

.section-label {
  text-align: center;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 48px;
  padding: 0 24px;
}

.highlights-track-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0 max(24px, calc((100vw - 980px) / 2));
}

.highlights-track-wrap::-webkit-scrollbar {
  display: none;
}

.highlights-track {
  display: flex;
  gap: 16px;
  width: max-content;
  padding-bottom: 8px;
}

.highlight-card {
  scroll-snap-align: start;
  flex: 0 0 min(280px, 78vw);
  padding: 28px 24px;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: transform 0.35s var(--ease-apple), border-color 0.35s;
}

.highlight-card:hover {
  transform: scale(1.02);
  border-color: rgba(255, 255, 255, 0.2);
}

.highlight-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

.highlight-card h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.highlight-card p {
  font-size: 14px;
  line-height: 1.45;
  color: var(--text-muted);
  margin: 0;
}

.highlights-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.highlights-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  padding: 0;
  transition: transform 0.3s, background 0.3s;
}

.highlights-dots button.is-active {
  background: #fff;
  transform: scale(1.2);
}

/* ─── Feature sections (Apple-style) ─── */
.feature {
  position: relative;
}

.feature--light {
  background: var(--bg-light);
  color: var(--text-dark);
}

.feature--dark {
  background: var(--bg);
  color: var(--text);
}

.feature-pin {
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.feature-inner {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 900px) {
  .feature-inner {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }

  .feature-inner--reverse .feature-copy {
    order: 2;
  }

  .feature-inner--reverse .feature-visual {
    order: 1;
  }
}

.feature-eyebrow {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 8px;
}

.feature--dark .feature-eyebrow {
  color: var(--blue);
}

.feature--light .feature-eyebrow {
  color: var(--accent);
}

.feature-headline {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 16px;
}

.feature-desc {
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.47;
  margin: 0 0 24px;
}

.feature--dark .feature-desc {
  color: var(--text-muted);
}

.feature--light .feature-desc {
  color: var(--text-dark-muted);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.45;
}

.feature--dark .feature-list li {
  color: rgba(245, 245, 247, 0.85);
}

.feature--light .feature-list li {
  color: var(--text-dark-muted);
}

.feature-list .check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

.feature-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.feature-art {
  width: 100%;
  max-width: 440px;
  height: auto;
}

/* ─── Scroll-story panels (pinned multi-step) ─── */
.story-section {
  position: relative;
}

.story-pin {
  height: 300vh;
  position: relative;
}

.story-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: calc(var(--nav-h) + 20px) 24px 40px;
}

.story-header {
  text-align: center;
  max-width: 720px;
  margin-bottom: 40px;
}

.story-header h2 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}

.story-header p {
  font-size: 19px;
  color: var(--text-muted);
  margin: 0;
}

.story-stage {
  position: relative;
  width: min(800px, 100%);
  height: min(360px, 45vh);
}

.story-step {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: opacity 0.01s, transform 0.01s;
}

.story-step.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.story-progress {
  display: flex;
  gap: 8px;
  margin-top: 32px;
}

.story-progress span {
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.2);
  transition: background 0.3s, transform 0.3s;
}

.story-progress span.is-active {
  background: var(--blue);
  transform: scaleY(1.5);
}

.story-section--light {
  background: var(--bg-light);
  color: var(--text-dark);
}

.story-section--light .story-header p {
  color: var(--text-dark-muted);
}

.story-section--light .story-progress span {
  background: rgba(0, 0, 0, 0.12);
}

.story-section--light .story-progress span.is-active {
  background: var(--accent);
}

/* ─── Role cards grid ─── */
.roles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  width: 100%;
  max-width: 400px;
}

@media (min-width: 480px) {
  .roles-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 440px;
  }
}

.role-card {
  padding: 20px 16px;
  border-radius: 16px;
  text-align: center;
  transform: translateY(30px);
  opacity: 0;
}

.role-card.is-visible {
  animation: roleIn 0.6s var(--ease-apple) forwards;
}

.role-card:nth-child(1) {
  animation-delay: 0s;
}
.role-card:nth-child(2) {
  animation-delay: 0.08s;
}
.role-card:nth-child(3) {
  animation-delay: 0.16s;
}
.role-card:nth-child(4) {
  animation-delay: 0.24s;
}

@keyframes roleIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.role-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.role-card h4 {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 6px;
}

.role-card p {
  font-size: 11px;
  line-height: 1.4;
  margin: 0;
  opacity: 0.75;
}

/* ─── Stats counters ─── */
.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  width: 100%;
}

.stat-card {
  flex: 1 1 120px;
  max-width: 160px;
  padding: 20px 16px;
  border-radius: 16px;
  text-align: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.feature--light .stat-card {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.stat-value {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 12px;
  margin-top: 4px;
  opacity: 0.7;
}

.stat-card--paid .stat-value {
  color: var(--green);
}
.stat-card--pending .stat-value {
  color: var(--orange);
}
.stat-card--overdue .stat-value {
  color: #ff453a;
}

/* ─── Security grid ─── */
.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
  max-width: 480px;
}

.security-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 20px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0;
  transform: scale(0.9);
}

.security-item.is-visible {
  animation: popIn 0.5s var(--ease-apple) forwards;
}

@keyframes popIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.security-item svg {
  width: 32px;
  height: 32px;
}

.security-item span {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
}

/* ─── Phone mockups ─── */
.phone-frame {
  width: 200px;
  height: 400px;
  border-radius: 32px;
  background: #1d1d1f;
  padding: 10px;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.1),
    0 40px 80px rgba(0, 0, 0, 0.4);
  position: relative;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: #f5f5f7;
}

.phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 24px;
  background: #1d1d1f;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}

/* ─── CTA ─── */
.cta-section {
  background: var(--bg-light);
  color: var(--text-dark);
  text-align: center;
  padding: 120px 24px;
}

.cta-section h2 {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}

.cta-section p {
  font-size: 21px;
  color: var(--text-dark-muted);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.45;
}

/* ─── Footer ─── */
.site-footer {
  background: var(--bg-light);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 24px;
  text-align: center;
  font-size: 12px;
  color: var(--text-dark-muted);
}

/* ─── Domain animation ─── */
.domain-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
}

.domain-tenant {
  padding: 16px 28px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(41, 151, 255, 0.2), rgba(41, 151, 255, 0.05));
  border: 1px solid rgba(41, 151, 255, 0.3);
  font-size: 18px;
  font-weight: 600;
}

.domain-arrows {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.domain-option {
  padding: 20px 24px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  min-width: 200px;
}

.domain-option label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.6;
  margin-bottom: 8px;
}

.domain-option code {
  font-size: 15px;
  font-weight: 500;
  color: var(--blue);
}

/* ─── Ops steps ─── */
.ops-flow {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.ops-step {
  text-align: center;
  padding: 24px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-width: 140px;
  opacity: 0.4;
  transform: scale(0.92);
  transition: opacity 0.4s, transform 0.4s, border-color 0.4s;
}

.ops-step.is-active {
  opacity: 1;
  transform: scale(1);
  border-color: var(--blue);
  box-shadow: 0 0 40px rgba(41, 151, 255, 0.15);
}

.ops-step-icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.ops-step h4 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 6px;
}

.ops-step p {
  font-size: 12px;
  opacity: 0.7;
  margin: 0;
  line-height: 1.4;
}

.ops-arrow {
  font-size: 24px;
  opacity: 0.3;
}

/* ─── Maintenance (static, all steps visible) ─── */
.maint-section {
  padding: calc(var(--nav-h) + 56px) 24px 88px;
}

.maint-section .feature-eyebrow {
  color: var(--orange);
}

.maint-panel {
  width: min(980px, 100%);
  margin: 0 auto;
  text-align: center;
}

.maint-header {
  max-width: 720px;
  margin: 0 auto 40px;
}

.maint-header .feature-headline {
  margin-bottom: 12px;
}

.maint-header .feature-desc {
  margin-bottom: 0;
}

.maint-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: stretch;
  justify-content: center;
  margin-bottom: 36px;
}

.maint-flow-step {
  flex: 1 1 140px;
  max-width: 200px;
  padding: 20px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 159, 10, 0.35);
  text-align: center;
}

.maint-flow-icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), #ff6b00);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.maint-flow-step h4 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 6px;
}

.maint-flow-step p {
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-muted);
  margin: 0;
}

.maint-flow-arrow {
  display: none;
  align-self: center;
  font-size: 22px;
  color: rgba(255, 255, 255, 0.25);
}

@media (min-width: 768px) {
  .maint-flow {
    flex-wrap: nowrap;
    gap: 12px;
  }

  .maint-flow-arrow {
    display: block;
  }
}

.maint-capabilities {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.maint-capabilities li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 140px;
  padding: 16px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  color: var(--text-muted);
}

.maint-capabilities strong {
  font-size: 14px;
  color: var(--text);
}

.maint-cap-icon {
  font-size: 22px;
  line-height: 1;
}

/* ─── Maintenance ring (legacy, unused) ─── */
.maint-ring {
  position: relative;
  width: 320px;
  height: 320px;
}

.maint-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), #ff6b00);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  z-index: 2;
}

.maint-node {
  position: absolute;
  width: 90px;
  padding: 12px 8px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  opacity: 0.35;
  transition: opacity 0.4s, transform 0.4s, border-color 0.4s;
}

.maint-node.is-active {
  opacity: 1;
  border-color: var(--orange);
  transform: scale(1.08);
}

.maint-node:nth-child(2) {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
.maint-node:nth-child(3) {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}
.maint-node:nth-child(4) {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
.maint-node:nth-child(5) {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.maint-node.is-active:nth-child(2),
.maint-node.is-active:nth-child(4) {
  transform: translateX(-50%) scale(1.08);
}
.maint-node.is-active:nth-child(3),
.maint-node.is-active:nth-child(5) {
  transform: translateY(-50%) scale(1.08);
}

/* ─── QR scan line ─── */
.qr-scene {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.qr-card {
  width: 160px;
  height: 200px;
  border-radius: 16px;
  background: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.qr-scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  animation: scan 2s ease-in-out infinite;
}

@keyframes scan {
  0%,
  100% {
    top: 20%;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  50% {
    top: 80%;
  }
}

/* ─── Chart bars animate (GSAP sets transform on SVG rects) ─── */
.chart-bar {
  transform-box: fill-box;
  transform-origin: center bottom;
}

/* ─── App icon grid ─── */
.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 16px;
}

.app-icon {
  aspect-ratio: 1;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  animation: iconPulse 3s ease-in-out infinite;
}

.app-icon:nth-child(odd) {
  animation-delay: 0.5s;
}

@keyframes iconPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.task-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 12px;
}

.task-priority {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.task-priority--high {
  background: #ff453a;
}
.task-priority--medium {
  background: var(--orange);
}
.task-priority--low {
  background: var(--green);
}
