/*
Theme Name: IMATIK Simple
Theme URI: https://imatik.dev/
Author: IMATIK
Description: Lekki, autorski motyw firmowy bez zewnetrznych zaleznosci.
Version: 1.0.0
Text Domain: imatik-simple
*/

:root {
  --ink: #f7f8ff;
  --muted: #aab0c5;
  --night: #090b14;
  --panel: #111522;
  --panel-strong: #171c2c;
  --line: rgba(255,255,255,.1);
  --violet: #8b5cf6;
  --cyan: #22d3ee;
  --green: #61e7b7;
  --shadow: 0 28px 80px rgba(0,0,0,.34);
  --radius: 24px;
  --wrap: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 9% 0%, rgba(139,92,246,.18), transparent 30rem),
    radial-gradient(circle at 96% 12%, rgba(34,211,238,.13), transparent 32rem),
    var(--night);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img, svg { max-width: 100%; }
.site-wrap { width: var(--wrap); margin-inline: auto; }
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}
.screen-reader-text:focus {
  width: auto;
  height: auto;
  clip: auto;
  padding: 10px 14px;
  background: #fff;
  color: #000;
  z-index: 10000;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(9,11,20,.82);
  backdrop-filter: blur(18px);
}
.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 800;
  letter-spacing: -.03em;
  text-decoration: none;
}
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a {
  color: var(--muted);
  font-size: .92rem;
  font-weight: 650;
  text-decoration: none;
}
.site-nav a:hover, .site-nav a:focus-visible { color: #fff; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--violet), #6d5dfc 52%, var(--cyan));
  box-shadow: 0 12px 35px rgba(124,92,246,.24);
  color: #fff;
  font-weight: 750;
  text-decoration: none;
  transition: transform .2s ease, filter .2s ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); filter: brightness(1.08); }
.button-ghost {
  border-color: var(--line);
  background: rgba(255,255,255,.035);
  box-shadow: none;
}

.hero-shell {
  position: relative;
  overflow: hidden;
  padding: clamp(88px, 12vw, 156px) 0 80px;
}
.hero-shell::after {
  content: "";
  position: absolute;
  inset: 17% -15% auto auto;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(34,211,238,.15);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(139,92,246,.03), 0 0 0 160px rgba(34,211,238,.025);
  pointer-events: none;
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero-copy { position: relative; z-index: 1; max-width: 900px; }
.hero-copy h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(3rem, 7.6vw, 6.8rem);
  line-height: .95;
  letter-spacing: -.072em;
}
.hero-copy h1 span {
  color: transparent;
  background: linear-gradient(95deg, #fff 5%, #bbb6ff 47%, #6ce7f6);
  background-clip: text;
}
.hero-lead {
  max-width: 720px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
}
.trust-line li {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.025);
  color: #d8dbea;
  font-size: .85rem;
}

.section { padding: clamp(72px, 9vw, 118px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(280px, .38fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 42px;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 1.03;
  letter-spacing: -.055em;
}
.section-head p { margin: 0; color: var(--muted); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.service-card {
  grid-column: span 4;
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  box-shadow: var(--shadow);
}
.service-card:nth-child(1), .service-card:nth-child(6) { grid-column: span 6; }
.card-number {
  display: block;
  margin-bottom: 52px;
  color: var(--cyan);
  font: 700 .76rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}
.service-card h3 { margin: 0 0 12px; font-size: 1.32rem; }
.service-card p { margin: 0; color: var(--muted); }

.why-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
}
.why-panel {
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.why-panel.accent {
  background:
    linear-gradient(150deg, rgba(139,92,246,.32), rgba(34,211,238,.11)),
    var(--panel-strong);
}
.why-panel h2 { margin: 0 0 20px; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.04; letter-spacing: -.05em; }
.why-panel p { color: var(--muted); }
.check-list { display: grid; gap: 15px; margin: 30px 0 0; padding: 0; list-style: none; }
.check-list li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; }
.check-list li::before { content: "↗"; color: var(--green); font-weight: 900; }

.contact-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  padding: clamp(34px, 6vw, 70px);
  border: 1px solid rgba(139,92,246,.3);
  border-radius: 32px;
  background:
    radial-gradient(circle at 85% 0%, rgba(34,211,238,.18), transparent 20rem),
    linear-gradient(135deg, rgba(139,92,246,.18), rgba(255,255,255,.025));
}
.contact-panel h2 { margin: 0 0 12px; font-size: clamp(2.2rem, 5vw, 4.7rem); line-height: 1; letter-spacing: -.06em; }
.contact-panel p { margin: 0; color: var(--muted); }
.contact-links { display: grid; gap: 10px; text-align: right; }
.contact-links a { color: #fff; font-weight: 750; text-decoration: none; }
.contact-links span { color: var(--muted); font-size: .88rem; }

.page-main { min-height: 65vh; padding: 86px 0; }
.page-main h1 { font-size: clamp(2.4rem, 6vw, 5rem); letter-spacing: -.055em; }
.page-content { max-width: 820px; color: #d4d7e3; }
.page-content a { color: var(--cyan); }

.site-footer { padding: 34px 0; border-top: 1px solid var(--line); color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer a { color: #fff; text-decoration: none; }

@media (max-width: 860px) {
  .site-nav a:not(.button) { display: none; }
  .section-head, .why-grid, .contact-panel { grid-template-columns: 1fr; }
  .service-card, .service-card:nth-child(1), .service-card:nth-child(6) { grid-column: span 6; }
  .contact-links { text-align: left; }
}
@media (max-width: 590px) {
  :root { --wrap: min(100% - 28px, 1180px); }
  .site-nav .button { min-height: 42px; padding-inline: 15px; }
  .hero-shell { padding-top: 72px; }
  .service-card, .service-card:nth-child(1), .service-card:nth-child(6) { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
