:root { color-scheme: light; }

body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

.glass {
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(15, 23, 42, 0.08);
}
.shadow-glow { box-shadow: 0 0 0 1px rgba(15,23,42,.06), 0 24px 64px rgba(15,23,42,.14); }

body { padding-bottom: 72px; }
@media (min-width: 768px) { body { padding-bottom: 0; } }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: rgba(15, 23, 42, 0.14); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: rgba(15, 23, 42, 0.22); }

.line-clamp-2 {
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hide-scrollbar {
  scrollbar-width: none;
}
.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.brand-instagram { color: #E1306C; }
.brand-facebook { color: #1877F2; }
.brand-pinterest { color: #E60023; }
.brand-youtube { color: #FF0000; }
.brand-website { color: #0f172a; }

.lift {
  transition: transform 360ms cubic-bezier(.16,1,.3,1), box-shadow 360ms cubic-bezier(.16,1,.3,1), background-color 220ms cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}
.lift:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 0 0 1px rgba(15,23,42,.06), 0 34px 92px rgba(15,23,42,.18);
}

.reveal {
  opacity: 0;
  transform: translateY(14px) scale(.985);
  filter: blur(10px);
  transition: opacity 760ms cubic-bezier(.16,1,.3,1), transform 760ms cubic-bezier(.16,1,.3,1), filter 760ms cubic-bezier(.16,1,.3,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.blob-drift-1 { animation: blobDrift1 12s cubic-bezier(.16,1,.3,1) infinite alternate; }
.blob-drift-2 { animation: blobDrift2 14s cubic-bezier(.16,1,.3,1) infinite alternate; }

@keyframes blobDrift1 {
  0% { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(18px, 10px, 0) scale(1.06); }
}

@keyframes blobDrift2 {
  0% { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(-16px, -14px, 0) scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  .blob-drift-1, .blob-drift-2 { animation: none; }
  .lift, .reveal { transition: none; }
  .lift:hover { transform: none; }
}

.ai-typewriter {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  letter-spacing: 0.01em;
}

.tw-caret {
  display: inline-block;
  width: 0.65ch;
  margin-left: 2px;
  border-left: 2px solid currentColor;
  transform: translateY(0.04em);
  opacity: 0.85;
  animation: twBlink 980ms steps(1, end) infinite;
}

.tw-is-done .tw-caret {
  display: none;
}

@keyframes twBlink {
  0%, 49% { opacity: 0.85; }
  50%, 100% { opacity: 0; }
}

.social-marquee {
  display: flex;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(255, 255, 255, 0.50);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 6px;
  max-width: 520px;
}

.social-marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;
  animation: socialMarquee 18s linear infinite;
}

.social-marquee:hover .social-marquee-track {
  animation-play-state: paused;
}

.social-marquee-group {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 10px;
}

@keyframes socialMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

video { display: block; }

[data-hero-reel] { background: #000; }

.premium-btn {
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
}

.premium-btn::after {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,.55) 22%, transparent 45%);
  transform: translateX(-120%);
  transition: transform 800ms cubic-bezier(.16,1,.3,1);
  pointer-events: none;
}

.premium-btn:hover::after {
  transform: translateX(120%);
}

@media (prefers-reduced-motion: reduce) {
  .premium-btn::after { transition: none; }
  .tw-caret { animation: none; }
  .social-marquee { overflow: visible; max-width: none; }
  .social-marquee-track { animation: none; width: auto; flex-wrap: wrap; gap: 10px; }
  .social-marquee-group { padding-right: 0; }
  .social-marquee-group[aria-hidden="true"] { display: none; }
}

@media (pointer: fine) {
  html.dot-cursor-enabled,
  html.dot-cursor-enabled body {
    cursor: none;
  }

  html.dot-cursor-enabled input,
  html.dot-cursor-enabled textarea,
  html.dot-cursor-enabled [contenteditable="true"] {
    cursor: text !important;
  }

  html.dot-cursor-enabled select {
    cursor: default !important;
  }
}

.dot-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 9999px;
  background: #0f172a;
  z-index: 9999;
  pointer-events: none;
  transform: translate3d(-50px, -50px, 0);
  opacity: 1;
  transition: opacity 180ms ease;
}

.dot-cursor.is-hidden {
  opacity: 0;
}

[data-hero-reel-progress] {
  transition: width 180ms linear;
  will-change: width;
}
