/* ============================================================================
   PMDG Technologies — Sales Order Automation Styles
   ========================================================================= */

/* --- Extracted Internal CSS --- */
:root {
    --soa-accent: #3f9cb9;
    --soa-accent-hover: #32839c;
    --soa-accent-glow: rgba(63, 156, 185, 0.25);
    --soa-navy: #01022e;
    --soa-navy-deep: #00011b;
    --soa-bg-soft: #f4f8fb;
    --soa-border: #dfe8f2;
    --soa-card-bg: #ffffff;
    --soa-success: #10b981;
    --soa-warning: #f59e0b;
    --soa-danger: #ef4444;
  }

  .mrp-animated-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
  }
  .mrp-section-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    display: block;
  }
  .measure {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
    box-sizing: border-box;
    width: 100%;
  }
  .mrp-animated-section > .measure {
    position: relative;
    z-index: 1;
  }

  /* Hero Badge */
  .soa-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    background: rgba(63, 156, 185, 0.12);
    border: 1px solid rgba(63, 156, 185, 0.35);
    color: #0b6885;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.6rem;
  }
  .soa-hero-badge .pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3f9cb9;
    box-shadow: 0 0 0 0 rgba(63, 156, 185, 0.7);
    animation: soaPulse 2s infinite;
  }
  @keyframes soaPulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(63, 156, 185, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(63, 156, 185, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(63, 156, 185, 0); }
  }

  /* Feature Pills */
  .soa-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 1.25rem;
  }
  .soa-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 1rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--soa-border);
    font-size: 0.825rem;
    font-weight: 600;
    color: var(--soa-navy);
    box-shadow: 0 2px 8px rgba(1, 2, 46, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  .soa-pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(1, 2, 46, 0.08);
  }
  .soa-pill i {
    width: 15px;
    height: 15px;
    color: var(--soa-accent);
  }
  :root[data-theme="dark"] .soa-pill {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    color: #f1f5f9;
  }

  /* Lead Form Card (Above the fold & bottom) */
  .soa-lead-card {
    background: #ffffff;
    border: 1px solid var(--soa-border);
    border-radius: 14px;
    padding: 1.75rem 1.85rem;
    box-shadow: 0 16px 36px rgba(1, 2, 46, 0.09);
    position: relative;
    overflow: hidden;
  }
  .soa-lead-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3f9cb9, #01022e);
  }
  .soa-lead-card h3 {
    color: var(--soa-navy);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
  }
  .soa-lead-card p {
    color: #64748b;
    font-size: 0.85rem;
    line-height: 1.45;
    margin-bottom: 1rem;
  }

  .soa-input-group {
    margin-bottom: 0.75rem;
    text-align: left;
  }
  .soa-input-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.25rem;
  }
  .soa-input-group input,
  .soa-input-group select,
  .soa-input-group textarea {
    width: 100%;
    padding: 0.6rem 0.85rem;
    border-radius: 7px;
    border: 1.5px solid #cbd5e1;
    font-size: 0.875rem;
    color: #0f172a;
    background: #f8fafc;
    transition: all 0.2s ease;
    outline: none;
    font-family: inherit;    resize: vertical;

  }
  .soa-input-group input:focus,
  .soa-input-group select:focus,
  .soa-input-group textarea:focus {
    border-color: var(--soa-accent);
    background: #ffffff;
    box-shadow: 0 0 0 3px var(--soa-accent-glow);
  }

  .soa-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.85rem 1.5rem;
    border-radius: 8px;
    background: var(--soa-accent);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(63, 156, 185, 0.25);
  }
  .soa-btn-primary:hover {
    background: var(--soa-accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(63, 156, 185, 0.35);
  }

  /* Order Management Console Frame */
  .soa-console-frame {
    background: #01022e;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 40px rgba(1, 2, 46, 0.25);
    overflow: hidden;
    margin-top: 1rem;
    color: #f8fafc;
  }
  .soa-console-header {
    background: #00011b;
    padding: 0.65rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .soa-console-dots {
    display: flex;
    gap: 0.35rem;
  }
  .soa-console-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
  }
  .soa-console-body {
    padding: 1.15rem;
  }

  /* Order Pipeline Flow Tracker */
  .soa-flow-tracker {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 8px;
    padding: 0.65rem 0.5rem;
    margin-bottom: 0.85rem;
    text-align: center;
  }
  .soa-flow-step {
    padding: 0.25rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
  }
  .soa-flow-step.done {
    background: rgba(16, 185, 129, 0.18);
    color: #6ee7b7;
    border: 1px solid rgba(16, 185, 129, 0.3);
  }
  .soa-flow-step.active {
    background: rgba(63, 156, 185, 0.25);
    color: #7dd3fc;
    border: 1px solid rgba(63, 156, 185, 0.5);
  }
  .soa-flow-step.pending {
    color: #64748b;
  }

  /* Active Order Execution Row */
  .soa-order-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
  }
  .soa-order-card {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 8px;
    padding: 0.75rem 0.9rem;
    font-size: 0.8rem;
  }
  .soa-order-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.35rem;
  }

  /* Problem Cards Grid */
  .soa-problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
  .soa-problem-card {
    background: #ffffff;
    border: 1px solid var(--soa-border);
    border-radius: 12px;
    padding: 1.6rem 1.4rem;
    box-shadow: 0 4px 15px rgba(1, 2, 46, 0.035);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  .soa-problem-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(1, 2, 46, 0.08);
    border-color: rgba(63, 156, 185, 0.45);
  }
  /* Reduce card padding in order-challenges section on desktop */
  @media (min-width: 993px) {
    #order-challenges .soa-problem-card {
      padding: 0.85rem 0.9rem;
    }
  }
  .soa-problem-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(239, 68, 68, 0.09);
    color: #dc2626;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
  }

  /* Solution Feature Blocks */
  .soa-solution-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .soa-solution-card {
    background: #ffffff;
    border: 1px solid var(--soa-border);
    border-radius: 14px;
    padding: 1.15rem 1.25rem;
    box-shadow: 0 4px 16px rgba(1, 2, 46, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .soa-solution-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(1, 2, 46, 0.09);
    border-color: rgba(63, 156, 185, 0.5);
  }
  /* Reduce card padding in solution-section on desktop */
  @media (min-width: 993px) {
    #solution-section .soa-solution-card {
      padding: 1.15rem 1.25rem;
    }
  }
  .soa-solution-header {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1rem;
  }
  .soa-solution-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(63, 156, 185, 0.12);
    color: var(--soa-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .soa-benefit-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    font-size: 0.775rem;
    font-weight: 700;
    margin-top: 1rem;
    align-self: flex-start;
  }

  /* Process Steps Grid */
  .soa-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    position: relative;
  }
  .soa-step-card {
    background: #ffffff;
    border: 1px solid var(--soa-border);
    border-radius: 12px;
    padding: 1.75rem 1.4rem;
    box-shadow: 0 4px 14px rgba(1, 2, 46, 0.035);
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }
  .soa-step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(1, 2, 46, 0.08);
  }
  /* Reduce card padding in how-it-works section on desktop */
  @media (min-width: 993px) {
    #how-it-works .soa-step-card {
      padding: 0.85rem 0.95rem;
    }
  }
  .soa-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--soa-navy);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 1rem;
  }

  /* Benefits Grid */
  .soa-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
  .soa-benefit-card {
    background: #ffffff;
    border: 1px solid var(--soa-border);
    border-radius: 12px;
    padding: 1.6rem 1.4rem;
    box-shadow: 0 4px 14px rgba(1, 2, 46, 0.035);
    transition: all 0.25s ease;
  }
  .soa-benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(1, 2, 46, 0.08);
    border-color: rgba(63, 156, 185, 0.45);
  }

  /* FAQ Accordion */
  .soa-faq-item {
    background: #ffffff;
    border: 1px solid var(--soa-border);
    border-radius: 10px;
    margin-bottom: 0.85rem;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }
  .soa-faq-item:hover {
    border-color: rgba(63, 156, 185, 0.45);
  }
  .soa-faq-question {
    padding: 1.2rem 1.4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    color: var(--soa-navy);
    font-size: 1rem;
    user-select: none;
  }
  .soa-faq-icon {
    transition: transform 0.25s ease;
    color: var(--soa-accent);
  }
  .soa-faq-answer {
    padding: 0 1.4rem 1.2rem 1.4rem;
    color: #475569;
    font-size: 0.925rem;
    line-height: 1.65;
    display: none;
  }
  .soa-faq-item.active .soa-faq-answer {
    display: block;
  }
  .soa-faq-item.active .soa-faq-icon {
    transform: rotate(180deg);
  }

/* --- Extracted Inline Utility Classes (Desktop Defaults) --- */
.so-s-1 { padding-top: 4.85rem; padding-bottom: 1.25rem; }
.so-s-2 { display: grid; grid-template-columns: 1.22fr 1fr; gap: 2.25rem; align-items: flex-start; position: relative; z-index: 1; }
.so-s-3 { margin-top: 0.35rem !important; margin-bottom: 0.75rem; font-size: clamp(1.85rem, 1.1rem + 2.8vw, 3.4rem); line-height: 1.15; color: var(--soa-navy); font-weight: 800; }
.so-s-4 { background: linear-gradient(135deg, #01022e 20%, #3f9cb9 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.so-s-5 { margin-top: 0.5rem; font-size: 1.05rem; line-height: 1.6; color: #475569; max-width: 58ch; margin-bottom: 1rem; }
.so-s-6 { background: #ef4444; }
.so-s-7 { background: #f59e0b; }
.so-s-8 { background: #10b981; }
.so-s-9 { font-size: 0.75rem; color: #94a3b8; font-family: monospace; display: flex; align-items: center; gap: 0.45rem; }
.so-s-10 { width: 14px; height: 14px; color: #3f9cb9; }
.so-s-11 { font-size: 0.7rem; background: rgba(16, 185, 129, 0.2); color: #6ee7b7; padding: 2px 8px; border-radius: 4px; font-weight: 600; }
.so-s-12 { width: 12px; height: 12px; display: inline-block; vertical-align: middle; }
.so-s-13 { color: #94a3b8; font-size: 0.7rem; text-transform: uppercase; }
.so-s-14 { color: #4ade80; font-weight: 700; font-size: 0.75rem; }
.so-s-15 { color: #fff; font-weight: 600; margin-bottom: 0.2rem; }
.so-s-16 { color: #94a3b8; font-size: 0.75rem; }
.so-s-17 { color: #38bdf8; font-weight: 700; font-size: 0.75rem; }
.so-s-18 { color: #facc15; font-weight: 700; font-size: 1.05rem; }
.so-s-19 { color: #94a3b8; font-size: 0.725rem; }
.so-s-20 { background: rgba(63, 156, 185, 0.12); border: 1px solid rgba(63, 156, 185, 0.3); border-radius: 8px; padding: 0.65rem 0.85rem; display: flex; align-items: center; justify-content: space-between; font-size: 0.775rem; }
.so-s-21 { display: flex; align-items: center; gap: 0.5rem; color: #bae6fd; }
.so-s-22 { width: 16px; height: 16px; color: #38bdf8; flex-shrink: 0; }
.so-s-23 { background: #10b981; color: #fff; font-size: 0.675rem; font-weight: 700; padding: 2px 7px; border-radius: 4px; flex-shrink: 0; }
.so-s-24 { display:none !important; }
.so-s-25 { margin-top: 0.5rem; }
.so-s-26 { font-size: 0.72rem; color: #94a3b8; text-align: center; margin-top: 0.6rem; }
.so-s-27 { padding: 1.5rem 0; background: var(--soa-bg-soft); border-top: 1px solid var(--soa-border); border-bottom: 1px solid var(--soa-border); }
.so-s-28 { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.so-s-29 { font-size: 0.85rem; font-weight: 700; color: #475569; text-transform: uppercase; letter-spacing: 0.05em; display: flex; align-items: center; gap: 0.5rem; }
.so-s-30 { width: 16px; height: 16px; color: var(--soa-accent); }
.so-s-31 { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
.so-s-32 { font-size: 0.775rem; background: #ffffff; }
.so-s-33 { padding: 2.25rem 0; background: #ffffff; }
.so-s-34 { max-width: 820px; margin: 0 auto 2.25rem auto; text-align: center; }
.so-s-35 { background: rgba(239, 68, 68, 0.1); border-color: rgba(239, 68, 68, 0.25); color: #dc2626; }
.so-s-36 { width: 14px; height: 14px; }
.so-s-37 { font-size: clamp(1.75rem, 1rem + 2vw, 2.5rem); color: var(--soa-navy); font-weight: 800; line-height: 1.25; margin-top: 0.5rem; margin-bottom: 0.85rem; }
.so-s-38 { color: #64748b; font-size: 1.05rem; line-height: 1.6; }
.so-s-39 { width: 22px; height: 22px; }
.so-s-40 { color: var(--soa-navy); font-size: 1.15rem; font-weight: 700; margin-bottom: 0.45rem; }
.so-s-41 { color: #475569; font-size: 0.9rem; line-height: 1.55; margin: 0; }
.so-s-42 { padding: 2.25rem 0; background: var(--soa-bg-soft); }
.so-s-43 { width: 24px; height: 24px; }
.so-s-44 { color: var(--soa-navy); font-size: 1.25rem; font-weight: 700; margin: 0; }
.so-s-45 { color: #475569; font-size: 0.925rem; line-height: 1.6; margin-bottom: 0.75rem; }
.so-s-46 { color: #64748b; font-size: 0.85rem; line-height: 1.6; padding-left: 1.2rem; margin: 0; }
.so-s-47 { color: var(--soa-navy); font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem; }
.so-s-48 { color: #475569; font-size: 0.875rem; line-height: 1.6; margin: 0; }
.so-s-49 { display: flex; align-items: center; gap: 0.65rem; margin-bottom: 0.75rem; }
.so-s-50 { width: 22px; height: 22px; color: var(--soa-accent); }
.so-s-51 { color: var(--soa-navy); font-size: 1.15rem; font-weight: 700; margin: 0; }
.so-s-52 { color: #475569; font-size: 0.9rem; line-height: 1.6; margin: 0; }
.so-s-53 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.so-s-54 { border-left: 4px solid var(--soa-accent); }
.so-s-55 { font-size: 0.75rem; text-transform: uppercase; font-weight: 700; color: var(--soa-accent); margin-bottom: 0.35rem; }
.so-s-56 { display: grid; grid-template-columns: 1.15fr 1fr; gap: 2.75rem; align-items: flex-start; position: relative; z-index: 1; }
.so-s-57 { font-size: clamp(1.6rem, 1rem + 1.8vw, 2.2rem); color: var(--soa-navy); font-weight: 800; line-height: 1.25; margin-top: 0.5rem; margin-bottom: 1.5rem; }
.so-s-58 { width: 18px; height: 18px; }
.so-s-59 { box-shadow: 0 20px 45px rgba(1, 2, 46, 0.1); }
.so-s-60 { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: 0.875rem; color: #64748b; }
.so-s-61 { display: flex; gap: 1.5rem; }
.so-s-62 { color: #64748b; text-decoration: none; transition: color 0.2s; }
.so-s-62:hover { color: #01022e; }

/* Dark Theme Contrast & Typography Overrides */
:root[data-theme="dark"] .so-s-3,
:root[data-theme="dark"] .so-s-37,
:root[data-theme="dark"] .so-s-40,
:root[data-theme="dark"] .so-s-44,
:root[data-theme="dark"] .so-s-47,
:root[data-theme="dark"] .so-s-51,
:root[data-theme="dark"] .so-s-57,
:root[data-theme="dark"] .soa-client-wall-title,
:root[data-theme="dark"] .soa-lead-card h3 {
  color: #f8fafc !important;
}
:root[data-theme="dark"] .so-s-4 {
  background: linear-gradient(135deg, #ffffff 20%, #38bdf8 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}
:root[data-theme="dark"] .so-s-5,
:root[data-theme="dark"] .so-s-38,
:root[data-theme="dark"] .so-s-41,
:root[data-theme="dark"] .so-s-45,
:root[data-theme="dark"] .so-s-48,
:root[data-theme="dark"] .so-s-52,
:root[data-theme="dark"] .soa-client-wall-desc,
:root[data-theme="dark"] .soa-lead-card p {
  color: #94a3b8 !important;
}
:root[data-theme="dark"] .soa-problem-card,
:root[data-theme="dark"] .soa-solution-card,
:root[data-theme="dark"] .soa-step-card,
:root[data-theme="dark"] .soa-benefit-card,
:root[data-theme="dark"] .soa-lead-card,
:root[data-theme="dark"] .soa-faq-item {
  background: rgba(15, 23, 42, 0.75) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}
:root[data-theme="dark"] .soa-faq-question {
  color: #f8fafc !important;
}
:root[data-theme="dark"] .soa-faq-answer {
  color: #94a3b8 !important;
}
:root[data-theme="dark"] .soa-input-group label {
  color: #cbd5e1 !important;
}
:root[data-theme="dark"] .soa-input-group input,
:root[data-theme="dark"] .soa-input-group select,
:root[data-theme="dark"] .soa-input-group textarea {
  background: #0b1120 !important;
  border-color: #334155 !important;
  color: #f8fafc !important;
}
:root[data-theme="dark"] .so-s-27,
:root[data-theme="dark"] .so-s-42 {
  background: rgba(255, 255, 255, 0.02) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}
:root[data-theme="dark"] .so-s-33 {
  background: transparent !important;
}

/* ============================================================================
   ENTERPRISE TRUST & CLIENT LOGO WALL (DESKTOP STYLING)
   ========================================================================= */
.soa-client-wall-section {
  padding: 3.25rem 0;
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-top: 1px solid var(--soa-border);
}
.soa-client-wall-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 1.75rem auto;
}
.soa-badge-center {
  display: flex;
  justify-content: center;
  margin-bottom: 0.75rem;
}
.soa-client-wall-title {
  font-size: clamp(1.65rem, 1.25rem + 1.2vw, 2.35rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--soa-navy);
  margin-bottom: 0.75rem;
}
.soa-client-wall-desc {
  font-size: 0.98rem;
  line-height: 1.65;
  color: #64748b;
  max-width: 720px;
  margin: 0 auto;
}
.soa-client-wall-card {
  background: #ffffff;
  border: 1px solid var(--soa-border);
  border-radius: 14px;
  box-shadow: 0 12px 36px -12px rgba(1, 2, 46, 0.08);
  overflow: hidden;
}
:root[data-theme="dark"] .soa-client-wall-card {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.08);
}
.soa-client-wall-subhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding: 0.85rem 1.35rem;
  border-bottom: 1px solid var(--soa-border);
  background: #f8fafc;
}
:root[data-theme="dark"] .soa-client-wall-subhead {
  background: rgba(255, 255, 255, 0.03);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.soa-client-wall-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--soa-accent);
}
.soa-client-wall-badge i {
  width: 14px;
  height: 14px;
}
.soa-client-wall-subtext {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 500;
}
.soa-client-logo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: var(--soa-border);
  gap: 1px;
}
:root[data-theme="dark"] .soa-client-logo-grid {
  background: rgba(255, 255, 255, 0.08);
}
.soa-logo-tile {
  background: #ffffff;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.15rem 1rem;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}
:root[data-theme="dark"] .soa-logo-tile {
  background: #f0f4f8; /* Crisp light tile so authentic logo colors pop in both themes */
}
.soa-logo-tile:hover {
  background: #ffffff;
  z-index: 2;
  box-shadow: inset 0 0 0 1px var(--soa-accent), 0 4px 16px rgba(1, 2, 46, 0.08);
}
.soa-logo-tile img {
  height: 2.2rem;
  width: auto;
  max-width: 82%;
  object-fit: contain;
  filter: none;
  opacity: 1;
  transition: filter 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}
.soa-logo-tile:hover img {
  transform: scale(1.06);
}
.soa-client-erp-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.85rem;
  padding: 0.85rem 1.35rem;
  border-top: 1px solid var(--soa-border);
  background: #f8fafc;
}
:root[data-theme="dark"] .soa-client-erp-strip {
  background: rgba(255, 255, 255, 0.03);
  border-top-color: rgba(255, 255, 255, 0.08);
}
.soa-client-erp-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--soa-navy);
}
.soa-client-erp-label i {
  width: 15px;
  height: 15px;
  color: var(--soa-accent);
}
.soa-client-erp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}
.soa-erp-pill {
  font-size: 0.72rem;
  font-weight: 600;
  color: #334155;
  background: #ffffff;
  border: 1px solid var(--soa-border);
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
}
:root[data-theme="dark"] .soa-erp-pill {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
}

/* ============================================================================
   RESPONSIVE MEDIA QUERIES (FULL MOBILE OPTIMIZATION)
   ========================================================================= */

@media (max-width: 992px) {
  .soa-hero-grid,
  .so-s-2 {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .soa-problem-grid,
  .soa-solution-grid,
  .soa-steps-grid,
  .soa-benefits-grid,
  .so-s-53 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .soa-bottom-consult-grid,
  .so-s-56 {
    grid-template-columns: 1fr !important;
    gap: 2.25rem !important;
  }
  .soa-order-grid {
    grid-template-columns: 1fr !important;
  }
  .soa-client-logo-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }
  /* Reduce card padding in order-challenges, solution-section & how-it-works on tablet */
  #order-challenges .soa-problem-card {
    padding: 0.9rem 1rem !important;
  }
  #solution-section .soa-solution-card {
    padding: 1.15rem 1.25rem !important;
  }
  #how-it-works .soa-step-card {
    padding: 0.85rem 0.95rem !important;
  }
}

@media (max-width: 768px) {
  /* Prevent horizontal side-scrolling completely */
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
  }
  .measure {
    padding-left: 0.85rem !important;
    padding-right: 0.85rem !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Hide hero contact form in mobile view (consistent with all overview pages) */
  #hero-lead-form {
    display: none !important;
  }

  /* Hide trust & credibility section in mobile view */
  #trust-section {
    display: none !important;
  }

  /* Hero Section Spacing & Typography */
  .hero-section,
  .so-s-1 {
    padding-top: 4.85rem !important;
    padding-bottom: 0.85rem !important;
    width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }
  .so-s-3 {
    font-size: clamp(1.3rem, 1.05rem + 1.25vw, 1.65rem) !important;
    line-height: 1.22 !important;
    margin-top: 0.15rem !important;
    margin-bottom: 0.45rem !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
  }
  .so-s-5 {
    font-size: 0.85rem !important;
    line-height: 1.48 !important;
    margin-bottom: 0.65rem !important;
    max-width: 100% !important;
  }
  .soa-hero-badge {
    font-size: 0.68rem !important;
    padding: 0.25rem 0.65rem !important;
    max-width: 100% !important;
    white-space: normal !important;
    text-align: left !important;
  }
  .soa-pills {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 0.25rem !important;
    margin: 0.2rem 0 0.45rem 0 !important;
  }
  .soa-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.25rem !important;
    padding: 0.18rem 0.44rem !important;
    border-radius: 9999px !important;
    font-size: 0.65rem !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
    color: var(--soa-navy) !important;
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(8px) !important;
    border: 1px solid var(--soa-border) !important;
    box-shadow: 0 1px 3px rgba(1, 2, 46, 0.04) !important;
    white-space: nowrap !important;
  }
  .soa-pill i {
    width: 11px !important;
    height: 11px !important;
    color: var(--soa-accent) !important;
  }
  :root[data-theme="dark"] .soa-pill {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
    color: #f1f5f9 !important;
  }

  /* Hero Order Console - Polished Mobile Layout */
  .soa-console-frame {
    margin-top: 0.35rem !important;
    border-radius: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .soa-console-header {
    padding: 0.45rem 0.65rem !important;
    flex-wrap: wrap !important;
    gap: 0.35rem !important;
    justify-content: space-between !important;
    align-items: center !important;
  }
  .soa-console-dots {
    gap: 0.25rem !important;
  }
  .so-s-9 {
    font-size: 0.64rem !important;
    white-space: normal !important;
    line-height: 1.3 !important;
    word-break: break-word !important;
    flex: 1 1 auto !important;
  }
  .so-s-10 {
    width: 12px !important;
    height: 12px !important;
  }
  .so-s-11 {
    font-size: 0.6rem !important;
    padding: 2px 6px !important;
    flex-shrink: 0 !important;
  }
  .soa-console-body {
    padding: 0.65rem 0.65rem !important;
  }

  /* 4-Stage Pipeline Tracker 2x2 Grid on Mobile */
  .soa-flow-tracker {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.35rem !important;
    padding: 0.45rem !important;
    margin-bottom: 0.65rem !important;
  }
  .soa-flow-step {
    font-size: 0.65rem !important;
    padding: 0.3rem 0.25rem !important;
    line-height: 1.2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.25rem !important;
    text-align: center !important;
  }
  .so-s-12 {
    width: 11px !important;
    height: 11px !important;
  }

  /* Active Order Execution Cards Stacking */
  .soa-order-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
    margin-bottom: 0.65rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .soa-order-card {
    padding: 0.55rem 0.65rem !important;
    font-size: 0.76rem !important;
  }
  .so-s-13 {
    font-size: 0.65rem !important;
  }
  .so-s-14, .so-s-17 {
    font-size: 0.7rem !important;
  }
  .so-s-15 {
    font-size: 0.82rem !important;
    margin-bottom: 0.15rem !important;
  }
  .so-s-16 {
    font-size: 0.72rem !important;
    line-height: 1.3 !important;
  }
  .so-s-18 {
    font-size: 0.95rem !important;
  }
  .so-s-19 {
    font-size: 0.7rem !important;
  }

  /* Customer Milestone Alert Banner */
  .so-s-20 {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.45rem !important;
    padding: 0.55rem 0.65rem !important;
    font-size: 0.72rem !important;
    line-height: 1.35 !important;
  }
  .so-s-21 {
    gap: 0.4rem !important;
  }
  .so-s-22 {
    width: 14px !important;
    height: 14px !important;
  }
  .so-s-23 {
    font-size: 0.62rem !important;
    padding: 2px 6px !important;
    align-self: flex-start !important;
  }

  /* Section 2 Integration Strip */
  .so-s-27 {
    padding: 0.95rem 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .so-s-28 {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 0.65rem !important;
  }
  .so-s-29 {
    font-size: 0.74rem !important;
    justify-content: center !important;
    text-align: center !important;
  }
  .so-s-31 {
    justify-content: center !important;
    gap: 0.35rem !important;
  }
  .so-s-32 {
    font-size: 0.68rem !important;
    padding: 0.25rem 0.55rem !important;
  }

  /* General Section Spacing & Headings */
  section.section-divider,
  .so-s-33,
  .so-s-42 {
    padding: 1.25rem 0 !important;
    width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }
  .so-s-34 {
    margin: 0 auto 0.95rem auto !important;
    text-align: center !important;
  }
  .so-s-37,
  .so-s-57 {
    font-size: clamp(1.22rem, 0.98rem + 1.2vw, 1.55rem) !important;
    line-height: 1.25 !important;
    margin-top: 0.35rem !important;
    margin-bottom: 0.45rem !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
  }
  .so-s-38 {
    font-size: 0.82rem !important;
    line-height: 1.45 !important;
    margin-bottom: 0.75rem !important;
    max-width: 100% !important;
  }

  /* Card Grids - Single Column Stack on Mobile */
  .soa-problem-grid,
  .soa-solution-grid,
  .soa-steps-grid,
  .soa-benefits-grid,
  .so-s-53 {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.65rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .soa-problem-card,
  .soa-solution-card,
  .soa-step-card,
  .soa-benefit-card {
    padding: 0.65rem 0.75rem !important;
    border-radius: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Hide the last 2 cards in Problem & Benefit sections on mobile (keep top 4 cards visible) */
  .soa-card-desktop-only,
  #order-challenges .soa-problem-grid > .soa-problem-card:nth-child(n+5),
  #business-benefits .soa-benefits-grid > .soa-benefit-card:nth-child(n+5) {
    display: none !important;
  }

  /* Icon sizes */
  .soa-problem-icon {
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    margin-bottom: 0.45rem !important;
  }
  .soa-solution-icon {
    width: 34px !important;
    height: 34px !important;
    border-radius: 8px !important;
  }
  .soa-step-num {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.76rem !important;
    margin-bottom: 0.45rem !important;
  }

  /* Headings & Descriptions in Cards */
  .so-s-40,
  .so-s-44,
  .so-s-47,
  .so-s-51 {
    font-size: 0.95rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.25rem !important;
  }
  .so-s-41,
  .so-s-45,
  .so-s-48,
  .so-s-52 {
    font-size: 0.8rem !important;
    line-height: 1.42 !important;
    margin: 0 !important;
  }
  /* Hide solution card bullet lists in mobile view */
  .so-s-46,
  .soa-solution-card ul {
    display: none !important;
  }
  .soa-benefit-tag {
    font-size: 0.7rem !important;
    padding: 0.25rem 0.55rem !important;
    margin-top: 0.6rem !important;
  }
  .so-s-49 {
    gap: 0.45rem !important;
    margin-bottom: 0.35rem !important;
  }
  .so-s-50 {
    width: 18px !important;
    height: 18px !important;
  }
  .so-s-55 {
    font-size: 0.7rem !important;
    margin-bottom: 0.2rem !important;
  }

  /* FAQ & Bottom Consultation Form */
  .soa-bottom-consult-grid,
  .so-s-56 {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.25rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  /* Hide FAQ accordion column in mobile view, keep consultation form visible */
  .soa-faq-col,
  #faq-section,
  .soa-bottom-consult-grid > div:first-child {
    display: none !important;
  }
  .soa-consult-col,
  #consultation-section,
  .soa-bottom-consult-grid > div:last-child {
    width: 100% !important;
    max-width: 100% !important;
  }
  .soa-faq-item {
    margin-bottom: 0.55rem !important;
    border-radius: 8px !important;
  }
  .soa-faq-question {
    padding: 0.75rem 0.9rem !important;
    font-size: 0.85rem !important;
    line-height: 1.3 !important;
  }
  .soa-faq-answer {
    padding: 0 0.9rem 0.75rem 0.9rem !important;
    font-size: 0.78rem !important;
    line-height: 1.45 !important;
  }
  .soa-lead-card {
    padding: 1.15rem 1rem !important;
    border-radius: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-top: 0 !important;
  }
  .soa-lead-card h3 {
    font-size: 1.15rem !important;
    margin-bottom: 0.25rem !important;
  }
  .soa-lead-card p {
    font-size: 0.8rem !important;
    line-height: 1.42 !important;
    margin-bottom: 0.75rem !important;
  }
  .soa-input-group {
    margin-bottom: 0.65rem !important;
  }
  .soa-input-group label {
    font-size: 0.75rem !important;
    margin-bottom: 0.25rem !important;
  }
  .soa-input-group input,
  .soa-input-group select,
  .soa-input-group textarea {
    font-size: 0.82rem !important;
    padding: 0.55rem 0.75rem !important;
    border-radius: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .soa-btn-primary {
    width: 100% !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.88rem !important;
    box-sizing: border-box !important;
  }
  .so-s-26 {
    font-size: 0.7rem !important;
    margin-top: 0.45rem !important;
  }

  /* Client Logo Wall Mobile */
  .soa-client-wall-section {
    padding: 1.25rem 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  .soa-client-wall-head {
    margin-bottom: 0.95rem !important;
    text-align: center !important;
  }
  .soa-client-wall-title {
    font-size: 1.22rem !important;
    line-height: 1.28 !important;
    margin-bottom: 0.45rem !important;
  }
  .soa-client-wall-desc {
    font-size: 0.78rem !important;
    line-height: 1.45 !important;
  }
  .soa-client-wall-subhead {
    padding: 0.65rem 0.85rem !important;
    flex-direction: column !important;
    gap: 0.25rem !important;
    text-align: center !important;
  }
  .soa-client-wall-badge {
    font-size: 0.7rem !important;
  }
  .soa-client-wall-subtext {
    font-size: 0.72rem !important;
  }
  .soa-client-logo-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }
  .soa-logo-tile {
    padding: 0.65rem 0.35rem !important;
    min-height: 52px !important;
  }
  .soa-logo-tile img {
    height: 1.45rem !important;
    max-width: 86% !important;
  }
  .soa-client-erp-strip {
    padding: 0.6rem 0.75rem !important;
    flex-direction: column !important;
    gap: 0.45rem !important;
    text-align: center !important;
  }
  .soa-client-erp-label {
    font-size: 0.74rem !important;
  }
  .soa-client-erp-tags {
    justify-content: center !important;
    gap: 0.35rem !important;
  }
  .soa-erp-pill {
    font-size: 0.65rem !important;
    padding: 0.15rem 0.45rem !important;
  }
}

@media (max-width: 480px) {
  .soa-client-logo-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

@media (max-width: 380px) {
  .hero-section,
  .so-s-1 {
    padding-top: 4.5rem !important;
    padding-bottom: 0.45rem !important;
  }
  .so-s-3 {
    font-size: clamp(1.15rem, 0.95rem + 1vw, 1.35rem) !important;
    line-height: 1.18 !important;
  }
  .soa-client-logo-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  .soa-client-wall-title {
    font-size: 1.1rem !important;
  }
  .so-s-37,
  .so-s-57 {
    font-size: 1.15rem !important;
  }
}

