[x-cloak] { display: none !important; }

html, body { height: 100%; }
html.dark { color-scheme: dark; }
html[lang="he"] body,
html[dir="rtl"] body {
  font-family: Heebo, Inter, ui-sans-serif, system-ui, sans-serif;
}
html[dir="rtl"] { text-align: start; }

.quto-landing {
  --q-brand: #4F46E5;
  --q-accent: #10B981;
  --q-ink: #0F172A;
}

.quto-landing-grid {
  background-image:
    linear-gradient(to right, rgb(148 163 184 / 0.12) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(148 163 184 / 0.12) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 75%);
}
html.dark .quto-landing-grid {
  background-image:
    linear-gradient(to right, rgb(99 102 241 / 0.12) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(99 102 241 / 0.12) 1px, transparent 1px);
}

.quto-orb {
  position: absolute;
  border-radius: 9999px;
  filter: blur(64px);
  pointer-events: none;
  animation: quto-orb-drift 18s ease-in-out infinite;
}
.quto-orb-a {
  width: 28rem;
  height: 28rem;
  background: rgb(79 70 229 / 0.28);
  top: -6rem;
  inset-inline-start: -4rem;
}
.quto-orb-b {
  width: 22rem;
  height: 22rem;
  background: rgb(16 185 129 / 0.18);
  top: 8rem;
  inset-inline-end: -3rem;
  animation-delay: -7s;
}

@keyframes quto-orb-drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(4%, 6%, 0) scale(1.08); }
}

@keyframes quto-float {
  0%, 100% { transform: translate3d(0, 0, 0) rotateX(8deg) rotateY(var(--q-tilt, -10deg)); }
  50% { transform: translate3d(0, -14px, 0) rotateX(8deg) rotateY(var(--q-tilt, -10deg)); }
}

@keyframes quto-float-soft {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -10px, 0); }
}

@keyframes quto-shimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

html[dir="rtl"] {
  --q-tilt: 10deg;
}
html[dir="ltr"] {
  --q-tilt: -10deg;
}

.quto-hero-stage {
  perspective: 1400px;
}

.quto-hero-shot {
  transform-style: preserve-3d;
  transform: rotateX(8deg) rotateY(var(--q-tilt, -10deg));
  animation: quto-float 7s ease-in-out infinite;
}

.quto-shot-card {
  animation: quto-float-soft 8s ease-in-out infinite;
}

.quto-shot-card:nth-child(2) { animation-delay: -2.4s; }
.quto-shot-card:nth-child(3) { animation-delay: -4.8s; }

.quto-browser {
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid rgb(226 232 240 / 0.9);
  background: #fff;
  box-shadow:
    0 1px 2px rgb(15 23 42 / 0.06),
    0 24px 48px -16px rgb(15 23 42 / 0.28);
}
html.dark .quto-browser {
  border-color: rgb(51 65 85 / 0.9);
  background: #0f172a;
  box-shadow:
    0 1px 2px rgb(0 0 0 / 0.4),
    0 24px 48px -16px rgb(0 0 0 / 0.55);
}

.quto-browser-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  height: 2.5rem;
  padding: 0 0.875rem;
  border-bottom: 1px solid rgb(226 232 240 / 0.9);
  background: #f8fafc;
}
html.dark .quto-browser-bar {
  border-bottom-color: rgb(51 65 85 / 0.9);
  background: #1e293b;
}

.quto-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
}
.quto-dot-r { background: #fb7185; }
.quto-dot-a { background: #fbbf24; }
.quto-dot-g { background: #34d399; }

[data-reveal] {
  opacity: 1;
  transform: none;
}
html.js-reveal [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1), transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}
html.js-reveal [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
[data-reveal-delay="1"] { transition-delay: 80ms; }
[data-reveal-delay="2"] { transition-delay: 160ms; }
[data-reveal-delay="3"] { transition-delay: 240ms; }
[data-reveal-delay="4"] { transition-delay: 320ms; }

.quto-cta-glow {
  box-shadow: 0 0 0 1px rgb(79 70 229 / 0.15), 0 10px 24px -8px rgb(79 70 229 / 0.55);
}
.quto-cta-glow:hover {
  box-shadow: 0 0 0 1px rgb(79 70 229 / 0.25), 0 14px 28px -8px rgb(79 70 229 / 0.7);
}

.quto-chip-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
html[dir="rtl"] .quto-chip-marquee {
  mask-image: linear-gradient(270deg, transparent, #000 8%, #000 92%, transparent);
}

.quto-chip-track {
  display: flex;
  width: max-content;
  gap: 0.75rem;
  animation: quto-marquee 28s linear infinite;
}
html[dir="rtl"] .quto-chip-track {
  animation-name: quto-marquee-rtl;
}

@keyframes quto-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes quto-marquee-rtl {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}

.quto-gradient-text {
  background: linear-gradient(90deg, #4F46E5, #6366F1, #10B981, #4F46E5);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: quto-shimmer 8s linear infinite;
}

.quto-pulse-dot {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: #ef4444;
  box-shadow: 0 0 0 0 rgb(239 68 68 / 0.55);
  animation: quto-pulse 1.8s ease-out infinite;
}
.quto-know-card .quto-pulse-dot,
.quto-alert-toast .quto-pulse-dot {
  background: #10b981;
  box-shadow: 0 0 0 0 rgb(16 185 129 / 0.55);
  animation-name: quto-pulse-green;
}

@keyframes quto-pulse {
  0% { box-shadow: 0 0 0 0 rgb(239 68 68 / 0.45); }
  70% { box-shadow: 0 0 0 10px rgb(239 68 68 / 0); }
  100% { box-shadow: 0 0 0 0 rgb(239 68 68 / 0); }
}
@keyframes quto-pulse-green {
  0% { box-shadow: 0 0 0 0 rgb(16 185 129 / 0.45); }
  70% { box-shadow: 0 0 0 10px rgb(16 185 129 / 0); }
  100% { box-shadow: 0 0 0 0 rgb(16 185 129 / 0); }
}

.quto-alert-toast {
  animation: quto-float-soft 6s ease-in-out infinite;
}

.quto-plan-card {
  box-shadow:
    0 1px 2px rgb(15 23 42 / 0.06),
    0 24px 48px -20px rgb(79 70 229 / 0.28);
}

@media (prefers-reduced-motion: reduce) {
  .quto-orb,
  .quto-hero-shot,
  .quto-shot-card,
  .quto-chip-track,
  .quto-gradient-text,
  .quto-pulse-dot,
  .quto-alert-toast {
    animation: none !important;
  }
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .quto-hero-shot {
    transform: none;
  }
}
