/*
 * Website AI Check
 * Public marketing intake page using Specteron's dark public-site style.
 */
:root {
  --waic-bg: #0a0a0b;
  --waic-panel: rgba(255, 255, 255, 0.035);
  --waic-panel-strong: rgba(255, 255, 255, 0.055);
  --waic-border: rgba(255, 255, 255, 0.1);
  --waic-text: #f9fafb;
  --waic-muted: #a1a1aa;
  --waic-soft: rgba(226, 232, 240, 0.76);
  --waic-purple: #8b5cf6;
  --waic-cyan: #22d3ee;
  --waic-emerald: #34d399;
}

body.website-ai-check-page {
  margin: 0;
  overflow-x: hidden;
  background: var(--waic-bg);
  color: var(--waic-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.waic-main {
  position: relative;
  z-index: 1;
  padding: 8rem 0 6rem;
  overflow: hidden;
}

.waic-bg-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    var(--waic-bg);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black 0%, rgba(0, 0, 0, 0.78) 38%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, rgba(0, 0, 0, 0.78) 38%, transparent 100%);
}

.waic-shell {
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto;
}

.waic-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 3.5rem;
  align-items: center;
  min-height: calc(100vh - 9rem);
  padding-bottom: 4rem;
}

.waic-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  color: var(--waic-cyan);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.waic-eyebrow i {
  color: var(--waic-emerald);
}

.waic-title {
  margin: 0;
  max-width: 820px;
  color: #fff;
  font-size: clamp(2.35rem, 5vw, 4.65rem);
  font-weight: 900;
  line-height: 1.03;
  letter-spacing: 0;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.waic-title span {
  color: var(--waic-cyan);
}

html[lang="pl"] .waic-title {
  font-size: clamp(2.05rem, 4.25vw, 3.75rem);
}

.waic-subtitle {
  max-width: 720px;
  margin: 1.5rem 0 0;
  color: var(--waic-soft);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.75;
}

.waic-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

.waic-btn,
.waic-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 3.35rem;
  padding: 0.95rem 1.55rem;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.waic-btn {
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: #fff;
  color: #050507;
}

.waic-btn:hover,
.waic-btn:focus-visible {
  transform: translateY(-2px);
  background: var(--waic-cyan);
  border-color: var(--waic-cyan);
  color: #051113;
}

.waic-btn-secondary {
  border: 1px solid var(--waic-border);
  background: rgba(255, 255, 255, 0.035);
  color: #fff;
}

.waic-btn-secondary:hover,
.waic-btn-secondary:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(34, 211, 238, 0.45);
  background: rgba(34, 211, 238, 0.08);
  color: #fff;
}

.waic-hero-panel {
  position: relative;
  border: 1px solid var(--waic-border);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
  padding: 1.25rem;
}

.waic-browser {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  background: #0f1117;
}

.waic-browser-top {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.waic-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
}

.waic-browser-url {
  margin-left: 0.45rem;
  min-width: 0;
  flex: 1;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  padding: 0.42rem 0.7rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.waic-browser-body {
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
}

.waic-page-line {
  height: 0.72rem;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
}

.waic-page-line:nth-child(1) {
  width: 68%;
}

.waic-page-line:nth-child(2) {
  width: 90%;
}

.waic-page-line:nth-child(3) {
  width: 48%;
}

.waic-check-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.4rem;
}

.waic-check-row {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  padding: 0.8rem;
  color: rgba(255, 255, 255, 0.82);
}

.waic-check-row i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: rgba(52, 211, 153, 0.12);
  color: var(--waic-emerald);
}

.waic-section {
  padding: 5.5rem 0 0;
}

.waic-section-head {
  max-width: 760px;
  margin-bottom: 2rem;
}

.waic-section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.waic-section-title {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
}

.waic-section-copy {
  margin: 1rem 0 0;
  color: var(--waic-muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.waic-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.waic-card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.waic-card {
  min-width: 0;
  border: 1px solid var(--waic-border);
  border-radius: 8px;
  background: var(--waic-panel);
  padding: 1.15rem;
}

.waic-card i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background: rgba(139, 92, 246, 0.11);
  color: var(--waic-purple);
  font-size: 1.15rem;
}

.waic-card:nth-child(3n + 2) i {
  background: rgba(34, 211, 238, 0.1);
  color: var(--waic-cyan);
}

.waic-card:nth-child(3n) i {
  background: rgba(52, 211, 153, 0.1);
  color: var(--waic-emerald);
}

.waic-card h3 {
  margin: 0;
  color: #fff;
  font-size: 1.02rem;
  line-height: 1.35;
  font-weight: 800;
}

.waic-card p {
  margin: 0.65rem 0 0;
  color: var(--waic-muted);
  line-height: 1.65;
}

.waic-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  counter-reset: waic-step;
}

.waic-step {
  position: relative;
  min-width: 0;
  border: 1px solid var(--waic-border);
  border-radius: 8px;
  background: var(--waic-panel);
  padding: 1.35rem;
}

.waic-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1.1rem;
  border-radius: 8px;
  background: #fff;
  color: #050507;
  font-weight: 900;
}

.waic-step h3 {
  margin: 0;
  color: #fff;
  font-size: 1.08rem;
  line-height: 1.35;
  font-weight: 800;
}

.waic-step p {
  margin: 0.7rem 0 0;
  color: var(--waic-muted);
  line-height: 1.65;
}

.waic-form-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 1fr);
  gap: 2rem;
  align-items: start;
}

.waic-form-card {
  border: 1px solid var(--waic-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  padding: 1.5rem;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.waic-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  border-radius: 8px;
  padding: 1rem;
  font-weight: 700;
  line-height: 1.5;
}

.waic-alert--ok {
  border: 1px solid rgba(52, 211, 153, 0.26);
  background: rgba(52, 211, 153, 0.1);
  color: #6ee7b7;
}

.waic-alert--err {
  border: 1px solid rgba(248, 113, 113, 0.26);
  background: rgba(248, 113, 113, 0.1);
  color: #fca5a5;
}

.waic-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.waic-field {
  min-width: 0;
}

.waic-field.full {
  grid-column: 1 / -1;
}

.waic-label {
  display: block;
  margin-bottom: 0.45rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  font-weight: 700;
}

.waic-input,
.waic-textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  color: #fff;
  font: inherit;
  font-size: 1rem;
  line-height: 1.5;
  padding: 0.9rem 0.95rem;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.waic-input::placeholder,
.waic-textarea::placeholder {
  color: rgba(255, 255, 255, 0.34);
}

.waic-input:focus,
.waic-textarea:focus {
  border-color: rgba(34, 211, 238, 0.62);
  background: rgba(255, 255, 255, 0.055);
}

.waic-textarea {
  min-height: 8.5rem;
  resize: vertical;
}

.waic-consent {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin: 1.2rem 0 1.5rem;
  color: var(--waic-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  cursor: pointer;
}

.waic-consent input {
  flex: 0 0 auto;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.18rem;
  accent-color: var(--waic-cyan);
}

.waic-form-note {
  display: grid;
  gap: 0.85rem;
  margin-top: 2rem;
}

.waic-form-note li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--waic-muted);
  line-height: 1.6;
}

.waic-form-note i {
  color: var(--waic-emerald);
  margin-top: 0.2rem;
}

.waic-faq {
  display: grid;
  gap: 0.8rem;
  max-width: 880px;
  margin: 0 auto;
}

.waic-faq details {
  border: 1px solid var(--waic-border);
  border-radius: 8px;
  background: var(--waic-panel);
  overflow: hidden;
}

.waic-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.waic-faq summary::-webkit-details-marker {
  display: none;
}

.waic-faq summary::after {
  content: "+";
  color: var(--waic-cyan);
  font-size: 1.3rem;
  line-height: 1;
}

.waic-faq details[open] summary::after {
  content: "-";
}

.waic-faq p {
  margin: 0;
  padding: 0 1.1rem 1.1rem;
  color: var(--waic-muted);
  line-height: 1.7;
}

.hp-field {
  position: absolute !important;
  top: -9999px !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (max-width: 1024px) {
  .waic-hero,
  .waic-form-layout {
    grid-template-columns: 1fr;
  }

  .waic-hero {
    min-height: auto;
  }

  .waic-card-grid,
  .waic-card-grid.four,
  .waic-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .waic-main {
    padding: 6.5rem 0 4rem;
  }

  .waic-shell {
    width: min(100% - 2rem, 1180px);
  }

  .waic-title {
    font-size: clamp(2rem, 10.5vw, 2.85rem);
  }

  html[lang="pl"] .waic-title {
    font-size: clamp(1.8rem, 8.8vw, 2.35rem);
  }

  .waic-actions,
  .waic-btn,
  .waic-btn-secondary {
    width: 100%;
  }

  .waic-card-grid,
  .waic-card-grid.four,
  .waic-steps,
  .waic-form-grid {
    grid-template-columns: 1fr;
  }

  .waic-form-card {
    padding: 1rem;
  }
}
