/* =========================
   ROOT VARIABLES
========================= */
:root {
  --bnwn-purple: #6b3fa0;
  --bnwn-purple-dark: #4a2878;
  --bnwn-purple-light: #9f6bff;
  --bnwn-purple-soft: #efe7fb;
  --bnwn-border: #d8c8f2;
  --bnwn-border-strong: #c7b0ee;
  --bnwn-text: #1a0a2e;
  --bnwn-text-light: #6f6290;
  --bnwn-bg: #faf7ff;
  --bnwn-white: #ffffff;
  --bnwn-gold: #f6c94a;
  --bnwn-shadow: 0 12px 30px rgba(107, 63, 160, 0.08);
  --bnwn-shadow-lg: 0 18px 50px rgba(107, 63, 160, 0.12);
  --bnwn-radius: 22px;
}

/* =========================
   WRAPPER
========================= */
.bnwn-wrapper {
  max-width: 980px;
  margin: 0 auto;
  padding: 18px 0 50px;
  font-family: 'DM Sans', sans-serif;
  color: var(--bnwn-text);
}

/* =========================
   INTRO STRIP
========================= */
.bnwn-intro-strip {
  background: linear-gradient(135deg, #faf7ff 0%, #ffffff 100%);
  border: 1px solid var(--bnwn-border);
  border-radius: 18px;
  padding: 26px 28px;
  margin-bottom: 18px;
  box-shadow: var(--bnwn-shadow);
}

.bnwn-intro-strip span {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bnwn-purple);
  margin-bottom: 10px;
}

.bnwn-intro-strip h3 {
  font-size: 18px;
  line-height: 1.3;
  margin-bottom: 8px;
  color: var(--bnwn-text);
}

.bnwn-intro-strip p {
  font-size: 14px;
  color: var(--bnwn-text-light);
  line-height: 1.8;
  margin: 0;
}

/* =========================
   MAIN CARD
========================= */
.bnwn-card {
  background: linear-gradient(135deg, #f8f3ff 0%, #ffffff 100%);
  border: 1px solid var(--bnwn-border);
  border-radius: 26px;
  padding: 38px 34px;
  box-shadow: var(--bnwn-shadow-lg);
  margin-bottom: 26px;
}

/* =========================
   HEADER
========================= */
.bnwn-head {
  text-align: center;
  margin-bottom: 30px;
}

.bnwn-badge {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--bnwn-border);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bnwn-purple);
  margin-bottom: 18px;
}

.bnwn-head h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.35rem);
  line-height: 1.1;
  margin: 0 0 14px;
  color: var(--bnwn-text);
}

.bnwn-head h2 em {
  color: var(--bnwn-purple);
  font-style: italic;
}

.bnwn-head p {
  max-width: 650px;
  margin: 0 auto 24px;
  color: var(--bnwn-text-light);
  font-size: 15px;
  line-height: 1.9;
}

/* =========================
   STATS
========================= */
.bnwn-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 620px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--bnwn-border);
  border-radius: 14px;
  overflow: hidden;
}

.bnwn-stat-box {
  padding: 16px 10px;
  text-align: center;
  border-right: 1px solid var(--bnwn-border);
}

.bnwn-stat-box:last-child {
  border-right: none;
}

.bnwn-stat-box strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  color: var(--bnwn-purple);
  line-height: 1;
  margin-bottom: 6px;
}

.bnwn-stat-box span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bnwn-text-light);
}

/* =========================
   FORM
========================= */
.bnwn-form {
  background: #fff;
  border: 1px solid var(--bnwn-border);
  border-radius: 20px;
  padding: 26px;
  box-shadow: var(--bnwn-shadow);
}

.bnwn-form-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bnwn-purple);
  margin-bottom: 18px;
}

.bnwn-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.bnwn-form-group {
  margin-bottom: 18px;
}

.bnwn-form-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bnwn-purple);
  margin-bottom: 8px;
}

.bnwn-form-group input,
.bnwn-form-group select {
  width: 100%;
  height: 52px;
  border-radius: 12px;
  border: 1.8px solid var(--bnwn-border-strong);
  background: #fff;
  padding: 0 16px;
  font-size: 14px;
  color: var(--bnwn-text);
  outline: none;
  transition: all 0.25s ease;
}

.bnwn-form-group input:focus,
.bnwn-form-group select:focus {
  border-color: var(--bnwn-purple);
  box-shadow: 0 0 0 4px rgba(107, 63, 160, 0.08);
}

/* =========================
   MODES
========================= */
.bnwn-mode-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 8px 0 18px;
}

.bnwn-mode {
  height: 46px;
  border-radius: 12px;
  border: 1.5px solid var(--bnwn-border);
  background: #fff;
  color: var(--bnwn-text-light);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.bnwn-mode:hover {
  border-color: var(--bnwn-purple);
}

.bnwn-mode.active {
  background: var(--bnwn-purple-soft);
  border-color: var(--bnwn-purple);
  color: var(--bnwn-purple);
}

/* =========================
   ERROR
========================= */
.bnwn-error {
  display: none;
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #b91c1c;
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 16px;
  font-size: 14px;
}

.bnwn-error.show {
  display: block;
}

/* =========================
   SUBMIT BUTTON
========================= */
.bnwn-submit-btn {
  width: 100%;
  height: 56px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, var(--bnwn-purple), var(--bnwn-purple-dark));
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(107, 63, 160, 0.24);
  transition: all 0.25s ease;
}

.bnwn-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(107, 63, 160, 0.28);
}

/* =========================
   LOADING
========================= */
.bnwn-loading {
  display: none;
  text-align: center;
  padding: 32px 0;
}

.bnwn-loading.active {
  display: block;
}

.bnwn-spinner {
  width: 46px;
  height: 46px;
  margin: 0 auto 14px;
  border: 4px solid #ebe2fb;
  border-top-color: var(--bnwn-purple);
  border-radius: 50%;
  animation: bnwnSpin 0.8s linear infinite;
}

@keyframes bnwnSpin {
  to {
    transform: rotate(360deg);
  }
}

/* =========================
   RESULTS WRAP
========================= */
.bnwn-results-wrap {
  display: grid;
  gap: 20px;
}

/* =========================
   RESULT HERO
========================= */
.bnwn-result-hero {
  background: linear-gradient(135deg, var(--bnwn-purple) 0%, var(--bnwn-purple-dark) 100%);
  color: #fff;
  border-radius: 22px;
  padding: 34px 28px;
  box-shadow: var(--bnwn-shadow-lg);
  text-align: left;
}

.bnwn-hero-top {
  margin-bottom: 20px;
}

.bnwn-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 10px;
}

.bnwn-result-hero h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  margin: 0;
  color: #fff;
}

.bnwn-number-wrap {
  margin: 18px 0 20px;
}

.bnwn-big-number {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 44px;
  font-weight: 700;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}

.bnwn-hero-desc {
  color: rgba(255,255,255,0.88);
  font-size: 14px;
  line-height: 1.9;
  max-width: 720px;
  margin: 0;
}

/* =========================
   SCORE GRID
========================= */
.bnwn-score-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.bnwn-score-card {
  background: #fff;
  border: 1px solid var(--bnwn-border);
  border-radius: 16px;
  padding: 18px 14px;
  box-shadow: var(--bnwn-shadow);
  text-align: left;
}

.bnwn-score-card h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--bnwn-text-light);
  margin: 0 0 10px;
}

.bnwn-score-card strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  line-height: 1;
  color: var(--bnwn-purple);
  margin-bottom: 12px;
}

.bnwn-bar {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: #efe8fb;
  overflow: hidden;
}

.bnwn-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--bnwn-purple), var(--bnwn-purple-light));
}

/* =========================
   SECTION CARDS
========================= */
.bnwn-section {
  background: #fff;
  border: 1px solid var(--bnwn-border);
  border-radius: 20px;
  padding: 24px 24px;
  box-shadow: var(--bnwn-shadow);
}

.bnwn-section h3 {
  font-size: 26px;
  line-height: 1.2;
  margin: 0 0 12px;
  color: var(--bnwn-text);
}

.bnwn-section p,
.bnwn-section li {
  color: var(--bnwn-text-light);
  font-size: 15px;
  line-height: 1.9;
}

/* =========================
   ALT NAMES
========================= */
.bnwn-alt-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.bnwn-alt-card {
  background: linear-gradient(135deg, #fbf9ff 0%, #ffffff 100%);
  border: 1px solid var(--bnwn-border);
  border-radius: 16px;
  padding: 18px;
  transition: all 0.25s ease;
}

.bnwn-alt-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(107, 63, 160, 0.08);
}

.bnwn-alt-card.best {
  border: 1.5px solid var(--bnwn-purple);
  box-shadow: 0 12px 28px rgba(107, 63, 160, 0.1);
}

.best-badge {
  display: inline-block;
  background: var(--bnwn-purple);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.bnwn-alt-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  line-height: 1.1;
  margin-bottom: 10px;
  color: var(--bnwn-text);
}

.bnwn-alt-meta {
  font-size: 14px;
  line-height: 1.8;
  color: var(--bnwn-text-light);
}

/* =========================
   LISTS
========================= */
.bnwn-section ul {
  padding-left: 18px;
  margin: 0;
}

.bnwn-section li {
  margin-bottom: 8px;
}

/* =========================
   CTA
========================= */
.bnwn-cta {
  background: linear-gradient(135deg, var(--bnwn-purple) 0%, var(--bnwn-purple-dark) 100%);
  border-radius: 22px;
  padding: 30px 26px;
  color: #fff;
  box-shadow: var(--bnwn-shadow-lg);
  text-align: center;
}

.bnwn-cta h3 {
  font-size: 30px;
  line-height: 1.2;
  margin-bottom: 10px;
  color: #fff;
}

.bnwn-cta p {
  max-width: 760px;
  margin: 0 auto 18px;
  color: rgba(255,255,255,0.84);
  line-height: 1.9;
  font-size: 15px;
}

.bnwn-cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.bnwn-cta-buttons a {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--bnwn-gold);
  color: #2b1450;
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-secondary {
  background: #fff;
  color: var(--bnwn-purple);
}

.btn-secondary:hover {
  transform: translateY(-2px);
}

/* =========================
   BLOCK 3 IMPROVEMENT SUPPORT
========================= */
.seo-block {
  margin-top: 34px;
}

.seo-block h2 {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  line-height: 1.18;
  margin: 0 0 14px;
  color: var(--bnwn-text);
}

.seo-block h3 {
  font-size: 22px;
  margin: 26px 0 8px;
  color: var(--bnwn-text);
}

.seo-block p,
.seo-block li {
  color: var(--bnwn-text-light);
  font-size: 15px;
  line-height: 1.95;
}

.seo-block ul,
.seo-block ol {
  padding-left: 20px;
  margin-bottom: 18px;
}

.seo-block a {
  color: var(--bnwn-purple);
  font-weight: 600;
  text-decoration: underline;
}

.tool-cta-box {
  margin-top: 30px;
  background: linear-gradient(135deg, var(--bnwn-purple) 0%, var(--bnwn-purple-dark) 100%);
  border-radius: 22px;
  padding: 28px 24px;
  color: #fff;
}

.tool-cta-box h2 {
  color: #fff;
  margin-bottom: 12px;
}

.tool-cta-box p {
  color: rgba(255,255,255,0.84);
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.cta-btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.cta-btn.primary {
  background: var(--bnwn-gold);
  color: #2b1450;
}

.cta-btn.secondary {
  background: #fff;
  color: var(--bnwn-purple);
}

/* =========================
   MOBILE RESPONSIVE
========================= */
@media (max-width: 860px) {
  .bnwn-score-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bnwn-alt-grid {
    grid-template-columns: 1fr;
  }

  .bnwn-grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .bnwn-wrapper {
    padding: 10px 0 34px;
  }

  .bnwn-intro-strip {
    padding: 20px 18px;
    border-radius: 16px;
  }

  .bnwn-intro-strip h3 {
    font-size: 17px;
  }

  .bnwn-card {
    padding: 24px 18px;
    border-radius: 20px;
  }

  .bnwn-head h2 {
    font-size: 2.2rem;
  }

  .bnwn-head p {
    font-size: 14px;
  }

  .bnwn-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .bnwn-stat-box {
    border-right: 1px solid var(--bnwn-border);
    border-bottom: 1px solid var(--bnwn-border);
  }

  .bnwn-stat-box:nth-child(2),
  .bnwn-stat-box:nth-child(4) {
    border-right: none;
  }

  .bnwn-stat-box:nth-child(3),
  .bnwn-stat-box:nth-child(4) {
    border-bottom: none;
  }

  .bnwn-form {
    padding: 18px;
    border-radius: 16px;
  }

  .bnwn-mode-row {
    grid-template-columns: 1fr;
  }

  .bnwn-submit-btn {
    height: 54px;
    font-size: 14px;
  }

  .bnwn-result-hero {
    padding: 26px 20px;
    border-radius: 18px;
  }

  .bnwn-result-hero h2 {
    font-size: 2.2rem;
  }

  .bnwn-big-number {
    width: 82px;
    height: 82px;
    font-size: 38px;
  }

  .bnwn-score-grid {
    grid-template-columns: 1fr;
  }

  .bnwn-score-card {
    padding: 16px;
  }

  .bnwn-section {
    padding: 20px 18px;
    border-radius: 16px;
  }

  .bnwn-section h3 {
    font-size: 22px;
  }

  .bnwn-alt-name {
    font-size: 24px;
  }

  .bnwn-cta {
    padding: 24px 18px;
    border-radius: 18px;
  }

  .bnwn-cta h3 {
    font-size: 24px;
  }

  .bnwn-cta-buttons,
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .bnwn-cta-buttons a,
  .cta-btn {
    text-align: center;
    width: 100%;
  }

  .seo-block h2 {
    font-size: 1.9rem;
  }

  .seo-block h3 {
    font-size: 20px;
  }
}
/* =========================
   CTA FINAL POLISH PATCH
========================= */
.bnwn-cta {
  background: linear-gradient(135deg, #6b3fa0 0%, #4a2878 100%);
  border-radius: 24px;
  padding: 34px 28px;
  color: #fff;
  box-shadow: 0 20px 45px rgba(107, 63, 160, 0.18);
  text-align: center;
  border: 1px solid rgba(255,255,255,0.06);
}

.bnwn-cta-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  margin-bottom: 12px;
}

.bnwn-cta h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1.12;
  margin: 0 0 12px;
  color: #ffffff;
}

.bnwn-cta p {
  max-width: 760px;
  margin: 0 auto 22px;
  color: rgba(255,255,255,0.88);
  line-height: 1.95;
  font-size: 15px;
}

.bnwn-cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.bnwn-cta-buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  min-height: 50px;
  padding: 13px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.25s ease;
}

.bnwn-cta .btn-primary {
  background: #f6c94a;
  color: #2b1450;
  box-shadow: 0 10px 24px rgba(246, 201, 74, 0.24);
}

.bnwn-cta .btn-primary:hover {
  transform: translateY(-2px);
}

.bnwn-cta .btn-secondary {
  background: #ffffff;
  color: #6b3fa0;
  border: 1px solid rgba(255,255,255,0.2);
}

.bnwn-cta .btn-secondary:hover {
  transform: translateY(-2px);
}

.bnwn-cta-mini-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.bnwn-cta-mini-links span {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.82);
}

@media (max-width: 640px) {
  .bnwn-cta {
    padding: 28px 18px;
    border-radius: 18px;
  }

  .bnwn-cta h3 {
    font-size: 2rem;
  }

  .bnwn-cta p {
    font-size: 14px;
  }

  .bnwn-cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .bnwn-cta-buttons a {
    width: 100%;
    min-width: unset;
  }

  .bnwn-cta-mini-links {
    gap: 8px;
  }

  .bnwn-cta-mini-links span {
    font-size: 11px;
    padding: 7px 10px;
  }
}