/* =====================
       ZMIENNE — MOTYWY
       ===================== */
:root {
  --bg: #0b0d12;
  --panel: #11151c;
  --muted: #9aa4b2;
  --text: #e6eaf0;
  --brand: #5b8cff;
  --ring: rgba(91, 140, 255, .35);
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --radius: 16px;
}

:root[data-theme="dark"] {
  --bg: #0b0d12;
  --panel: #11151c;
  --muted: #9aa4b2;
  --text: #e6eaf0;
  --brand: #5b8cff;
  --ring: rgba(91, 140, 255, .35);
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --toggle-track: #11151c;
  --toggle-soft: #1a1f29;
  --toggle-seg: #2f4abf;
}

:root[data-theme="light"] {
  --bg: #ffffff;
  --panel: #f7f8fb;
  --muted: #5b6471;
  --text: #0b0d12;
  --brand: #3b6cff;
  --ring: rgba(59, 108, 255, .25);
  --shadow: 0 10px 30px rgba(17, 21, 28, .08);
  --toggle-track: #eef2ff;
  /* jasna pigułka */
  --toggle-soft: #f6f8ff;
  /* wewnętrzny glow */
  --toggle-seg: transparent;
  /* FIX: w trybie jasnym segment znika */
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  transition: background .25s ease, color .25s ease;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1100px, 92vw);
  margin-inline: auto;
}

/* NAV */
header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  background: color-mix(in oklab, var(--bg) 92%, transparent);
  border-bottom: 1px solid color-mix(in oklab, var(--panel) 60%, transparent);
  z-index: 30;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* .logo {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), #7da7ff);
  box-shadow: var(--shadow);
} */

/* .logo svg {
  width: 24px;
  height: 24px;
  fill: white;
} */


nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

nav a {
  color: var(--muted);
  font-weight: 500;
}

nav a:hover {
  color: var(--text);
}

.cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid color-mix(in oklab, var(--brand) 35%, var(--panel));
  transition: .2s ease;
}

.btn-primary {
  background: var(--brand);
  color: white;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(91, 140, 255, .35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(91, 140, 255, .45);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
}

.btn-ghost:hover {
  background: color-mix(in oklab, var(--panel) 85%, transparent);
}

/* ====== PRZEŁĄCZNIK ====== */
.theme-toggle {
  position: relative;
  width: 86px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid color-mix(in oklab, var(--panel) 60%, transparent);
  background: var(--toggle-track);
  padding: 0;
  cursor: pointer;
  outline: none;
  display: inline-block;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12), inset 4px 4px 10px rgba(0, 0, 0, .08), inset -4px -4px 10px var(--toggle-soft);
}

.theme-toggle .seg {
  position: absolute;
  top: 6px;
  left: 6px;
  width: calc(50% - 6px);
  height: calc(100% - 12px);
  border-radius: 999px;
  background: var(--toggle-seg);
  transition: left .25s ease, background .25s ease;
  pointer-events: none;
}

.theme-toggle .knob {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25), 0 2px 0 rgba(0, 0, 0, .06);
  transition: left .25s ease, transform .25s ease;
  pointer-events: none;
}

.theme-toggle .ico {
  position: absolute;
  width: 18px;
  height: 18px;
  top: 50%;
  transform: translateY(-50%);
  opacity: .9;
  transition: opacity .25s ease, filter .25s ease;
  pointer-events: none;
}

.theme-toggle .sun {
  left: 16px;
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .08));
}

.theme-toggle .moon {
  right: 16px;
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .08));
}

[data-theme="dark"] .theme-toggle {
  background: #11151c;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35), inset 4px 4px 10px rgba(0, 0, 0, .35), inset -4px -4px 10px rgba(255, 255, 255, .03);
}

[data-theme="dark"] .theme-toggle .seg {
  left: calc(50%);
  background: #2f4abf;
}

[data-theme="dark"] .theme-toggle .knob {
  left: calc(100% - 40px);
}

[data-theme="light"] .theme-toggle .sun {
  opacity: 1;
}

[data-theme="light"] .theme-toggle .moon {
  opacity: .55;
}

[data-theme="dark"] .theme-toggle .moon {
  opacity: 1;
}

[data-theme="dark"] .theme-toggle .sun {
  opacity: .55;
}

/* HERO */
.hero {
  padding: 72px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  color: var(--brand);
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 12px;
}

.hero h2 {
  font-size: clamp(32px, 6vw, 56px);
  line-height: 1.1;
  margin: 10px 0 14px;
}

.hero p {
  color: var(--muted);
  font-size: clamp(16px, 2.2vw, 18px);
  margin: 0 0 26px;
}

.hero-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.card {
  background: var(--panel);
  border: 1px solid color-mix(in oklab, var(--panel) 60%, transparent);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--brand) 16%, var(--panel));
  color: var(--brand);
  font-weight: 600;
  font-size: 12px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.trust {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

.av {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #7da7ff, #5b8cff);
  box-shadow: var(--shadow);
  border: 2px solid var(--panel);
}

/* SECTIONY */
.section {
  padding: 56px 0;
}

.section h2 {
  font-size: 28px;
  margin: 0 0 8px;
}

.subtitle {
  color: var(--muted);
  margin: 0 0 24px;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* CONTACT GRID */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 24px;
}

.contact-grid .feature {
  padding: 24px;
}

@media (max-width: 960px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.feature {
  background: var(--panel);
  border: 1px solid color-mix(in oklab, var(--panel) 60%, transparent);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: color-mix(in oklab, var(--brand) 18%, var(--panel));
  display: grid;
  place-items: center;
  margin-bottom: 10px;
}

.feature h3 {
  margin: 6px 0 8px;
  font-size: 18px;
}

/* CTA BAR */
.cta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: linear-gradient(135deg, color-mix(in oklab, var(--brand) 14%, var(--panel)), var(--panel));
  border: 1px solid color-mix(in oklab, var(--brand) 22%, var(--panel));
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

/* FOOTER */
footer {
  padding: 40px 0 60px;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 20px;
}

.small {
  font-size: 12px;
}

/* RESPONSIVE */
@media (max-width: 960px) {
  nav ul {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-cards {
    grid-template-columns: 1fr;
  }

  .features {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .features {
    grid-template-columns: 1fr;
  }

  .cta-bar {
    flex-direction: column;
    align-items: start;
  }
}

/* mobilny gradient tła – stabilny i nieprzesuwający się */
@media (max-width: 640px) {
  body {
    background: radial-gradient(140% 70% at 100% -20%, rgba(91, 140, 255, .16), transparent 60%), var(--bg);
    background-repeat: no-repeat;
  }
}

/* Dekoracyjny akcent NIE nachodzi na treść — przypięty przy footerze */
body::before {
  content: "";
  position: fixed;
  left: 0;
  right: 0;
  bottom: -20vh;
  height: 60vh;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(60% 50% at 50% 100%, rgba(91, 140, 255, .18), transparent 60%);
  filter: blur(0.2px);
}

/* Na mobile trzymamy akcent jeszcze niżej i ciut mniejszy */
@media (max-width: 640px) {
  body::before {
    bottom: -30vh;
    height: 50vh;
    background: radial-gradient(70% 55% at 50% 100%, rgba(91, 140, 255, .16), transparent 62%);
  }
}

/* domyślnie pokazujemy tekst, ikona ukryta */
.btn-icon {
  display: none;
}

/* tylko mobile: chowamy tekst, pokazujemy ikonę */
@media (max-width: 640px) {
  .btn-text {
    display: none;
  }
  .btn-icon {
    display: inline;
  }

  /* opcjonalnie: zmniejszamy padding, żeby przycisk był węższy */
  .btn-primary {
    padding: 0 14px;
  }
}

/* @media (max-width: 640px){
  .theme-toggle { width: 60px; height: 32px; }
  .theme-toggle .knob { width: 26px; height: 26px; }
} */

  .gogo svg { width: 160px; color: #0b1220; --accent:#10b981; }
  @media (prefers-color-scheme: dark) {
    .gogo svg { color: #e5e7eb; --accent:#22c55e; }
  }

  .gogo img {
  width: 160px;   /* albo 60px, zależnie od tego co chcesz */
  height: auto;  /* zachowa proporcje */
}