/* website/assets/css/tokens.css — Nova AI by Maxy
   Sumber kebenaran warna = side-panel/panel.css. Token di sini adalah
   perluasannya untuk kanvas lebar (website), bukan palet baru. */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* ── Maxy Brand ── */
  --maxy-orange: #F5A623;
  --maxy-orange-dark: #D48A0C;
  --maxy-orange-light: #FAC55B;
  --maxy-orange-pale: #FEF3D7;
  --maxy-navy: #1A2B6B;
  --maxy-navy-dark: #0F1B4D;
  --maxy-navy-mid: #2A3F8F;
  --maxy-navy-pale: #EEF1FB;

  /* ── Surfaces ── */
  --bg-base: #F5F7FA;
  --bg-panel: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-input: #F8F9FC;
  --bg-hover: #F0F3FA;
  --bg-sunken: #FBFCFE;
  --border: #E4E8F0;
  --border-light: #CBD3E8;

  /* ── Text ── */
  --text-primary: #111827;
  --text-secondary: #4B5563;
  --text-tertiary: #9CA3AF;
  --text-inverse: #FFFFFF;

  /* ── Accent ── */
  --accent: var(--maxy-orange);
  --accent-hover: var(--maxy-orange-dark);
  --accent-glow: rgba(245, 166, 35, 0.12);
  --accent-glow-strong: rgba(245, 166, 35, 0.25);

  /* ── Semantic ── */
  --success: #059669;
  --success-bg: rgba(5, 150, 105, 0.08);
  --warning: #D97706;
  --warning-bg: rgba(217, 119, 6, 0.08);
  --error: #DC2626;
  --error-bg: rgba(220, 38, 38, 0.08);
  --info: #2563EB;
  --info-bg: rgba(37, 99, 235, 0.08);

  /* ── Type ── */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --mono: 'SF Mono', 'Fira Code', 'Cascadia Code', ui-monospace, monospace;

  /* ── Shape ── */
  --radius-sm: 6px;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-pill: 999px;

  /* ── Elevation ── */
  --shadow-sm: 0 1px 4px rgba(15, 27, 77, 0.07), 0 0 0 1px rgba(15, 27, 77, 0.04);
  --shadow-md: 0 4px 16px rgba(15, 27, 77, 0.10);
  --shadow-lg: 0 18px 44px -12px rgba(15, 27, 77, 0.22);
  --shadow-xl: 0 34px 80px -24px rgba(15, 27, 77, 0.30);
  --shadow-orange: 0 8px 24px rgba(245, 166, 35, 0.32);

  /* ── Layout ── */
  --wrap: 1180px;
  --gutter: 24px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  font-family: var(--font);
  color: var(--text-primary);
  background: var(--bg-panel);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.55;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }

::selection { background: var(--accent-glow-strong); color: var(--maxy-navy-dark); }

/* ── Merek: lockup logo yang dipakai di header/landing/app ── */
.maxy-mark {
  width: 38px; height: 38px;
  border-radius: 10px;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(245, 166, 35, 0.45);
}

.brand-accent { color: var(--maxy-orange); }

/* ── Watermark "dibuat dengan Maxy" — wajib di setiap output Nova ── */
.made-with-maxy {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-tertiary);
  text-transform: uppercase;
}
.made-with-maxy img { width: 16px; height: 16px; border-radius: 4px; }
.made-with-maxy b { color: var(--maxy-navy); font-weight: 700; }

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