/* Smart Trippy — premium product showcase
   Tokens lifted from real product: teal #2DB6B5 primary, warm coral #F59E4F admin accent,
   midnight navy #0B1220 from admin sidebar, mint frost #DEF3F2 from app screens. */

:root {
  --ink-900: #07111e;
  --ink-800: #0b1a2c;
  --ink-700: #14253a;
  --ink-600: #25364b;
  --ink-500: #3a4a60;
  --ink-400: #6b7a90;
  --ink-300: #9aa6b8;
  --ink-200: #cdd4e0;
  --ink-100: #e8ecf2;
  --paper: #f7f8fa;
  --paper-2: #fcfdfe;
  --white: #ffffff;

  --teal-50: #ecf8f7;
  --teal-100: #d2f0ee;
  --teal-200: #a6e2de;
  --teal-300: #6fcec9;
  --teal-400: #3fbeb8;
  --teal-500: #2db6b5; /* brand */
  --teal-600: #1f9a99;
  --teal-700: #167c7b;
  --teal-800: #0e5a59;
  --teal-900: #08403f;

  --coral-400: #ffb070;
  --coral-500: #f59e4f; /* admin CTA */
  --coral-600: #e07f2d;

  --violet-500: #7a6bff; /* sparingly, sync particles */

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(7, 17, 30, 0.06), 0 1px 1px rgba(7, 17, 30, 0.04);
  --shadow-md:
    0 8px 24px -8px rgba(7, 17, 30, 0.12), 0 2px 6px -2px rgba(7, 17, 30, 0.06);
  --shadow-lg:
    0 30px 60px -20px rgba(7, 17, 30, 0.25),
    0 12px 24px -12px rgba(7, 17, 30, 0.12);
  --shadow-xl:
    0 60px 120px -30px rgba(7, 17, 30, 0.45),
    0 30px 60px -20px rgba(7, 17, 30, 0.25);

  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-serif: 'Instrument Serif', 'Times New Roman', serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
}

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink-900);
  font-family: var(--font-sans);
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html {
  overflow-x: clip;
}
body {
  overflow-x: clip;
  touch-action: manipulation;
}

img {
  max-width: 100%;
  display: block;
}
button {
  font-family: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}

/* Reusable */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 720px) {
  .container {
    padding: 0 20px;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}
.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.6;
}

h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
.headline {
  font-size: clamp(40px, 6vw, 75px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 600;
}
.headline .accent {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.015em;
  background: linear-gradient(
    100deg,
    var(--teal-300) 0%,
    var(--teal-500) 40%,
    #5dd3ce 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.05em;
}
.headline .accent.dark {
  background: linear-gradient(100deg, var(--teal-600) 0%, var(--teal-700) 60%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-title {
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.section-sub {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-400);
  max-width: 640px;
  text-wrap: pretty;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.25s,
    background 0.25s,
    color 0.25s;
  white-space: nowrap;
  position: relative;
}
.btn .arrow {
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.btn:hover .arrow {
  transform: translateX(3px);
}
.btn-primary {
  background: var(--teal-500);
  color: white;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.2) inset,
    0 -2px 8px rgba(7, 17, 30, 0.12) inset,
    0 14px 32px -8px rgba(45, 182, 181, 0.55);
}
.btn-primary:hover {
  background: var(--teal-600);
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.2) inset,
    0 -2px 8px rgba(7, 17, 30, 0.12) inset,
    0 18px 40px -10px rgba(45, 182, 181, 0.65);
}
.btn-ghost {
  background: transparent;
  color: var(--ink-900);
  border: 1px solid rgba(7, 17, 30, 0.12);
}
.btn-ghost:hover {
  background: rgba(7, 17, 30, 0.04);
  border-color: rgba(7, 17, 30, 0.2);
}
.btn-ghost.on-dark {
  color: white;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
}
.btn-ghost.on-dark:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Section */
section {
  position: relative;
}
.section-pad {
  padding: clamp(80px, 10vw, 140px) 0;
}

/* Grid lines used in dark sections */
.grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(
    ellipse at center,
    black 30%,
    transparent 80%
  );
}

/* Glow blob */
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  pointer-events: none;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* Marquee/keyframes */
@keyframes float-y {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
}
@keyframes float-y-2 {
  0%,
  100% {
    transform: translateY(-6px);
  }
  50% {
    transform: translateY(8px);
  }
}
@keyframes pulse-ring {
  0% {
    transform: scale(0.5);
    opacity: 0.8;
  }
  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}
@keyframes scroll-dot {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    transform: translateY(14px);
    opacity: 0;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
