/**
 * Fintradax — For Firms Page Styles
 */

/* ============================================
   FIRMS HERO
   ============================================ */
.firms-hero {
  position: relative;
  padding: 160px 0 80px;
  overflow: hidden;
}

.firms-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 30% 0%,
      rgba(74, 158, 255, 0.07) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse at 70% 80%,
      rgba(74, 158, 255, 0.04) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.firms-hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.firms-hero h1 {
  font-size: clamp(32px, 5.5vw, 56px);
  font-weight: 200;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.firms-hero-lead {
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 620px;
  margin: 0 auto 40px;
}

.firms-hero-who {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.firms-hero-who {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.who-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.who-tags span {
  display: inline-flex;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 400;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  letter-spacing: 0.01em;
}

/* ============================================
   PROBLEM
   ============================================ */
.firms-problem {
  padding: var(--section-pad) 0;
  background: var(--bg-secondary);
}

.firms-problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 72px;
}

.firms-problem-left h2 {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.firms-problem-right p {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.firms-problem-right p:last-child {
  margin-bottom: 0;
  color: var(--accent);
  font-weight: 400;
}

.problem-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.problem-stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px 28px;
}

.problem-stat-icon {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.problem-stat h4 {
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.problem-stat p {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   PLATFORM — Browser Mockup
   ============================================ */
.firms-platform {
  padding: var(--section-pad) 0;
}

.platform-demo {
  max-width: 900px;
  margin: 0 auto;
}

.demo-browser {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.browser-url {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 13px;
  color: var(--text-muted);
}

.browser-url svg {
  flex-shrink: 0;
  color: var(--accent);
  opacity: 0.6;
}

.browser-url strong {
  color: var(--text-primary);
  font-weight: 500;
}

/* Demo content area */
.demo-content {
  padding: 24px;
}

.demo-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.demo-logo-placeholder {
  display: flex;
  align-items: center;
  gap: 10px;
}

.demo-logo-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--accent), rgba(74, 158, 255, 0.4));
  opacity: 0.6;
}

.demo-logo-placeholder span {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: -0.01em;
}

.demo-nav-placeholder {
  display: flex;
  gap: 20px;
}

.demo-nav-placeholder span {
  width: 48px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.05);
}

.demo-hero-block {
  margin-bottom: 28px;
  padding: 40px 0 32px;
}

.demo-hero-text {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.demo-line {
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
}

.demo-line-lg {
  width: 70%;
}
.demo-line-md {
  width: 50%;
}
.demo-line-sm {
  width: 35%;
}
.demo-line-xs {
  width: 80%;
  height: 6px;
}

.demo-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.demo-mini-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.demo-card-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(74, 158, 255, 0.1);
  border: 1px solid rgba(74, 158, 255, 0.15);
}

/* ============================================
   FEATURES GRID
   ============================================ */
.firms-features {
  padding: var(--section-pad) 0;
  background: var(--bg-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 40px 32px;
  transition: border-color 0.35s var(--ease-out);
}

.feature-card:hover {
  border-color: var(--border-light);
}

.feature-icon {
  color: var(--text-muted);
  margin-bottom: 24px;
  transition: color 0.35s var(--ease-out);
}

.feature-card:hover .feature-icon {
  color: var(--accent);
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   TRUST / WHY WHITE-LABEL
   ============================================ */
.firms-trust {
  padding: var(--section-pad) 0;
}

.firms-trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.firms-trust-left h2 {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.firms-trust-left p {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.8;
}

.trust-benefit {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.trust-benefit:first-child {
  padding-top: 0;
}

.trust-benefit:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.trust-benefit-header {
  margin-bottom: 8px;
}

.trust-benefit-value {
  font-size: 18px;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: -0.01em;
}

.trust-benefit p {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   FIRMS CTA
   ============================================ */
.firms-cta {
  padding: 0 0 var(--section-pad);
}

/* ============================================
   RESPONSIVE — Mobile
   ============================================ */

/* Mobile defaults */
.firms-hero {
  padding: 140px 0 60px;
}

.firms-problem-grid {
  grid-template-columns: 1fr;
  gap: 32px;
}

.problem-stats {
  grid-template-columns: 1fr;
}

.features-grid {
  grid-template-columns: 1fr;
}

.firms-trust-grid {
  grid-template-columns: 1fr;
  gap: 48px;
}

.demo-cards-row {
  grid-template-columns: 1fr;
}

.firms-hero-who {
  flex-direction: column;
  align-items: flex-start;
}

/* Tablet — 768px+ */
@media (min-width: 768px) {
  .problem-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .demo-cards-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .firms-hero-who {
    flex-direction: row;
    align-items: center;
  }
}

/* Desktop — 1024px+ */
@media (min-width: 1024px) {
  .firms-problem-grid {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }

  .firms-trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
}
