/* ThinkOff landing page — paleta z apki: granat + mint + violet */
:root {
  --granat: #0B1A55;
  --granat-2: #0E1F66;
  --mint: #5DDFC0;
  --mint-2: #8EE4E5;
  --violet: #6B3FA0;
  --violet-2: #8B5BD8;
  --pink: #FF7FA5;
  --orange: #FFA33A;
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --ink: #0B1A55;
  --ink-soft: #4A5578;
  --ink-mute: #8B95B0;
  --line: #E6EAF3;
  --radius: 18px;
  --shadow-sm: 0 2px 8px rgba(11,26,85,0.06);
  --shadow-md: 0 8px 24px rgba(11,26,85,0.10);
  --shadow-lg: 0 20px 50px rgba(11,26,85,0.15);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- NAV ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 18px;
}

.brand img { width: 32px; height: 32px; border-radius: 8px; }

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--ink-soft);
}

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

.nav-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}

.lang-switch {
  font-size: 13px;
  color: var(--ink-mute);
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.lang-switch:hover { color: var(--ink); border-color: var(--ink-mute); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--mint);
  color: var(--granat);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--ink-mute);
}

.btn-lg {
  padding: 14px 26px;
  font-size: 15px;
  border-radius: 14px;
}

/* ---------- HERO ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 40px 0 50px;
  background:
    radial-gradient(1000px 600px at 50% -100px, rgba(141, 91, 216, 0.18), transparent 60%),
    radial-gradient(800px 600px at 100% 0%, rgba(93, 223, 192, 0.15), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, #EEF2FA 100%);
}

/* Compact hero split: text z lewej, wizualizacja po prawej. Wszystko ma
   mieścić się w jednym viewport laptopa (min ~720px wys.) bez scrollowania. */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; gap: 32px; }
}

.hero-text { text-align: left; }
.hero-text h1 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 16px; }
.hero-text > p { font-size: 16px; margin-bottom: 22px; max-width: 540px; }

.hero-text .hero-actions { justify-content: flex-start; }
.hero-text .hero-trust { justify-content: flex-start; margin-top: 22px; }

@media (max-width: 900px) {
  .hero-text { text-align: center; }
  .hero-text > p { margin-left: auto; margin-right: auto; }
  .hero-text .hero-actions { justify-content: center; }
  .hero-text .hero-trust { justify-content: center; }
}

.hero-visual {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(11, 26, 85, 0.12));
}

/* Audience chips — kto użyje apki */
.audience {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.audience-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 500;
}

.audience-chip::before {
  content: "•";
  color: var(--mint);
  font-size: 14px;
}

/* Atom decoration — kolorowe kropki latające wokół hero content,
   nawiązanie do logo. CSS animacje, bez assetu. z-index: 0, żeby były
   POD tekstem (text ma position: relative + z-index: 1). */
.atom-dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.atom-dots span {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(11,26,85,0.15);
  animation: float 6s ease-in-out infinite;
  opacity: 0.85;
}

.atom-dots span:nth-child(1)  { top: 12%; left: 8%;  background: var(--mint);  animation-delay: 0s;   width: 18px; height: 18px;}
.atom-dots span:nth-child(2)  { top: 22%; right: 12%; background: var(--violet-2); animation-delay: 0.6s; width: 16px; height: 16px;}
.atom-dots span:nth-child(3)  { top: 38%; left: 4%;  background: var(--pink);    animation-delay: 1.2s;}
.atom-dots span:nth-child(4)  { top: 8%;  left: 48%; background: var(--orange);  animation-delay: 1.8s; width: 12px; height: 12px;}
.atom-dots span:nth-child(5)  { top: 60%; right: 6%; background: var(--mint-2);  animation-delay: 2.4s; width: 20px; height: 20px;}
.atom-dots span:nth-child(6)  { top: 70%; left: 14%; background: var(--violet); animation-delay: 3s; width: 16px; height: 16px;}
.atom-dots span:nth-child(7)  { top: 18%; right: 32%; background: var(--mint);   animation-delay: 3.6s; width: 10px; height: 10px;}
.atom-dots span:nth-child(8)  { top: 50%; right: 28%; background: var(--pink);   animation-delay: 4.2s; width: 12px; height: 12px;}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-16px) scale(1.08); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

/* hero-split / hero-text też nad atom-dots */
.hero .container { position: relative; z-index: 1; }

.hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero h1 .accent {
  background: linear-gradient(135deg, var(--violet-2), var(--mint));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 600px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-trust {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px 28px;
  flex-wrap: wrap;
  color: var(--ink-mute);
  font-size: 13px;
}

.platforms {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

/* "PL & EN · Dane w UE" jako jedna grupa — wrappuje razem, nie osobno */
.hero-trust .meta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-trust .meta .sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ink-mute);
  display: inline-block;
}

.platform-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-weight: 500;
  color: var(--ink-soft);
}

/* ---------- SECTIONS ---------- */

section { padding: 96px 0; }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.section-head .eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--violet-2);
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-head p {
  font-size: 17px;
  color: var(--ink-soft);
}

/* ---------- FEATURE GRIDS ---------- */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(93, 223, 192, 0.4);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 22px;
  margin-bottom: 16px;
}

.fi-mint { background: rgba(93, 223, 192, 0.15); color: var(--mint); }
.fi-violet { background: rgba(139, 91, 216, 0.15); color: var(--violet-2); }
.fi-pink { background: rgba(255, 127, 165, 0.15); color: var(--pink); }
.fi-orange { background: rgba(255, 163, 58, 0.15); color: var(--orange); }

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--ink-soft);
  font-size: 14px;
}

/* ---------- SPLIT (text + visual) ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 800px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
}

.split-text h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.split-text p {
  color: var(--ink-soft);
  margin-bottom: 16px;
  font-size: 16px;
}

.split-text ul {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.split-text li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 15px;
}

.split-text li::before {
  content: "✓";
  color: var(--mint);
  font-weight: 700;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(93, 223, 192, 0.15);
  border-radius: 999px;
  font-size: 13px;
}

.split-visual {
  background: linear-gradient(135deg, var(--granat) 0%, var(--violet) 100%);
  border-radius: 24px;
  padding: 40px;
  color: white;
  box-shadow: var(--shadow-lg);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-visual h4 {
  font-size: 13px;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.demo-list { list-style: none; padding: 0; }

.demo-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
}

.demo-list li::before {
  content: "•";
  color: var(--mint);
  font-size: 20px;
  line-height: 1;
}

.demo-list .meta { color: rgba(255, 255, 255, 0.6); font-size: 12px; margin-left: auto; }

/* ---------- CTA SECTION ---------- */

.cta {
  background: linear-gradient(135deg, var(--granat) 0%, var(--violet) 100%);
  border-radius: 32px;
  padding: 80px 40px;
  color: white;
  text-align: center;
  margin: 0 24px;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(800px 400px at 100% 0%, rgba(93, 223, 192, 0.25), transparent 60%);
  pointer-events: none;
}

.cta h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  position: relative;
}

.cta p {
  font-size: 17px;
  opacity: 0.85;
  max-width: 540px;
  margin: 0 auto 32px;
  position: relative;
}

.cta-actions {
  position: relative;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- FOOTER ---------- */

footer {
  margin-top: 64px;
  border-top: 1px solid var(--line);
  padding: 48px 0 32px;
  background: var(--surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}

@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

.footer-brand-text {
  color: var(--ink-soft);
  font-size: 14px;
  margin-top: 16px;
  max-width: 320px;
}

.footer-col h5 {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: var(--ink-soft);
  font-size: 14px;
  padding: 4px 0;
}

.footer-col a:hover { color: var(--ink); }

.footer-legal {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ink-mute);
  font-size: 13px;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-legal strong { color: var(--ink); }

/* ---------- PRICING ---------- */

.pricing {
  padding: 60px 0 80px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
}

.plan {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}

.plan.featured {
  border-color: var(--mint);
  box-shadow: 0 20px 40px rgba(93, 223, 192, 0.18);
  transform: translateY(-8px);
}

@media (max-width: 900px) {
  .plan.featured { transform: none; }
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--mint);
  color: var(--granat);
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.plan h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.plan-desc {
  color: var(--ink-soft);
  font-size: 14px;
  margin-bottom: 20px;
  min-height: 38px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
}

.plan-price .amount {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.plan-price .per {
  color: var(--ink-mute);
  font-size: 14px;
}

.plan-note {
  color: var(--ink-mute);
  font-size: 13px;
  margin-bottom: 24px;
  min-height: 18px;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  flex: 1;
}

.plan-features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 12px;
}

.plan-features li::before {
  content: "✓";
  color: var(--mint);
  font-weight: 700;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(93, 223, 192, 0.15);
  border-radius: 999px;
  font-size: 11px;
}

.plan-features li.muted {
  color: var(--ink-mute);
}

.plan-features li.muted::before {
  content: "–";
  background: transparent;
  color: var(--ink-mute);
}

.plan-cta {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: transform 0.15s;
}

.plan-cta-primary {
  background: var(--mint);
  color: var(--granat);
}

.plan-cta-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

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

.pricing-faq {
  margin-top: 80px;
}

.pricing-faq h3 {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 32px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 12px;
}

.faq-item strong {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
  color: var(--ink);
}

.faq-item p {
  color: var(--ink-soft);
  font-size: 15px;
  margin: 0;
}

/* ---------- LEGAL PAGES ---------- */

.legal {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.legal h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.legal .updated {
  color: var(--ink-mute);
  font-size: 14px;
  margin-bottom: 40px;
}

.legal h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 40px 0 14px;
  letter-spacing: -0.01em;
}

.legal h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 24px 0 10px;
}

.legal p, .legal ul, .legal ol {
  color: var(--ink-soft);
  margin-bottom: 14px;
  font-size: 15px;
}

.legal ul, .legal ol { padding-left: 24px; }
.legal li { margin-bottom: 6px; }

.legal a { color: var(--violet-2); text-decoration: underline; }

/* ---------- DEVICE MOCKUP (iPhone frame z screenshotem) ---------- */

.device {
  position: relative;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  border-radius: 38px;
  padding: 8px;
  background: linear-gradient(150deg, #0E1F66 0%, #1a2a7a 100%);
  box-shadow:
    0 30px 60px rgba(11, 26, 85, 0.25),
    0 10px 25px rgba(11, 26, 85, 0.15),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 0.4s;
}

.device img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 30px;
}

.device:hover { transform: translateY(-4px) rotate(-1deg); }

.device-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.device-row .device:nth-child(1) { transform: rotate(-3deg); }
.device-row .device:nth-child(2) { transform: translateY(-20px); }
.device-row .device:nth-child(3) { transform: rotate(3deg); }

@media (max-width: 800px) {
  .device-row { grid-template-columns: 1fr; gap: 40px; }
  .device-row .device { transform: none !important; }
}

/* Wariant dla split section — device po prawej, nieco większy */
.split-device { max-width: 320px; }

/* Strip 3 telefonów jako sekcja pod hero (zamiast wewnątrz) */
.device-strip {
  padding: 64px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(141, 91, 216, 0.03) 100%);
}

.device-strip .device-row { margin-top: 0; }

/* ---------- STORE BADGES ---------- */

.store-badges {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.store-badges img {
  height: 48px;
  width: auto;
  border-radius: 10px;
  opacity: 0.95;
  transition: opacity 0.2s, transform 0.2s;
}

.store-badges a { display: inline-block; cursor: not-allowed; }

.store-badges img:hover {
  opacity: 1;
  transform: translateY(-1px);
}

/* ---------- ANIMATIONS ---------- */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s, transform 0.6s;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- MOBILE NAV ---------- */

@media (max-width: 720px) {
  .nav-links { display: none; }
  .hero { padding: 60px 0 70px; }
  section { padding: 64px 0; }
  .cta { padding: 60px 24px; margin: 0 16px; border-radius: 24px; }
  /* Top bar kompakt na mobile — krótszy CTA, mniejsze paddingi */
  .nav-cta { gap: 6px; }
  .nav-cta .btn { padding: 8px 12px; font-size: 13px; border-radius: 10px; }
  .nav-cta .lang-switch { padding: 6px 8px; font-size: 12px; }
}
