/* RyuuLabs AI — Landing page styles */
:root {
  --indigo-50:  #eef2ff;
  --indigo-100: #e0e7ff;
  --indigo-200: #c7d2fe;
  --indigo-300: #a5b4fc;
  --indigo-400: #818cf8;
  --indigo-500: #6366f1;
  --indigo-600: #4f46e5;
  --indigo-700: #4338ca;
  --indigo-800: #3730a3;
  --indigo-900: #312e81;
  --ink-950: #0a0a14;
  --ink-900: #11111e;
  --ink-800: #1c1c2b;
  --ink-700: #2a2a3d;
  --ink-600: #3d3d54;
  --ink-500: #5a5a78;
  --ink-400: #8a8aa3;
  --ink-300: #b6b6c8;
  --ink-200: #d8d8e2;
  --ink-100: #ececf2;
  --ink-50:  #f7f7fa;
  --paper:   #fcfcfd;
  --wa-green: #25d366;
  --wa-green-dark: #128c7e;
  --wa-bg: #e5ddd5;
  --wa-bubble-out: #d9fdd3;
  --wa-bubble-in: #ffffff;

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-2xl: 36px;

  --shadow-sm: 0 1px 2px rgba(15, 16, 36, .06), 0 1px 1px rgba(15,16,36,.04);
  --shadow-md: 0 6px 24px -8px rgba(15, 16, 36, .12), 0 2px 6px rgba(15,16,36,.06);
  --shadow-lg: 0 24px 56px -18px rgba(33, 24, 110, .25), 0 8px 24px -8px rgba(15,16,36,.08);
  --shadow-glow: 0 30px 80px -30px rgba(79, 70, 229, .55);

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: "Instrument Serif", "Times New Roman", serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  color: var(--ink-900);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
  font-size: 16px;
  line-height: 1.55;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection { background: var(--indigo-200); color: var(--ink-950); }

/* Layout helpers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 120px 0;
  position: relative;
}
.section.tight { padding: 80px 0; }

@media (max-width: 720px) {
  .section { padding: 80px 0; }
  .section.tight { padding: 56px 0; }
}

/* Type */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--indigo-700);
  background: var(--indigo-50);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--indigo-100);
}

h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.025em; line-height: 1.08; margin: 0; color: var(--ink-950); }
h1 { font-size: clamp(40px, 6vw, 76px); letter-spacing: -0.035em; }
h2 { font-size: clamp(32px, 4vw, 52px); letter-spacing: -0.03em; }
h3 { font-size: clamp(20px, 2vw, 26px); }
.serif { font-family: var(--font-serif); font-weight: 400; font-style: italic; letter-spacing: -0.02em; }

p.lead { font-size: 19px; color: var(--ink-500); line-height: 1.6; max-width: 56ch; }
.muted { color: var(--ink-500); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 15px;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(180deg, var(--indigo-500), var(--indigo-700));
  color: white;
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 8px 20px -8px rgba(79, 70, 229, .55), 0 1px 2px rgba(15,16,36,.1);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 14px 28px -10px rgba(79, 70, 229, .6), 0 2px 4px rgba(15,16,36,.12);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: white;
  color: var(--ink-900);
  border: 1px solid var(--ink-200);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  border-color: var(--ink-300);
  background: var(--ink-50);
}

.btn-ghost {
  color: var(--ink-700);
}
.btn-ghost:hover { color: var(--ink-950); }

.btn-lg { padding: 16px 28px; font-size: 16px; border-radius: 12px; }
.btn-xl { padding: 20px 36px; font-size: 17px; border-radius: 14px; }

.btn .arrow {
  transition: transform .2s ease;
}
.btn:hover .arrow { transform: translateX(3px); }

/* Pills / badges */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--ink-200);
  font-size: 13px;
  color: var(--ink-700);
  box-shadow: var(--shadow-sm);
}
.pill .dot {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--wa-green);
  box-shadow: 0 0 0 4px rgba(37, 211, 102, .18);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(37, 211, 102, .18); }
  50% { box-shadow: 0 0 0 8px rgba(37, 211, 102, .04); }
}

/* Card */
.card {
  background: white;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

/* Reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }

/* Background flourish */
.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(15,16,36,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15,16,36,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black, transparent 70%);
  pointer-events: none;
}

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

/* Marquee */
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}

/* Float anim */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* WA chat typing dots */
@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: .4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* Bubble-in */
@keyframes bubble-in {
  from { opacity: 0; transform: translateY(8px) scale(.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Counter shimmer */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Utility */
.row { display: flex; }
.col { display: flex; flex-direction: column; }
.gap-1 { gap: 4px; } .gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; } .gap-5 { gap: 20px; } .gap-6 { gap: 24px; }
.center { align-items: center; }
.between { justify-content: space-between; }
.text-center { text-align: center; }
