
/* style.css – 4got.pl landing page */

/* Reset i podstawy */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #050816;
  --bg-alt: #0b1020;
  --accent: #4f46e5;
  --accent-soft: rgba(79, 70, 229, 0.1);
  --accent-strong: #6366f1;
  --text: #e5e7eb;
  --text-muted: #9ca3af;
  --border: #1f2933;
  --danger: #ef4444;
  --success: #22c55e;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.65);
  --max-width: 1120px;
  --transition-fast: 0.18s ease-out;
}

html, body {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #111827 0, #020617 40%, #020617 100%);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* Layout */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Nawigacja */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(2, 6, 23, 0.95), rgba(2, 6, 23, 0.75), transparent);
  border-bottom: 1px solid rgba(15, 23, 42, 0.8);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 30% 70% 60% 40%;
  background: radial-gradient(circle at 20% 0%, #4f46e5, #0ea5e9 50%, #0f172a 100%);
  box-shadow: 0 0 20px rgba(79, 70, 229, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.logo-text-main {
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.logo-text-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.92rem;
}

.nav-links a {
  position: relative;
  color: var(--text-muted);
  padding-bottom: 0.1rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #4f46e5, #0ea5e9);
  border-radius: 999px;
  transition: width var(--transition-fast);
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(99, 102, 241, 0.6);
  background: radial-gradient(circle at top, rgba(129, 140, 248, 0.25), rgba(17, 24, 39, 0.9));
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 9px 24px rgba(15, 23, 42, 0.75);
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.nav-cta span {
  font-size: 1.1rem;
  margin-top: -1px;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.9);
  border-color: rgba(129, 140, 248, 0.9);
}

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 1.6rem;
  cursor: pointer;
}

/* Hero */
.hero {
  padding: 3.5rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.8rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: radial-gradient(circle at left, rgba(34, 197, 94, 0.18), rgba(15, 23, 42, 0.95));
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 1.1rem;
}

.hero-badge-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--success), #166534);
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.9);
}

.hero-title {
  font-size: clamp(2.3rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.8rem;
}

.hero-title span {
  background: linear-gradient(120deg, #a855f7, #4f46e5, #0ea5e9);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 1.04rem;
  color: var(--text-muted);
  max-width: 36rem;
  margin-bottom: 1.5rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.tag {
  font-size: 0.75rem;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: radial-gradient(circle at top left, rgba(148, 163, 184, 0.15), rgba(15, 23, 42, 0.95));
  color: var(--text-muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.btn-primary, .btn-ghost {
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  padding: 0.6rem 1.35rem;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  font-weight: 500;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
  text-decoration: none;
}

.btn-primary {
  background: radial-gradient(circle at top left, #4f46e5, #0ea5e9);
  border-color: rgba(129, 140, 248, 0.4);
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.95);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 1);
}

.btn-ghost {
  border-color: rgba(55, 65, 81, 0.8);
  background: rgba(15, 23, 42, 0.7);
  color: var(--text-muted);
}

.btn-ghost:hover {
  border-color: rgba(148, 163, 184, 0.9);
  color: var(--text);
  transform: translateY(-1px);
}

.btn-primary-icon, .btn-ghost-icon {
  font-size: 1.1rem;
  margin-top: -2px;
}

.hero-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* Hero – karta */
.hero-card {
  border-radius: 26px;
  border: 1px solid rgba(31, 41, 55, 0.95);
  background:
    radial-gradient(circle at 0 0, rgba(59, 130, 246, 0.3), transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(236, 72, 153, 0.25), transparent 55%),
    linear-gradient(150deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.99));
  padding: 1.25rem 1.45rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 0 0, rgba(148, 163, 184, 0.4) 0, transparent 50%);
  mix-blend-mode: soft-light;
  opacity: 0.5;
  pointer-events: none;
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.1rem;
}

.hero-card-title {
  font-size: 0.9rem;
  font-weight: 500;
}

.hero-card-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.hero-card-chip {
  font-size: 0.7rem;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(55, 65, 81, 0.8);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.hero-card-chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--success), #166534);
}

.hero-card-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 0.9rem;
}

.metric {
  padding: 0.55rem 0.8rem;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(31, 41, 55, 0.95);
  font-size: 0.8rem;
}

.metric-margin {
  margin-top: 0.7rem;
}

.metric-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.metric-value {
  font-size: 0.98rem;
  font-weight: 600;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.metric-tag {
  font-size: 0.7rem;
  padding: 0.1rem 0.5rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(55, 65, 81, 0.85);
  color: var(--text-muted);
}

.metric-small {
  margin-top: 0.4rem;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.hero-card-footer {
  margin-top: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.hero-card-footer-text {
  max-width: 220px;
}

.hero-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.hero-pill {
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-pill);
  border: 1px dashed rgba(55, 65, 81, 0.9);
  background: rgba(15, 23, 42, 0.85);
  font-size: 0.7rem;
}

/* Sekcje ogólne */
section {
  padding: 3.5rem 0;
}

.section-header {
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
}

.section-kicker {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-strong);
  margin-bottom: 0.35rem;
}

.section-title {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.2rem;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 26rem;
}

.section-subtitle-margin {
  margin-bottom: 0.75rem;
}

/* Usługi – karty */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(30, 64, 175, 0.45);
  background: radial-gradient(circle at top, var(--accent-soft), rgba(15, 23, 42, 0.98));
  padding: 1rem;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.85);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0 0, rgba(129, 140, 248, 0.4), transparent 55%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 28px;
  height: 28px;
  border-radius: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 0.7rem;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(55, 65, 81, 0.9);
}

.card-title {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.card-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.7rem;
}

.card-list {
  list-style: none;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.card-list li {
  padding-left: 1rem;
  position: relative;
  margin-bottom: 0.25rem;
}

.card-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #a5b4fc;
}

/* Proces */
.process-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  gap: 1.5rem;
  align-items: flex-start;
}

.timeline {
  border-radius: 20px;
  border: 1px solid rgba(31, 41, 55, 0.9);
  padding: 1rem;
  background: rgba(15, 23, 42, 0.9);
  box-shadow: var(--shadow-soft);
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: flex-start;
  position: relative;
  padding-bottom: 0.9rem;
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 22px;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, rgba(75, 85, 99, 0.6), transparent);
}

.step-bullet {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  background: radial-gradient(circle at top, rgba(129, 140, 248, 0.8), rgba(15, 23, 42, 1));
}

.step-content-title {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.15rem;
}

.step-content-text {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.process-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.8rem;
}

.metrics-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.mini-metric {
  padding: 0.6rem 0.7rem;
  border-radius: 16px;
  border: 1px dashed rgba(55, 65, 81, 0.9);
  background: rgba(15, 23, 42, 0.9);
  font-size: 0.8rem;
}

.mini-metric span {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.mini-metric strong {
  font-size: 0.9rem;
}

/* Stack + SLA */
.stack-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1.25rem;
}

.stack-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.stack-tag {
  font-size: 0.78rem;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-muted);
  white-space: nowrap;
}

.sla-box {
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid rgba(34, 197, 94, 0.5);
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.2), rgba(15, 23, 42, 0.98));
  font-size: 0.85rem;
  box-shadow: 0 14px 32px rgba(5, 46, 22, 0.9);
}

.sla-title {
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
}

.sla-items {
  list-style: none;
  margin-top: 0.3rem;
}

.sla-items li {
  margin-bottom: 0.25rem;
  padding-left: 1rem;
  position: relative;
}

.sla-items li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-size: 0.75rem;
}

.sla-note {
  margin-top: 0.4rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Kontakt */
.contact-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: flex-start;
}

.contact-form {
  border-radius: 20px;
  border: 1px solid rgba(31, 41, 55, 0.95);
  background: rgba(15, 23, 42, 0.95);
  padding: 1.1rem;
  box-shadow: var(--shadow-soft);
}

.form-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.form-group {
  margin-bottom: 0.8rem;
  flex: 1 1 0;
  min-width: 160px;
}

label {
  display: block;
  font-size: 0.78rem;
  margin-bottom: 0.2rem;
  color: var(--text-muted);
}

.required {
  color: var(--danger);
  margin-left: 0.15rem;
}

input, textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: rgba(15, 23, 42, 0.98);
  padding: 0.5rem 0.65rem;
  font-size: 0.85rem;
  color: var(--text);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

input:focus, textarea:focus {
  border-color: rgba(129, 140, 248, 0.9);
  box-shadow: 0 0 0 1px rgba(79, 70, 229, 0.7);
  background: rgba(15, 23, 42, 1);
}

textarea {
  resize: vertical;
  min-height: 110px;
}

.form-footnote {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

.contact-info {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contact-info-row {
  margin-bottom: 0.7rem;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: rgba(15, 23, 42, 0.9);
  margin-bottom: 0.4rem;
  font-size: 0.8rem;
}

.contact-pill span {
  font-size: 1rem;
  margin-top: -1px;
}

.contact-list {
  list-style: none;
  font-size: 0.8rem;
}

.contact-list li {
  margin-bottom: 0.25rem;
}

.contact-list a {
  color: #a5b4fc;
}

.contact-extra {
  margin-top: 0.75rem;
}

/* Stopka */
footer {
  border-top: 1px solid rgba(15, 23, 42, 1);
  padding: 1.4rem 0 1.5rem;
  margin-top: 2rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-links {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--text);
}

/* Responsywność */
@media (max-width: 960px) {
  .hero-grid,
  .process-grid,
  .stack-grid,
  .contact-wrapper {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 2.6rem;
  }

  .hero-card {
    order: -1;
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    inset: 56px 1.2rem auto 1.2rem;
    border-radius: 18px;
    border: 1px solid rgba(31, 41, 55, 0.95);
    background: rgba(2, 6, 23, 0.97);
    flex-direction: column;
    padding: 0.7rem 0.9rem 0.9rem;
    transform-origin: top;
    transform: scaleY(0.8);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
  }

  .nav-links.open {
    opacity: 1;
    transform: scaleY(1);
    pointer-events: auto;
  }

  .nav-toggle {
    display: block;
  }

  .nav-cta {
    display: none;
  }

  .cards-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 2.2rem;
  }

  .section-header {
    align-items: flex-start;
  }
}

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

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-row a,
  .cta-row button {
    width: 100%;
    justify-content: center;
  }
}
