/* ==========================================================================
   OUR PRODUCTS SECTION — Premium SaaS Showcase
   Layout: Horizontal card split (content left | device visual right)
   ========================================================================== */

/* ─── Section Wrapper ──────────────────────────────────────────────────────── */
.fda-products-section {
  position: relative;
  padding-top: 80px;
  padding-bottom: 80px;
  background: var(--hero-bg);
  overflow: hidden;
}

/* Ambient background glows */
.fda-products-glow-left {
  position: absolute;
  top: -120px;
  left: -220px;
  width: 750px;
  height: 750px;
  background: radial-gradient(circle, rgba(108, 93, 211, 0.14) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(70px);
  animation: fda-products-glow-breathe 8s ease-in-out infinite alternate;
}

.fda-products-glow-right {
  position: absolute;
  bottom: -120px;
  right: -220px;
  width: 750px;
  height: 750px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(70px);
  animation: fda-products-glow-breathe 10s ease-in-out infinite alternate-reverse;
}

@keyframes fda-products-glow-breathe {
  0% {
    opacity: 0.5;
    transform: scale(1);
  }

  100% {
    opacity: 1;
    transform: scale(1.12);
  }
}

/* ─── Section Header ────────────────────────────────────────────────────────── */
.fda-products-header {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-bottom: 52px;
}

.fda-products-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.fda-products-eyebrow-line {
  display: block;
  width: 32px;
  height: 1.5px;
  background: var(--gradient-primary);
  border-radius: 2px;
  opacity: 0.7;
}

.fda-products-eyebrow-dot {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gradient-primary);
  animation: pulseGlow 2s infinite ease-in-out;
}

.fda-products-eyebrow-text {
  font-family: var(--font-primary);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.fda-products-heading {
  font-family: var(--font-primary);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: var(--fw-extrabold);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  color: var(--color-text-light);
  margin-bottom: 20px;
}

.fda-products-heading-block {
  display: block;
}

.fda-products-desc {
  font-family: var(--font-secondary);
  font-size: var(--fs-md);
  line-height: var(--lh-loose);
  color: var(--color-text-muted);
  max-width: 640px;
  margin: 0 auto;
}

/* ─── Product Cards Row ─────────────────────────────────────────────────────── */
.fda-products-row {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 24px;
}

/* ─── Individual Product Card ─────────────────────────────────────────────────
   LAYOUT: Horizontal — left column = text content, right column = device visual
   ─────────────────────────────────────────────────────────────────────────── */
.fda-product-card {
  flex: 1 1 100%;
  width: 100%;
  position: relative;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background: var(--color-bg-panel);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  display: flex;
  flex-direction: row;
  /* ← HORIZONTAL split */
  min-height: 500px;
  transition:
    transform var(--transition-smooth),
    border-color var(--transition-smooth),
    box-shadow var(--transition-smooth);
  will-change: transform;
}

.fda-product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(108, 93, 211, 0.09) 0%, transparent 55%);
  opacity: 0;
  transition: opacity var(--transition-smooth);
  pointer-events: none;
  border-radius: inherit;
  z-index: 0;
}

.fda-product-card:hover::before {
  opacity: 1;
}

/* ─── LEFT COLUMN: Text Content ─────────────────────────────────────────────── */
.fda-product-card-content {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 16px 8px 16px 16px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

/* PropNetwork card: smaller content column, larger visual for the phone mockup */
#product-card-propnetwork .fda-product-card-content {
  flex: 0 0 70%;
  max-width: 70%;
}

#product-card-propnetwork .fda-product-visual {
  flex: 1 1 70%;
  max-width: 70%;
}

/* ─── Vertical Divider (between content and visual) ─────────────────────────── */
.fda-product-card-divider {
  width: 1px;
  flex-shrink: 0;
  align-self: stretch;
  background: linear-gradient(180deg,
      transparent 5%,
      var(--color-border) 25%,
      var(--color-border) 75%,
      transparent 95%);
  z-index: 1;
}

/* ─── RIGHT COLUMN: Device Visual ───────────────────────────────────────────── */
.fda-product-visual {
  flex: 1;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  padding: 20px 0px 20px 0px;
}

/* ─── Product Brand Header ──────────────────────────────────────────────────── */
.fda-product-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.fda-product-logo-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(108, 93, 211, 0.35);
  transition: box-shadow var(--transition-smooth), transform var(--transition-smooth);
}

.fda-product-card:hover .fda-product-logo-wrap {
  box-shadow: 0 6px 24px rgba(108, 93, 211, 0.5);
  transform: rotate(-3deg) scale(1.05);
}

.fda-product-logo-wrap svg,
.fda-product-logo-wrap img {
  width: 26px;
  height: 26px;
  color: #ffffff;
  display: block;
}

.fda-product-logo-wrap img {
  object-fit: contain;
}

.fda-product-name {
  font-family: var(--font-primary);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  color: var(--color-text-light);
  letter-spacing: var(--ls-tight);
  line-height: 1.1;
}

/* ─── Subtitle ──────────────────────────────────────────────────────────────── */
.fda-product-subtitle {
  font-family: var(--font-primary);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  letter-spacing: var(--ls-normal);
}

/* ─── Content Hierarchy Panels ──────────────────────────────────────────────── */
.fda-product-copy-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 22px;
}

.fda-product-intro-panel {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(108, 93, 211, 0.12);
  background:
    linear-gradient(180deg, rgba(108, 93, 211, 0.08) 0%, rgba(108, 93, 211, 0.03) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.fda-product-copy-label {
  display: inline-block;
  font-family: var(--font-primary);
  font-size: 0.64rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent-purple);
  margin-bottom: 8px;
}

.fda-product-intro-text {
  font-family: var(--font-secondary);
  font-size: var(--fs-sm);
  line-height: 1.55;
  color: var(--color-text-light);
  margin: 0;
}

.fda-product-copy-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fda-product-copy-panel {
  padding: 14px 15px 15px;
  border-radius: 18px;
  border: 1px solid rgba(108, 93, 211, 0.12);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fda-product-copy-panel--highlights {
  background: rgba(108, 93, 211, 0.04);
}

.fda-product-copy-title {
  font-family: var(--font-primary);
  font-size: 0.72rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin: 0;
}

.fda-product-copy-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
}

.fda-product-copy-list li {
  position: relative;
  padding-left: 14px;
  font-family: var(--font-secondary);
  font-size: var(--fs-xs);
  line-height: 1.45;
  color: var(--color-text-muted);
}

.fda-product-copy-list li::before {
  content: '';
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gradient-primary);
  box-shadow: 0 0 8px rgba(108, 93, 211, 0.45);
}

.fda-product-copy-list--two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fda-product-highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.fda-product-highlight-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(108, 93, 211, 0.14);
  background: rgba(108, 93, 211, 0.08);
  color: var(--color-text-light);
  font-family: var(--font-primary);
  font-size: 0.72rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.02em;
  text-align: center;
}

/* ─── Feature List ───────────────────────────────────────────────────────────── */
.fda-product-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px 12px;
}

.fda-product-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fda-product-feature-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gradient-primary);
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(108, 93, 211, 0.5);
}

.fda-product-feature-text {
  font-family: var(--font-secondary);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--color-text-muted);
  letter-spacing: 0.01em;
}

/* ─── CTA Button ──────────────────────────────────────────────────────────────── */
.fda-product-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px 10px 20px;
  border-radius: 15px;
  background: var(--gradient-primary);
  color: #ffffff;
  font-family: var(--font-primary);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  text-decoration: none;
  transition:
    transform var(--transition-smooth),
    box-shadow var(--transition-smooth),
    opacity var(--transition-smooth);
  align-self: flex-start;
  margin-top: auto;
  box-shadow: 0 4px 20px rgba(108, 93, 211, 0.35);
}

.fda-product-cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 28px rgba(108, 93, 211, 0.5);
  color: #ffffff;
  opacity: 0.95;
}

.fda-product-cta:active {
  transform: translateY(0) scale(0.99);
}

.fda-product-cta-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: background var(--transition-smooth), transform var(--transition-smooth);
  flex-shrink: 0;
}

.fda-product-cta:hover .fda-product-cta-arrow {
  background: rgba(255, 255, 255, 0.3);
  transform: translateX(3px);
}

.fda-product-cta-arrow svg {
  width: 14px;
  height: 14px;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   FIRSTCRM VISUAL
   Laptop frame fills the right panel, phone overlaps bottom-right corner
   ═══════════════════════════════════════════════════════════════════════════════ */
.fda-crm-visual {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: start;
  padding: 0 20px 0 16px;
}

.fda-crm-laptop-wrap {
  position: relative;
  width: 100%;
}

.fda-crm-laptop-frame {
  position: relative;
  width: 100%;
  background: linear-gradient(145deg, #1a1828 0%, #0f0e1a 100%);
  border-radius: 10px 10px 0 0;
  border: 1.5px solid rgba(108, 93, 211, 0.3);
  border-bottom: none;
  overflow: hidden;
  box-shadow:
    0 -12px 48px rgba(0, 0, 0, 0.4),
    0 0 24px rgba(108, 93, 211, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* macOS-style browser chrome bar */
.fda-crm-laptop-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.fda-crm-chrome-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.fda-crm-chrome-dot:nth-child(1) {
  background: #FF5F57;
}

.fda-crm-chrome-dot:nth-child(2) {
  background: #FEBC2E;
}

.fda-crm-chrome-dot:nth-child(3) {
  background: #28C840;
}

.fda-crm-laptop-screen {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: top left;
  height: 300px;
}

/* Laptop bottom hinge strip */
.fda-crm-laptop-base {
  height: 10px;
  background: linear-gradient(180deg, #1e1c2d 0%, #0f0e1a 100%);
  border-radius: 0 0 5px 5px;
  border: 1.5px solid rgba(108, 93, 211, 0.18);
  border-top: none;
}

/* Phone overlapping bottom-right of laptop */
.fda-crm-phone-overlay {
  position: absolute;
  right: 24px;
  bottom: 0;
  width: 28%;
  max-width: 226px;
  z-index: 4;
}

.fda-crm-phone-frame {
  position: relative;
  background: linear-gradient(145deg, #1a1828, #0f0e1a);
  border-radius: 22px;
  border: 2px solid rgba(108, 93, 211, 0.4);
  overflow: hidden;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.6),
    0 0 24px rgba(108, 93, 211, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.fda-crm-phone-notch {
  height: 6px;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}

.fda-crm-phone-notch-inner {
  width: 30%;
  height: 4px;
  background: #000;
  border-radius: 0 0 4px 4px;
}

.fda-crm-phone-screen {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: top;
  height: 316px;
}

@keyframes fda-products-float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   PROPNETWORK VISUAL
   Large centered phone mockup
   ═══════════════════════════════════════════════════════════════════════════════ */
.fda-propnet-visual {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px 10px;
}

.fda-propnet-phone-container {
  position: relative;
  width: 68%;
  max-width: 260px;
  flex-shrink: 0;
}

.fda-propnet-phone-frame {
  position: relative;
  background: linear-gradient(145deg, #1a1828, #0f0e1a);
  border-radius: 32px;
  border: 2.5px solid rgba(108, 93, 211, 0.35);
  overflow: hidden;
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.55),
    0 0 36px rgba(108, 93, 211, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.fda-propnet-phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 38%;
  height: 10px;
  background: linear-gradient(145deg, #1a1828, #0f0e1a);
  border-radius: 0 0 12px 12px;
  z-index: 5;
  border: 2px solid rgba(108, 93, 211, 0.2);
  border-top: none;
}

.fda-propnet-phone-screen {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: top;
  border-radius: 30px;
  max-height: 550px;
}

/* ─── Bottom Highlights Strip ─────────────────────────────────────────────── */
.fda-products-highlights {
  position: relative;
  z-index: 2;
  border-radius: 16px;
  border: 1px solid var(--color-border);
  background: var(--color-bg-panel);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.fda-products-highlight-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 24px 20px;
  position: relative;
  transition: background var(--transition-fast);
}

.fda-products-highlight-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 20%;
  right: 0;
  height: 60%;
  width: 1px;
  background: var(--color-border);
}

.fda-products-highlight-item:hover {
  background: var(--color-bg-panel-hover);
}

.fda-highlight-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(108, 93, 211, 0.1);
  border: 1px solid rgba(108, 93, 211, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-smooth), border-color var(--transition-smooth);
}

.fda-products-highlight-item:hover .fda-highlight-icon-wrap {
  background: rgba(108, 93, 211, 0.18);
  border-color: rgba(108, 93, 211, 0.35);
}

.fda-highlight-icon-wrap svg {
  width: 16px;
  height: 16px;
  color: var(--color-accent-purple);
  stroke-width: 2;
}

.fda-highlight-title {
  font-family: var(--font-primary);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-text-light);
  line-height: 1.3;
}

.fda-highlight-desc {
  font-family: var(--font-secondary);
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  line-height: var(--lh-base);
  margin: 0;
}

/* ─── Light Theme Overrides ────────────────────────────────────────────────── */
[data-theme="light"] .fda-product-card {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(108, 93, 211, 0.1);
  box-shadow: 0 4px 24px rgba(108, 93, 211, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .fda-product-card:hover {
  border-color: rgba(108, 93, 211, 0.28);
  box-shadow: 0 16px 50px rgba(108, 93, 211, 0.12), 0 4px 16px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .fda-product-card::before {
  background: radial-gradient(ellipse at 50% 0%, rgba(108, 93, 211, 0.05) 0%, transparent 55%);
}

[data-theme="light"] .fda-product-card-divider {
  background: linear-gradient(180deg,
      transparent 5%,
      rgba(108, 93, 211, 0.12) 25%,
      rgba(108, 93, 211, 0.12) 75%,
      transparent 95%);
}

[data-theme="light"] .fda-crm-laptop-frame {
  background: linear-gradient(145deg, #F3F1FF, #ECEAFF);
  border-color: rgba(108, 93, 211, 0.2);
  box-shadow: 0 -4px 24px rgba(108, 93, 211, 0.08);
}

[data-theme="light"] .fda-crm-laptop-chrome {
  background: rgba(108, 93, 211, 0.04);
  border-bottom-color: rgba(108, 93, 211, 0.08);
}

[data-theme="light"] .fda-crm-laptop-base {
  background: linear-gradient(180deg, #E8E6F5 0%, #D8D6EF 100%);
  border-color: rgba(108, 93, 211, 0.12);
}

[data-theme="light"] .fda-crm-phone-frame {
  background: linear-gradient(145deg, #EEECff, #E5E3FF);
  border-color: rgba(108, 93, 211, 0.28);
  box-shadow: 0 12px 30px rgba(108, 93, 211, 0.14);
}

[data-theme="light"] .fda-propnet-phone-frame {
  background: linear-gradient(145deg, #EEECff, #E5E3FF);
  border-color: rgba(108, 93, 211, 0.25);
  box-shadow: 0 20px 50px rgba(108, 93, 211, 0.15);
}

[data-theme="light"] .fda-propnet-phone-notch {
  background: linear-gradient(145deg, #EEECff, #E5E3FF);
  border-color: rgba(108, 93, 211, 0.15);
}

[data-theme="light"] .fda-product-intro-panel,
[data-theme="light"] .fda-product-copy-panel {
  border-color: rgba(108, 93, 211, 0.1);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 4px 16px rgba(108, 93, 211, 0.05);
}

[data-theme="light"] .fda-product-intro-panel {
  background: linear-gradient(180deg, rgba(108, 93, 211, 0.08) 0%, rgba(108, 93, 211, 0.03) 100%);
}

[data-theme="light"] .fda-product-copy-panel--highlights {
  background: rgba(108, 93, 211, 0.05);
}

[data-theme="light"] .fda-product-intro-text {
  color: var(--color-text-dark);
}

[data-theme="light"] .fda-product-copy-title {
  color: var(--color-text-dark);
}

[data-theme="light"] .fda-product-copy-list li {
  color: var(--color-text-muted);
}

[data-theme="light"] .fda-product-highlight-pill {
  background: rgba(108, 93, 211, 0.07);
  border-color: rgba(108, 93, 211, 0.12);
  color: var(--color-text-dark);
}

[data-theme="light"] .fda-products-highlights {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(108, 93, 211, 0.1);
  box-shadow: 0 4px 24px rgba(108, 93, 211, 0.06);
}

[data-theme="light"] .fda-products-highlight-item:not(:last-child)::after {
  background: rgba(108, 93, 211, 0.1);
}

[data-theme="light"] .fda-highlight-icon-wrap {
  background: rgba(108, 93, 211, 0.07);
  border-color: rgba(108, 93, 211, 0.15);
}

[data-theme="light"] .fda-products-highlight-item:hover {
  background: rgba(108, 93, 211, 0.03);
}

[data-theme="light"] .fda-products-glow-left {
  background: radial-gradient(circle, rgba(168, 85, 247, 0.1) 0%, transparent 70%);
}

[data-theme="light"] .fda-products-glow-right {
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
}

[data-theme="light"] .fda-product-logo-wrap {
  box-shadow: 0 4px 16px rgba(108, 93, 211, 0.28);
}

/* ─── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .fda-crm-laptop-screen {
    height: 240px;
  }

  .fda-crm-phone-screen {
    height: 160px;
  }

  .fda-crm-phone-overlay {
    max-width: 108px;
  }
}

@media (max-width: 991px) {

  /* Mobile/tablet card reflow: visual appears before the copy stack */
  .fda-product-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: auto;
    min-height: auto;
  }

  .fda-product-card-content {
    display: contents;
    flex: none;
    max-width: none;
    padding: 0;
  }

  .fda-product-brand {
    grid-row: 1;
  }

  .fda-product-visual {
    grid-row: 2;
    width: 100%;
    padding: 0;
    min-height: 0;
  }

  .fda-product-card-divider {
    grid-row: 3;
    width: auto;
    height: 1px;
    align-self: stretch;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
    margin: 0 24px;
  }

  .fda-product-copy-stack {
    grid-row: 4;
    width: 100%;
  }

  .fda-product-cta {
    grid-row: 5;
    margin-top: 0;
    justify-self: start;
  }

  .fda-crm-visual {
    width: 100%;
    padding: 12px 0;
  }

  .fda-crm-laptop-screen {
    height: 200px;
  }

  .fda-crm-phone-screen {
    height: 150px;
  }

  .fda-crm-phone-overlay {
    max-width: 100px;
    right: 20px;
  }

  .fda-propnet-visual {
    width: 100%;
    padding: 8px 0;
  }

  .fda-propnet-phone-container {
    width: 92%;
    max-width: none;
  }

  .fda-propnet-phone-screen {
    max-height: 400px;
  }

  #product-card-propnetwork .fda-product-visual {
    max-width: 100% !important;
  }

  .fda-products-highlights {
    flex-direction: column;
  }

  .fda-products-highlight-item:not(:last-child)::after {
    top: unset;
    right: 20%;
    bottom: 0;
    width: 60%;
    height: 1px;
    left: 20%;
  }

  .fda-products-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .fda-products-header {
    margin-bottom: 40px;
  }
}

@media (max-width: 767px) {
  .fda-products-heading {
    font-size: 2rem;
  }

  .fda-product-name {
    font-size: 1.25rem;
  }

  .fda-product-subtitle {
    font-size: 0.72rem;
  }

  .fda-product-intro-text {
    font-size: 0.82rem;
    line-height: 1.5;
  }

  .fda-product-copy-label {
    font-size: 0.6rem;
  }

  .fda-product-copy-stack {
    gap: 12px;
  }

  .fda-product-copy-grid,
  .fda-product-copy-list,
  .fda-product-highlight-grid {
    grid-template-columns: 1fr;
  }

  .fda-product-copy-panel,
  .fda-product-intro-panel {
    width: 100%;
    max-width: none;
    margin-right: 0;
    box-sizing: border-box;
    padding: 14px 14px 15px;
  }

  .fda-product-copy-title {
    font-size: 0.68rem;
  }

  .fda-product-copy-list li {
    font-size: 0.76rem;
  }

  .fda-product-highlight-pill {
    min-height: 38px;
    padding: 9px 12px;
    font-size: 0.68rem;
  }
}

@media (max-width: 575px) {
  .fda-products-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .fda-crm-phone-overlay {
    width: 28%;
    right: 12px;
    max-width: 90px;
  }
}