/* AIScan — landing global stylesheet (B2B konserwatywny: Inter sans-serif,
   border-radius 6px, biały bg, teal akcent, dużo whitespace). */

:root {
  --teal-50:  #f0fdfa;
  --teal-100: #ccfbf1;
  --teal-300: #5eead4;
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  --teal-900: #134e4a;
  --ink:      #1a1f2e;
  --muted:    #5b6478;
  --border:   #e2e6ed;
  --bg:       #ffffff;
  --bg-soft:  #f7f8fa;
  --warn:     #b45309;
  --danger:   #b91c1c;
  --ok:       #047857;

  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI",
                "Noto Sans", "DejaVu Sans", "Liberation Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  font-family: var(--font-sans);
  font-size: 16px; line-height: 1.6;
  color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--teal-700); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--teal-900); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

h1, h2, h3 {
  font-family: var(--font-sans);
  color: var(--ink);
  margin: 0 0 0.5em 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h1 { font-size: 3.4rem; font-weight: 800; }
h2 { font-size: 2.1rem; font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; color: var(--ink); }
h4 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 0.8em 0;
}

p { margin: 0 0 1em 0; }
p.lead { font-size: 1.18rem; color: var(--muted); max-width: 720px; line-height: 1.55; }
.muted { color: var(--muted); }
.accent { color: var(--teal-700); font-weight: 600; }
.bold { font-weight: 700; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85em 1.6em;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0;
  text-decoration: none;
  transition: all 0.15s ease;
  border: 1.5px solid transparent;
  cursor: pointer;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--teal-700); color: white; border-color: var(--teal-700); }
.btn-primary:hover { background: var(--teal-900); border-color: var(--teal-900); }
.btn-ghost { background: transparent; color: var(--teal-700); border-color: var(--teal-700); }
.btn-ghost:hover { background: var(--teal-50); }

section { padding: 5.5rem 0; }
section.bg-soft { background: var(--bg-soft); }

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky; top: 0; z-index: 10;
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 1.1rem; padding-bottom: 1.1rem;
}
.site-header .logo img { height: 52px; width: auto; display: block; }
.site-header .logo:hover { text-decoration: none; }
.site-header nav { display: flex; gap: 1.8rem; align-items: center; }
.site-header nav a {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
}
.site-header nav a.active { color: var(--teal-700); font-weight: 600; }
.site-header nav .btn { padding: 0.55em 1.2em; }

/* Footer */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem 0;
  margin-top: 4rem;
  font-size: 0.93rem;
  color: var(--muted);
}
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
}
.site-footer h4 {
  font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--muted);
  font-weight: 700; margin-bottom: 0.9em;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 0.5em; }
.site-footer .legal {
  margin-top: 2.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
}

/* Hero */
.hero {
  padding: 6rem 0 5rem 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.hero h1 {
  font-size: 3.6rem;
  max-width: 920px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.hero .lead {
  margin: 1.5rem 0 2.5rem 0;
  max-width: 720px;
  font-size: 1.25rem;
  color: var(--muted);
  line-height: 1.5;
}
.hero .cta-row { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Hero stats — system-ui bold (NIE mono) */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 3.5rem;
  padding: 1.8rem 0 0 0;
  border-top: 1px solid var(--border);
}
.hero-stats .stat {
  padding: 0.5rem 1.2rem 0.5rem 0;
}
.hero-stats .stat .num {
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.03em;
}
.hero-stats .stat .label {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.5rem;
  font-weight: 500;
}

/* Trust strip — skala AI search pod hero stats */
.trust-strip {
  margin-top: 1.8rem;
  padding-top: 1.2rem;
  font-size: 0.88rem;
  color: var(--muted);
  border-top: 1px dashed var(--border);
  font-variant-numeric: tabular-nums;
  line-height: 1.7;
}
.trust-strip .accent {
  color: var(--ink);
  font-weight: 700;
}
.trust-strip .src {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.78rem;
  color: var(--muted);
}

/* Cards 3 (Co zyskujesz) */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2rem 1.8rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.feature-card:hover {
  border-color: var(--teal-300);
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.08);
}
.feature-card h3 {
  margin-top: 0;
  font-size: 1.25rem;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.3;
}
.feature-card p { margin: 0; color: var(--muted); }
.feature-card .icon-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 6px;
  background: var(--teal-50);
  color: var(--teal-700);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

/* Use cases — 2 col with quote */
.use-cases {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.use-case {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2rem;
}
.use-case .role {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--teal-700);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.8rem;
}
.use-case h3 {
  font-size: 1.2rem;
  margin: 0 0 0.8em 0;
  font-weight: 700;
  color: var(--ink);
}
.use-case p { color: var(--muted); }
.use-case p:last-child { margin-bottom: 0; }
.use-case .scenario {
  background: var(--bg-soft);
  border-left: 3px solid var(--teal-700);
  padding: 1rem 1.2rem;
  margin: 1rem 0 0 0;
  font-size: 0.95rem;
  color: var(--ink);
  border-radius: 0 4px 4px 0;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
}
.pricing-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
}
.pricing-card.featured {
  border: 2px solid var(--teal-700);
  position: relative;
}
.pricing-badge {
  display: inline-block;
  background: var(--teal-50, #f0fdfa);
  color: var(--teal-700);
  border: 1px solid var(--teal-700);
  padding: 3px 10px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 4px;
  margin-bottom: 0.8rem;
  align-self: flex-start;
}
.pricing-card.featured .pricing-badge {
  background: var(--teal-700);
  color: white;
}
.pricing-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.4rem;
  font-weight: 700;
}
.pricing-card .price {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0.7rem 0 0 0;
  line-height: 1;
  letter-spacing: -0.03em;
}
.pricing-card .price-unit {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0.4rem 0 1.5rem 0;
  font-weight: 500;
}
.pricing-card ul { list-style: none; padding: 0; margin: 0 0 1.5rem 0; flex: 1; }
.pricing-card ul li {
  padding: 8px 0 8px 26px;
  position: relative;
  font-size: 0.95rem;
  color: var(--ink);
}
.pricing-card ul li::before {
  content: "✓"; position: absolute; left: 0; top: 8px;
  color: var(--teal-700); font-weight: 700;
  font-size: 1rem;
}
.pricing-card .btn { width: 100%; text-align: center; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border); padding: 1.5rem 0; }
.faq-item:last-child { border-bottom: none; }
.faq-item h3 {
  margin-bottom: 0.5em;
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 700;
}
.faq-item p { color: var(--muted); }
.faq-item p:last-child { margin-bottom: 0; }

/* Form */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-grid .full { grid-column: 1 / -1; }
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  font-size: 0.92rem;
  color: var(--ink);
}
.form-group label .req { color: var(--danger); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75em 0.9em;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.98rem;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal-700);
  box-shadow: 0 0 0 3px var(--teal-100);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-group .help { font-size: 0.85rem; color: var(--muted); margin-top: 0.3rem; }
.consent {
  display: flex; gap: 0.7rem; margin: 1.4rem 0;
  font-size: 0.9rem; color: var(--muted);
  padding: 1rem 1.2rem;
  background: var(--bg-soft);
  border-radius: 6px;
}
.consent input { width: auto; flex-shrink: 0; margin-top: 0.2rem; }
.form-actions { margin-top: 1rem; }

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin: 1.5rem 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
th, td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
tr:last-child td { border-bottom: none; }
th {
  background: var(--bg-soft);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.88rem;
}

/* Highlights */
.highlight-box {
  background: var(--bg-soft);
  border-left: 3px solid var(--teal-700);
  padding: 1.5rem 1.8rem;
  border-radius: 0 6px 6px 0;
  margin: 2rem 0;
}
.highlight-box h3 { margin-top: 0; }
.highlight-box p:last-child { margin-bottom: 0; }

.pill {
  display: inline-block; padding: 3px 10px;
  background: var(--teal-50); color: var(--teal-700);
  border-radius: 4px;
  font-size: 0.78rem; font-weight: 600;
}

.content ul { padding-left: 1.4em; }
.content ul li { margin-bottom: 0.5em; }

.badge {
  display: inline-block; padding: 2px 10px;
  border-radius: 4px; font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.badge.new { background: #fee2e2; color: var(--danger); }
.badge.info { background: var(--teal-50); color: var(--teal-700); }

/* KV list */
.kv-list { list-style: none; padding: 0; margin: 0; }
.kv-list li {
  display: flex; gap: 1.2rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}
.kv-list li:last-child { border-bottom: none; }
.kv-list li .k {
  font-weight: 700;
  min-width: 200px;
  color: var(--ink);
  font-size: 0.95rem;
}

/* Final CTA */
.final-cta {
  background: var(--teal-700);
  color: white;
  padding: 4rem 0;
  text-align: center;
}
.final-cta h2 {
  color: white;
  font-size: 2.2rem;
  font-weight: 700;
  max-width: 720px;
  margin: 0 auto 1rem;
}
.final-cta p {
  color: var(--teal-100);
  font-size: 1.1rem;
  max-width: 620px;
  margin: 0 auto 2rem;
}
.final-cta .btn-primary {
  background: white;
  color: var(--teal-900);
  border-color: white;
}
.final-cta .btn-primary:hover {
  background: var(--teal-50);
  border-color: var(--teal-50);
}
.final-cta .btn-ghost {
  color: white;
  border-color: white;
}
.final-cta .btn-ghost:hover {
  background: rgba(255,255,255,0.1);
}

/* Responsive */
@media (max-width: 720px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.6rem; }
  .hero h1 { font-size: 2.3rem; }
  .hero .lead { font-size: 1.05rem; }
  .site-header nav { gap: 0.7rem; font-size: 0.92rem; }
  .site-header .logo img { height: 42px; }
  section { padding: 3rem 0; }
  .site-footer .footer-grid { grid-template-columns: 1fr; }
  .cards-3, .pricing-grid, .form-grid, .use-cases { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .hero-stats .stat { padding: 0.5rem; }
  .hero-stats .stat .num { font-size: 1.8rem; }
  .final-cta h2 { font-size: 1.6rem; }
}
