/* ─────────────────────────────────────────────────────────────────
   Gorilla Commerce & Solutions — landing page
   Tokeny + globalny reset + utility
   ───────────────────────────────────────────────────────────────── */

:root {
  /* Domyślna paleta — Bold Electric (czarne tło + lime accent) */
  --bg:        #0B0B0E;
  --bg-2:      #14141A;
  --surface:   #1A1A22;
  --surface-2: #22222C;
  --line:      #2A2A36;
  --line-2:    #3A3A48;
  --ink:       #F5F5F2;
  --ink-2:     #B8B8B0;
  --ink-3:     #7A7A78;
  --brand:     #C8FF00;      /* electric lime */
  --brand-ink: #0B0B0E;      /* tekst na brand */
  --accent:    #FF5C2E;      /* warning / strata */
  --gain:      #C8FF00;      /* zysk */

  /* Typografia — domyślnie Geist */
  --font-display: 'Geist', ui-sans-serif, system-ui, sans-serif;
  --font-body:    'Geist', ui-sans-serif, system-ui, sans-serif;
  --font-mono:    'Geist Mono', ui-monospace, monospace;

  /* Skale */
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  /* Easing */
  --ease-out: cubic-bezier(.2,.7,.2,1);
  --ease-in-out: cubic-bezier(.65,.05,.36,1);

  /* Max width */
  --container: 1240px;
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: 'ss01', 'ss02', 'cv11';
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; margin: 0; line-height: 1.05; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

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

/* ── Eyebrow / chip ──────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  background: rgba(255,255,255,0.02);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 8px var(--brand); }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: transform .2s var(--ease-out), background .2s, border-color .2s, color .2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--brand);
  color: var(--brand-ink);
}
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn-primary .arrow {
  display: inline-block;
  transition: transform .25s var(--ease-out);
}
.btn-primary:hover .arrow { transform: translateX(3px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn-ghost:hover { background: rgba(255,255,255,0.04); border-color: var(--ink-3); }
.btn-lg { padding: 16px 26px; font-size: 16px; }
.btn-sm { padding: 10px 16px; font-size: 13.5px; }

/* ── Section base ───────────────────────────────────────── */
section {
  position: relative;
  padding: 120px 0;
}
@media (max-width: 768px) {
  section { padding: 72px 0; }
}

.section-head {
  display: flex; flex-direction: column; gap: 18px;
  margin-bottom: 56px;
}
.section-head h2 {
  font-size: clamp(34px, 5vw, 56px);
}
.section-head p {
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--ink-2);
  max-width: 640px;
}

/* ── Cards ───────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color .2s, transform .25s var(--ease-out), background .2s;
}
.card:hover {
  border-color: var(--line-2);
  background: var(--surface-2);
}

/* ── Grain / noise overlay for premium feel ────────────── */
.grain::before {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.45 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.06;
  mix-blend-mode: overlay;
}

/* ── Animations ─────────────────────────────────────────── */
@keyframes reveal {
  0% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 1; transform: translateY(0); }
}
.reveal {
  animation: reveal .7s var(--ease-out) both;
}
.reveal-1 { animation-delay: .05s; }
.reveal-2 { animation-delay: .12s; }
.reveal-3 { animation-delay: .20s; }
.reveal-4 { animation-delay: .28s; }
.reveal-5 { animation-delay: .36s; }
.reveal-6 { animation-delay: .44s; }

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.85); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Smooth scroll ───────────────────────────────────────── */
html { scroll-behavior: smooth; }

/* ── Selection ──────────────────────────────────────────── */
::selection { background: var(--brand); color: var(--brand-ink); }

/* ── Scrollbar ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--ink-3); }

/* ── Utility ────────────────────────────────────────────── */
.muted { color: var(--ink-2); }
.text-brand { color: var(--brand); }
.divider {
  height: 1px; background: var(--line); width: 100%;
}
.kbd {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--line);
  color: var(--ink-2);
}
