/* TVGO Landing — black, glass, iPhone aesthetic */

:root {
  --bg: #000000;
  --bg-soft: #0a0a0a;
  --glass: rgba(28, 28, 30, 0.72);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-highlight: rgba(255, 255, 255, 0.12);
  --text: #f5f5f7;
  --text-muted: #86868b;
  --tvgo-tv: linear-gradient(135deg, #5ac8fa 0%, #a8e6ff 50%, #ffffff 100%);
  --tvgo-go: linear-gradient(135deg, #ff9f0a 0%, #ffd60a 100%);
  --tvgo-glow-cyan: 0 0 20px rgba(90, 200, 250, 0.4);
  --tvgo-glow-orange: 0 0 20px rgba(255, 159, 10, 0.4);
  --radius: 20px;
  --radius-sm: 12px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Lang switcher */
.lang-switcher {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 100;
  display: flex;
  gap: 4px;
  padding: 6px 10px;
  background: var(--glass);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.lang-switcher button {
  padding: 6px 14px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.lang-switcher button:hover {
  color: var(--text);
}

.lang-switcher button.active {
  background: var(--glass-highlight);
  color: var(--text);
}

/* TVGO CTA button — image from assets/button.png */
.tvgo-cta {
  display: inline-block;
  line-height: 0;
  padding: 8px 12px;
  background: transparent;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.tvgo-cta:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.tvgo-cta-img {
  display: block;
  height: 48px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

@media (min-width: 640px) {
  .tvgo-cta-img {
    height: 56px;
    max-width: 240px;
  }
}

/* Section spacing */
section {
  padding: 80px 24px 100px;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  section {
    padding: 100px 48px 120px;
  }
}

/* Alternating: light sections (white bg, black text) — tło na całą szerokość */
.section-light {
  position: relative;
  color: #1d1d1f;
}

.section-light::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  background: #f5f5f7;
  z-index: -1;
}

.section-light .section-headline {
  color: #1d1d1f;
}

.section-light .section-subheadline,
.section-light .micro-line,
.section-light .pillar p,
.section-light .flow-step p,
.section-light .video-teaser-copy p,
.section-light .two-col li,
.section-light .disclaimer {
  color: #6e6e73;
}

.section-light .punchline {
  color: #1d1d1f;
}

.section-light .hero-ctas .btn-secondary {
  color: #1d1d1f;
  border-color: rgba(0, 0, 0, 0.15);
}

.section-light .hero-ctas .btn-secondary:hover {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.25);
}

/* Strukturka: co drugą light sekcję z delikatną obwódką / cieniem */
.section-bordered {
  position: relative;
}

.section-bordered::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: min(100%, 1100px);
  max-width: calc(100% - 48px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.08), transparent);
}

.section-light.section-bordered::before {
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.06), transparent);
}

/* Glass card */
.glass-card {
  background: var(--glass);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18), 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* Headlines */
.section-headline {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--text);
  white-space: pre-line;
}

.section-subheadline {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 640px;
  margin-bottom: 32px;
}

.micro-line {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 16px;
}

.hero-tagline {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  margin: 24px auto 0;
  max-width: 640px;
  line-height: 1.4;
}

.hero .hero-tagline {
  margin-left: auto;
  margin-right: auto;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
}

.hero .section-headline {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero .section-subheadline {
  margin-left: auto;
  margin-right: auto;
}

.hero-visual {
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16/9;
  margin: 48px 0;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 40px;
}

.hero-ctas .btn-secondary {
  padding: 14px 28px;
  background: transparent;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.hero-ctas .btn-secondary:hover {
  background: var(--glass);
  border-color: var(--glass-highlight);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

/* Flow steps */
.flow-steps {
  display: grid;
  gap: 24px;
  margin-top: 32px;
}

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

.flow-step {
  background: var(--glass);
  backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 24px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15), 0 1px 4px rgba(0, 0, 0, 0.06);
}

.section-light .flow-step {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
}

.flow-step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--glass-highlight);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 16px;
  color: var(--text);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.section-light .flow-step-num {
  background: rgba(0, 0, 0, 0.06);
  color: #1d1d1f;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.flow-step p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Demo cards (fashion) */
.demo-cards {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  margin-top: 32px;
}

.demo-card {
  background: var(--glass);
  backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(0, 0, 0, 0.08);
}

.demo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28), 0 4px 12px rgba(0, 0, 0, 0.12);
}

.demo-card-image {
  aspect-ratio: 3/4;
  background: var(--bg-soft);
  object-fit: cover;
  width: 100%;
}

.demo-card-body {
  padding: 20px;
}

.demo-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.demo-card-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.4;
}

.demo-card .btn-preview {
  display: block;
  width: 100%;
  padding: 12px;
  background: var(--glass-highlight);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.demo-card .btn-preview:hover {
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Video teasers */
.video-teasers {
  display: grid;
  gap: 32px;
  margin-top: 32px;
}

@media (min-width: 768px) {
  .video-teasers {
    grid-template-columns: repeat(2, 1fr);
  }
}

.video-teaser {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15), 0 1px 4px rgba(0, 0, 0, 0.06);
  min-width: 0; /* grid: nie rozciągaj kolumny */
}

.section-light .video-teaser {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
}

.video-teaser-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* wideo w teaserze — sztywny box 16:9, identyczna wielkość jak "🎥 Moda — LIVE" */
.video-teaser-video-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 */
}

.video-teaser-video-wrap video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-light .video-teaser-placeholder {
  background: rgba(0, 0, 0, 0.04);
}

.video-teaser-copy {
  padding: 20px;
}

.video-teaser-copy h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.video-teaser-copy p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Three pillars */
.pillars {
  display: grid;
  gap: 24px;
  margin-top: 32px;
}

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

.pillar {
  background: var(--glass);
  backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15), 0 1px 4px rgba(0, 0, 0, 0.06);
}

.pillar-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.section-light .pillar {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
}

.section-light .pillar-num {
  color: #6e6e73;
}

.pillar h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.pillar p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Integrations */
.integrations-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
  align-items: center;
}

.integrations-list span {
  padding: 12px 24px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  font-weight: 500;
  color: var(--text);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.section-light .integrations-list span {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(0, 0, 0, 0.08);
  color: #1d1d1f;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Footer */
.site-footer {
  padding: 48px 24px;
  text-align: center;
  border-top: 1px solid var(--glass-border);
  margin-top: 40px;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.06);
}

.site-footer p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.site-footer a {
  color: var(--text-muted);
  text-decoration: none;
  margin: 0 12px;
}

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

/* Quote / punchline */
.punchline {
  font-size: 1.25rem;
  font-weight: 600;
  text-align: center;
  margin-top: 48px;
  color: var(--text);
  font-style: italic;
}

/* Disclaimer */
.disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 24px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* Final CTA section */
.final-cta {
  text-align: center;
  padding-bottom: 120px;
}

.final-cta .hero-ctas {
  margin-top: 24px;
}

/* Two-column layout (psychology section) */
.two-col {
  display: grid;
  gap: 32px;
  align-items: center;
  margin-top: 32px;
}

@media (min-width: 768px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
  }
}

.two-col ul {
  list-style: none;
}

.two-col li {
  padding: 12px 0;
  border-bottom: 1px solid var(--glass-border);
  color: var(--text-muted);
  line-height: 1.5;
}

.two-col li:last-child {
  border-bottom: none;
}

.visual-placeholder {
  aspect-ratio: 16/10;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* Platform logos */
.platforms-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 24px;
}

.platforms-bar span {
  padding: 10px 20px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

/* Panel dla sklepów — link + sekcja auth */
.nav-panel-link {
  position: fixed;
  top: 24px;
  left: 24px;
  z-index: 100;
  padding: 10px 18px;
  background: var(--glass);
  backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.nav-panel-link:hover {
  background: var(--glass-highlight);
  transform: translateY(-1px);
}

.btn-merchant-hero {
  margin-top: 8px;
}

.section-merchant {
  padding-top: 40px;
  padding-bottom: 100px;
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
}

.merchant-card {
  max-width: 480px;
  margin: 0 auto;
  padding: 32px 28px;
  background: var(--glass);
  backdrop-filter: saturate(180%) blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.merchant-title {
  text-align: center;
  margin-bottom: 12px !important;
}

.merchant-lead {
  text-align: center;
  margin-bottom: 28px !important;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.5;
}

.auth-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  padding: 4px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: var(--radius-sm);
}

.auth-tab {
  flex: 1;
  padding: 12px 16px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.auth-tab.active {
  background: var(--glass-highlight);
  color: var(--text);
}

.auth-panel.hidden,
.auth-panel[hidden] {
  display: none !important;
}

.auth-label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 14px;
  margin-bottom: 6px;
}

.auth-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.4);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
}

.auth-input:focus {
  outline: none;
  border-color: rgba(90, 200, 250, 0.5);
  box-shadow: 0 0 0 3px rgba(90, 200, 250, 0.15);
}

.auth-submit {
  width: 100%;
  margin-top: 22px;
  padding: 14px 20px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #5ac8fa 0%, #3d8bfd 100%);
  color: #fff;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.auth-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(61, 139, 253, 0.35);
}

.auth-msg {
  margin-top: 14px;
  font-size: 14px;
  min-height: 1.2em;
  color: #ff6b6b;
}

.auth-msg.ok {
  color: #69db7c;
}

.auth-hint {
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}
