/* Socials Tools hub — design tokeny převzaté z appky (src/index.css) */
:root {
  --background: hsl(80 18% 96%);
  --foreground: hsl(0 0% 7%);
  --card: hsl(0 0% 100%);
  --secondary: hsl(80 10% 91%);
  --muted-foreground: hsl(0 0% 38%);
  --primary: hsl(82 100% 45%);
  --primary-foreground: hsl(0 0% 7%);
  --border: hsl(70 8% 82%);
  --radius: 1rem;
  --shadow-lg: 0 10px 15px -3px hsl(220 30% 15% / 0.08), 0 4px 6px -4px hsl(220 30% 15% / 0.04);
  --shadow-glow: 0 0 28px hsl(82 100% 45% / 0.2);
  --font-sans: 'Work Sans', Verdana, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: hsl(0 0% 6%);
    --foreground: hsl(0 0% 98%);
    --card: hsl(0 0% 9%);
    --secondary: hsl(0 0% 13%);
    --muted-foreground: hsl(0 0% 62%);
    --border: hsl(0 0% 18%);
    --shadow-lg: 0 10px 15px -3px hsl(0 0% 0% / 0.4), 0 4px 6px -4px hsl(0 0% 0% / 0.3);
  }
}

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

body {
  font-family: var(--font-sans);
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--background) 88%, transparent);
  backdrop-filter: blur(16px);
}
.header-row { display: flex; align-items: center; gap: 0.9rem; padding: 0.85rem 1.25rem; }
.logo { height: 1.75rem; width: auto; display: block; }
.logo-dark { display: none; }
@media (prefers-color-scheme: dark) {
  .logo-light { display: none; }
  .logo-dark { display: block; }
}
.brand-title { font-size: 0.85rem; font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; }
.brand-sub { font-size: 0.62rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted-foreground); }

/* Hero */
.hero { padding: 4.5rem 1.25rem 2.5rem; text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--primary-foreground);
  background: var(--primary);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  margin-bottom: 1.4rem;
}
@media (prefers-color-scheme: dark) {
  .eyebrow { color: hsl(0 0% 7%); }
}
.hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 900; letter-spacing: -0.03em; line-height: 1.05;
  text-transform: uppercase;
}
.hero .accent { color: var(--primary); }
.lede {
  max-width: 38rem; margin: 1.4rem auto 0;
  font-size: 1.05rem; color: var(--muted-foreground);
}

/* Tabs */
.tools { padding: 2rem 1.25rem 1rem; }
.tabs {
  display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center;
  margin-bottom: 1.75rem;
}
.tab {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-sans); font-size: 0.9rem; font-weight: 600;
  color: var(--muted-foreground);
  background: var(--secondary);
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.6rem 1.2rem;
  cursor: pointer;
  transition: all 0.15s ease;
}
.tab:hover { color: var(--foreground); }
.tab.is-active {
  color: var(--foreground);
  background: var(--card);
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}
.tab-status { width: 0.5rem; height: 0.5rem; border-radius: 999px; }
.tab-status.live { background: var(--primary); box-shadow: 0 0 8px var(--primary); }
.tab-status.soon { background: var(--muted-foreground); opacity: 0.5; }

/* Panels */
.panel {
  display: none;
  grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.5);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}
.panel.is-active { display: grid; }
@media (max-width: 780px) {
  .panel.is-active { grid-template-columns: 1fr; padding: 1.5rem; }
}

.badge {
  display: inline-block;
  font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em;
  border-radius: 999px; padding: 0.28rem 0.8rem; margin-bottom: 1rem;
}
.badge-live { background: var(--primary); color: hsl(0 0% 7%); }
.badge-soon { background: var(--secondary); color: var(--muted-foreground); border: 1px dashed var(--border); }

.panel-copy h2 { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.75rem; }
.panel-copy p { color: var(--muted-foreground); margin-bottom: 1.2rem; }

.feature-list { list-style: none; margin-bottom: 1.6rem; }
.feature-list li {
  position: relative; padding-left: 1.6rem; margin-bottom: 0.45rem;
  font-size: 0.95rem;
}
.feature-list li::before {
  content: "";
  position: absolute; left: 0; top: 0.42rem;
  width: 0.85rem; height: 0.85rem;
  background: var(--primary);
  border-radius: 999px;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center / contain no-repeat;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center / contain no-repeat;
}

.cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 700; font-size: 0.95rem;
  background: var(--primary); color: hsl(0 0% 7%);
  border-radius: 0.75rem;
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.cta:hover { opacity: 0.9; transform: translateY(-1px); }
.cta-disabled {
  background: var(--secondary); color: var(--muted-foreground);
  cursor: default;
}
.cta-disabled:hover { opacity: 1; transform: none; }

/* Mockup visuals */
.panel-visual { display: flex; justify-content: center; }
.mock {
  width: 100%; max-width: 26rem;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.mock-titlebar { display: flex; gap: 0.35rem; padding: 0.65rem 0.9rem; border-bottom: 1px solid var(--border); }
.mock-titlebar span { width: 0.55rem; height: 0.55rem; border-radius: 999px; background: var(--border); }
.mock-body { padding: 1.3rem; }
.mock-label {
  font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.mock-number {
  font-family: var(--font-mono);
  font-size: 2.1rem; font-weight: 700; letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}
.mock-number small { font-size: 1.1rem; color: var(--muted-foreground); font-weight: 500; }

.mock-slider { position: relative; height: 0.45rem; background: var(--secondary); border-radius: 999px; margin-bottom: 1rem; }
.mock-slider-fill { position: absolute; inset: 0 auto 0 0; background: var(--primary); border-radius: 999px; }
.mock-slider-thumb {
  position: absolute; top: 50%; transform: translate(-50%, -50%);
  width: 1.05rem; height: 1.05rem;
  background: var(--card); border: 2px solid var(--primary); border-radius: 999px;
}

.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.55rem; margin-top: 1.2rem; }
.mock-card {
  background: var(--secondary); border-radius: 0.6rem; padding: 0.6rem;
  display: flex; flex-direction: column; gap: 0.15rem;
}
.mock-card span { font-size: 0.58rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-foreground); }
.mock-card strong { font-family: var(--font-mono); font-size: 0.92rem; }
.mock-card-accent { background: var(--primary); }
.mock-card-accent span, .mock-card-accent strong { color: hsl(0 0% 7%); }

.mock-bars { display: flex; align-items: flex-end; gap: 0.55rem; height: 7rem; margin: 0.6rem 0 0.3rem; }
.mock-bar { flex: 1; background: var(--secondary); border-radius: 0.4rem 0.4rem 0 0; }
.mock-bar-accent { background: var(--primary); }

.mock-steps { display: flex; flex-direction: column; margin-top: 0.6rem; }
.mock-step { position: relative; display: flex; gap: 0.8rem; padding-bottom: 1.05rem; }
.mock-step-dot {
  width: 0.85rem; height: 0.85rem; border-radius: 999px; margin-top: 0.2rem;
  background: var(--secondary); border: 2px solid var(--border); flex-shrink: 0;
}
.mock-step.done .mock-step-dot { background: var(--primary); border-color: var(--primary); }
.mock-step.active .mock-step-dot { background: var(--card); border-color: var(--primary); box-shadow: 0 0 8px var(--primary); }
.mock-step-line { position: absolute; left: 0.38rem; top: 1.15rem; bottom: 0; width: 2px; background: var(--border); }
.mock-step.done .mock-step-line { background: var(--primary); }
.mock-step-text strong { display: block; font-size: 0.85rem; font-weight: 700; line-height: 1.3; }
.mock-step-text em { font-style: normal; font-size: 0.68rem; color: var(--muted-foreground); }

/* About */
.about { padding: 2rem 1.25rem 3rem; }
.about-box {
  border: 1px solid var(--border);
  background: var(--secondary);
  border-radius: var(--radius);
  padding: 1.3rem 1.6rem;
  text-align: center;
  font-size: 0.92rem;
  color: var(--muted-foreground);
}
.about-box a { color: var(--foreground); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--primary); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 1.5rem 0; }
.footer-row {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: 0.8rem; color: var(--muted-foreground);
}
.footer-row nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-row a { color: var(--muted-foreground); text-decoration: none; }
.footer-row a:hover { color: var(--foreground); }
