/* ============================================================
   GrozavBank — Base
   Tokens, reset, typography
   ============================================================ */

:root {
  /* Dark bases */
  --bg-0: #050612;
  --bg-1: #080a1a;
  --bg-2: #0e1024;
  --bg-3: #160b2e;

  /* Purple */
  --violet-500: #7c3aed;
  --violet-400: #8b5cf6;
  --violet-300: #a78bfa;

  /* Light */
  --white: #ffffff;
  --gray-50: #f6f7f9;
  --gray-100: #eef0f3;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-900: #111827;

  /* Green accent */
  --green-400: #9fe870;
  --green-500: #22c55e;

  /* Semantic */
  --color-bg: var(--bg-0);
  --color-surface: rgba(255, 255, 255, 0.04);
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-strong: rgba(255, 255, 255, 0.14);
  --color-text: #ffffff;
  --color-text-muted: #9ca3af;
  --color-text-dim: rgba(255, 255, 255, 0.55);

  --color-bg-light: var(--white);
  --color-bg-light-alt: var(--gray-50);
  --color-border-light: #e8eaef;
  --color-text-dark: var(--gray-900);
  --color-text-dark-muted: var(--gray-500);

  /* Radius */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04), 0 1px 1px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 10px 30px -12px rgba(17, 24, 39, 0.12),
    0 4px 10px -4px rgba(17, 24, 39, 0.06);
  --shadow-lg: 0 30px 60px -20px rgba(17, 24, 39, 0.2),
    0 12px 30px -12px rgba(17, 24, 39, 0.12);
  --shadow-card: 0 20px 50px -20px rgba(10, 12, 28, 0.5);

  /* Glow (dark) */
  --glow-violet: 0 40px 120px -20px rgba(139, 92, 246, 0.45);
  --glow-violet-soft: 0 20px 80px -20px rgba(139, 92, 246, 0.3);

  /* Layout */
  --container: 1200px;
  --container-wide: 1280px;

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --t-fast: 160ms;
  --t-med: 280ms;
}

/* ---------- reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  overflow-x: hidden;
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial,
    sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

h1,
h2,
h3,
h4,
h5,
p {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

input,
select,
textarea {
  font: inherit;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

::selection {
  background: rgba(167, 139, 250, 0.35);
  color: #fff;
}

/* ---------- layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- utilities ---------- */
.text-gradient {
  background: linear-gradient(
    100deg,
    #ffffff 0%,
    #d4c8ff 45%,
    #a78bfa 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--violet-300);
  margin-bottom: 14px;
}

.eyebrow--light {
  color: var(--violet-500);
}

.eyebrow--dark {
  color: var(--violet-300);
}

.section-title {
  font-size: clamp(28px, 3.6vw, 44px);
  letter-spacing: -0.02em;
  color: var(--color-text);
  max-width: 760px;
}

.section-title--dark {
  color: #ffffff;
}

.section-sub {
  margin-top: 14px;
  font-size: 16px;
  color: var(--color-text-muted);
  max-width: 640px;
}

.section-sub--light {
  color: var(--gray-500);
}

.section-sub--dark {
  color: rgba(255, 255, 255, 0.6);
}

.section-head {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head .section-sub {
  margin-left: auto;
  margin-right: auto;
}

.section-head--light .section-title {
  color: var(--color-text-dark);
}

.link-muted {
  color: var(--color-text-muted);
  font-size: 14px;
  transition: color var(--t-fast);
}

.link-muted:hover {
  color: #fff;
}

/* reveal-on-scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* focus */
:focus-visible {
  outline: 2px solid var(--violet-300);
  outline-offset: 3px;
  border-radius: 4px;
}
