/* ==========================================================================
   DayyDL — Production Stylesheet
   Design language: dark, glassmorphism, restrained gradient accents.
   This file is also the Tailwind build target — see src/styles/input.css
   for the source that regenerates it via `npm run build:css`.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ----------------------------- Design tokens ----------------------------- */
:root {
  --bg: #07080b;
  --bg-elevated: #0b0d12;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-hover: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text-primary: #f4f5f7;
  --text-secondary: #aeb3bd;
  --text-muted: #6d7280;

  --blue: #2563eb;
  --blue-dim: #1e54c7;
  --cyan: #22d3ee;
  --warm: #ff8a5b;
  --danger: #ff5c5c;

  --gradient-brand: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #22d3ee 100%);
  --gradient-text: linear-gradient(135deg, #9fc6ff 0%, #bfe8ff 50%, #8ff0e0 100%);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;

  --shadow-glow: 0 0 0 1px rgba(37, 99, 235, 0.18), 0 20px 60px -20px rgba(37, 99, 235, 0.4);
  --shadow-card: 0 10px 40px -12px rgba(0, 0, 0, 0.55);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------- Reset --------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, picture, video, canvas, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
}

::selection { background: rgba(124, 92, 255, 0.35); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.25); }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Some components below set their own `display` (flex/grid), which would
   otherwise win over the browser's default [hidden] rule at equal
   specificity due to source order. Force it so hidden="" always works. */
[hidden] { display: none !important; }

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

/* ------------------------------ Layout utilities -------------------------- */
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.text-center { text-align: center; }
.hidden { display: none !important; }
.relative { position: relative; }
.w-full { width: 100%; }

.gap-1 { gap: 4px; } .gap-2 { gap: 8px; } .gap-3 { gap: 12px; }
.gap-4 { gap: 16px; } .gap-6 { gap: 24px; } .gap-8 { gap: 32px; }

.mt-2{margin-top:8px;} .mt-3{margin-top:12px;} .mt-4{margin-top:16px;}
.mt-6{margin-top:24px;} .mt-8{margin-top:32px;} .mt-10{margin-top:40px;} .mt-16{margin-top:64px;}
.mb-2{margin-bottom:8px;} .mb-3{margin-bottom:12px;} .mb-4{margin-bottom:16px;} .mb-6{margin-bottom:24px;}

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
@media (min-width: 769px) and (max-width: 1023px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* --------------------------------- Typography ------------------------------ */
h1, h2, h3, .font-display {
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.02em;
  font-weight: 600;
}
.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.text-muted { color: var(--text-secondary); }
.text-faint { color: var(--text-muted); }
.mono { font-family: 'JetBrains Mono', monospace; }

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ----------------------------------- Glass --------------------------------- */
.glass {
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
}

/* ----------------------------------- Buttons -------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14.5px;
  white-space: nowrap;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease), border-color 0.18s var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }

.btn-primary {
  background: var(--gradient-brand);
  color: #07080b;
}
.btn-primary:hover { box-shadow: var(--shadow-glow); transform: translateY(-1px); }
.btn-primary:disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }

.btn-ghost {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-primary);
}
.btn-ghost:hover { background: var(--surface-hover); border-color: var(--border-strong); }

.btn-block { width: 100%; }
.btn-sm { padding: 8px 14px; font-size: 13px; }

/* --------------------------------- Navbar ---------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(7, 8, 11, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; max-width: 1120px; margin: 0 auto;
}
.nav__brand { display: flex; align-items: center; gap: 10px; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 18px; }
.nav__mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--gradient-brand);
  display: flex; align-items: center; justify-content: center;
  color: #07080b; font-size: 14px; font-weight: 700;
}
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__link { color: var(--text-secondary); font-size: 14.5px; font-weight: 500; transition: color 0.15s var(--ease); }
.nav__link:hover { color: var(--text-primary); }

@media (max-width: 640px) {
  .nav__links--secondary { display: none; }
}

/* ---------------------------------- Hero ----------------------------------- */
.hero { position: relative; padding: 96px 24px 64px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

.blob {
  position: absolute;
  width: 480px; height: 480px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.28;
  animation: drift 22s ease-in-out infinite;
}
.blob--1 { background: var(--blue); top: -160px; left: -120px; }
.blob--2 { background: var(--cyan); top: 60px; right: -160px; animation-delay: -8s; }
.blob--3 { background: var(--warm); bottom: -220px; left: 30%; opacity: 0.16; animation-delay: -14s; }

@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, 30px) scale(1.08); }
  66% { transform: translate(-30px, 10px) scale(0.95); }
}

.hero__content { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; text-align: center; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: var(--radius-full);
  margin-bottom: 24px;
}
.hero__eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }

.hero__title { font-size: clamp(34px, 6vw, 60px); line-height: 1.08; }
.hero__subtitle { margin-top: 18px; font-size: clamp(15px, 2vw, 18px); color: var(--text-secondary); max-width: 540px; margin-inline: auto; }

/* -------------------------------- Input bar -------------------------------- */
.input-bar {
  position: relative;
  margin-top: 40px;
  display: flex;
  gap: 8px;
  padding: 8px;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.input-bar__field {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 14px 16px;
  font-size: 15px;
  color: var(--text-primary);
}
.input-bar__field::placeholder { color: var(--text-muted); }

.input-bar__scan {
  position: absolute;
  top: 0; left: -30%;
  width: 30%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(124, 92, 255, 0.35), transparent);
  pointer-events: none;
  opacity: 0;
}
.input-bar.is-scanning .input-bar__scan {
  opacity: 1;
  animation: scan-sweep 0.9s var(--ease);
}
@keyframes scan-sweep {
  from { left: -30%; }
  to { left: 100%; }
}

@media (max-width: 560px) {
  .input-bar { flex-direction: column; }
  .input-bar__field { padding: 12px 14px; }
}

.input-bar__icon-btn {
  width: 46px; height: 46px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.input-bar__icon-btn:hover { background: rgba(255,255,255,0.06); color: var(--text-primary); }
.input-bar__icon-btn svg { width: 19px; height: 19px; }

.detect-badge {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 16px; padding: 7px 14px;
  border-radius: var(--radius-full);
  font-size: 13.5px; font-weight: 500;
  opacity: 0; transform: translateY(-4px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.detect-badge.is-visible { opacity: 1; transform: translateY(0); }
.detect-badge svg { width: 15px; height: 15px; }
.detect-badge--tiktok { background: rgba(255, 138, 91, 0.12); color: var(--warm); border: 1px solid rgba(255, 138, 91, 0.25); }
.detect-badge--instagram { background: rgba(37, 99, 235, 0.12); color: #9fc6ff; border: 1px solid rgba(37, 99, 235, 0.3); }
.detect-badge--invalid { background: rgba(255, 92, 92, 0.1); color: var(--danger); border: 1px solid rgba(255, 92, 92, 0.25); }

.platform-row { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 36px; }
.platform-row__item { display: flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: 13.5px; }
.platform-row__item svg { width: 18px; height: 18px; }

/* --------------------------------- Skeleton --------------------------------- */
.skeleton-card { padding: 22px; border-radius: var(--radius-lg); }
.skeleton-row { display: flex; gap: 18px; }
.skeleton-thumb { width: 140px; height: 140px; border-radius: var(--radius-md); flex-shrink: 0; }
.skeleton-lines { flex: 1; display: flex; flex-direction: column; gap: 12px; padding-top: 6px; }
.skeleton-line { height: 13px; border-radius: 6px; }
.shimmer {
  background: linear-gradient(100deg, rgba(255,255,255,0.04) 30%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.04) 70%);
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
}
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

@media (max-width: 560px) {
  .skeleton-row { flex-direction: column; }
  .skeleton-thumb { width: 100%; height: 180px; }
}

/* ---------------------------------- Alert ----------------------------------- */
.alert {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px; border-radius: var(--radius-md);
  font-size: 14px;
}
.alert--error { background: rgba(255, 92, 92, 0.08); border: 1px solid rgba(255, 92, 92, 0.25); color: #ffb3b3; }
.alert svg { width: 19px; height: 19px; flex-shrink: 0; margin-top: 1px; }

/* --------------------------------- Result card ------------------------------- */
.result { padding: 8px 24px 64px; }
.result__card { max-width: 760px; margin: 0 auto; border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-card); }
.result__top { display: flex; gap: 20px; }
.result__thumb-wrap { position: relative; width: 150px; height: 150px; border-radius: var(--radius-md); overflow: hidden; flex-shrink: 0; background: var(--bg-elevated); }
.result__thumb-wrap img { width: 100%; height: 100%; object-fit: cover; }
.result__play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.28);
}
.result__play svg { width: 34px; height: 34px; color: white; }

.result__title { font-size: 17px; font-weight: 600; line-height: 1.4; }
.result__platform-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; padding: 4px 10px;
  border-radius: var(--radius-full); margin-bottom: 8px;
}
.result__platform-tag--tiktok { background: rgba(255,138,91,0.12); color: var(--warm); }
.result__platform-tag--instagram { background: rgba(37,99,235,0.12); color: #9fc6ff; }

.meta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.meta-item { padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,0.03); border: 1px solid var(--border); }
.meta-item__label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); }
.meta-item__value { font-size: 13.5px; font-weight: 600; margin-top: 3px; font-family: 'JetBrains Mono', monospace; }

@media (max-width: 560px) {
  .result__top { flex-direction: column; }
  .result__thumb-wrap { width: 100%; height: 200px; }
  .meta-grid { grid-template-columns: repeat(2, 1fr); }
}

.action-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 22px; }
@media (max-width: 560px) { .action-grid { grid-template-columns: 1fr; } }

.action-btn {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 16px; border-radius: 12px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  font-size: 14px; font-weight: 600;
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease), transform 0.15s var(--ease);
}
.action-btn:hover { border-color: var(--border-strong); background: rgba(255,255,255,0.06); transform: translateY(-1px); }
.action-btn__left { display: flex; align-items: center; gap: 10px; }
.action-btn__icon { width: 32px; height: 32px; border-radius: 9px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.action-btn__icon svg { width: 16px; height: 16px; }
.action-btn--hd .action-btn__icon { background: rgba(37,99,235,0.15); color: #9fc6ff; }
.action-btn--sd .action-btn__icon { background: rgba(45,212,191,0.15); color: var(--cyan); }
.action-btn--nowm .action-btn__icon { background: rgba(255,138,91,0.15); color: var(--warm); }
.action-btn--mp3 .action-btn__icon { background: rgba(255,255,255,0.1); color: var(--text-primary); }
.action-btn__sub { font-size: 11.5px; color: var(--text-muted); font-weight: 400; }
.action-btn[disabled] { opacity: 0.4; cursor: not-allowed; }
.action-btn.is-disabled { opacity: 0.4; cursor: not-allowed; pointer-events: none; }
.action-btn.is-disabled .action-btn__icon { background: rgba(255,255,255,0.05) !important; color: var(--text-muted) !important; }

.copy-row { display: flex; gap: 8px; margin-top: 14px; }
.copy-row input {
  flex: 1; background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  border-radius: 10px; padding: 10px 12px; font-size: 12.5px; color: var(--text-secondary);
  font-family: 'JetBrains Mono', monospace;
}

/* ------------------------------- How it works -------------------------------- */
.section { padding: 64px 24px; }
.section__head { max-width: 560px; margin: 0 auto 44px; text-align: center; }
.section__title { font-size: clamp(26px, 4vw, 36px); }
.section__subtitle { color: var(--text-secondary); margin-top: 10px; font-size: 15px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1000px; margin: 0 auto; }
@media (max-width: 768px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 26px; border-radius: var(--radius-lg); position: relative; }
.step__number { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--blue); margin-bottom: 14px; }
.step__title { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.step__desc { font-size: 14px; color: var(--text-secondary); }

/* ---------------------------------- Features ---------------------------------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1080px; margin: 0 auto; }
@media (max-width: 1023px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .features-grid { grid-template-columns: 1fr; } }

.platform-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 880px; margin: 0 auto; }
@media (max-width: 768px) { .platform-grid { grid-template-columns: 1fr; } }
.platform-card { padding: 28px; border-radius: var(--radius-lg); }
.platform-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.platform-card__icon { width: 40px; height: 40px; border-radius: 11px; display: flex; align-items: center; justify-content: center; }
.platform-card__icon svg { width: 20px; height: 20px; }
.platform-card__title { font-size: 16.5px; font-weight: 600; }
.platform-card__note { font-size: 12px; color: var(--text-muted); margin-top: 14px; line-height: 1.6; }

.check-list { display: flex; flex-direction: column; gap: 11px; }
.check-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-secondary); }
.check-list svg { width: 16px; height: 16px; color: var(--cyan); flex-shrink: 0; }
.check-list li.is-limited { color: var(--text-muted); }
.check-list li.is-limited svg { color: var(--warm); }

.feature-card { padding: 24px; border-radius: var(--radius-lg); transition: transform 0.2s var(--ease), border-color 0.2s var(--ease); }
.feature-card:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.feature-card__icon {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--gradient-brand);
  display: flex; align-items: center; justify-content: center;
  color: #07080b; margin-bottom: 16px;
}
.feature-card__icon svg { width: 21px; height: 21px; }
.feature-card__title { font-size: 15.5px; font-weight: 600; margin-bottom: 6px; }
.feature-card__desc { font-size: 13.5px; color: var(--text-secondary); line-height: 1.6; }

/* ----------------------------------- Footer ------------------------------------ */
.footer { border-top: 1px solid var(--border); padding: 48px 24px 28px; margin-top: 40px; }
.footer__top { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; max-width: 1120px; margin: 0 auto; }
.footer__brand { max-width: 320px; }
.footer__desc { color: var(--text-muted); font-size: 13.5px; margin-top: 10px; line-height: 1.7; }
.footer__col-title { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 14px; }
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a { font-size: 14px; color: var(--text-secondary); transition: color 0.15s var(--ease); }
.footer__links a:hover { color: var(--text-primary); }
.footer__bottom {
  max-width: 1120px; margin: 36px auto 0; padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center;
  font-size: 12.5px; color: var(--text-muted);
}

/* ------------------------------- Contact page ----------------------------------- */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 760px; margin: 0 auto; }
@media (max-width: 640px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { padding: 22px; border-radius: var(--radius-lg); display: flex; align-items: center; gap: 16px; transition: transform 0.2s var(--ease), border-color 0.2s var(--ease); }
.contact-card:hover { transform: translateY(-2px); border-color: var(--border-strong); }
.contact-card__icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-card__icon svg { width: 21px; height: 21px; }
.contact-card__label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.contact-card__value { font-size: 14.5px; font-weight: 600; margin-top: 2px; word-break: break-word; }

/* ---------------------------------- 404 page ------------------------------------ */
.error-page { min-height: 70vh; display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.error-card { text-align: center; padding: 48px 32px; border-radius: var(--radius-lg); max-width: 420px; }
.error-card__code { font-family: 'Space Grotesk', sans-serif; font-size: 64px; font-weight: 700; }
.error-card__title { font-size: 18px; font-weight: 600; margin-top: 6px; }
.error-card__desc { color: var(--text-secondary); font-size: 14px; margin-top: 8px; margin-bottom: 24px; }

/* ----------------------------------- Toast --------------------------------------- */
.toast-stack { position: fixed; bottom: 20px; right: 20px; z-index: 100; display: flex; flex-direction: column; gap: 10px; max-width: calc(100vw - 40px); }
.toast {
  padding: 13px 16px; border-radius: 12px; font-size: 13.5px; font-weight: 500;
  box-shadow: var(--shadow-card);
  animation: toast-in 0.25s var(--ease);
  display: flex; align-items: center; gap: 10px;
}
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.toast--success { background: rgba(45,212,191,0.14); border: 1px solid rgba(45,212,191,0.3); color: #aef0e6; }
.toast--error { background: rgba(255,92,92,0.14); border: 1px solid rgba(255,92,92,0.3); color: #ffc2c2; }

/* ------------------------------- Fade/slide transitions --------------------------- */
.fade-in { animation: fade-in 0.4s var(--ease); }
@keyframes fade-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

[data-animate] { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
[data-animate].is-in-view { opacity: 1; transform: translateY(0); }
