/* pocasie.css — dedicated stylesheet for Počasie na Slovensku */

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

:root {
  --blue-deep:  #0d2137;
  --blue-mid:   #1a5fa8;
  --blue-light: #4a90d9;
  --blue-sky:   #e8f3fd;
  --accent:     #00c2de;
  --text:       #1a2332;
  --text-muted: #56687a;
  --bg:         #ffffff;
  --bg-alt:     #f5f8fc;
  --radius-sm:  10px;
  --radius:     18px;
  --shadow:     0 4px 28px rgba(13,33,55,.12);
  --shadow-img: 0 8px 36px rgba(13,33,55,.28);
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
}

a { color: var(--blue-mid); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; }

/* ── Nav ─────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,33,55,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 56px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-nav .brand {
  color: rgba(255,255,255,.6);
  font-size: .85rem;
  letter-spacing: .04em;
}
.site-nav .brand a { color: rgba(255,255,255,.6); }
.site-nav .brand a:hover { color: #fff; text-decoration: none; }
.site-nav .brand .sep { margin: 0 .5em; opacity: .4; }
.site-nav .back {
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  display: flex;
  align-items: center;
  gap: .35em;
}
.site-nav .back:hover { color: #fff; text-decoration: none; }

/* ── Hero ────────────────────────────────────────────── */
.hero {
  background: linear-gradient(145deg, var(--blue-deep) 0%, #163d6e 60%, #1a5fa8 100%);
  color: #fff;
  text-align: center;
  padding: 5rem 2rem 4rem;
}
.hero .app-icon {
  width: 100px;
  height: 100px;
  border-radius: 24px;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: .5rem;
}
.hero .tagline {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  opacity: .82;
  max-width: 580px;
  margin: 0 auto 1.2rem;
}
.hero .shmuapp-pill {
  display: inline-block;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 100px;
  padding: .35em 1.1em;
  font-size: .88rem;
  opacity: .8;
  margin-bottom: 2.2rem;
}
.badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── Screenshots ─────────────────────────────────────── */
.screenshots {
  background: var(--bg-alt);
  padding: 4rem 2rem;
  text-align: center;
}
.screenshots h2 {
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: .4rem;
  color: var(--text);
}
.screenshots .sub {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-size: .95rem;
}
.platform-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: .9rem;
}
.screenshot-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 40px;
  overflow: visible;
}
.screenshot-row .shot {
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(13,33,55,.32);
  line-height: 0;
  overflow: visible;
}
.screenshot-row .shot img {
  height: 340px;
  width: auto;
  border-radius: var(--radius);
  display: block;
}
.screenshots .platform-group + .platform-group { margin-top: 2.5rem; }

/* ── Features ────────────────────────────────────────── */
.features {
  background: var(--bg);
  padding: 4.5rem 2rem;
  text-align: center;
}
.features h2 {
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: .4rem;
}
.features .sub {
  color: var(--text-muted);
  margin-bottom: 3rem;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto 3rem;
}
.feature-card {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: left;
  border: 1px solid rgba(26,95,168,.08);
  transition: box-shadow .2s, transform .2s;
}
.feature-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.feature-card .icon {
  margin-bottom: .9rem;
  color: var(--blue-mid);
}
.feature-card .icon svg {
  width: 2.5rem;
  height: 2.5rem;
  display: block;
}
.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .5rem;
  color: var(--blue-mid);
}
.feature-card p {
  font-size: .92rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.checklist {
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem 2rem;
}
.checklist li {
  font-size: .93rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: .55em;
}
.checklist li::before {
  content: '✓';
  color: var(--blue-mid);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: .05em;
}
@media (max-width: 540px) {
  .checklist { grid-template-columns: 1fr; }
}

/* ── Data sources ────────────────────────────────────── */
.data-sources {
  background: var(--blue-deep);
  color: #fff;
  padding: 4rem 2rem;
  text-align: center;
}
.data-sources h2 {
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: .4rem;
}
.data-sources .sub {
  opacity: .65;
  margin-bottom: 2.5rem;
  font-size: .95rem;
}
.source-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.source-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 1.8rem 2.2rem;
  min-width: 180px;
}
.source-card .name {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--accent);
  display: block;
  margin-bottom: .4rem;
}
.source-card .desc {
  font-size: .85rem;
  opacity: .65;
  line-height: 1.5;
}

/* ── FAQ ─────────────────────────────────────────────── */
.faq {
  background: var(--bg-alt);
  padding: 4.5rem 2rem;
  text-align: center;
}
.faq h2 {
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: .4rem;
}
.faq .sub {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}
.faq-list {
  max-width: 680px;
  margin: 0 auto;
  text-align: left;
}
.faq-list details {
  border-bottom: 1px solid rgba(26,35,50,.1);
  padding: 1.1rem 0;
}
.faq-list details:last-child { border-bottom: none; }
.faq-list summary {
  font-weight: 600;
  font-size: .97rem;
  cursor: pointer;
  list-style: none;
  padding-right: 2em;
  position: relative;
  color: var(--text);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.3em;
  color: var(--blue-mid);
  line-height: 1;
}
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p {
  margin-top: .7rem;
  font-size: .93rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── CTA ─────────────────────────────────────────────── */
.cta {
  background: linear-gradient(135deg, var(--blue-mid), var(--accent));
  color: #fff;
  text-align: center;
  padding: 4.5rem 2rem;
}
.cta h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: .5rem;
}
.cta p {
  opacity: .85;
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

/* ── Footer ──────────────────────────────────────────── */
.site-footer {
  background: var(--blue-deep);
  color: rgba(255,255,255,.45);
  text-align: center;
  padding: 2rem;
  font-size: .85rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.site-footer a { color: rgba(255,255,255,.55); }
.site-footer a:hover { color: #fff; text-decoration: none; }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 680px) {
  .screenshot-row img { height: 260px; }
  .feature-grid { grid-template-columns: 1fr; }
  .source-grid { gap: 1rem; }
  .source-card { min-width: 140px; padding: 1.4rem 1.5rem; }
  .site-nav { padding: 0 1.2rem; }
}
