/* =============================================
   RISEN — PARTNERS (B2B)
   Reuses tokens & base components from style.css
   (navbar, footer, .container, .btn-pill, .aurora,
   .pill-eyebrow, .section-header). This file only
   styles B2B-specific blocks.
============================================= */

/* ---- Navbar tweak: ghost CTA next to gradient pill ---- */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  border: 1px solid rgba(31, 22, 48, 0.14);
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
  white-space: nowrap;
}
.btn-ghost:hover { border-color: rgba(152, 102, 251, 0.5); transform: translateY(-1px); }

/* =============================================
   HERO
============================================= */
.b2b-hero {
  position: relative;
  overflow: hidden;
  padding: 40px 0 80px;
}
.b2b-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 64px;
}
.b2b-hero-text { flex: 1; max-width: 560px; }
.b2b-hero .pill-eyebrow { margin-bottom: 22px; }

.b2b-title {
  font-size: clamp(38px, 5.4vw, 62px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.b2b-title .grad {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.b2b-lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 500px;
  margin-bottom: 32px;
}
.b2b-cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn-pill--lg { padding: 15px 30px; font-size: 15.5px; }
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 15px;
  color: var(--violet);
}
.btn-link:hover { text-decoration: underline; }

/* ---- Hero visual: after-session mock card ---- */
.b2b-hero-visual {
  flex: 0 0 auto;
  width: 360px;
  position: relative;
}
.after-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 22px;
  animation: phone-float 6s ease-in-out infinite;
}
.after-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.after-chip {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--violet);
  background: rgba(152, 102, 251, 0.1);
  padding: 5px 11px;
  border-radius: 100px;
}
.after-confirm {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  color: #16A34A;
  background: rgba(22, 163, 74, 0.1);
  padding: 5px 11px;
  border-radius: 100px;
}
.after-venue { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.after-logo {
  width: 46px; height: 46px; flex-shrink: 0;
  border-radius: var(--radius-md);
  background: var(--gradient);
  display: grid; place-items: center;
  font-size: 22px;
}
.after-name { font-weight: 800; font-size: 17px; }
.after-sub { font-size: 13px; color: var(--text-light); margin-top: 2px; }
.after-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid rgba(31, 22, 48, 0.07);
}
.after-tag {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg);
  padding: 6px 12px;
  border-radius: 100px;
}
.after-tag.promo { color: var(--pink); background: rgba(255, 79, 163, 0.09); }

/* =============================================
   VERTICALS
============================================= */
.verticals { padding: 88px 0; }
.vertical-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.vertical-card {
  position: relative;
  background: var(--surface);
  border: 1px solid rgba(152, 102, 251, 0.12);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.vertical-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(152, 102, 251, 0.28);
}
.vertical-icon {
  width: 54px; height: 54px;
  border-radius: var(--radius-md);
  display: grid; place-items: center;
  font-size: 26px;
  background: linear-gradient(135deg, rgba(255,154,74,0.14), rgba(152,102,251,0.14));
  margin-bottom: 20px;
}
.vertical-card h3 { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 10px; }
.vertical-card p { font-size: 15px; line-height: 1.6; color: var(--text-muted); }
.vertical-soon {
  position: absolute;
  top: 22px; right: 22px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(173, 91, 225, 0.1);
  padding: 5px 10px;
  border-radius: 100px;
}
.vertical-card--soon {
  background: linear-gradient(160deg, rgba(152,102,251,0.05), rgba(255,79,163,0.04));
  border-style: dashed;
  border-color: rgba(152, 102, 251, 0.35);
}

/* =============================================
   HOW IT WORKS (B2B)
============================================= */
.b2b-how { padding: 0 0 88px; }
.b2b-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.b2b-step {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
}
.b2b-step-num {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  width: 38px; height: 38px;
  border-radius: 12px;
  background: var(--gradient);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.b2b-step h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.b2b-step p { font-size: 14.5px; line-height: 1.6; color: var(--text-muted); }

/* =============================================
   WHY RISEN
============================================= */
.why {
  padding: 88px 0;
  background: var(--surface);
  border-top: 1px solid rgba(152, 102, 251, 0.08);
  border-bottom: 1px solid rgba(152, 102, 251, 0.08);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 860px;
  margin: 0 auto;
}
.why-tile {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--bg);
}
.why-check {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--gradient);
  display: grid; place-items: center;
  color: #fff;
}
.why-check svg { width: 16px; height: 16px; }
.why-tile h4 { font-size: 16.5px; font-weight: 800; margin-bottom: 5px; }
.why-tile p { font-size: 14.5px; line-height: 1.55; color: var(--text-muted); }

/* =============================================
   CONTACT FORM
============================================= */
.contact { position: relative; overflow: hidden; padding: 96px 0; }
.contact-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.contact .section-header { margin-bottom: 36px; }

.contact-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  padding: 36px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.field--full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 700; color: var(--text); }
.field label .req { color: var(--pink); }

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid rgba(31, 22, 48, 0.12);
  border-radius: var(--radius-md);
  padding: 13px 15px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field textarea { resize: vertical; min-height: 108px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--surface);
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(152, 102, 251, 0.14);
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%236C5A7D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

/* honeypot — hidden from humans */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-submit-row { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.btn-submit {
  width: 100%;
  justify-content: center;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 15px 30px;
  font-size: 15.5px;
}
.btn-submit:disabled { opacity: 0.6; cursor: default; transform: none; }
.form-note { font-size: 12.5px; color: var(--text-light); text-align: center; line-height: 1.5; }
.form-note a { color: var(--violet); text-decoration: underline; }

.form-status {
  display: none;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 14.5px;
  line-height: 1.5;
  font-weight: 600;
}
.form-status.show { display: block; }
.form-status.ok { background: rgba(22, 163, 74, 0.1); color: #15803D; }
.form-status.err { background: rgba(220, 38, 38, 0.08); color: #B91C1C; }

/* Success state: swap the form for a thank-you panel */
.contact-card.is-sent .form-body { display: none; }
.contact-thanks { display: none; text-align: center; padding: 12px 0; }
.contact-card.is-sent .contact-thanks { display: block; }
.contact-thanks .thanks-mark {
  width: 60px; height: 60px; margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--gradient);
  display: grid; place-items: center;
  color: #fff;
}
.contact-thanks .thanks-mark svg { width: 30px; height: 30px; }
.contact-thanks h3 { font-size: 24px; font-weight: 800; margin-bottom: 10px; }
.contact-thanks p { font-size: 15.5px; color: var(--text-muted); line-height: 1.6; }

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1000px) {
  .b2b-hero-inner { flex-direction: column; text-align: center; gap: 48px; padding-top: 24px; }
  .b2b-hero-text { max-width: 100%; display: flex; flex-direction: column; align-items: center; }
  .b2b-cta-row { justify-content: center; }
  .vertical-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .b2b-steps { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
}

@media (max-width: 700px) {
  .why-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .b2b-hero-visual { width: 100%; max-width: 340px; }
  .verticals, .why, .contact { padding: 64px 0; }
  .b2b-how { padding-bottom: 64px; }
  .contact-card { padding: 26px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .btn-ghost { display: none; }
}
