/* Szczemavela.world — Tilda Publishing imitation
   Dark navy/black + magenta accent + white text  */

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

:root {
  --bg: #0a0a0f;
  --bg-2: #15151e;
  --bg-3: #1f1f2c;
  --border: rgba(236, 72, 153, 0.15);
  --border-strong: rgba(236, 72, 153, 0.35);
  --accent: #EC4899;
  --accent-hover: #DB2777;
  --accent-soft: rgba(236, 72, 153, 0.12);
  --text: #FDF2F8;
  --text-muted: #C4B5BD;
  --text-dim: #8B7E85;
  --white: #FFFFFF;
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --shadow: 0 8px 32px rgba(0,0,0,0.5);
  --shadow-pink: 0 8px 32px rgba(236, 72, 153, 0.25);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --maxw: 1200px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: color var(--transition); }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
ul { list-style: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- HEADER ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,15,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
  gap: 16px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  transition: transform var(--transition);
}
.brand:hover { transform: scale(1.03); }
.brand img { width: 38px; height: 38px; }
.brand-name {
  font-size: 1.35rem; font-weight: 700; color: var(--white);
  letter-spacing: -0.02em;
}
.nav-list {
  display: flex; align-items: center; gap: 32px;
}
.nav-list a {
  font-size: 0.94rem; font-weight: 500;
  color: var(--text-muted);
}
.nav-list a:hover, .nav-list a.is-active { color: var(--accent); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600; font-size: 0.94rem;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-pink);
}
.btn-outline {
  border: 1.5px solid var(--text-muted);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn-ghost {
  background: var(--bg-2);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--border-strong); }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 5px;
}
.menu-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text);
  transition: all var(--transition);
}

/* ---------- HERO ---------- */
.hero {
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at top right, rgba(236,72,153,0.10), transparent 50%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative; z-index: 1;
}
.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 24px;
}
.hero p.lead {
  font-size: 1.12rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 560px;
}
.hero-cta {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}
.stat-num {
  font-size: 2.4rem; font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.stat-label { font-size: 0.88rem; color: var(--text-dim); }
.hero-image img {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

/* ---------- GENERIC SECTION ---------- */
.section {
  padding: 96px 0;
  position: relative;
}
.section + .section { border-top: 1px solid var(--border); }
.section-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin: 16px 0 16px;
  line-height: 1.2;
}
.section-head p { color: var(--text-muted); font-size: 1.05rem; }

/* ---------- ABOUT (why resilience) ---------- */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.about-text p { color: var(--text-muted); margin-bottom: 18px; }
.about-image img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

/* ---------- FEATURES (5 cards) ---------- */
.features-grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(5, 1fr);
}
.feature-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  transition: all var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; font-weight: 700;
  margin-bottom: 18px;
}
.feature-card h3 {
  font-size: 1.1rem; font-weight: 700;
  color: var(--white); margin-bottom: 10px; line-height: 1.3;
}
.feature-card p { font-size: 0.93rem; color: var(--text-muted); line-height: 1.6; }

/* ---------- TEAM / INDUSTRY ---------- */
.industry-banner {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
}
.industry-banner .stat-num {
  font-size: 3.4rem;
  margin-bottom: 12px;
}
.industry-banner p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--text-muted);
}

/* ---------- COMPARISON ---------- */
.compare-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
}
.compare-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.compare-card h3 {
  font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 18px;
}
.compare-card.is-old h3 { color: var(--text-dim); }
.compare-card.is-new h3 { color: var(--accent); }
.compare-card ul li {
  padding: 10px 0;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.compare-card ul li:last-child { border-bottom: 0; }
.compare-card.is-new ul li { color: var(--text); }

/* ---------- BLOG ---------- */
.blog-grid {
  display: grid; gap: 28px;
  grid-template-columns: repeat(3, 1fr);
}
.blog-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.blog-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.blog-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-3);
}
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 24px; }
.blog-tag {
  display: inline-block;
  font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.blog-card h3 {
  font-size: 1.08rem; font-weight: 700;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 10px;
}
.blog-card p { font-size: 0.92rem; color: var(--text-muted); }

/* ---------- CTA ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--bg-2), var(--bg-3));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
}
.cta-banner h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.cta-banner p {
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 28px;
}

/* ---------- QUICKLINKS ---------- */
.quicklinks-row {
  display: grid; gap: 12px;
  grid-template-columns: repeat(4, 1fr);
}
.quicklink {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  text-align: center;
  transition: all var(--transition);
}
.quicklink:hover {
  border-color: var(--border-strong);
  color: var(--accent);
}

/* ---------- PARTNERS / TRUST ---------- */
.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
  padding: 40px 0;
}
.trust-row .stat-num { font-size: 2.6rem; }

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 72px 0 0;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1fr;
  gap: 48px;
}
.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
}
.footer-about h3 {
  font-size: 1.4rem; font-weight: 700;
  color: var(--white); margin-bottom: 16px;
}
.footer-about p {
  color: var(--text-muted);
  font-size: 0.93rem;
  max-width: 420px;
}
.footer-col ul li {
  padding: 5px 0;
  font-size: 0.93rem;
}
.footer-col ul li a {
  color: var(--text-muted);
}
.footer-col ul li a:hover { color: var(--accent); }
.footer-contact p {
  color: var(--text-muted);
  font-size: 0.93rem;
  padding: 5px 0;
}
.footer-bottom {
  margin-top: 48px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}
.footer-bottom p {
  color: var(--accent);
  font-size: 0.92rem;
}

/* ---------- COOKIE BANNER ---------- */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 18px 24px;
  z-index: 9999;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.4);
}
.cookie-banner.is-hidden { display: none; }
.cookie-text {
  flex: 1 1 380px;
  font-size: 0.92rem;
  color: var(--text-muted);
  text-align: center;
}
.cookie-text a { color: var(--accent); text-decoration: underline; }
.cookie-actions { display: flex; gap: 12px; }
.cookie-actions .btn { padding: 10px 24px; font-size: 0.9rem; }

/* ---------- LEGAL/CONTENT PAGES ---------- */
.page-hero {
  padding: 64px 0 32px;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.page-hero p { color: var(--text-muted); max-width: 720px; margin: 0 auto; }
.content-section { padding: 48px 0 96px; }
.content-section .container { max-width: 880px; }
.content-section h2 {
  font-size: 1.6rem; font-weight: 700;
  color: var(--white);
  margin: 36px 0 16px;
  letter-spacing: -0.01em;
}
.content-section h3 {
  font-size: 1.2rem; font-weight: 600;
  color: var(--white);
  margin: 24px 0 12px;
}
.content-section p, .content-section li {
  color: var(--text-muted);
  margin-bottom: 12px;
  font-size: 0.98rem;
  line-height: 1.75;
}
.content-section ul, .content-section ol { padding-left: 22px; margin-bottom: 16px; }
.content-section ul li, .content-section ol li { margin-bottom: 8px; }
.content-section a { color: var(--accent); text-decoration: underline; }

/* ---------- FORM (contact) ---------- */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px;
  align-items: start;
}
.contact-info p { color: var(--text-muted); margin-bottom: 12px; }
.contact-info strong { color: var(--white); }
.contact-form {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.88rem;
  color: var(--text);
  margin-bottom: 6px;
  font-weight: 500;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font: inherit;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus { outline: 0; border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  padding: 22px 26px;
}
.faq-item h3 {
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 8px;
  font-weight: 600;
}
.faq-item p { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid, .compare-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .quicklinks-row { grid-template-columns: repeat(2, 1fr); }
  .trust-row { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 720px) {
  .nav-list, .header-cta-desktop { display: none; }
  .menu-toggle { display: flex; }
  .menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.is-open span:nth-child(2) { opacity: 0; }
  .menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mobile-menu {
    display: none;
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    padding: 16px 24px 24px;
  }
  .mobile-menu.is-open { display: block; }
  .mobile-menu a {
    display: block;
    padding: 12px 0;
    font-size: 1rem;
    color: var(--text);
    border-bottom: 1px solid var(--border);
  }
  .mobile-menu a:last-child { border-bottom: 0; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; gap: 18px; text-align: center; }
  .cookie-banner { flex-direction: column; text-align: center; }
}
