/* ===== ADIO2 — style.css ===== */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;600;700;800&display=swap');

:root {
  --bg: #E9ECF0;
  --surface: #ffffff;
  --surface2: #f4f5f8;
  --text: #111318;
  --text-muted: #6b7280;
  --accent-start: #7B3FE4;
  --accent-end: #E8365D;
  --gradient: linear-gradient(135deg, var(--accent-start), var(--accent-end));
  --radius: 20px;
  --shadow: 0 4px 32px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 60px rgba(0,0,0,0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Sora', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(1.5rem, 5vw, 4rem); height: 68px;
  background: rgba(233,236,240,0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.nav-logo { height: 34px; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: 0.875rem; font-weight: 600; color: var(--text-muted);
  text-decoration: none; letter-spacing: 0.02em; transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.btn-demo {
  background: var(--gradient); color: #fff; border: none;
  padding: 0.55rem 1.4rem; border-radius: 100px;
  font-family: inherit; font-size: 0.875rem; font-weight: 700;
  cursor: pointer; text-decoration: none; display: inline-block;
  transition: opacity 0.2s, transform 0.15s;
}
.btn-demo:hover { opacity: 0.9; transform: translateY(-1px); }
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px; background: none; border: none;
}
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; }
.mobile-nav {
  display: none; position: fixed; top: 68px; left: 0; right: 0;
  background: var(--surface); border-bottom: 1px solid rgba(0,0,0,0.08);
  padding: 1.5rem 2rem; z-index: 99; flex-direction: column; gap: 1.25rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { font-weight: 600; color: var(--text); text-decoration: none; font-size: 1rem; }

/* ── HERO ── */
#produkt {
  padding: clamp(3rem, 8vw, 6rem) clamp(1.5rem, 5vw, 4rem) clamp(2rem, 5vw, 4rem);
  max-width: 900px; margin: 0 auto; text-align: center;
}
.hero-eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent-start); background: rgba(123,63,228,0.08);
  padding: 0.3rem 0.9rem; border-radius: 100px; margin-bottom: 1.5rem;
}
.hero-headline {
  font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 800;
  line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 1.25rem;
  background: var(--gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem); color: var(--text-muted);
  max-width: 540px; margin: 0 auto 2rem; font-weight: 400; line-height: 1.65;
}
.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--gradient); color: #fff; padding: 0.85rem 2rem; border-radius: 100px;
  font-family: inherit; font-size: 0.95rem; font-weight: 700; text-decoration: none; display: inline-block;
  transition: opacity 0.2s, transform 0.15s;
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-2px); }
.btn-secondary {
  background: transparent; color: var(--text); padding: 0.85rem 2rem; border-radius: 100px;
  font-family: inherit; font-size: 0.95rem; font-weight: 600; text-decoration: none;
  border: 2px solid rgba(0,0,0,0.12); display: inline-block;
  transition: border-color 0.2s, transform 0.15s;
}
.btn-secondary:hover { border-color: rgba(0,0,0,0.3); transform: translateY(-2px); }

/* ── HOW IT WORKS ── */
#jak-to-dziala {
  padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 5vw, 4rem);
  max-width: 1100px; margin: 0 auto;
}
.section-label {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent-start); margin-bottom: 0.5rem;
}
.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800;
  letter-spacing: -0.025em; margin-bottom: 2rem;
}

/* Phone LEFT, steps RIGHT */
.how-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 2.5rem;
}

/* Phone container */
.phone-wrap { display: flex; justify-content: center; }
.phone-container {
  position: relative;
  width: 260px; height: 520px;
  border-radius: 36px;
  box-shadow:
    0 0 0 10px #1a1a1a,
    0 0 0 12px #3a3a3a,
    0 28px 80px rgba(0,0,0,0.35);
  overflow: hidden;
  background: #000;
}
.phone-screen {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  overflow: hidden; background: #000;
}
.phone-ui {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  transition: opacity 0.45s ease;
}
.phone-ui.hidden { opacity: 0; pointer-events: none; }
.phone-ui.visible { opacity: 1; }

.phone-dots {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 20;
}
.phone-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transition: background 0.3s, transform 0.3s; cursor: pointer;
}
.phone-dot.active { background: #fff; transform: scale(1.3); }

/* Steps menu */
.steps-menu { display: flex; flex-direction: column; gap: 0.75rem; }
.step-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.1rem 1.25rem; border-radius: var(--radius);
  cursor: pointer; transition: background 0.2s, box-shadow 0.2s;
  border: 2px solid transparent;
}
.step-item:hover { background: rgba(255,255,255,0.7); }
.step-item.active { background: var(--surface); box-shadow: var(--shadow); border-color: rgba(123,63,228,0.15); }
.step-num {
  width: 32px; height: 32px; min-width: 32px; border-radius: 50%;
  background: var(--bg); display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; color: var(--text-muted);
  transition: background 0.2s, color 0.2s;
}
.step-item.active .step-num { background: var(--gradient); color: #fff; }
.step-content h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.2rem; }
.step-content p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; }

/* Description text */
.how-desc {
  max-width: 820px; font-size: 1.05rem;
  color: var(--text-muted); line-height: 1.75; margin-bottom: 3rem;
}

/* Products table inside jak-to-dziala */
.products-table-wrap {
  overflow-x: auto; border-radius: var(--radius);
  box-shadow: var(--shadow); background: var(--surface);
}
.products-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.products-table thead tr { background: var(--gradient); color: #fff; }
.products-table th {
  padding: 1rem 1.5rem; text-align: left;
  font-weight: 700; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase;
}
.products-table td { padding: 1rem 1.5rem; border-bottom: 1px solid rgba(0,0,0,0.06); vertical-align: middle; }
.products-table tbody tr:last-child td { border-bottom: none; }
.products-table tbody tr:hover { background: var(--surface2); }
.product-name { font-weight: 700; color: var(--text); white-space: nowrap; }
.product-desc { color: var(--text-muted); line-height: 1.55; }
.product-badge {
  display: inline-block; padding: 0.2rem 0.75rem; border-radius: 100px;
  font-size: 0.72rem; font-weight: 700;
  background: rgba(123,63,228,0.1); color: var(--accent-start); white-space: nowrap;
}

/* ── CUSTOM AI ── */
#custom-ai {
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem);
  background: #111318; color: #fff;
}
.custom-inner { max-width: 1100px; margin: 0 auto; }
#custom-ai .section-label { color: #a78bfa; }
#custom-ai .section-title { color: #fff; margin-bottom: 0.75rem; }
.custom-sub {
  color: rgba(255,255,255,0.5); font-size: 1rem;
  max-width: 620px; line-height: 1.7; margin-bottom: 2.5rem;
}
/* Feature pills */
.custom-features { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2.5rem; }
.custom-feat {
  display: flex; align-items: center; gap: 0.6rem;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px; padding: 0.55rem 1.1rem;
  font-size: 0.875rem; font-weight: 600; color: rgba(255,255,255,0.85);
  transition: background 0.2s;
}
.custom-feat:hover { background: rgba(255,255,255,0.1); }
.custom-feat-icon { font-size: 1rem; }
.custom-cta-bar {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius); padding: 2rem 2.5rem;
}
.custom-cta-bar p { font-size: 1.05rem; font-weight: 600; color: #fff; max-width: 480px; line-height: 1.5; }
.custom-cta-bar p span { color: rgba(255,255,255,0.5); font-weight: 400; display: block; font-size: 0.875rem; margin-top: 0.3rem; }

/* ── CONTACT ── */
#kontakt { padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 4rem); background: var(--bg); }
.contact-inner { max-width: 1100px; margin: 0 auto; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 4rem; align-items: start; }
.contact-left { display: flex; flex-direction: column; gap: 2rem; }
.contact-badges { display: flex; flex-direction: column; gap: 1.1rem; }
.contact-badge { display: flex; align-items: flex-start; gap: 0.85rem; }
.contact-badge-icon {
  width: 40px; height: 40px; min-width: 40px; border-radius: 12px;
  background: rgba(123,63,228,0.1); display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.contact-topic-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.topic-pill {
  padding: 0.4rem 1rem; border-radius: 100px; font-size: 0.8rem; font-weight: 600;
  border: 2px solid rgba(0,0,0,0.1); color: var(--text-muted); cursor: pointer;
  transition: all 0.2s; background: transparent;
}
.topic-pill.active, .topic-pill:hover { background: var(--gradient); color: #fff; border-color: transparent; }
.contact-card { background: var(--surface); border-radius: var(--radius); padding: 2.5rem; box-shadow: var(--shadow-lg); }
.contact-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.5rem; }
.contact-card > p { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 2rem; line-height: 1.6; }
.contact-form { display: flex; flex-direction: column; gap: 0.875rem; }
.contact-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.875rem; }
.contact-input {
  width: 100%; padding: 0.85rem 1rem; border-radius: 12px;
  border: 2px solid rgba(0,0,0,0.08); background: var(--surface2);
  font-family: inherit; font-size: 0.9rem; color: var(--text);
  outline: none; transition: border-color 0.2s; resize: vertical; appearance: none;
}
.contact-input:focus { border-color: var(--accent-start); background: #fff; }
.contact-input::placeholder { color: var(--text-muted); }
.contact-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; cursor: pointer; }
.contact-submit {
  background: var(--gradient); color: #fff; border: none;
  padding: 0.9rem 2rem; border-radius: 100px;
  font-family: inherit; font-size: 0.95rem; font-weight: 700; cursor: pointer;
  width: 100%; text-align: center; text-decoration: none;
  display: block; margin-top: 0.25rem; transition: opacity 0.2s, transform 0.15s;
}
.contact-submit:hover { opacity: 0.9; transform: translateY(-1px); }

/* ── FAQ ── */
#faq { padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem); max-width: 800px; margin: 0 auto; }
.faq-list { margin-top: 2.5rem; display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid rgba(0,0,0,0.08); }
.faq-q {
  width: 100%; background: none; border: none; text-align: left;
  font-family: inherit; font-size: 0.975rem; font-weight: 600; color: var(--text);
  padding: 1.25rem 0; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--accent-start); }
.faq-icon {
  width: 22px; height: 22px; min-width: 22px; border-radius: 50%;
  border: 2px solid rgba(0,0,0,0.15); display: flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: transform 0.3s, border-color 0.2s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); border-color: var(--accent-start); color: var(--accent-start); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-a-inner { font-size: 0.875rem; color: var(--text-muted); line-height: 1.75; padding-bottom: 1.25rem; }

/* ── FOOTER ── */
footer { background: #111318; color: rgba(255,255,255,0.45); padding: 3rem clamp(1.5rem, 5vw, 4rem); }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; gap: 1.5rem; }
.footer-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-logo { height: 28px; filter: brightness(0) invert(1) opacity(0.7); }
.footer-links { display: flex; gap: 1.5rem; list-style: none; }
.footer-links a { color: rgba(255,255,255,0.45); text-decoration: none; font-size: 0.82rem; transition: color 0.2s; }
.footer-links a:hover { color: rgba(255,255,255,0.8); }
.footer-seo { font-size: 0.78rem; line-height: 1.8; max-width: 800px; }
.footer-bottom {
  font-size: 0.78rem; border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem;
}

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .how-grid { grid-template-columns: 1fr; }
  .phone-wrap { order: -1; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .custom-cta-bar { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .nav-links, .nav-links + .btn-demo { display: none; }
  .nav-hamburger { display: flex; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .contact-form-row { grid-template-columns: 1fr; }
}
