:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --text: #1a1d23;
  --muted: #5b6470;
  --border: #e6e8ec;
  --accent: #4f46e5;
  --accent-2: #06b6d4;
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px rgba(16, 24, 40, .06);
  --radius: 16px;
  --maxw: 1000px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1115;
    --surface: #171a21;
    --text: #e8eaed;
    --muted: #9aa3b0;
    --border: #262b35;
    --accent: #818cf8;
    --accent-2: #22d3ee;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .35);
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(16px, 4vw, 32px);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -.01em;
}
.logo { display: block; height: 26px; width: auto; }
.brand-name { font-weight: 500; font-size: 17px; }

@media (prefers-color-scheme: dark) {
  .logo { filter: invert(1); }
}

.lang-switch {
  display: inline-flex;
  padding: 3px;
  gap: 2px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
}
.lang-switch button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 600;
  font-size: 13px;
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.lang-switch button:hover { color: var(--text); }
.lang-switch button.active {
  background: var(--accent);
  color: #fff;
}

/* Layout */
main { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }

/* Hero */
.hero {
  text-align: center;
  padding: clamp(48px, 9vw, 96px) 0 clamp(28px, 5vw, 44px);
}
.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(30px, 6vw, 50px);
  line-height: 1.1;
  letter-spacing: -.025em;
  font-weight: 800;
}
.hero-sub {
  margin: 0 auto;
  max-width: 560px;
  font-size: clamp(16px, 2.4vw, 19px);
  color: var(--muted);
}
.hero-by {
  margin: 18px 0 0;
  font-size: 14px;
  color: var(--muted);
}

/* Apps */
.apps { padding-bottom: clamp(40px, 8vw, 80px); }
.apps h2 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  font-weight: 700;
  margin: 0 0 18px;
}

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

.card {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-2px); }

.icon {
  flex: 0 0 auto;
  width: 60px;
  height: 60px;
  border-radius: 15px;
  object-fit: cover;
  display: block;
  box-shadow: 0 4px 12px rgba(16, 24, 40, .14);
}
.icon-podcast { background: linear-gradient(135deg, #f43f5e, #f59e0b); box-shadow: 0 6px 16px rgba(244, 63, 94, .25); }
.icon-feste   { background: linear-gradient(135deg, #10b981, #06b6d4); box-shadow: 0 6px 16px rgba(16, 185, 129, .25); }

.card-body { min-width: 0; }
.card-body h3 {
  margin: 2px 0 6px;
  font-size: 18px;
  letter-spacing: -.01em;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.card-body p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14.5px;
}

.badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  padding: 2px 8px;
  border-radius: 999px;
}

.platforms { display: flex; gap: 6px; margin-bottom: 14px; }
.pill {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 10px;
}

.stores { display: flex; flex-wrap: wrap; gap: 8px; }
.store {
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 7px 12px;
  transition: border-color .15s, background .15s;
}
.store:hover { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 28px 16px 40px;
  color: var(--muted);
  font-size: 13.5px;
}
.footer-made { margin: 0 0 8px; }
.footer-links { display: flex; gap: 8px; justify-content: center; align-items: center; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); text-decoration: underline; }
.copy { margin: 10px 0 0; opacity: .8; }

@media (max-width: 380px) {
  .card { flex-direction: column; }
}
