@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;700;800&display=swap');

:root {
  --navH: 72px;
  --bg: #050507;
  --bg-card: rgba(20, 22, 28, 0.6);
  --stroke: rgba(255, 255, 255, 0.08);
  --stroke-hover: rgba(255, 255, 255, 0.15);
  --text: #EDEDF0;
  --muted: #9496A1;
  --accent: #FF3B30; /* Bardziej żywy czerwony */
  --accent-glow: rgba(255, 59, 48, 0.35);
  --radius: 24px;
  --font-main: 'Manrope', ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--navH) + 20px); }

body {
  margin: 0;
  color: var(--text);
  font-family: var(--font-main);
  background-color: var(--bg);
  /* Subtelne tło z "ziarnem" dla efektu premium */
  background-image: 
    radial-gradient(at 10% 0%, rgba(255, 59, 48, 0.08) 0px, transparent 50%),
    radial-gradient(at 90% 10%, rgba(50, 100, 255, 0.05) 0px, transparent 50%);
  min-height: 100vh;
  padding-bottom: 80px; /* Miejsce na mobile bar */
}

a { color: inherit; text-decoration: none; transition: 0.2s; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* TYPOGRAPHY */
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
p { line-height: 1.6; color: var(--muted); margin-bottom: 0; }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(5, 5, 7, 0.7);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--stroke);
}
.nav-inner {
  height: var(--navH);
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 42px; height: 42px; border-radius: 12px; }
.brand strong { font-size: 16px; display: block; }
.brand span { font-size: 12px; color: var(--muted); display: block; font-weight: 500; }

.nav-actions { display: flex; gap: 12px; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 14px;
  font-weight: 700; font-size: 14px;
  transition: all 0.2s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer; border: 1px solid transparent;
}
.btn:active { transform: scale(0.96); }

.btn-ghost {
  background: rgba(255,255,255,0.03); border: 1px solid var(--stroke);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: var(--stroke-hover); }

.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-primary:hover {
  background: #ff5248; box-shadow: 0 8px 30px var(--accent-glow);
}

/* COMPONENTS */
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 100px;
  background: rgba(255, 59, 48, 0.1); border: 1px solid rgba(255, 59, 48, 0.2);
  color: #ff5248; font-size: 12px; font-weight: 700; margin-bottom: 16px;
}
.kicker .dot { width: 6px; height: 6px; background: currentColor; border-radius: 50%; box-shadow: 0 0 10px currentColor; }

.card {
  background: var(--bg-card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.3s, border-color 0.3s;
}
.card:hover { border-color: var(--stroke-hover); transform: translateY(-2px); }

/* HERO */
.hero { padding-top: 30px; padding-bottom: 40px; }
.hero-shell {
  position: relative; border-radius: 32px; overflow: hidden;
  border: 1px solid var(--stroke);
  background: #000 url("/assets/skupaudi-hero.webp") center/cover no-repeat;
  min-height: 560px;
  display: flex; align-items: flex-end;
}
.hero-shell::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(5,5,7,1) 0%, rgba(5,5,7,0.4) 60%, rgba(5,5,7,0.2) 100%);
}
.hero-content {
  position: relative; z-index: 2; padding: 40px; width: 100%;
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: end;
}
.hero-text h1 { font-size: 48px; margin-bottom: 16px; background: linear-gradient(to right, #fff, #b4b4b8); -webkit-background-clip: text; -webkit-text-fill-color: transparent;}
.hero-text p { font-size: 17px; max-width: 500px; color: #d0d0d5; margin-bottom: 24px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.features-grid { display: grid; gap: 12px; }
.f-item {
  background: rgba(20, 20, 25, 0.6); backdrop-filter: blur(10px);
  padding: 16px 20px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.06);
}
.f-item strong { display: block; font-size: 15px; margin-bottom: 4px; color: #fff; }
.f-item span { font-size: 13px; color: var(--muted); }

/* SECTIONS */
section { padding: 40px 0; }
.section-head { margin-bottom: 32px; max-width: 700px; }
.section-head h2 { font-size: 32px; margin-bottom: 12px; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }

.step-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
}
.step-num {
  width: 32px; height: 32px; background: rgba(255,255,255,0.05);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px; margin-bottom: 16px; color: var(--accent);
}

/* FORMULARZ & INPUTS */
.input-group { margin-bottom: 16px; }
.input-label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; color: #dcdce0; }
input, select, textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--stroke);
  color: #fff; font-family: inherit; font-size: 15px; outline: none;
  transition: 0.2s;
}
input:focus, textarea:focus { border-color: var(--accent); background: rgba(255,59,48,0.02); }
textarea { min-height: 120px; resize: vertical; }

.upload-box {
  border: 2px dashed var(--stroke); border-radius: 16px; padding: 20px; text-align: center;
  transition: 0.2s; cursor: pointer; position: relative;
}
.upload-box:hover { border-color: var(--accent); background: rgba(255,59,48,0.02); }
.upload-box input[type="file"] {
  position: absolute; inset: 0; opacity: 0; cursor: pointer;
}

/* MOBILE BOTTOM BAR (2026 Standard) */
.mobile-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  background: rgba(10, 10, 12, 0.9); backdrop-filter: blur(16px);
  border-top: 1px solid var(--stroke);
  padding: 12px 20px; z-index: 999;
  justify-content: space-between; gap: 12px;
}
.mobile-bar .btn { flex: 1; padding: 12px; font-size: 14px; }

/* FOOTER */
.footer {
  border-top: 1px solid var(--stroke); padding: 40px 0; margin-top: 40px;
  font-size: 13px; color: var(--muted);
}
.footer a:hover { color: var(--accent); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; }
  .nav-actions { display: none; } /* Ukrywamy górne przyciski na mobile */
  .mobile-bar { display: flex; padding-bottom: max(12px, env(safe-area-inset-bottom)); }
  .hero-text h1 { font-size: 36px; }
  .hero-shell { min-height: 480px; }
}