/* ── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 19px; }

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  line-height: 1.78;
  background: #fff;
  color: #1e293b;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .syne { font-family: 'Space Grotesk', sans-serif; }

a { text-decoration: none; }

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

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f8fafc; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }

/* ── GRADIENT TEXT ────────────────────────────────────────── */
.gt {
  background: linear-gradient(135deg, #6d28d9, #0891b2, #059669);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── NAV ──────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 32px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.nav-logo { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 17px; }
.nav-logo span { color: #94a3b8; font-weight: 300; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 15px; color: #64748b; transition: color .2s; }
.nav-links a:hover { color: #0f172a; }
.nav-cta {
  padding: 9px 22px; border-radius: 999px;
  background: #6d28d9; color: #fff !important;
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 15px;
  transition: background .2s;
}
.nav-cta:hover { background: #5b21b6 !important; }
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; color: #64748b; }
.nav-mobile {
  display: none; flex-direction: column; align-items: center; gap: 16px;
  position: absolute; top: 100%; left: 0; right: 0;
  background: #fff; border-bottom: 1px solid #e2e8f0;
  padding: 20px 0; box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.nav-mobile.open { display: flex; }
.nav-mobile a { color: #475569; font-size: 15px; }

/* ── FADE-UP ANIMATION ────────────────────────────────────── */
.fade { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.fade.visible { opacity: 1; transform: translateY(0); }
.fade.d1 { transition-delay: .08s; }
.fade.d2 { transition-delay: .16s; }
.fade.d3 { transition-delay: .24s; }
.fade.d4 { transition-delay: .32s; }

/* ── AURORA BLOBS (hero only) ─────────────────────────────── */
@keyframes b1 { 0%,100%{transform:translate(0,0) scale(1)} 33%{transform:translate(60px,-50px) scale(1.15)} 66%{transform:translate(-40px,70px) scale(.9)} }
@keyframes b2 { 0%,100%{transform:translate(0,0) scale(1)} 33%{transform:translate(-80px,45px) scale(.87)} 66%{transform:translate(55px,-65px) scale(1.12)} }
@keyframes b3 { 0%,100%{transform:translate(0,0) scale(1)} 33%{transform:translate(65px,65px) scale(1.1)} 66%{transform:translate(-70px,-35px) scale(.92)} }
@keyframes b4 { 0%,100%{transform:translate(0,0) scale(1)} 33%{transform:translate(-45px,-60px) scale(1.08)} 66%{transform:translate(65px,40px) scale(.94)} }
@keyframes b5 { 0%,100%{transform:translate(0,0) scale(1)} 40%{transform:translate(85px,-45px) scale(1.18)} 80%{transform:translate(-55px,55px) scale(.86)} }

.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.aurora-base {
  position: absolute; inset: 0;
  background: linear-gradient(135deg,#faf5ff 0%,#f0f9ff 35%,#f0fdf4 65%,#fff7ed 100%);
}
.aurora-blob {
  position: absolute; border-radius: 50%;
  filter: blur(72px); pointer-events: none;
}

/* ── HERO ─────────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 100px 32px 60px;
  overflow: hidden;
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: 960px; width: 100%;
  display: grid;
  /* TEXT column gets all free space, AVATAR column is fixed */
  grid-template-columns: 1fr 260px;
  gap: 56px;
  align-items: center;
}
.hero-text { min-width: 0; } /* prevents text from overflowing */

.available-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: #f0fdf4; border: 1px solid #86efac;
  margin-bottom: 24px;
}
.available-pill .dot { width: 8px; height: 8px; background: #22c55e; border-radius: 50%; }
.available-pill span { color: #166534; font-size: 12px; font-weight: 500; }

.hero-h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(2.8rem, 5.8vw, 4.1rem);
  line-height: 1.18;
  color: #0f172a;
  margin-bottom: 20px;
  overflow-wrap: break-word;
  word-break: keep-all;
  hyphens: none;
  /* Extra bottom padding so descenders are never clipped */
  padding-bottom: 4px;
}

.hero-sub { color: #475569; font-size: 18px; line-height: 1.85; margin-bottom: 28px; }

.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary {
  padding: 15px 30px; border-radius: 999px;
  background: linear-gradient(135deg,#6d28d9,#0891b2);
  color: #fff; font-size: 17px; font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
  box-shadow: 0 8px 28px rgba(109,40,217,.28);
  transition: opacity .2s;
}
.btn-primary:hover { opacity: .85; }
.btn-secondary {
  padding: 15px 30px; border-radius: 999px;
  background: rgba(255,255,255,.8); border: 1.5px solid #e2e8f0;
  color: #475569; font-size: 17px; backdrop-filter: blur(8px);
  transition: border-color .2s, color .2s;
}
.btn-secondary:hover { border-color: #a78bfa; color: #6d28d9; }

/* ── AVATAR ───────────────────────────────────────────────── */
.avatar-col { display: flex; flex-direction: column; align-items: center; gap: 18px; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
.avatar-wrap {
  animation: float 6s ease-in-out infinite;
  padding: 3px; border-radius: 50%;
  background: linear-gradient(135deg,#6d28d9,#0891b2,#059669);
}
.avatar-img {
  width: 200px; height: 200px;
  border-radius: 50%; overflow: hidden; background: #fff;
}
.avatar-img img { width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; width: 100%; }
.stat {
  background: rgba(255,255,255,.82); backdrop-filter: blur(8px);
  border: 1px solid #e2e8f0; border-radius: 14px;
  padding: 14px 8px; text-align: center;
}
.stat-n {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 26px;
  background: linear-gradient(135deg,#6d28d9,#0891b2,#059669);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-l { font-size: 13px; color: #94a3b8; margin-top: 4px; }

/* ── SCROLL HINT ──────────────────────────────────────────── */
.scroll-hint {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px; opacity: .32;
}
.scroll-hint span { font-size: 11px; color: #94a3b8; }
.scroll-hint div { width: 1px; height: 32px; background: linear-gradient(to bottom,#94a3b8,transparent); }

/* ── MOUSE BLOBS (all sections) ───────────────────────────── */
.section-wrap { position: relative; overflow: hidden; }
.mouse-blob {
  position: absolute; border-radius: 50%;
  filter: blur(52px); pointer-events: none;
  will-change: transform; top: 0; left: 0;
}

/* ── SECTIONS ─────────────────────────────────────────────── */
.section-inner { position: relative; z-index: 2; max-width: 960px; margin: 0 auto; padding: 88px 32px; }

.section-tag { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.section-tag .line { width: 28px; height: 2px; border-radius: 2px; flex-shrink: 0; }
.section-tag span { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; }

.section-h2 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: clamp(28px, 3.8vw, 46px);
  color: #0f172a; margin-bottom: 12px;
}
.section-sub { color: #64748b; font-size: 18px; line-height: 1.75; max-width: 520px; margin-bottom: 44px; }

/* ── O MNIE ───────────────────────────────────────────────── */
#omnie { background: #fff; }
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: start; }
.about-card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 24px; padding: 32px;
  position: relative; overflow: hidden;
}
.about-card::before {
  content: ''; position: absolute; top: 0; right: 0;
  width: 100px; height: 100px; background: rgba(109,40,217,.05);
  border-radius: 50%; transform: translate(35px,-35px); pointer-events: none;
}
.about-card p { color: #64748b; font-size: 18px; line-height: 1.85; margin-top: 16px; }
.about-card p:first-child { color: #1e293b; font-size: 19px; margin-top: 0; }
.about-card strong.v { color: #6d28d9; }
.about-card span.t { color: #0e7490; font-weight: 500; }

.certs-label { font-size: 11px; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; }
.badges { display: flex; flex-wrap: wrap; gap: 9px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 15px; border-radius: 999px;
  font-size: .88rem; font-weight: 500; border: 1px solid;
  cursor: default; transition: transform .2s;
}
.badge:hover { transform: translateY(-2px); }

/* ── NARZĘDZIA ────────────────────────────────────────────── */
#narzedzia { background: #f8fafc; }
.tools-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px,1fr)); gap: 14px; }
.tool-card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 20px; padding: 22px;
  cursor: default; transition: transform .3s, border-color .3s, box-shadow .3s;
}
.tool-card:hover { transform: translateY(-4px); border-color: #c4b5fd; box-shadow: 0 8px 24px rgba(109,40,217,.1); }
.tool-card img, .tool-card svg { width: 32px; height: 32px; margin-bottom: 12px; }
.tool-name { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 17px; color: #1e293b; margin-bottom: 6px; }
.tool-desc { font-size: 15px; color: #94a3b8; line-height: 1.55; }

/* ── OFERTA ───────────────────────────────────────────────── */
#oferta { background: #fff; }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px,1fr)); gap: 18px; }
.step-card {
  border-radius: 24px; padding: 28px; border: 1px solid;
  cursor: default; transition: transform .3s; height: 100%;
}
.step-card:hover { transform: translateY(-5px); }
.step-top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.step-emoji { font-size: 26px; }
.step-num { font-family: 'Space Grotesk', sans-serif; font-weight: 800; font-size: 44px; color: rgba(0,0,0,.06); line-height: 1; }
.step-title { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 21px; color: #0f172a; margin-bottom: 6px; }
.step-sub { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px; }
.step-desc { font-size: 17px; line-height: 1.75; }

/* ── KONTAKT ──────────────────────────────────────────────── */
#kontakt { background: #f8fafc; }
.contact-wrap { max-width: 600px; margin: 0 auto; }
.contact-tag { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 10px; }
.contact-tag .line { width: 28px; height: 2px; background: #6d28d9; border-radius: 2px; }
.contact-tag span { font-size: 11px; font-weight: 700; color: #6d28d9; text-transform: uppercase; letter-spacing: .14em; }
.contact-h2 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: clamp(24px, 3.5vw, 38px);
  color: #0f172a; text-align: center; margin-bottom: 10px;
}
.contact-sub { text-align: center; color: #94a3b8; font-size: 18px; margin-bottom: 32px; }

.form-card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 28px; padding: 40px;
  box-shadow: 0 4px 24px rgba(0,0,0,.05);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-label { display: block; font-size: 11px; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; }
.form-input, .form-textarea {
  width: 100%; background: #f8fafc; border: 1.5px solid #e2e8f0;
  border-radius: 12px; padding: 14px 18px;
  color: #1a1f2e; font-size: 17px; font-family: 'DM Sans', sans-serif;
  outline: none; transition: border-color .2s, box-shadow .2s;
}
.form-textarea { resize: none; }
.form-input:focus, .form-textarea:focus {
  border-color: #6d28d9; box-shadow: 0 0 0 3px rgba(109,40,217,.1);
  background: #fff;
}
.form-submit {
  width: 100%; margin-top: 16px; padding: 17px; border-radius: 14px;
  background: linear-gradient(135deg,#6d28d9,#0891b2);
  color: #fff; font-size: 18px; font-weight: 700; font-family: 'Space Grotesk', sans-serif;
  border: none; cursor: pointer; transition: opacity .2s;
  box-shadow: 0 6px 20px rgba(109,40,217,.2);
}
.form-submit:hover { opacity: .85; }
.form-submit:disabled { opacity: .55; cursor: not-allowed; }
.form-note { text-align: center; font-size: 12px; color: #cbd5e1; margin-top: 12px; }
.form-success { text-align: center; padding: 60px 20px; }
.form-success .emo { font-size: 52px; margin-bottom: 16px; }
.form-success h3 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 24px; color: #0f172a; margin-bottom: 10px; }
.form-success p { color: #64748b; font-size: 15px; line-height: 1.7; }

/* ── FOOTER ───────────────────────────────────────────────── */
footer {
  border-top: 1px solid #e2e8f0; padding: 32px;
  background: #fff; display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 12px;
  max-width: 100%;
}
.footer-inner { max-width: 960px; width: 100%; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-logo { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 18px; }
.footer-logo span { color: #cbd5e1; font-weight: 300; }
.footer-copy { font-size: 14px; color: #cbd5e1; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 14px; color: #94a3b8; transition: color .2s; }
.footer-links a:hover { color: #475569; }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 768px) {
  nav { padding: 12px 20px; }
  .nav-links { display: none; }
  .nav-hamburger { display: block; }

  #hero { padding: 80px 20px 60px; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .hero-text { order: 2; }
  .avatar-col { order: 1; }
  .hero-h1 {
    font-size: clamp(2.3rem, 9vw, 3rem);
    word-break: keep-all;
    line-height: 1.2;
  }
  .btn-row { justify-content: center; }
  .available-pill { margin: 0 auto 24px; }

  .about-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section-inner { padding: 64px 20px; }

  .avatar-img { width: 160px; height: 160px; }
  .stats { max-width: 240px; }
}

@media (max-width: 480px) {
  .hero-h1 { font-size: 2rem; }
}
