/* ============================================================
   bluebuy.pl - prototyp landing page (statyczny, bez WordPress)
   Motyw: dominujący niebieski. Zmiana palety = edycja zmiennych.
   ============================================================ */

:root {
  /* Paleta - dominujący niebieski */
  --brand: #2b7cff;
  --brand-dark: #0b3fb0;
  --brand-darker: #082e80;
  --brand-soft: #eaf2ff;
  --brand-grad: linear-gradient(135deg, #2b7cff 0%, #0b3fb0 100%);

  --ink: #0f1e33;          /* podstawowy tekst */
  --muted: #5b6b82;        /* tekst drugorzędny */
  --line: #e4eaf3;         /* obramowania */
  --bg: #ffffff;
  --bg-alt: #f6f9ff;       /* delikatne tło sekcji */

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(11, 63, 176, .10);
  --shadow-lg: 0 24px 60px rgba(8, 46, 128, .16);
  --maxw: 1120px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

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

h1, h2, h3 { line-height: 1.2; margin: 0 0 .4em; color: var(--ink); }
p { margin: 0 0 1em; }
a { color: var(--brand-dark); text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.section { padding: 72px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section__eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 12px;
}
.section h2 { font-size: clamp(26px, 3.4vw, 38px); }
.section__head p { color: var(--muted); font-size: 18px; }

/* --------------------------- Przyciski --------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 16px;
  cursor: pointer; border: 2px solid transparent; transition: transform .15s ease, box-shadow .15s ease;
}
.btn--primary { background: var(--brand-grad); color: #fff; box-shadow: var(--shadow); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--ghost { background: #fff; color: var(--brand-dark); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand-dark); }
.btn--light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.4); }
.btn--light:hover { background: rgba(255,255,255,.24); }

/* --------------------------- Header --------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { height: 30px; display: block; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--ink); font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--brand-dark); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; }

/* --------------------------- Hero --------------------------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: var(--brand-grad);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(900px 400px at 85% -10%, rgba(255,255,255,.22), transparent 60%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; padding-top: 84px; padding-bottom: 92px; text-align: center; }
.hero__badge {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3);
  padding: 7px 16px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(34px, 5.4vw, 60px); color: #fff; margin-bottom: 18px; }
.hero__sub { font-size: 20px; font-weight: 600; color: #dce9ff; margin-bottom: 10px; }
.hero__lead { max-width: 640px; margin: 0 auto 32px; font-size: 18px; color: #e9f1ff; }
.hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* --------------------------- Grid kart --------------------------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand-dark); margin-bottom: 16px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 19px; }
.card p { color: var(--muted); margin: 0; }

/* --------------------------- Kroki --------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { text-align: center; padding: 8px; }
.step__num {
  width: 62px; height: 62px; margin: 0 auto 16px; border-radius: 50%;
  display: grid; place-items: center; font-size: 26px; font-weight: 800; color: #fff;
  background: var(--brand-grad); box-shadow: var(--shadow);
}
.step h3 { font-size: 17px; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }

/* --------------------------- Pakiety --------------------------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; display: flex; flex-direction: column; box-shadow: var(--shadow);
}
.plan--featured { border-color: var(--brand); box-shadow: var(--shadow-lg); position: relative; }
.plan--featured::before {
  content: "Najczęściej wybierany"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--brand-grad); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .04em;
  padding: 6px 14px; border-radius: 999px; white-space: nowrap;
}
.plan h3 { font-size: 22px; }
.plan__price { font-size: 40px; font-weight: 800; color: var(--brand-dark); line-height: 1; margin: 8px 0 2px; }
.plan__price small { font-size: 15px; font-weight: 600; color: var(--muted); }
.plan__per { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.plan__label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 10px 0 8px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.plan li { padding: 7px 0 7px 28px; position: relative; color: var(--ink); font-size: 15px; border-bottom: 1px solid var(--line); }
.plan li:last-child { border-bottom: 0; }
.plan li::before {
  content: ""; position: absolute; left: 0; top: 12px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b3fb0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/11px no-repeat;
}

/* --------------------------- Blok "Polska platforma" --------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split__media {
  border-radius: var(--radius); background: var(--brand-grad); color: #fff; padding: 48px;
  box-shadow: var(--shadow-lg); min-height: 260px; display: flex; flex-direction: column; justify-content: center;
}
.split__media .big { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; }
.split__media .flag { font-size: 15px; letter-spacing: .1em; text-transform: uppercase; opacity: .9; margin-bottom: 8px; }
.split p { color: var(--muted); }

/* --------------------------- Kontakt / formularz --------------------------- */
.contact { background: var(--brand-darker); color: #fff; }
.contact .section__head p { color: #cfe0ff; }
.contact .section__eyebrow { color: #8ec2ff; }
.contact h2 { color: #fff; }
.contact__wrap { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: start; max-width: 640px; margin: 0 auto; }
.contact__info h3 { color: #fff; }
.contact__info p, .contact__info a { color: #cfe0ff; }
.contact__info a:hover { color: #fff; }
.contact__info .line { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; font-size: 16px; }
.contact__info .line svg { width: 22px; height: 22px; color: #8ec2ff; flex: none; }

.form { background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-lg); }
.form .field { margin-bottom: 16px; }
.form label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.form input, .form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; color: var(--ink); background: #fff;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.form textarea { resize: vertical; min-height: 110px; }
.form .consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; color: var(--muted); margin-bottom: 18px; }
.form .consent input { width: auto; margin-top: 3px; }
.form .btn { width: 100%; }
.form__note { font-size: 13px; color: var(--muted); text-align: center; margin: 12px 0 0; }

/* --------------------------- Footer --------------------------- */
.site-footer { background: #071a3a; color: #b8c6e0; padding: 44px 0; }
.site-footer .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: #cfe0ff; }
.site-footer .foot-brand { display: flex; align-items: center; gap: 12px; }
.site-footer small { color: #7f92b5; }

/* --------------------------- Responsywność --------------------------- */
@media (max-width: 900px) {
  .grid--3, .plans { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .split, .contact__wrap { grid-template-columns: 1fr; gap: 28px; }
  .plan--featured::before { top: -12px; }
}
@media (max-width: 640px) {
  .section { padding: 52px 0; }
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 18px 20px; gap: 16px;
  }
  .nav-toggle { display: block; }
  .header-cta .btn { display: none; }
  .grid--3, .grid--2, .plans, .steps { grid-template-columns: 1fr; }
  .site-header { position: relative; }
}
