/* Styl inspirowany education-tech (Giganci): pomarańcz CTA, fiolet akcentów, jasne tła.
   Własna marka — bez kopiowania logo/treści Gigantów. */

:root {
  --orange: #f58220;
  --orange-dark: #d66a0f;
  --orange-soft: #fff1e4;
  --yellow: #ffad36;
  --purple: #8d60ca;
  --purple-soft: #f0eef6;
  --blue: #4581db;
  --navy: #1a1a6e;
  --ink: #383838;
  --ink-muted: #5c5c5c;
  --ink-soft: #787878;
  --line: #eeeded;
  --white: #ffffff;
  --bg: #faf9fc;
  --shadow: 0 8px 28px rgb(26 26 110 / 8%);
  --radius: 18px;
  --radius-sm: 12px;
  --font-display: 'Nunito', system-ui, sans-serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
  --container: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  color: var(--navy);
  margin: 0;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--orange);
  color: white;
  padding: 0.75rem 1rem;
  z-index: 100;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 3px;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 94%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--navy);
}

.logo span {
  color: var(--orange);
}

.nav-desktop {
  display: none;
  gap: 1.5rem;
  align-items: center;
}

.nav-desktop a {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
}

.nav-desktop a:hover {
  color: var(--orange);
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

.nav-mobile {
  border-top: 1px solid var(--line);
  background: white;
  padding: 1rem 0 1.25rem;
}

.nav-mobile a {
  display: block;
  padding: 0.85rem 0;
  font-weight: 700;
  border-bottom: 1px solid var(--line);
}

.nav-mobile .btn {
  width: 100%;
  margin-top: 1rem;
}

@media (min-width: 960px) {
  .nav-desktop {
    display: flex;
  }

  .menu-toggle,
  .nav-mobile {
    display: none !important;
  }
}

/* Buttons — jak u Gigantów: wyrazisty pomarańcz */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  text-align: center;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--orange);
  color: white;
  box-shadow: 0 8px 20px rgb(245 130 32 / 28%);
}

.btn--primary:hover {
  background: var(--orange-dark);
}

.btn--secondary {
  background: white;
  color: var(--navy);
  border-color: #d9d6e5;
}

.btn--secondary:hover {
  border-color: var(--purple);
  color: var(--purple);
}

.btn--yellow {
  background: var(--yellow);
  color: var(--navy);
  box-shadow: 0 8px 20px rgb(255 173 54 / 30%);
}

.btn--ghost-light {
  background: rgb(255 255 255 / 12%);
  color: white;
  border-color: rgb(255 255 255 / 35%);
}

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

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 2.5rem 0 3rem;
  background:
    radial-gradient(circle at 85% 15%, rgb(255 173 54 / 28%), transparent 35%),
    radial-gradient(circle at 10% 80%, rgb(141 96 202 / 16%), transparent 40%),
    linear-gradient(180deg, #ffffff 0%, var(--purple-soft) 100%);
}

.hero__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero {
    padding: 3.5rem 0 4rem;
  }

  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: var(--orange-soft);
  color: var(--orange-dark);
  font-weight: 800;
  font-size: 0.82rem;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.35rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero__lead {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: var(--ink-muted);
  max-width: 36rem;
}

.hero__actions {
  margin-top: 1.5rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.chip {
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
  box-shadow: var(--shadow);
}

.hero-art {
  background: white;
  border-radius: 28px;
  padding: 1rem;
  box-shadow: var(--shadow);
  border: 1px solid rgb(141 96 202 / 12%);
}

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

@media (min-width: 700px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat {
  background: white;
  border-radius: var(--radius-sm);
  padding: 1rem;
  text-align: center;
  border: 1px solid var(--line);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--orange);
  font-weight: 900;
}

.stat span {
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-weight: 600;
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section--soft {
  background: var(--purple-soft);
}

.section--sand {
  background: #fff8ef;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head .label {
  color: var(--orange);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  margin-bottom: 0.65rem;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 900;
  text-wrap: balance;
}

.section-head p {
  margin-top: 0.85rem;
  color: var(--ink-muted);
  font-size: 1.05rem;
}

.card-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .card-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

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

.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
}

.card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.55rem;
}

.card p {
  color: var(--ink-muted);
}

.step-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2rem;
  color: rgb(245 130 32 / 35%);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.split {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

.feature-list li {
  display: flex;
  gap: 0.7rem;
  margin-top: 0.75rem;
  color: var(--ink-muted);
  font-weight: 500;
}

.feature-list li::before {
  content: '';
  width: 10px;
  height: 10px;
  margin-top: 0.45rem;
  border-radius: 3px;
  background: var(--orange);
  flex-shrink: 0;
}

.feature-list--purple li::before {
  background: var(--purple);
}

.example-box {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--orange-soft);
}

.example-box strong {
  color: var(--orange-dark);
  display: block;
  margin-bottom: 0.25rem;
}

.example-box--purple {
  background: var(--purple-soft);
}

.example-box--purple strong {
  color: var(--purple);
}

.info-panel {
  background: linear-gradient(145deg, var(--navy), #2d2d9a);
  color: white;
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.info-panel h3 {
  color: white;
  font-size: 1.5rem;
}

.info-panel p {
  margin-top: 0.85rem;
  color: rgb(255 255 255 / 85%);
}

.info-panel dl {
  margin-top: 1.25rem;
}

.info-panel .row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgb(255 255 255 / 15%);
  font-size: 0.95rem;
}

.info-panel .row:last-child {
  border-bottom: 0;
}

.info-panel dd {
  margin: 0;
  font-weight: 800;
}

.check-list li {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  margin-top: 0.65rem;
  box-shadow: var(--shadow);
  display: flex;
  gap: 0.65rem;
  color: var(--ink-muted);
}

.check-list li::before {
  content: '✓';
  color: var(--orange);
  font-weight: 900;
}

/* Form */
.form-card {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

@media (min-width: 700px) {
  .form-card {
    padding: 2rem;
  }
}

.form-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .form-grid--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.form-field label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.form-field .optional {
  font-weight: 500;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.form-field input[type='text'],
.form-field input[type='email'],
.form-field input[type='tel'] {
  width: 100%;
  min-height: 48px;
  border: 1px solid #dddce5;
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
  font: inherit;
  background: white;
}

.form-field input:focus {
  border-color: var(--purple);
  outline: none;
  box-shadow: 0 0 0 3px rgb(141 96 202 / 18%);
}

.form-error,
.form-field ul {
  color: #b4520a;
  font-size: 0.9rem;
  margin-top: 0.35rem;
  padding: 0;
  list-style: none;
}

.form-field ul li {
  margin-top: 0.2rem;
}

.form-check {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.form-check input {
  margin-top: 0.25rem;
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--orange);
}

.form-note {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-top: 0.75rem;
}

.form-demo {
  margin-top: 0.75rem;
  padding: 0.75rem 0.9rem;
  border: 1px dashed #d9d6e5;
  border-radius: 12px;
  background: #faf9fc;
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.flash {
  padding: 1rem 1.1rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  font-weight: 600;
}

.flash--success {
  background: #e8f8ef;
  color: #1f7a45;
  border: 1px solid #b6e5c6;
}

/* FAQ */
.faq {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 0 1.25rem;
  max-width: 760px;
  margin-inline: auto;
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__item:last-child {
  border-bottom: 0;
}

.faq__button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  background: none;
  border: 0;
  padding: 1.15rem 0;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--navy);
  cursor: pointer;
}

.faq__icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--orange);
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.faq__button[aria-expanded='true'] .faq__icon {
  transform: rotate(45deg);
  background: var(--orange-soft);
}

.faq__panel {
  padding: 0 0 1.15rem;
  color: var(--ink-muted);
}

/* Final CTA */
.final-cta {
  padding: 1rem 0 4rem;
}

.final-cta__box {
  background: linear-gradient(120deg, var(--orange) 0%, #ff9a3d 55%, var(--yellow) 100%);
  border-radius: 28px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: white;
  box-shadow: var(--shadow);
}

.final-cta__box h2 {
  color: white;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  max-width: 34rem;
  margin-inline: auto;
}

.final-cta__box p {
  margin: 0.9rem auto 0;
  max-width: 34rem;
  color: rgb(255 255 255 / 92%);
  font-size: 1.05rem;
}

.final-cta__actions {
  margin-top: 1.5rem;
  justify-content: center;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgb(255 255 255 / 82%);
  padding: 3rem 0 0;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

.site-footer h3,
.site-footer .logo {
  color: white;
}

.site-footer h4 {
  color: rgb(255 255 255 / 55%);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
}

.site-footer ul li {
  margin-top: 0.45rem;
}

.footer-company strong {
  color: white;
  font-weight: 800;
}

.site-footer a:hover {
  color: var(--yellow);
}

.footer-bottom {
  margin-top: 2rem;
  border-top: 1px solid rgb(255 255 255 / 12%);
  padding: 1rem 0;
  font-size: 0.85rem;
  color: rgb(255 255 255 / 50%);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
}

.muted-placeholder {
  color: rgb(255 255 255 / 45%);
}
