/* =====================================================================
   SMARTFLEET.AI — marketing landing pages
   Dark navy + gold theme. Self-contained (SVG/CSS mockups, no images).
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg:        #08070b;
  --bg-2:      #0b0910;
  --panel:     rgba(255,255,255,0.024);
  --panel-2:   #141119;
  --panel-3:   #1a1622;
  --border:    rgba(214,176,96,0.12);
  --border-2:  rgba(255,255,255,0.07);

  --gold:      #d9b45f;
  --gold-2:    #e8c877;
  --gold-3:    #c99a3f;
  --gold-soft: rgba(217,180,95,0.14);
  --gold-glow: rgba(230,190,90,0.35);

  --text:      #f5f3ef;
  --muted:     #9b98a4;
  --muted-2:   #77747f;

  --red:       #e0533a;
  --red-soft:  rgba(224,83,58,0.12);
  --amber:     #e0a83a;

  --radius:    18px;
  --radius-sm: 12px;
  --maxw:      1180px;

  --grad-gold: linear-gradient(135deg, #f0d089 0%, #d9b45f 45%, #b9863a 100%);
  --grad-head: linear-gradient(180deg, #f4e6c0 0%, #d9b45f 60%, #c39640 100%);
  --shadow:    0 24px 60px -20px rgba(0,0,0,0.7);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ambient page glow */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 500px at 78% -6%, rgba(217,180,95,0.10), transparent 60%),
    radial-gradient(700px 500px at -8% 8%, rgba(120,100,180,0.05), transparent 55%);
}

h1, h2, h3, h4 { font-family: 'Poppins', sans-serif; margin: 0; line-height: 1.12; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.gold-text {
  background: var(--grad-head);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.section { padding: 84px 0; position: relative; z-index: 1; }
.eyebrow {
  display: inline-block; font-family: 'Poppins'; font-size: 12px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold);
  padding: 7px 14px; border: 1px solid var(--border); border-radius: 999px;
  background: var(--gold-soft);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  font-family: 'Poppins'; font-weight: 600; font-size: 15px;
  padding: 14px 24px; border-radius: 12px; border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold {
  background: var(--grad-gold); color: #241a08;
  box-shadow: 0 12px 30px -10px var(--gold-glow);
}
.btn-gold:hover { box-shadow: 0 18px 40px -10px var(--gold-glow); }
.btn-ghost { background: rgba(255,255,255,0.03); color: var(--text); border-color: var(--border-2); }
.btn-ghost:hover { border-color: var(--gold); }
.btn .ico { width: 18px; height: 18px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(8,7,11,0.72);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand .logo { width: 34px; height: 34px; }
.brand .name {
  font-family: 'Poppins'; font-weight: 700; font-size: 19px; letter-spacing: 0.12em;
  color: #efe9dc;
}
.brand .name b { color: var(--gold); font-weight: 700; }
.nav-links { display: flex; gap: 34px; }
.nav-links a {
  font-size: 15px; color: #c9c6d0; font-weight: 500; position: relative; padding: 6px 0;
  transition: color .2s;
}
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: var(--gold); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--gold); border-radius: 2px;
}
.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-right .login { font-size: 15px; color: #d7d4de; font-weight: 500; }
.nav-right .login:hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); cursor: pointer; }

/* ---------- hero ---------- */
.hero { padding: 62px 0 172px; position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.12fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(38px, 4.6vw, 60px); font-weight: 700; }
.hero .lead { color: var(--muted); font-size: 18px; margin-top: 24px; max-width: 480px; }
.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-note { display: flex; align-items: center; gap: 10px; margin-top: 26px; color: var(--muted-2); font-size: 14px; }
.hero-note svg { color: var(--gold); flex: none; }

/* pill tag row (page: jak to działa) */
.pill-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500;
  padding: 10px 16px; border-radius: 10px; border: 1px solid var(--border-2);
  background: rgba(255,255,255,0.02); color: #d7d4de;
}
.pill svg { width: 16px; height: 16px; color: var(--gold); }

/* ---------- generic card ---------- */
.card {
  background: var(--panel);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-5px); border-color: var(--border); box-shadow: var(--shadow); }
.card .card-ic {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  border: 1px solid var(--border); background: var(--gold-soft); color: var(--gold); margin-bottom: 18px;
}
.card .card-ic svg { width: 26px; height: 26px; }
.card h3 { font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }

/* horizontal card — icon beside the text (korzyści / co robi) */
.card.card-h { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; align-items: center; }
.card.card-h .card-ic { margin-bottom: 0; grid-column: 1; grid-row: 1 / span 2; align-self: center; }
.card.card-h h3 { grid-column: 2; align-self: end; margin-bottom: 4px; font-size: 18px; }
.card.card-h p { grid-column: 2; grid-row: 2; align-self: start; }
.card.card-h.only-title h3 { grid-row: 1 / span 2; align-self: center; margin-bottom: 0; }

.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 700; }
.section-head p { color: var(--muted); margin-top: 12px; }

.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* =====================================================================
   DASHBOARD MOCKUP (hero visual)
   ===================================================================== */
.mock {
  border-radius: 22px; padding: 16px;
  background: linear-gradient(160deg, #100e15, #0a0810);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.03);
  display: grid; grid-template-columns: 46px 1fr 0.9fr; gap: 14px;
  position: relative;
}
.mock-rail { display: flex; flex-direction: column; align-items: center; gap: 16px; padding-top: 10px; }
.mock-rail .m-logo { width: 26px; height: 26px; color: var(--gold); }
.mock-rail .r-ic { width: 20px; height: 20px; color: #6f6b78; transition: color .2s; }
.mock-rail .r-ic.on { color: var(--gold); }
.mock-panel {
  background: rgba(255,255,255,0.018); border: 1px solid rgba(255,255,255,0.05);
  border-radius: 14px; padding: 14px;
}
.mock-panel .mp-title { font-size: 12.5px; color: #b7b4bf; font-weight: 600; margin-bottom: 10px; font-family:'Poppins'; }
.mock-col { display: flex; flex-direction: column; gap: 14px; }

/* map panel */
.m-map { position: relative; height: 210px; overflow: hidden; padding: 0; }
.m-map .mp-title { position: absolute; top: 12px; left: 14px; z-index: 3; margin: 0; }
.m-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-tooltip {
  position: absolute; left: 40px; bottom: 62px; z-index: 4;
  background: rgba(10,9,14,0.9); border: 1px solid var(--border); border-radius: 8px;
  padding: 6px 10px; font-size: 11px; line-height: 1.35;
}
.map-tooltip b { color: var(--gold); font-family:'Poppins'; font-size: 12px; }
.map-zoom { position: absolute; right: 12px; bottom: 12px; z-index: 4; display: flex; flex-direction: column; gap: 4px; }
.map-zoom span {
  width: 24px; height: 22px; display: grid; place-items: center; border-radius: 6px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); color: #cfccd6; font-size: 14px;
}
.route-line { stroke: var(--gold); stroke-width: 2.4; fill: none; filter: drop-shadow(0 0 4px var(--gold-glow));
  stroke-dasharray: 520; stroke-dashoffset: 520; }
.animate .route-line { animation: draw 2.6s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.gps-dot { fill: var(--gold); }
.gps-pulse { fill: var(--gold-glow); transform-origin: center; }
.animate .gps-pulse { animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0%{ transform: scale(.6); opacity:.8 } 100%{ transform: scale(2.6); opacity:0 } }

/* donut / driver time */
.m-donut { display: flex; align-items: center; gap: 16px; }
.donut { width: 92px; height: 92px; position: relative; flex: none; }
.donut svg { transform: rotate(-90deg); }
.donut .dt-track { stroke: rgba(255,255,255,0.07); }
.donut .dt-fill { stroke: url(#goldgrad); stroke-linecap: round;
  stroke-dasharray: 232; stroke-dashoffset: 232; }
.animate .donut .dt-fill { animation: donut 2s ease forwards .3s; }
@keyframes donut { to { stroke-dashoffset: 74; } }
.donut .dt-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.donut .dt-center b { font-family:'Poppins'; font-size: 19px; color: #fff; }
.donut .dt-center small { font-size: 7px; letter-spacing: .1em; color: var(--muted-2); }
.dt-stats { flex: 1; font-size: 12px; }
.dt-stats .row { display: flex; justify-content: space-between; padding: 3px 0; color: var(--muted); }
.dt-stats .row b { color: #e9e6ef; font-family:'Poppins'; font-weight: 500; }

/* gantt / plan floty */
.gantt-head { display:flex; justify-content: space-between; font-size: 9px; color: var(--muted-2); padding: 0 0 6px 62px; }
.gantt-row { display: grid; grid-template-columns: 62px 1fr; align-items: center; gap: 8px; padding: 5px 0; }
.gantt-row .g-lbl { font-size: 11px; color: #bdbac5; font-family:'Poppins'; }
.gantt-track { position: relative; height: 12px; background: rgba(255,255,255,0.04); border-radius: 6px; }
.gantt-bar { position: absolute; top: 0; height: 12px; border-radius: 6px; background: var(--grad-gold);
  transform: scaleX(0); transform-origin: left; }
.gantt-bar.gray { background: #4a4753; }
.animate .gantt-bar { animation: growx .9s ease forwards; }
.animate .gantt-row:nth-child(2) .gantt-bar { animation-delay:.2s }
.animate .gantt-row:nth-child(3) .gantt-bar { animation-delay:.35s }
.animate .gantt-row:nth-child(4) .gantt-bar { animation-delay:.5s }
.animate .gantt-row:nth-child(5) .gantt-bar { animation-delay:.65s }
@keyframes growx { to { transform: scaleX(1); } }
.gantt-flag { position: absolute; right: -7px; top: -3px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--amber); color:#1a1206; display: grid; place-items: center; font-size: 9px; font-weight: 700; }

/* activity mini chart */
.m-activity .big { font-family:'Poppins'; font-size: 30px; font-weight: 700; color: #fff; }
.m-activity .sub { font-size: 9px; letter-spacing: .12em; color: var(--muted-2); text-transform: uppercase; }
.spark { width: 100%; height: 46px; margin-top: 4px; }
.spark path.line { fill: none; stroke: var(--gold); stroke-width: 2; }
.spark path.area { fill: url(#sparkfill); opacity: .5; }

/* warnings list */
.warn-item { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid rgba(255,255,255,0.05); font-size: 11.5px; }
.warn-item:first-of-type { border-top: 0; }
.warn-ic { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; flex: none; }
.warn-ic svg { width: 13px; height: 13px; }
.warn-red  { background: var(--red-soft); color: var(--red); }
.warn-amber{ background: rgba(224,168,58,0.14); color: var(--amber); }
.warn-badge { margin-left: auto; }
.panel-badge { width: 20px; height: 20px; border-radius: 50%; background: rgba(224,168,58,0.18); color: var(--amber);
  display: grid; place-items: center; font-size: 11px; font-weight: 700; font-family:'Poppins'; }

/* phone mockup overlay — tilted, hanging below the dashboard (like the ref) */
.phone {
  position: absolute; left: 24%; bottom: -210px; width: 208px; z-index: 6;
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty { 0%,100%{ transform: translateY(0) } 50%{ transform: translateY(-12px) } }
.phone-frame {
  transform: perspective(1100px) rotateY(16deg) rotateZ(-14deg);
  transform-origin: center;
  filter: drop-shadow(0 34px 55px rgba(0,0,0,0.65));
}
.phone-frame { background: #0d0b12; border: 2px solid #26232e; border-radius: 26px; padding: 12px 10px; }
.phone-screen { background: #0a0810; border-radius: 18px; padding: 12px; }
.phone .ph-time { font-size: 9px; color: var(--muted-2); text-align: right; margin-bottom: 8px; }
.phone .ph-title { font-family:'Poppins'; font-size: 13px; margin-bottom: 8px; }
.phone .ph-tabs { display: flex; gap: 8px; font-size: 9px; margin-bottom: 10px; }
.phone .ph-tabs span { padding: 4px 8px; border-radius: 8px; background: rgba(255,255,255,0.05); color: var(--muted); }
.phone .ph-tabs span.on { background: var(--gold-soft); color: var(--gold); }
.ph-note { display: flex; gap: 8px; align-items: center; padding: 7px; border-radius: 9px; margin-bottom: 6px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05); }
.ph-note .n-ic { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; flex: none; }
.ph-note .n-ic svg { width: 12px; height: 12px; }
.ph-note b { font-size: 9px; display: block; color: #e6e3ec; font-family:'Poppins'; font-weight: 500; }
.ph-note small { font-size: 8px; color: var(--muted-2); }

/* concentric glow rings behind phone */
.phone-glow { position: absolute; left: 12%; bottom: -255px; width: 500px; height: 500px; z-index: 5; pointer-events: none;
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle at center, rgba(230,190,90,0.11) 0 1.5px, transparent 1.5px 26px),
    radial-gradient(circle at center, rgba(230,190,90,0.18), transparent 60%);
  -webkit-mask: radial-gradient(circle at center, #000 55%, transparent 72%);
          mask: radial-gradient(circle at center, #000 55%, transparent 72%);
  animation: glowpulse 5s ease-in-out infinite; }
@keyframes glowpulse { 0%,100%{ opacity:.7; transform: scale(1) } 50%{ opacity:1; transform: scale(1.04) } }

/* logo as image (single swappable file) */
img.logo { width: 34px; height: 34px; object-fit: contain; display: block; }
.mock-rail img.m-logo { width: 26px; height: 26px; object-fit: contain; }
.flow-core img.core-logo { width: 60px; height: 60px; object-fit: contain; z-index: 2; }
.cta-orb img.cta-logo { width: 96px; height: 96px; object-fit: contain; z-index: 2;
  filter: drop-shadow(0 0 20px var(--gold-glow)); }

/* =====================================================================
   STEPS (jak to działa)
   ===================================================================== */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; position: relative; }
.step { background: var(--panel); border: 1px solid var(--border-2); border-radius: var(--radius); padding: 24px; }
.step .num { width: 30px; height: 30px; border-radius: 9px; background: var(--gold-soft); border: 1px solid var(--border);
  color: var(--gold); font-family:'Poppins'; font-weight: 700; display: grid; place-items: center; font-size: 15px; margin-bottom: 14px; }
.step h3 { font-size: 17px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 14px; }
.step .step-ic { display: flex; gap: 12px; margin-top: 16px; color: var(--gold); opacity: .8; }
.step .step-ic svg { width: 20px; height: 20px; }

/* data flow diagram */
.flow { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 20px; align-items: center; margin-top: 20px; position: relative; }
.flow-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.flow-list, .flow-core { position: relative; z-index: 1; }
.flow-lines .conn { stroke: rgba(217,180,95,0.28); stroke-width: 1.6; fill: none; stroke-dasharray: 6 7;
  animation: dashmove 1.4s linear infinite; }
@keyframes dashmove { to { stroke-dashoffset: -26; } }
.flow-lines .spark-dot { fill: #f0d089; filter: drop-shadow(0 0 4px var(--gold-glow)); }
.flow-list { display: flex; flex-direction: column; gap: 10px; }
.flow-list .fl-title { font-size: 11px; letter-spacing: .14em; color: var(--muted-2); text-transform: uppercase; margin-bottom: 6px; }
.flow-item { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 10px;
  background: rgba(255,255,255,0.02); border: 1px solid var(--border-2); font-size: 14px; }
.flow-item svg { width: 18px; height: 18px; color: var(--gold); }
.flow-item.out { justify-content: flex-start; }
.flow-item.out b { font-family:'Poppins'; font-size: 12px; letter-spacing: .04em; display: block; color: var(--gold); }
.flow-item.out small { font-size: 12px; color: var(--muted); }
.flow-core { position: relative; height: 260px; display: grid; place-items: center; }
.flow-core .core-orb { width: 130px; height: 130px; border-radius: 50%; position: relative; display: grid; place-items: center;
  background: radial-gradient(circle, rgba(230,190,90,0.18), rgba(230,190,90,0.02) 70%); }
.flow-core .core-orb::before, .flow-core .core-orb::after {
  content:""; position: absolute; border-radius: 50%; border: 1px solid var(--border); }
.flow-core .core-orb::before { inset: -18px; animation: spin 14s linear infinite; }
.flow-core .core-orb::after { inset: 6px; border-color: rgba(230,190,90,0.25); animation: spin 9s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.flow-core .core-logo { width: 54px; height: 54px; color: var(--gold); z-index: 2; }
.flow-core .core-label { position: absolute; bottom: 8px; text-align: center; width: 100%; }
.flow-core .core-label b { font-family:'Poppins'; font-size: 13px; letter-spacing: .12em; color: var(--gold); display:block; }
.flow-core .core-label small { font-size: 10px; letter-spacing: .16em; color: var(--muted-2); }

/* check list (co system kontroluje) */
.checklist { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.check-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 22px;
  border-radius: 14px; background: var(--panel); border: 1px solid var(--border-2); }
.check-item .ci-l { display: flex; align-items: center; gap: 14px; }
.check-item .ci-ic { width: 34px; height: 34px; color: var(--gold); }
.check-item span { font-size: 15px; color: #e2dfe8; }
.check-mark { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--border); color: var(--gold);
  display: grid; place-items: center; flex: none; }

/* =====================================================================
   NOTIFICATION DETAIL CARDS (funkcje)
   ===================================================================== */
.note-card { background: var(--panel); border: 1px solid var(--border-2); border-radius: var(--radius); padding: 24px;
  border-top: 2px solid var(--gold); transition: transform .25s ease, box-shadow .25s ease; }
.note-card.red { border-top-color: var(--red); }
.note-card.blue { border-top-color: #6d8fd6; }
.note-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.note-card .nc-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; }
.note-card h4 { font-size: 17px; font-family:'Poppins'; font-weight: 600; margin-bottom: 8px; }
.note-card .nc-meta { font-size: 12px; color: var(--muted-2); margin-bottom: 10px; font-family:'Poppins'; }
.note-card p { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.note-card .nc-link { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--gold); font-weight: 600; }

/* small alert card (home ostrzega) */
.alert-card { background: var(--panel); border: 1px solid var(--border-2); border-radius: var(--radius); padding: 22px;
  transition: transform .25s ease, border-color .25s ease; }
.alert-card:hover { transform: translateY(-5px); }
.alert-card .ac-ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px; }
.alert-card h4 { font-size: 16px; font-family:'Poppins'; font-weight: 600; margin-bottom: 6px; }
.alert-card .ac-meta { font-size: 12px; color: var(--muted-2); }
.ic-red { background: var(--red-soft); color: var(--red); }
.ic-amber { background: rgba(224,168,58,0.14); color: var(--amber); }
.ic-blue { background: rgba(109,143,214,0.14); color: #8aa6e0; }
.ic-gold { background: var(--gold-soft); color: var(--gold); }

/* =====================================================================
   GLOBE (dla kogo / kontakt)
   ===================================================================== */
.globe-wrap { position: relative; height: 400px; }
.globe { position: absolute; right: -78px; top: -46px; width: 560px; height: 560px; }
.globe-img { object-fit: contain; }
.globe-badges { pointer-events: none; }
.globe .g-core { animation: spin 60s linear infinite; transform-origin: center; }
.g-node { animation: nodepulse 3s ease-in-out infinite; }
.g-node:nth-child(2){ animation-delay: .6s } .g-node:nth-child(3){ animation-delay: 1.2s }
.g-node:nth-child(4){ animation-delay: 1.8s } .g-node:nth-child(5){ animation-delay: 2.4s }
@keyframes nodepulse { 0%,100%{ opacity:.5 } 50%{ opacity:1 } }
/* realistic earth */
.globe .g-lights { animation: twinkle 4.5s ease-in-out infinite; }
@keyframes twinkle { 0%,100%{ opacity:.8 } 50%{ opacity:1 } }
.globe .net-arc { stroke-dasharray: 5 9; animation: dashmove 1.3s linear infinite; }

.audience-card { background: var(--panel); border: 1px solid var(--border-2); border-radius: var(--radius); padding: 30px;
  display: flex; align-items: flex-start; gap: 18px; transition: transform .25s ease, border-color .25s; }
.audience-card:hover { transform: translateY(-5px); border-color: var(--border); }
.audience-card .a-ic { width: 60px; height: 60px; border-radius: 14px; border: 1px solid var(--border);
  background: var(--gold-soft); color: var(--gold); display: grid; place-items: center; flex: none; }
.audience-card .a-ic svg { width: 30px; height: 30px; }
.audience-card h3 { font-size: 19px; margin-bottom: 8px; }
.audience-card p { color: var(--muted); font-size: 14px; }
.audience-card .a-arrow { margin-left: auto; color: var(--gold); align-self: center; }

.problem-card { background: var(--panel); border: 1px solid rgba(224,83,58,0.14); border-radius: var(--radius); padding: 26px;
  transition: transform .25s ease; }
.problem-card:hover { transform: translateY(-5px); }
.problem-card .p-ic { width: 52px; height: 52px; color: var(--red); margin-bottom: 16px; }
.problem-card h4 { font-size: 18px; font-family:'Poppins'; font-weight: 600; margin-bottom: 10px; }
.problem-card p { font-size: 14px; color: var(--muted); }

.gain-card { background: var(--panel); border: 1px solid var(--border-2); border-radius: var(--radius); padding: 26px;
  transition: transform .25s ease; }
.gain-card:hover { transform: translateY(-5px); border-color: var(--border); }
.gain-card .g-ic { width: 46px; height: 46px; color: var(--gold); margin-bottom: 14px; }
.gain-card h4 { font-size: 17px; font-family:'Poppins'; font-weight: 600; margin-bottom: 10px; }
.gain-card p { font-size: 14px; color: var(--muted); }

.badge-line { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.badge-line .b-star { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border);
  color: var(--gold); display: grid; place-items: center; flex: none; }
.badge-line p { color: var(--gold); font-size: 15px; font-weight: 500; }

/* =====================================================================
   CONTACT (kontakt)
   ===================================================================== */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.form-panel { background: var(--panel); border: 1px solid var(--border-2); border-radius: var(--radius); padding: 34px; }
.form-panel h2 { font-size: 26px; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.field .input { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-2); border-radius: 10px; padding: 0 12px; transition: border-color .2s; }
.field .input:focus-within { border-color: var(--gold); }
.field .input svg { width: 18px; height: 18px; color: var(--muted-2); flex: none; }
.field input, .field textarea, .field select {
  width: 100%; background: none; border: 0; color: var(--text); font-family: 'Inter'; font-size: 15px;
  padding: 13px 0; outline: none; }
.field textarea { resize: vertical; min-height: 90px; }
.field select { color: var(--muted); }
.field .input.area { align-items: flex-start; padding-top: 4px; }
.form-panel .btn { width: 100%; justify-content: center; margin-top: 8px; }
.form-foot { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 13px; color: var(--muted-2); }
.form-foot svg { color: var(--gold); }

.contact-info { background: var(--panel); border: 1px solid var(--border-2); border-radius: var(--radius); padding: 34px; }
.contact-info h2 { font-size: 24px; margin-bottom: 24px; }
.ci-row { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.ci-row .ci-ic { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--border);
  color: var(--gold); display: grid; place-items: center; flex: none; }
.ci-row small { font-size: 13px; color: var(--muted); display: block; }
.ci-row b { font-family:'Poppins'; font-size: 17px; font-weight: 500; }
.ci-cta { border: 1px solid var(--border); background: var(--gold-soft); border-radius: 14px; padding: 20px;
  display: flex; gap: 14px; align-items: center; margin-top: 8px; }
.ci-cta .ci-ic { color: var(--gold); }
.ci-cta b { font-family:'Poppins'; font-size: 16px; display: block; }
.ci-cta small { font-size: 13px; color: var(--muted); }

/* =====================================================================
   CTA band + footer
   ===================================================================== */
.cta-band { position: relative; overflow: hidden; border-top: 1px solid rgba(255,255,255,0.05);
  background: linear-gradient(180deg, #0a0810, #0d0a06); }
.cta-band .road { position: absolute; inset: 0; z-index: 0; opacity: .5;
  background:
    radial-gradient(120% 80% at 50% 130%, rgba(230,190,90,0.18), transparent 55%),
    linear-gradient(180deg, transparent, rgba(0,0,0,.6)); }
.cta-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto; align-items: center;
  gap: 30px; padding: 64px 0; }
.cta-inner h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 700; }
.cta-inner .cta-r { display: flex; align-items: center; gap: 40px; }
.cta-orb { width: 150px; height: 150px; position: relative; display: grid; place-items: center; }
.cta-orb svg { width: 90px; height: 90px; color: var(--gold); z-index: 2; filter: drop-shadow(0 0 20px var(--gold-glow)); }
.cta-orb::before, .cta-orb::after { content:""; position: absolute; border-radius: 50%; border: 1px solid var(--border); }
.cta-orb::before { inset: 0; animation: spin 12s linear infinite; }
.cta-orb::after { inset: 20px; border-color: rgba(230,190,90,0.3); animation: spin 8s linear infinite reverse; }
.cta-note { display: flex; align-items: center; gap: 22px; margin-top: 22px; flex-wrap: wrap; position: relative; z-index: 2; padding-bottom: 30px; }
.cta-note span { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.cta-note svg { color: var(--gold); }

footer.site-footer { border-top: 1px solid rgba(255,255,255,0.05); padding: 46px 0 34px; background: var(--bg-2); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.foot-grid p { color: var(--muted); font-size: 14px; margin-top: 14px; max-width: 260px; }
.foot-contact { margin-top: 16px; display: flex; flex-direction: column; gap: 9px; }
.foot-contact a { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-size: 14px; }
.foot-contact a:hover { color: var(--gold); }
.foot-contact svg { width: 16px; height: 16px; color: var(--gold); flex: none; }
.foot-col h5 { font-family:'Poppins'; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #cfccd6; margin-bottom: 14px; }
.foot-col a { display: block; color: var(--muted); font-size: 14px; padding: 5px 0; }
.foot-col a:hover { color: var(--gold); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 34px; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.05); color: var(--muted-2); font-size: 13px; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .phone { display: none; }
  .grid-3, .steps, .checklist, .flow, .grid-4, .grid-2, .contact-grid, .foot-grid { grid-template-columns: 1fr; }
  .nav-links, .nav-right .login { display: none; }
  .nav-toggle { display: block; }
  .cta-inner { grid-template-columns: 1fr; }
  .globe-wrap { display: none; }
}
@media (max-width: 620px) {
  .grid-4 { grid-template-columns: 1fr; }
  .hero .lead { font-size: 16px; }
  .mock { grid-template-columns: 1fr; }
  .mock-rail { flex-direction: row; justify-content: center; }
}

/* ===== Modale auth (logowanie / rejestracja / reset) ===== */
.auth-modal{position:fixed;inset:0;z-index:2000;display:none;align-items:flex-start;justify-content:center;padding:6vh 16px 40px;background:rgba(6,5,9,.72);backdrop-filter:blur(6px);overflow:auto}
.auth-modal.open{display:flex}
.auth-box{position:relative;width:min(460px,100%);background:linear-gradient(180deg,#15121b,#0d0b12);border:1px solid rgba(217,180,95,.28);border-radius:20px;padding:30px 30px 26px;box-shadow:0 30px 80px rgba(0,0,0,.6),0 0 0 1px rgba(255,255,255,.02) inset;animation:authIn .22s ease}
@keyframes authIn{from{opacity:0;transform:translateY(-16px) scale(.98)}to{opacity:1;transform:none}}
.auth-close{position:absolute;top:12px;right:14px;width:34px;height:34px;border:0;border-radius:9px;background:rgba(255,255,255,.05);color:#cbb98e;font-size:22px;line-height:1;cursor:pointer}
.auth-close:hover{background:rgba(255,255,255,.1);color:#fff}
.auth-logo{width:44px;height:44px;object-fit:contain;margin-bottom:12px}
.auth-pane h3{margin:0 0 4px;font-size:23px;color:#f4ecdb;letter-spacing:-.01em}
.auth-sub{margin:0 0 18px;color:#9a9285;font-size:13.5px}
.auth-form{display:flex;flex-direction:column;gap:13px;margin-top:14px}
.auth-form label{display:flex;flex-direction:column;gap:6px;font-size:13px;color:#b9b1a2}
.auth-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.auth-form input:not([type=checkbox]),.auth-form select{width:100%;background:#0c0a10;border:1px solid rgba(255,255,255,.1);border-radius:11px;padding:12px 13px;color:#f0ece2;font-size:15px;font-family:inherit;transition:border-color .15s,box-shadow .15s}
.auth-form input:focus,.auth-form select:focus{outline:none;border-color:#d9b45f;box-shadow:0 0 0 3px rgba(217,180,95,.16)}
.auth-form .btn{margin-top:6px;justify-content:center;width:100%;font-size:15.5px;padding:13px}
.auth-check{flex-direction:row!important;align-items:flex-start;gap:9px;font-size:12.5px;color:#9a9285;line-height:1.45;cursor:pointer}
.auth-check input{width:17px;height:17px;margin-top:1px;accent-color:#d9b45f;flex-shrink:0}
.auth-check a{color:#e2c887;text-decoration:underline}
.auth-msg{font-size:13px;min-height:2px;text-align:center;line-height:1.4}
.auth-alt{display:flex;flex-direction:column;gap:6px;align-items:center;margin-top:4px;font-size:13px;color:#8f877a}
.auth-alt a{color:#e2c887;text-decoration:none}
.auth-alt a:hover{text-decoration:underline}
.form-flash{margin-top:12px;font-size:13.5px;text-align:center}
@media(max-width:520px){.auth-row{grid-template-columns:1fr}.auth-box{padding:26px 20px 22px}}
