/* Additive styles for darafinancial.com — new content shapes not present in the original theme. */

/* Small uppercase eyebrow label, used above section headlines */
.section-eyebrow {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-b3);
  font-weight: var(--font-weight-regular);
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 4px 0;
}

/* Proof strip under the home hero */
.proof-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 40px;
  margin-top: 48px;
  padding-bottom: 56px;
  position: relative;
  z-index: 3;
}

.proof-strip-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-family-primary);
  font-size: var(--font-size-b4);
  font-weight: var(--font-weight-regular);
  color: var(--color-secondary-white);
  opacity: 0.9;
  text-align: left;
}

.proof-strip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
}

@media (max-width: 430px) {
  .proof-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-top: 32px;
    padding-bottom: 40px;
  }
}

/* Secondary CTA link next to the hero button */
.hero-actions .hero-link-secondary {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-b4);
  font-weight: var(--font-weight-semibold);
  color: var(--color-secondary-light);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 8px;
  transition: color 0.3s ease;
}

.hero-actions .hero-link-secondary:hover {
  color: var(--color-primary);
}

/* Four-pillar grid re-uses .solution-card styling but needs a 2x2 layout */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.pillars-grid .solution-card {
  width: 100%;
  height: auto;
  min-height: 280px;
  text-align: left;
  align-items: flex-start;
}

.pillars-grid .solution-card-title {
  max-width: 100%;
}

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

/* A single leftover pillar card shouldn't stretch across a 2-col grid */
.pillars-grid-solo {
  grid-template-columns: 1fr;
}

.pillars-grid-solo .solution-card {
  max-width: 600px;
}

/* Description text under use-case resource card titles (dark section) */
.resource-card-description {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-b3);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-body);
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

/* Trust/regulatory section note (smaller italic line under trust body) */
.about-company-note {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-b4);
  font-weight: var(--font-weight-light);
  font-style: italic;
  line-height: var(--line-height-body);
  color: rgba(255, 255, 255, 0.4);
  margin: 16px 0 0 0;
}

/* FAQ CTA link ("Book a call" style inline link inside an answer) */
.faq-answer-text a {
  color: var(--color-primary);
}

/* ------------------------------------------------------------------ */
/* Request Demo Form (ported from thedara.co's request-demo-form.css — */
/* this stylesheet was page-specific on the WP theme and never fetched */
/* as part of the shared theme CSS, so it's reproduced here verbatim). */
/* ------------------------------------------------------------------ */
.request-demo-form {
  padding: unset;
  padding-top: 60px !important;
  padding-bottom: 0px;
}

.request-demo-form .hero-content {
  z-index: 2 !important;
  position: relative;
}

.form-container {
  z-index: 2 !important;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  padding-bottom: 60px;
}

.request-demo-form .home-hero-beams {
  z-index: 1 !important;
}

.demo-form {
  background: transparent;
  border-radius: 0;
  padding: 0;
}

.form-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.form-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.form-group label {
  text-align: left;
  color: white;
  font-family: var(--font-family-primary);
  font-size: 16px;
  font-weight: var(--font-weight-regular);
  margin: 0;
  margin-left: 15px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 40px;
  font-family: var(--font-family-primary);
  font-size: var(--font-size-b4);
  font-weight: var(--font-weight-regular);
  color: white;
  background: transparent;
  transition: all 0.3s ease;
  outline: none;
  box-sizing: border-box;
}

.form-group textarea {
  border-radius: 20px;
  resize: vertical;
  min-height: 170px;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(195, 172, 93, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-group input.error,
.form-group textarea.error {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.error-message {
  color: #dc2626;
  font-family: var(--font-family-primary);
  font-size: 14px;
  font-weight: var(--font-weight-regular);
  margin-top: 4px;
  display: none;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 60px;
}

.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 32px;
  background-color: var(--color-primary-bg);
  color: white;
  font-family: var(--font-family-primary);
  font-size: var(--font-size-b2);
  font-weight: var(--font-weight-medium);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 40px;
  position: relative;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
  box-sizing: border-box;
}

.request-submit:hover {
  background-color: white !important;
  color: black !important;
  border-color: transparent !important;
}

@media (max-width: 768px) {
  .request-demo-form {
    padding: unset;
    padding-top: 60px !important;
  }

  .form-columns {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .form-col {
    justify-content: flex-start;
    gap: 20px;
  }

  .form-group {
    margin-bottom: 10px;
  }

  .form-group input,
  .form-group textarea {
    padding: 14px 16px;
    font-size: var(--font-size-b4-mobile);
  }

  .form-group label {
    font-size: var(--font-size-b4-mobile);
  }

  .form-actions {
    margin-top: 40px;
  }

  .submit-btn {
    width: 100%;
    max-width: 300px;
    font-size: var(--font-size-b2-mobile);
  }
}

@media (max-width: 430px) {
  .request-demo-form {
    padding: unset;
    padding-top: 0px;
  }

  .form-columns {
    gap: 16px;
  }

  .form-col {
    justify-content: flex-start;
    gap: 16px;
  }

  .form-group {
    gap: 8px;
  }

  .form-group input,
  .form-group textarea {
    padding: 12px 16px;
    border-radius: 32px;
  }

  .form-group textarea {
    border-radius: 16px;
    min-height: 100px;
  }

  .form-actions {
    margin-top: 32px;
  }

  .submit-btn {
    height: 48px;
    border-radius: 32px;
  }
}

/* Request-demo form submit status (JS-inserted on success/error) */
.form-status {
  font-family: var(--font-family-primary);
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 24px;
}

.form-status-error {
  background: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.4);
  color: #fca5a5;
  font-size: var(--font-size-b4);
}

.form-status-success {
  text-align: center;
  padding: 60px 24px;
}

.form-status-success h3 {
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-semibold);
  color: white;
  margin: 0 0 12px 0;
}

.form-status-success p {
  font-size: var(--font-size-b2);
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* ------------------------------------------------------------------ */
/* Legal / Privacy pages — no CSS for these classes existed anywhere   */
/* in the fetched theme (page-specific, never shipped as a shared      */
/* stylesheet), so this is new styling to make the content readable.   */
/* ------------------------------------------------------------------ */
.legal-page-overlay {
  background-color: #ffffff;
  padding: 160px 24px 80px;
  display: flex;
  justify-content: center;
}

.legal-page-modal {
  position: relative;
  width: 100%;
  max-width: 760px;
}

.legal-content {
  width: 100%;
}

.legal-header {
  margin-bottom: 16px;
}

.legal-title {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary-bg);
  margin: 0 0 8px 0;
}

.legal-date {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-b4);
  font-weight: var(--font-weight-regular);
  color: rgba(33, 42, 53, 0.6);
  margin: 0;
}

.legal-divider {
  height: 1px;
  width: 100%;
  background-color: rgba(33, 42, 53, 0.15);
  border: none;
  margin: 24px 0 40px 0;
}

.legal-body {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-b4);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-body);
  color: var(--color-primary-bg);
}

.legal-body p {
  margin: 0 0 20px 0;
}

.legal-body h3 {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-b1);
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary-bg);
  margin: 32px 0 16px 0;
}

.legal-body ul {
  margin: 0 0 20px 0;
  padding-left: 20px;
}

.legal-body li {
  margin-bottom: 10px;
}

.legal-body hr {
  border: none;
  border-top: 1px solid rgba(33, 42, 53, 0.15);
  margin: 32px 0;
}

.legal-body a {
  color: var(--color-secondary);
}

.legal-highlight {
  color: var(--color-primary-bg);
}

/* .legal-close-btn is a no-op back-to-home link on this static site */
.legal-close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(33, 42, 53, 0.2);
  color: var(--color-primary-bg);
  background: transparent;
  text-decoration: none;
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
}

@media (max-width: 430px) {
  .legal-page-overlay {
    padding: 130px 24px 56px;
  }
}

/* ------------------------------------------------------------------ */
/* Persona problem/solution split (inspired by xsquare.biz's           */
/* "collecting from customers? / paying suppliers?" framing)           */
/* ------------------------------------------------------------------ */
.persona-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.persona-split.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.persona-card {
  background: linear-gradient(
    86.16deg,
    rgba(33, 42, 53, 0.8) 13.14%,
    rgba(33, 42, 53, 0.056) 190.29%
  );
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0px 2.51px 62.67px 0px rgba(69, 42, 124, 0.1);
}

.persona-card-label {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-b3);
  font-weight: var(--font-weight-medium);
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 20px 0;
}

.persona-pain-list {
  list-style: none;
  margin: 0 0 28px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.persona-pain-list li {
  position: relative;
  padding-left: 20px;
  font-family: var(--font-family-primary);
  font-size: var(--font-size-b4);
  font-weight: var(--font-weight-light);
  color: rgba(255, 255, 255, 0.55);
  line-height: var(--line-height-body);
}

.persona-pain-list li::before {
  content: "\2014";
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, 0.3);
}

.persona-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin: 0 0 28px 0;
}

.persona-solution-title {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-b1);
  font-weight: var(--font-weight-medium);
  color: white;
  margin: 0 0 12px 0;
}

.persona-solution-desc {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-b4);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-body);
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

@media (max-width: 1024px) {
  .persona-split.cols-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .persona-split {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .persona-card {
    padding: 28px;
  }
}

/* ------------------------------------------------------------------ */
/* Compliance badge grid (inspired by xsquare.biz's "Built for the     */
/* GCC" section) — only confirmed facts get a solid badge; anything    */
/* not yet finalized gets an honest "pending" badge, not a fabricated  */
/* claim.                                                              */
/* ------------------------------------------------------------------ */
.trust-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.trust-badge {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 24px;
}

.trust-badge-title {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-b3);
  font-weight: var(--font-weight-semibold);
  color: white;
  margin: 0 0 8px 0;
}

.trust-badge-desc {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-b4);
  font-weight: var(--font-weight-light);
  line-height: var(--line-height-body);
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

.trust-badge.pending {
  border-style: dashed;
  opacity: 0.7;
}

@media (max-width: 768px) {
  .trust-badges {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

@media (max-width: 430px) {
  .trust-badges {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------------ */
/* Pricing page — "reach out for pricing" category cards. A compact    */
/* card grid instead of repeating a giant heading three times.         */
/* ------------------------------------------------------------------ */
.pricing-categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.pricing-category-card {
  border: 1px solid rgba(33, 42, 53, 0.12);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
}

.pricing-category-label {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-b3);
  font-weight: var(--font-weight-medium);
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

.pricing-category-desc {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-b4);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-body);
  color: rgba(33, 42, 53, 0.7);
  margin: 0;
  flex: 1;
}

.pricing-category-cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-family-primary);
  font-size: var(--font-size-b4);
  font-weight: var(--font-weight-medium);
  color: white;
  background-color: var(--color-primary-bg);
  padding: 10px 20px;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.pricing-category-cta:hover {
  background-color: var(--color-primary);
  transform: translateY(-2px);
}

/* ------------------------------------------------------------------ */
/* Home hero — rotating second line ("get paid faster" / "finance      */
/* your working capital" / etc.), styled in the brand gold and cycled  */
/* by assets/js/hero-rotator.js. A fixed min-height keeps the bento    */
/* images below from jumping as the phrase length changes.             */
/* ------------------------------------------------------------------ */
.hero-title-rotate-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
}

.hero-title-rotate {
  color: var(--color-primary);
}

.hero-rotate-text {
  display: inline-block;
  transition: opacity 0.4s ease;
}

.hero-rotate-text.fading {
  opacity: 0;
}

@media (max-width: 768px) {
  .hero-title-rotate-wrap {
    min-height: 100px;
  }
}

@media (max-width: 430px) {
  .hero-title-rotate-wrap {
    min-height: 80px;
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .pricing-categories-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
