
    /* ── Section ─────────────────────────────────────── */
    .marketplace-section {
      background: #f2f5f8;
      padding: 80px 24px;
    }

    .marketplace-section__inner {
      max-width: 960px;
      margin: 0 auto;
    }

    /* ── Header ──────────────────────────────────────── */
    .marketplace-section__header {
      text-align: center;
      margin-bottom: 44px;
    }

    .marketplace-section__eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(3, 41, 83, 0.08);
      color: #032953;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: .08em;
      text-transform: uppercase;
      padding: 7px 18px;
      border-radius: 100px;
      margin-bottom: 20px;
    }

    .marketplace-section__eyebrow svg {
      font-size: 13px;
    }

    .marketplace-section__title {
      font-size: clamp(28px, 4vw, 42px);
      font-weight: 700;
      color: #032953;
      line-height: 1.22;
      max-width: 780px;
      margin: 0 auto 18px;
    }

    .marketplace-section__subtitle {
      font-size: 18px;
      color: #5c7899;
      line-height: 1.65;
      max-width: 620px;
      margin: 0 auto;
    }

    /* ── Hero Card (dark) ────────────────────────────── */
    .hero-card {
      background: #032953;
      border-radius: 16px;
      padding: 48px 56px;
      margin-bottom: 24px;
    }

    .hero-card__label {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: .08em;
      text-transform: uppercase;
      color: rgba(255, 255, 255, 0.45);
      margin-bottom: 16px;
    }

    .hero-card__label svg {
      font-size: 14px;
    }

    .hero-card__title {
      font-size: 28px;
      font-weight: 700;
      color: #ffffff;
      margin-bottom: 16px;
      line-height: 1.3;
    }

    .hero-card__body {
      font-size: 17px;
      color: rgba(255, 255, 255, 0.68);
      line-height: 1.72;
      max-width: 820px;
    }

    /* ── Section Separator ───────────────────────────── */
    .section-separator {
      display: flex;
      align-items: center;
      gap: 16px;
      margin: 36px 0 24px;
    }

    .section-separator::before,
    .section-separator::after {
      content: '';
      flex: 1;
      height: 1px;
      background: rgba(3, 41, 83, 0.14);
    }

    .section-separator__label {
      font-size: 13px;
      font-weight: 700;
      letter-spacing: .08em;
      text-transform: uppercase;
      color: #5c7899;
      white-space: nowrap;
    }

    /* ── API Intro Text ──────────────────────────────── */
    .api-intro {
      font-size: 17px;
      color: #4a6585;
      text-align: center;
      max-width: 700px;
      margin: 0 auto 36px;
      line-height: 1.68;
    }

    /* ── Feature Cards Grid (3-col) ──────────────────── */
    .features-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
      margin-bottom: 28px;
    }

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

    @media (min-width: 480px) and (max-width: 700px) {
      .features-grid {
        grid-template-columns: 1fr 1fr;
      }
    }

    /* ── Feature Card ────────────────────────────────── */
    .feature-card {
      background: #ffffff;
      border-radius: 14px;
      padding: 36px;
      border: 1px solid rgba(3, 41, 83, 0.09);
      transition: transform .22s ease, box-shadow .22s ease;
    }

    .feature-card:hover {
      transform: translateY(-3px);
      box-shadow: 0 10px 28px rgba(3, 41, 83, 0.09);
    }

    .feature-card__icon {
      width: 52px;
      height: 52px;
      background: rgba(3, 41, 83, 0.08);
      border-radius: 13px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #032953;
      font-size: 26px;
      margin-bottom: 20px;
    }

    .feature-card__title {
      font-size: 19px;
      font-weight: 700;
      color: #032953;
      margin-bottom: 12px;
    }

    .feature-card__body {
      font-size: 16px;
      color: #4a6585;
      line-height: 1.65;
    }

    /* ── Trust Badges ────────────────────────────────── */
    .trust-badges {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 10px;
    }

    .trust-badge {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      background: rgba(3, 41, 83, 0.07);
      color: #032953;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: .03em;
      padding: 8px 18px;
      border-radius: 100px;
    }

    .trust-badge svg {
      font-size: 15px;
    }

    *,
    *::before,
    *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
      background: #F2F5F8;
      color: #111;
      overflow-x: hidden;
    }

    .no-scroll {
      overflow: hidden;
    }

    .hero-section {
      z-index: 10;
      
      background: #F2F5F8;
      display: flex;
      align-items: center;
      padding: 180px 5% 20px 5%;
      justify-content: center;
    }

    .hero-left {
      max-width: 800px;
      text-align: center;
    }

    .hero-eyebrow {
      color: #1FA3FF;
      font-weight: 600;
      margin-bottom: 16px;
      text-transform: uppercase;
      letter-spacing: 1px;
      font-size: 14px;
    }

    .hero-section h1 {
      font-size: 64px;
      color: #032953;
      line-height: 1.1;
      margin-bottom: 16px;
      font-weight: 800;
      letter-spacing: -1px;
    }

    .hero-section h1 em {
      color: #1FA3FF;
      font-style: normal;
    }

    .hero-sub {
      font-size: 20px;
      color: #555;
      line-height: 1.6;
      margin-bottom: 30px;
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
    }

    .hero-actions {
      display: flex;
      gap: 16px;
      justify-content: center;
    }

    .btn-p {
      background: #032953;
      color: white;
      padding: 16px 32px;
      border-radius: 8px;
      text-decoration: none;
      font-weight: 600;
      transition: transform 0.2s, background 0.2s;
    }

    .btn-p:hover {
      background: #1FA3FF;
      transform: translateY(-2px);
    }

    .btn-s {
      display: flex;
      align-items: center;
      gap: 8px;
      color: #032953;
      text-decoration: none;
      font-weight: 600;
      padding: 16px 24px;
      border-radius: 8px;
      background: #f0f4f8;
      transition: background 0.2s;
      border: 1.5px solid transparent;
    }

    .btn-s:hover {
      background: #e2e8f0;
    }

    /* The actual dashboard */
    .animation-wrapper {
      position: sticky;
      top: 12vh;
      z-index: 5;
      width: 100%;
      display: flex;
      flex-direction: column;
      gap: 32px;
    }

    .dashboard-container {
      position: relative;
      width: 94%;
      max-width: 1100px;
      margin: 0 auto;
      height: auto;
      padding: 32px;
      display: flex;
      flex-direction: column;
      pointer-events: none;
      background: #ffffff;
      border-radius: 24px;
      box-shadow: 0 32px 64px rgba(3, 41, 83, 0.08), 0 4px 16px rgba(0, 0, 0, 0.04);
      border: 1px solid rgba(0, 0, 0, 0.04);
      overflow: hidden;
    }

    /* ── DASHBOARD LOADER ── */
    .ts-loader-container {
      position: absolute;
      bottom: 20px;
      right: 20px;
      width: 60px;
      height: 60px;
      display: flex;
      justify-content: center;
      align-items: center;
      pointer-events: none;
      opacity: 0; /* JS controls this */
      z-index: 100;
    }

    .ts-spinner-svg {
      position: absolute;
      width: 80%;
      height: 80%;
      animation: full-rotation 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    }

    .ts-spinner-circle {
      fill: none;
      stroke: url(#gemini-flow-dash);
      stroke-width: 5;
      stroke-linecap: round;
      stroke-dasharray: 283; 
      stroke-dashoffset: 280; 
      animation: 
        line-stretch 1.6s ease-in-out infinite,
        color-rotate 4s linear infinite;
    }

    .ts-logo-img {
      width: 26px;
      z-index: 2;
      animation: logo-breath 3s ease-in-out infinite;
    }

    @keyframes full-rotation {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }

    @keyframes line-stretch {
      0% { stroke-dasharray: 1, 283; stroke-dashoffset: 0; }
      50% { stroke-dasharray: 180, 283; stroke-dashoffset: -40; }
      100% { stroke-dasharray: 1, 283; stroke-dashoffset: -280; }
    }

    @keyframes color-rotate {
      from { filter: hue-rotate(0deg); }
      to { filter: hue-rotate(360deg); }
    }

    @keyframes logo-breath {
      0%, 100% { transform: scale(1); opacity: 1; }
      50% { transform: scale(0.94); opacity: 0.9; }
    }

    .scroll-track {
      height: 950vh;
      /* extended for pause and phase 3 */
      margin-top: 100vh;
      /* Huge 100% screen gap between hero and dashboard to prevent any overlap */
    }

    .topbar,
    .info-row,
    .table-card,
    .bottom-row {
      transition: opacity 0.1s ease-out;
      will-change: opacity;
    }

    .kpi-row {
      position: relative;
      z-index: 10;
    }

    .kpi {
      background: #032953;
      color: #FFF;
      border-radius: 8px;
      padding: 10px 14px;
      border: 0.5px solid #032953;
      will-change: transform;
      transform-origin: top left;
      position: relative;
      z-index: 20;
    }

    .kpi-title {
      font-size: 13px;
      color: #ccc;
      margin-bottom: 8px;
      font-weight: 400;
    }

    .kpi-value {
      font-size: 24px;
      font-weight: 600;
      margin-bottom: 4px;
      color: #fff;
    }

    .kpi-sub {
      font-size: 11px;
      color: #ccc;
      display: flex;
      align-items: center;
      gap: 4px;
    }

    .topbar {
      background: #fff;
      border-radius: 8px;
      padding: 8px 14px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 10px;
      border: 0.5px solid #e0e0dc;
    }

    .topbar-left {
      font-size: 13px;
      font-weight: 400;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: #22c55e;
      display: inline-block;
    }

    .topbar-right {
      display: flex;
      align-items: center;
      gap: 6px;
      flex-wrap: wrap;
    }

    .tab {
      font-size: 12px;
      padding: 5px 12px;
      border-radius: 8px;
      border: 0.5px solid #e0e0dc;
      background: #fff;
      color: #666;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 5px;
    }

    .tab.active {
      color: #111;
      border-color: #aaa;
    }

    .tab svg {
      width: 13px;
      height: 13px;
      opacity: 0.6;
    }

    .period {
      font-size: 12px;
      color: #666;
      display: flex;
      align-items: center;
      gap: 5px;
    }

    .kpi-row {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 8px;
      margin-bottom: 8px;
    }

    .kpi {
      background: #fff;
      border-radius: 8px;
      padding: 10px 14px;
      border: 0.5px solid #e0e0dc;
    }

    .kpi-label {
      font-size: 10px;
      color: #888;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      margin-bottom: 4px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .kpi-label svg {
      width: 16px;
      height: 16px;
      opacity: 0.35;
      flex-shrink: 0;
    }

    .kpi-value {
      font-size: 18px;
      font-weight: 400;
      color: #111;
      line-height: 1.2;
      font-variant-numeric: tabular-nums;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .kpi-sub {
      font-size: 10px;
      color: #888;
      margin-top: 4px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .neg {
      color: #ef4444;
      font-weight: 400;
    }

    .pos {
      color: #22c55e;
      font-weight: 400;
    }

    .info-row {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 8px;
      margin-bottom: 8px;
    }

    .info-card {
      background: #fff;
      border-radius: 8px;
      padding: 8px 14px;
      border: 0.5px solid #e0e0dc;
      font-size: 12px;
      color: #666;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .info-card strong {
      color: #111;
      font-size: 14px;
    }

    .info-card .green {
      color: #22c55e;
      font-weight: 400;
    }

    .table-card,
    .chart-card {
      background: #fff;
      border-radius: 8px;
      padding: 12px 14px;
      border: 0.5px solid #e0e0dc;
    }

    .table-card {
      margin-bottom: 8px;
    }

    .card-title {
      font-size: 13px;
      font-weight: 400;
      margin-bottom: 10px;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .card-title svg {
      width: 14px;
      height: 14px;
    }

    table {
      width: 100%;
      border-collapse: collapse;
      font-size: 12px;
    }

    th {
      text-align: left;
      color: #888;
      font-weight: 400;
      padding: 4px 8px;
      font-size: 11px;
    }

    td {
      padding: 6px 8px;
      color: #111;
      border-top: 0.5px solid #f0f0ec;
    }

    .tr-total td {
      font-weight: 400;
      border-top: 1px solid #d0d0cc;
    }

    .mp-badge {
      display: inline-block;
      padding: 2px 8px;
      border-radius: 4px;
      font-size: 11px;
      font-weight: 400;
      white-space: nowrap;
    }

    .amazon-de {
      background: #fce7f3;
      color: #9d174d;
    }

    .otto {
      background: #fef3c7;
      color: #92400e;
    }

    .amazon-se {
      background: #e0f2fe;
      color: #075985;
    }

    .kaufland {
      background: #dbeafe;
      color: #1e3a8a;
    }

    .limango {
      background: #f3e8ff;
      color: #6b21a8;
    }

    .amazon-pl {
      background: #fce7f3;
      color: #831843;
    }

    .amazon-be {
      background: #cffafe;
      color: #155e75;
    }

    .amazon-nl {
      background: #e0f2fe;
      color: #0c4a6e;
    }

    .bar-wrap {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .bar {
      height: 6px;
      border-radius: 3px;
      background: #374151;
      display: inline-block;
    }

    .pct {
      font-size: 12px;
    }

    .bottom-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
    }

    .chart-legend {
      font-size: 11px;
      color: #888;
      display: flex;
      gap: 12px;
      margin-bottom: 6px;
      align-items: center;
    }

    .legend-line {
      height: 2px;
      width: 18px;
      display: inline-block;
      vertical-align: middle;
      margin-right: 4px;
    }

    .returns-table th {
      font-size: 10px;
    }

    .returns-table td {
      padding: 4px 6px;
    }

    .ret-bar {
      height: 5px;
      border-radius: 2px;
      background: #ef4444;
      display: inline-block;
    }

    .otto-badge {
      background: #fbbf24;
      color: #78350f;
      font-size: 10px;
      padding: 1px 6px;
      border-radius: 3px;
      white-space: nowrap;
    }

    
  

  

  

  
  .footer-certs {
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .footer-certs img {
    height: 28px;
    width: auto;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: all 0.3s ease;
  }

  .footer-certs img:hover {
    opacity: 1;
    filter: grayscale(0%);
  }

  @media (max-width: 900px) {
      .kpi-row {
        grid-template-columns: repeat(3, 1fr);
      }

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

      .info-row {
        display: none !important;
      }
    }

    @media (max-width: 900px) {
      .kpi-row {
        grid-template-columns: repeat(3, 1fr);
      }
      .bottom-row {
        grid-template-columns: 1fr;
      }
    }

    .info-boxes,
    .feature-boxes {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 15;
      font-family: 'Inter', sans-serif;
    }

    .info-box {
      position: absolute;
      top: 0;
      left: 0;
      background: #032953;
      color: #fff;
      border-radius: 12px;
      border: 0.5px solid #032953;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
      padding: 18px 24px 28px 24px; /* Increased bottom padding for air */
      opacity: 0;
      pointer-events: none;
      will-change: opacity, transform;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      height: 180px; /* Fixed height for perfect synchronization */
    }

    .info-box h4 {
      font-size: 18px;
      margin-bottom: 8px;
      font-weight: 600;
      color: #fff;
    }

    .info-box p {
      font-size: 15px;
      line-height: 1.6;
      color: #e0e0e0;
    }

    .info-box.expanded {
      height: auto !important;
    }

    .expand-btn {
      margin-top: 12px;
      padding: 6px 12px;
      background: transparent;
      border: 1px solid rgba(255, 255, 255, 0.3);
      border-radius: 6px;
      cursor: pointer;
      font-size: 12px;
      color: #fff;
      align-self: flex-start;
    }

    .expand-btn:hover {
      background: rgba(255, 255, 255, 0.1);
    }

    .result-box {
      margin-top: 12px;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.25);
      border-radius: 10px;
      padding: 10px 18px;
      font-size: 15px;
      font-weight: 600;
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      height: 44px;
      white-space: nowrap;
      width: fit-content;
      align-self: center;
      margin-left: auto;
      margin-right: auto;
    }

    .tool-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(255, 255, 255, 0.1);
      padding: 8px 16px;
      border-radius: 8px;
      font-size: 15px;
      font-weight: 600;
      color: #fff;
      border: 1px solid rgba(255, 255, 255, 0.2);
      margin-bottom: 12px;
      align-self: flex-start;
    }

    .main-heading {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      text-align: left;
      padding: 0 40px;
      font-family: 'Inter', sans-serif;
      color: #032953;
      opacity: 0;
      pointer-events: none;
      will-change: opacity, transform;
      z-index: 25;
    }

    .main-heading strong {
      font-size: 36px;
      font-weight: 600;
      font-style: italic;
      line-height: 1.2;
      display: block;
    }

    .main-heading i {
      font-size: 24px;
      font-weight: 400;
      font-style: italic;
      line-height: 1.4;
      display: block;
      margin-top: 8px;
    }

    .phase2-heading {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      text-align: left;
      padding: 0 40px;
      font-family: 'Inter', sans-serif;
      color: #032953;
      opacity: 0;
      pointer-events: none;
      will-change: opacity, transform;
      z-index: 25;
    }

    .phase2-heading h2 {
      font-size: 36px;
      font-weight: 600;
      font-style: italic;
      line-height: 1.2;
      margin: 0;
    }

    .phase2-heading p {
      font-size: 24px;
      font-weight: 400;
      font-style: italic;
      line-height: 1.4;
      margin: 8px 0 0 0;
    }

    .final-heading {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      font-size: 32px;
      font-weight: 600;
      color: #032953;
      font-family: 'Inter', sans-serif;
      opacity: 0;
      pointer-events: none;
      z-index: 50;
      will-change: opacity, transform;
      text-align: center;
      padding: 0 40px;
      width: 100%;
    }

    .final-logo {
      position: absolute;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      opacity: 0;
      pointer-events: none;
      will-change: opacity, transform;
      z-index: 50;
      width: 250px;
    }

    .stats-container {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      display: flex;
      justify-content: center;
      gap: 30px;
      opacity: 0;
      pointer-events: none;
      z-index: 50;
    }

    .trust-badges-row {
      position: absolute;
      bottom: 36px; /* Aligned with the spinner's center height */
      left: 50%;
      display: flex;
      gap: 10px;
      opacity: 0;
      pointer-events: none;
      z-index: 110;
    }
    .trust-badge {
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 6px 12px;
      background: transparent;
      border: 1px solid rgba(3, 41, 83, 0.15);
      border-radius: 6px;
      color: #032953;
      font-size: 9.5px; /* Compact size */
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      white-space: nowrap;
    }
    .trust-badge svg {
      width: 13px;
      height: 13px;
    }
    .germany-flag {
      width: 18px !important;
      height: 12px !important;
      border-radius: 1px;
      box-shadow: 0 0 1px rgba(0,0,0,0.1);
    }

    .stat-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      flex: 1;
    }

    .stat-number {
      font-size: 3.5rem;
      font-weight: 800;
      color: #032953;
      line-height: 1;
      letter-spacing: -1px;
    }

    .stat-label {
      margin-top: 10px;
      font-size: 1rem;
      color: #4b5563;
      font-weight: 400;
    }

    .stat-number sup {
      font-size: 1.8rem;
      vertical-align: top;
      position: relative;
      top: 0.2em;
    }

    /* Header Styles */
    .main-header {
      position: fixed;
      top: 24px;
      left: 50%;
      transform: translateX(-50%);
      width: 96%;
      max-width: 1400px;
      height: 70px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 32px;
      background: #ffffff;
      border: 1px solid rgba(0, 0, 0, 0.08);
      border-radius: 8px;
      box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
      z-index: 1000;
      font-family: 'Inter', sans-serif;
    }

    .header-logo {
      position: relative;
      z-index: 1002;
    }

    .header-logo img {
      height: 28px;
      display: block;
    }

    .header-nav {
      display: flex;
      gap: 36px;
      margin-left: auto;
      align-items: center;
    }

    .header-nav a {
      text-decoration: none;
      color: #4b5563;
      font-size: 15px;
      font-weight: 400;
      transition: color 0.2s;
    }

    .header-nav a:hover {
      color: #032953;
    }

    /* Dropdown Styles */
    .dropdown {
      position: relative;
      display: flex;
      align-items: center;
    }

    .dropdown-content {
      display: none;
      position: absolute;
      top: 100%;
      left: 50%;
      transform: translateX(-50%);
      background-color: #ffffff;
      min-width: 300px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.1);
      z-index: 2000;
      border-radius: 12px;
      margin-top: 15px;
      border: 1px solid rgba(0,0,0,0.06);
      overflow: hidden;
      padding: 0 0 8px 0;
    }

    .dropdown-header {
      font-size: 11px;
      font-weight: 600;
      color: #032953;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      padding: 18px 20px 10px;
      border-bottom: 1px solid rgba(0,0,0,0.03);
      margin-bottom: 6px;
    }

    .dropdown-header span {
      text-decoration: underline;
      text-underline-offset: 4px;
    }

    /* Arrow for dropdown */
    .dropdown-content::before {
      content: '';
      position: absolute;
      top: -6px;
      left: 50%;
      transform: translateX(-50%) rotate(45deg);
      width: 12px;
      height: 12px;
      background: white;
      border-left: 1px solid rgba(0,0,0,0.06);
      border-top: 1px solid rgba(0,0,0,0.06);
    }

    .dropdown-content a {
      color: #4b5563 !important;
      padding: 12px 20px !important;
      text-decoration: none;
      display: flex !important;
      align-items: center !important;
      justify-content: space-between !important;
      font-size: 15px !important;
      font-weight: 500 !important;
      transition: all 0.2s !important;
      margin: 0 !important;
      white-space: nowrap !important;
    }

    .dropdown-content a .item-label {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .dropdown-content a .item-arrow {
      opacity: 0;
      transform: translateX(-5px);
      transition: all 0.2s;
    }

    .dropdown-content a:hover {
      background-color: #f8fafc !important;
      color: #032953 !important;
    }

    .dropdown-content a:hover .item-arrow {
      opacity: 1;
      transform: translateX(0);
    }

    .dropdown:hover .dropdown-content {
      display: block;
    }

    /* Bridge the gap to prevent dropdown from disappearing */
    .dropdown::after {
      content: '';
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      height: 20px;
      display: none;
    }

    .dropdown:hover::after {
      display: block;
    }

    .dropdown > a {
      display: flex;
      align-items: center;
      gap: 4px;
    }

    .header-actions {
      display: flex;
      align-items: center;
      gap: 24px;
      margin-left: 36px;
    }

    .login-link {
      white-space: nowrap;
      text-decoration: none;
      color: #032953;
      padding: 10px 24px;
      border: 1.5px solid #032953;
      border-radius: 8px;
      font-size: 15px;
      font-weight: 600;
      transition: all 0.2s;
    }

    .login-link:hover {
      background: rgba(3, 41, 83, 0.05);
    }

    .cta-btn {
      white-space: nowrap;
      text-decoration: none;
      background: #032953;
      color: #fff;
      padding: 10px 24px;
      border-radius: 8px;
      font-size: 15px;
      font-weight: 600;
      transition: background 0.2s, transform 0.1s;
      border: 1.5px solid #032953;
    }

    .cta-btn:hover {
      background: #021a36;
      border-color: #021a36;
      transform: translateY(-1px);
    }.mobile-menu-btn {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      width: 24px;
      height: 20px;
      flex-direction: column;
      justify-content: space-between;
      padding: 0;
      z-index: 1002;
      margin-left: auto;
    }

    .mobile-menu-btn span {
      display: block;
      width: 100%;
      height: 2px;
      background: #032953;
      border-radius: 2px;
      transition: transform 0.3s, opacity 0.3s;
    }

    .mobile-menu-btn.active span:nth-child(1) {
      transform: translateY(9px) rotate(45deg);
    }

    .mobile-menu-btn.active span:nth-child(2) {
      opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
      transform: translateY(-9px) rotate(-45deg);
    }

    @media (max-width: 1050px) {
      .main-header {
        width: 96% !important;
        top: 16px !important;
        padding: 0 20px !important;
        height: 60px !important;
        border-radius: 8px !important;
        position: fixed !important;
        z-index: 3000 !important;
      }

      .header-logo img {
        height: 22px;
      }

      .header-nav,
      .header-actions {
        display: none;
      }.mobile-menu-btn {
        display: flex;
      }

      .main-header.mobile-active {
        height: 100vh !important;
        overflow-y: auto !important;
        background: #fff !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        padding: 90px 24px 60px !important;
        z-index: 5000 !important;
        border-radius: 0 !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        transform: none !important;
      }

      .main-header.mobile-active .header-nav,
      .main-header.mobile-active .header-actions {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        height: auto !important;
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
      }

      .main-header.mobile-active .header-logo {
        position: fixed !important;
        top: 25px !important;
        left: 24px !important;
        z-index: 2100 !important;
      }

      .main-header.mobile-active.mobile-menu-btn {
        position: fixed !important;
        top: 28px !important;
        right: 24px !important;
        z-index: 2100 !important;
      }

      .main-header.mobile-active .header-nav {
        gap: 18px !important;
        margin-top: 20px !important;
      }

      .main-header.mobile-active .header-nav a {
        font-size: 20px;
        text-align: center;
      }

      .main-header.mobile-active .header-actions {
        margin-top: 30px !important;
        gap: 16px !important;
        align-items: center !important;
      }

      .header-actions.mobile-active .login-link,
      .header-actions.mobile-active .cta-btn {
      white-space: nowrap;
        width: 100% !important;
        max-width: 280px !important;
        min-width: 200px !important;
        text-align: center;
        font-size: 18px;
        padding: 14px 24px;
      }

      .hero-section {
        padding: 180px 5% 120px 5% !important;
        display: flex !important;
        flex-direction: column !important;
        min-height: 100vh !important;
        position: relative !important;
        z-index: 1 !important;
        justify-content: flex-start !important;
        align-items: center !important;
        box-sizing: border-box !important;
        margin-bottom: 150px !important;
      }

      .dashboard-scroll-section {
        position: relative !important;
        z-index: 10 !important;
        margin-top: 150px !important;
      }

      .hero-section h1 {
        font-size: 40px;

        br {
          display: none;
        }
      }

      .hero-sub {
        font-size: 16px;
      }

      .hero-actions {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 16px !important;
        margin-top: 48px !important;
        margin-bottom: 60px !important;
        position: relative !important;
        z-index: 100 !important;
      }

      .btn-p,
      .btn-s {
        display: flex !important;
        width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
        padding: 16px 20px !important;
        visibility: visible !important;
        opacity: 1 !important;
      }

      /* Full mobile dashboard overrides removed to allow refined 600px layout */
      .main-heading, .phase2-heading {
        padding: 0 24px;
        font-size: 18px !important;
        text-align: left;
      }

      .main-heading h2, .phase2-heading h2 {
        font-size: 20px !important;
        line-height: 1.2;
      }

      .main-heading p, .phase2-heading p {
        font-size: 13px !important;
        line-height: 1.4;
      }

      .phase2-heading p {
        display: none !important;
      }

      .main-heading strong, .phase2-heading strong {
        font-size: 24px !important;
      }

      /* Adjust topbar text sizes */
      .topbar h1 {
        font-size: 18px;
      }

      .topbar p {
        font-size: 12px;
      }

      .kpi {
        padding: 12px 14px;
      }

      .kpi h3 {
        font-size: 16px;
        margin-bottom: 2px;
      }

      .kpi p {
        font-size: 11px;
      }

      .stats-container {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px 15px !important;
        width: 100% !important;
        left: 0 !important;
        padding: 0 20px !important;
        justify-items: center !important;
      }

      .stat-item {
        flex: none !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
      }

      .stat-number {
        font-size: 1.7rem !important;
        white-space: nowrap !important;
      }

      .stat-label {
        font-size: 0.85rem !important;
        line-height: 1.2 !important;
        opacity: 0.9 !important;
      }

      .stat-number sup {
        font-size: 1rem !important;
      }

      /* Mobile Dropdown Reset */
      .header-nav.mobile-active .dropdown {
        flex-direction: column !important;
        width: 100% !important;
        align-items: center !important;
      }

      .header-nav.mobile-active .dropdown-content {
        position: static !important;
        transform: none !important;
        display: none !important;
        box-shadow: none !important;
        border: none !important;
        background: transparent !important;
        width: 100% !important;
        min-width: 0 !important;
        margin-top: 5px !important;
        text-align: center !important;
        padding: 0 !important;
      }

      .header-nav.mobile-active .dropdown.active .dropdown-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        margin: 15px 0 25px 0 !important;
      }

      .header-nav.mobile-active .dropdown-content::before {
        display: none !important;
      }

      .header-nav.mobile-active .dropdown-header {
        display: none !important;
      }

      .header-nav.mobile-active .dropdown-content a {
        font-size: 16px !important;
        padding: 6px 0 !important;
        justify-content: center !important;
        color: #64748b !important;
      }

      .header-nav.mobile-active .dropdown > a {
        font-size: 20px !important;
        color: #032953 !important;
        font-weight: 500 !important;
      }

      .final-heading {
        font-size: 22px !important;
        top: 0 !important;
        padding: 0 20px !important;
      }

      .final-logo {
        width: 140px !important; /* Reduced from 180px */
        top: 0 !important;
      }

      .trust-badges-row {
        bottom: 100px !important; /* Moved slightly more UP */
        left: 50% !important;
        transform: translateX(-50%) !important;
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        width: 95% !important;
        max-width: 380px !important;
        justify-items: center !important; /* Center grid items */
      }

      .trust-badge {
        font-size: 7.5px !important; /* Slightly smaller for better fit */
        padding: 4px 8px !important;
        justify-content: center !important;
        white-space: nowrap !important;
        width: 100% !important; /* Ensure they fill the cell for centering */
        max-width: 170px !important;
      }

      .carousel-actions {
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
        padding: 40px 20px 100px 20px !important;
      }

      .carousel-actions a {
        width: 100% !important;
        max-width: 300px !important;
        text-align: center !important;
        justify-content: center !important;
        padding: 12px 20px !important;
        font-size: 14px !important;
        margin: 0 !important;
      }
    }

    /* Carousel Section */
    .carousel-section {
      position: relative;
      z-index: 100;
      padding: 20px 0 10px 0;
      pointer-events: auto;
    }

    .carousel-outer {
      width: 100%;
      max-width: 1160px;
      margin: 0 auto;
      overflow: hidden;
      position: relative;
      mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
      -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    }

    .carousel-track-wrap {
      display: flex;
      width: max-content;
      animation: scroll-carousel 25s linear infinite;
    }

    .carousel-track-wrap:hover {
      animation-play-state: paused;
    }

    .carousel-track-wrap.reverse {
      animation: scroll-carousel-reverse 25s linear infinite;
    }

    .carousel-track {
      display: flex;
      gap: 20px;
      padding: 0 15px;
    }

    .logo-card {
      flex-shrink: 0;
      width: 160px;
      height: 70px;
      background: transparent;
      
      display: flex;
      align-items: center;
      justify-content: center;
      
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .logo-card:hover {
      transform: translateY(-4px);
      
    }

    .logo-icon {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      height: 100%;
    }

    .logo-icon img {
      max-width: 95%;
      height: 45px;
      width: auto;
      object-fit: contain;
      filter: grayscale(100%) contrast(0) opacity(0.5);
    }

    @keyframes scroll-carousel {
      0% { transform: translateX(0); }
      100% { transform: translateX(-50%); }
    }

    @keyframes scroll-carousel-reverse {
      0% { transform: translateX(-50%); }
      100% { transform: translateX(0); }
    }

  
    
    /* --- SYNCED MOBILE HEADER & FOOTER CSS --- */
    @media (max-width: 1050px) {
      .main-header {
        width: 96% !important;
        top: 16px !important;
        padding: 0 20px !important;
        height: 60px !important;
        border-radius: 8px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        position: fixed !important;
        transform: translateX(-50%) !important;
        left: 50% !important;
      }

      .header-logo img {
        height: 22px !important;
      }

      .header-nav,
      .header-actions {
        display: none;
      }.mobile-menu-btn {
        display: flex !important;
      }

      .main-header.mobile-active {
        height: 100vh !important;
        overflow-y: auto !important;
        background: #fff !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        padding: 90px 24px 60px !important;
        z-index: 2000 !important;
        border-radius: 0 !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        transform: none !important;
      }

      .main-header.mobile-active .header-logo {
        position: fixed !important;
        top: 25px !important;
        left: 24px !important;
        z-index: 2100 !important;
      }

      .main-header.mobile-active.mobile-menu-btn {
        position: fixed !important;
        top: 28px !important;
        right: 24px !important;
        z-index: 2100 !important;
      }

      .header-nav.mobile-active {
        position: static !important;
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        width: 100% !important;
        padding: 0 !important;
        gap: 18px !important;
        background: transparent !important;
        z-index: auto !important;
      }

      .header-nav.mobile-active a {
        font-size: 20px !important;
      }

      .header-actions.mobile-active {
        position: static !important;
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        margin-top: 30px !important;
        padding: 0 !important;
        gap: 16px !important;
        z-index: auto !important;
        align-items: center !important;
      }

      .header-actions.mobile-active .login-link,
      .header-actions.mobile-active .cta-btn {
      white-space: nowrap;
        width: 100% !important;
        max-width: 280px !important;
        min-width: 200px !important;
        text-align: center !important;
        font-size: 18px !important;
        padding: 14px 24px !important;
      }

      .header-nav.mobile-active .dropdown {
        flex-direction: column !important;
        width: 100% !important;
        align-items: center !important;
      }
      .header-nav.mobile-active .dropdown-content {
        position: static !important;
        transform: none !important;
        display: none !important;
        box-shadow: none !important;
        border: none !important;
        background: transparent !important;
        width: 100% !important;
        min-width: 0 !important;
        margin-top: 5px !important;
        text-align: center !important;
        padding: 0 !important;
      }
      .header-nav.mobile-active .dropdown.active .dropdown-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        margin: 15px 0 25px 0 !important;
      }
      .header-nav.mobile-active .dropdown-content::before,
      .header-nav.mobile-active .dropdown-header {
        display: none !important;
      }
      .header-nav.mobile-active .dropdown-content a {
        font-size: 16px !important;
        padding: 6px 0 !important;
        justify-content: center !important;
        color: #64748b !important;
      }
      .header-nav.mobile-active .dropdown > a {
        font-size: 20px !important;
        color: #032953 !important;
        font-weight: 500 !important;
      }

      /* FOOTER MOBILE FIX */
      .footer-container {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 40px !important;
      }
      .footer-bottom {
        flex-direction: column !important;
        gap: 20px !important;
        text-align: center !important;
        align-items: center !important;
      }
      .footer-certs {
        justify-content: center !important;
        flex-wrap: wrap !important;
      }
    }

    @media (max-width: 768px) {
      .topbar, .bottom-row {
        display: none !important;
      }
      .dashboard-scroll-section {
        overflow: visible !important;
        margin-top: 0px !important;
        padding-top: 0px !important;
      }
      .animation-wrapper {
        position: sticky !important;
        top: 140px !important;
        height: calc(100vh - 140px) !important;
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        overflow: hidden !important;
        z-index: 2000 !important;
      }
      .dashboard-container {
        width: 96% !important;
        margin: 0 auto !important;
        transform: scale(0.95) !important;
        transform-origin: center center !important;
        padding: 8px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        height: auto !important;
        min-height: 0 !important;
        border-radius: 8px !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
        background: #fff !important;
      }
      .kpi-row, .info-row {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
        width: 100% !important;
        margin-bottom: 6px !important;
        justify-content: flex-start !important;
      }
      .kpi, .info-card {
        width: calc(46% - 4px) !important;
        padding: 6px 8px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        text-align: left !important;
        height: 85px !important;
        min-height: 85px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
      }
      /* Ensure Phase 2 info-boxes are uniform and smaller */
      .info-box {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: center !important;
        height: 150px !important;
        padding: 12px 10px !important;
      }
      .info-box h4 {
        font-size: 14px !important;
        margin-bottom: 4px !important;
      }
      .info-box p {
        font-size: 11px !important;
        line-height: 1.4 !important;
      }
      .kpi-label {
        display: flex !important;
        justify-content: flex-start !important;
        align-items: center !important;
        gap: 2px !important;
        width: 100% !important;
        margin-bottom: 0px !important;
        font-size: 6.5px !important;
      }
      .kpi-value {
        font-size: 9px !important;
        text-align: left !important;
        line-height: 1.1 !important;
        width: 100% !important;
      }
      .kpi-sub {
        font-size: 6px !important;
        text-align: left !important;
        margin-top: 1px !important;
        width: 100% !important;
      }
      .result-box {
        font-size: 10px !important;
        padding: 6px 10px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        margin: 8px auto 0 auto !important;
        height: 28px !important;
        width: fit-content !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
        opacity: 0;
        align-self: center !important;
      }
      .info-card {
        font-size: 7px !important;
        text-align: left !important;
      }
      .info-card strong {
        display: block !important;
        margin-top: 1px !important;
        font-size: 8.5px !important;
        text-align: left !important;
      }
      .kpi *, .info-card * {
        text-align: left !important;
        margin-left: 0 !important;
        margin-right: auto !important;
        float: none !important;
      }
      .table-card {
        width: 100% !important;
        padding: 3px !important;
        margin-top: 0px !important;
      }
      .table-card .card-title {
        font-size: 7px !important;
        margin-bottom: 2px !important;
        text-align: left !important;
      }
      .table-card table {
        width: 100% !important;
        font-size: 6px !important;
        border-collapse: collapse !important;
      }
      .table-card table tr {
        display: table-row !important;
      }
      .table-card table th {
        font-size: 4.5px !important;
        text-align: left !important;
        padding: 1px 0.5px !important;
        color: #888 !important;
      }
      .table-card table td {
        padding: 1px 0.5px !important;
        text-align: left !important;
      }
      .mp-badge {
        padding: 1px 2px !important;
        font-size: 5.5px !important;
        border-radius: 2px !important;
      }
      .bar-wrap {
        height: 2.5px !important;
        background: #f0f0f0 !important;
        width: 25px !important;
      }
      .bar {
        height: 100% !important;
      }
      .pct {
        font-size: 5px !important;
        margin-left: 1px !important;
      }
      .info-box {
        text-align: left !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        padding: 10px !important;
      }
      .info-box h4 { font-size: 9.5px !important; margin-bottom: 3px !important; text-align: left !important; }
      .info-box p { font-size: 8px !important; line-height: 1.3 !important; text-align: left !important; }
      .info-box .expand-btn {
        display: none !important;
      }
      .mobile-only {
        display: block !important;
      }
      .desktop-only {
        display: none !important;
      }
    }
    
    @media (max-width: 400px) {
      .kpi, .info-card {
        height: 75px !important;
        min-height: 75px !important;
      }
      .info-box {
        height: 135px !important;
        justify-content: center !important;
      }
      .kpi-label { font-size: 6px !important; }
      .kpi-value { font-size: 8px !important; }
      .kpi-sub { font-size: 5.5px !important; }
      .info-box h4 { font-size: 12px !important; }
      .info-box p { font-size: 10px !important; }
      .result-box {
        height: 24px !important;
        font-size: 9px !important;
        padding: 4px 8px !important;
      }
    }
    
    /* Desktop defaults for responsive text */
    .mobile-only {
      display: none;
    }
    .desktop-only {
      display: block;
    }
    
    /* Special case for inline spans */
    span.mobile-only { display: none; }
    @media (max-width: 768px) {
      span.mobile-only { display: inline !important; }
      span.desktop-only { display: none !important; }
    }
    @media (max-width: 1050px) {
      .trust-badges-row,
      .tab-showcase-badges {
        display: none !important;
      }
    }
    
    .product-video-btn-new {
      display: flex;
      align-items: center;
      gap: 16px;
      padding: 6px 24px 6px 6px; /* 6px on top, bottom, and left so the thumbnail has equal distance */
      border: none;
      border-radius: 12px;
      background: #032953; /* Dark blue background */
      color: #ffffff; /* White text */
      box-shadow: 0 4px 15px rgba(0,0,0,0.05);
      cursor: pointer;
      font-family: 'Inter', sans-serif;
      font-size: 15px;
      font-weight: 600; /* Made slightly bolder to match white text on dark bg */
      transition: all 0.2s ease;
    }
    
    .product-video-btn-new:hover {
      transform: translateY(-2px);
      background: #1FA3FF; /* Hover state from btn-p */
      box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    }
    
    .product-video-btn-new span {
      white-space: nowrap;
    }
    
    .product-video-btn-new .product-video-thumb {
      position: relative;
      width: 70px; /* Increased thumbnail width */
      height: 46px; /* Increased thumbnail height */
      border-radius: 6px;
      overflow: hidden;
      margin-right: 12px;
      background: #021a36;
    }
    
    .product-video-btn-new .product-video-thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      /* removed brightness filter so thumbnail is bright again */
    }
    
    .product-video-btn-new .product-video-play {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 100%;
      height: 100%;
      background: transparent !important;
      box-shadow: none !important;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    .product-video-btn-new .product-video-play svg {
      width: 32px !important;
      height: 32px !important;
      margin-left: 2px;
      fill: #032953 !important; /* Play button in dark blue */
      /* filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3)); removed drop shadow to keep it clean */
    }

  .partner-dropdown {
    padding: 24px !important;
    min-width: max-content !important;
  }
  .partner-section {
    margin-bottom: 24px;
  }
  .partner-heading {
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding-bottom: 8px;
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 700;
    color: #032953;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
  .partner-dropdown .partner-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    background: transparent !important;
    white-space: nowrap !important;
    margin: 0 !important;
  }
  .partner-dropdown .partner-item:hover {
    background: #f8fafc !important;
  }
  .partner-dropdown .partner-item-title {
    font-weight: 700 !important;
    font-size: 15px !important;
    color: #032953 !important;
    margin-bottom: 4px !important;
  }
  .partner-dropdown .partner-item-desc {
    font-weight: 400 !important;
    font-size: 13px !important;
    color: #64748b !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;
  }
  .product-mega-dropdown .dropdown-content {
    min-width: 650px !important;
  }
  .product-mega-dropdown .mega-menu-left,
  .product-mega-dropdown .mega-menu-right {
    padding: 16px 24px !important;
  }
  .product-mega-dropdown .mega-menu-right {
    background-color: #f8fafc !important;
    border-radius: 0 12px 12px 0;
  }
  .product-mega-dropdown .product-mega-left {
    display: flex;
    flex-direction: column;
    gap: 10px !important; /* Override the 40px gap from base CSS with 10px to perfectly match Ressourcen */
  }
  .product-mega-dropdown .product-mega-left a {
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #64748b !important;
    padding: 6px 8px !important;
    margin: 0 -8px !important;
    line-height: 1.2 !important;
    border-radius: 6px !important;
    transition: all 0.2s;
  }
  .product-mega-dropdown .product-mega-left a:hover {
    background: #f1f5f9 !important;
    color: #032953 !important;
  }
  .product-mega-row {
    display: flex;
    flex-direction: column;
    gap: 28px; /* Increased to naturally fill the available vertical space */
    margin-top: 8px;
  }
  .product-mega-col {
    display: flex;
    flex-direction: column;
  }
  .product-mega-subheading {
    font-size: 13px;
    color: #032953; /* Updated to dark blue */
    margin-bottom: 8px; /* Reduced */
    font-weight: 600;
  }
  .product-logos-grid {
    display: flex;
    gap: 12px;
    margin-bottom: 12px; /* Reduced */
  }
  .product-mega-dropdown .product-logo-box,
  .dropdown-content a.product-logo-box {
    width: 48px !important; /* Reduced by 20% from 60px */
    height: 48px !important; /* Reduced by 20% from 60px */
    background: #ffffff !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04) !important;
    border: 1px solid rgba(0,0,0,0.04) !important;
    padding: 8px !important;
    margin: 0 !important;
    transition: transform 0.2s, box-shadow 0.2s;
    box-sizing: content-box !important;
  }
  .product-logo-box img {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    display: block !important;
  }
  .product-logo-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  }

  .dropdown-content a.all-integrations-link {
    display: inline-flex !important;
    align-self: flex-start !important; /* Force left alignment */
    margin-left: 0 !important; /* Force left alignment */
    align-items: center !important;
    gap: 4px !important;
    font-size: 13px !important;
    font-weight: 400 !important; /* Same weight as other links */
    color: #4b5563 !important; /* Same color as other links */
    text-decoration: none !important;
    padding: 0 !important;
    white-space: nowrap !important;
    background: transparent !important;
  }
  .product-mega-dropdown .mega-menu-heading {
    white-space: nowrap !important; /* Prevent wrapping so headings align perfectly */
  }
  .all-integrations-link:hover {
    text-decoration: underline !important;
    background: transparent !important;
  }

  /* Hide right side on mobile and restore single column */
  @media (max-width: 900px) {
    .product-mega-right {
      display: none !important;
    }
    .product-mega-dropdown .dropdown-content {
      min-width: 100% !important;
      display: flex !important;
      flex-direction: column !important;
    }
    .product-mega-dropdown .mega-menu-left {
      border-right: none !important;
      padding-right: 0 !important;
      width: 100% !important;
    }
  }
    /* Video Button & Modal Styles */
    .product-video-btn {
      display: inline-flex;
      align-items: center;
      background: #ffffff;
      border: 1px solid rgba(0,0,0,0.08);
      border-radius: 12px;
      padding: 6px 24px 6px 6px;
      text-decoration: none;
      color: #111;
      font-family: monospace, 'Inter', sans-serif;
      font-weight: 600;
      font-size: 14px;
      letter-spacing: 0.05em;
      box-shadow: 0 4px 15px rgba(0,0,0,0.05);
      transition: all 0.2s ease;
      cursor: pointer;
    }

    .product-video-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    }

    .product-video-thumb {
      position: relative;
      width: 80px;
      height: 48px;
      border-radius: 8px;
      overflow: hidden;
      margin-right: 16px;
      background: #eee;
    }

    .product-video-thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .product-video-play {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 28px;
      height: 28px;
      background: rgba(255,255,255,0.95);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    }

    .product-video-play svg {
      width: 14px;
      height: 14px;
      margin-left: 2px;
      fill: #032953;
    }

    .video-modal-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.85);
      z-index: 9999;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
      backdrop-filter: blur(5px);
    }

    .video-modal-overlay.active {
      opacity: 1;
      visibility: visible;
    }

    .video-modal-content {
      position: relative;
      width: 90%;
      max-width: 1000px;
      aspect-ratio: 16 / 9;
      background: #000;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 20px 50px rgba(0,0,0,0.5);
      transform: scale(0.95);
      transition: transform 0.3s ease;
    }

    .video-modal-overlay.active .video-modal-content {
      transform: scale(1);
    }

    .video-modal-close {
      position: absolute;
      top: 20px;
      right: 20px;
      width: 40px;
      height: 40px;
      background: rgba(255,255,255,0.1);
      border: none;
      border-radius: 50%;
      color: white;
      font-size: 28px;
      cursor: pointer;
      z-index: 10000;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.2s;
    }

    .video-modal-close:hover {
      background: rgba(255,255,255,0.2);
    }

    .video-modal-content video {
      width: 100%;
      height: 100%;
      outline: none;
      object-fit: contain;
    }
    /* Split Logo Scroll Effect */
  .logo-desktop {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .logo-text {
    height: 13px;
    width: auto;
    transition: max-width 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, margin 0.4s ease;
    max-width: 200px;
    opacity: 1;
    overflow: hidden;
  }
  .main-header.scrolled .logo-text {
    max-width: 0;
    opacity: 0;
    margin-left: -12px;
  }
  .logo-mobile {
    display: none !important;
  }
  @media (max-width: 767px) {
    .logo-desktop {
      display: none !important;
    }
    .logo-mobile {
      display: block !important;
    }
  }
      .header-nav > a:hover,
      .header-nav .dropdown > a:hover,
      .header-actions .login-link:hover,
      .header-actions .cta-btn:hover {
        text-decoration: none !important;
      }
      .header-nav .dropdown > a {
        cursor: default !important;
      }
  * {
    box-sizing: border-box;
  }

  

  

  .bg-blob {
    position: fixed;
    top: -10%;
    right: -15%;
    width: 1100px;
    height: 1100px;
    z-index: 0;
    pointer-events: none;
  }

  /* Top browser-style pill nav, solid, overlapping window top edge */
  .top-pills {
    display: flex;
    gap: 8px;
    background: #ffffff;
    border-radius: 999px;
    padding: 6px;
    margin-bottom: -21px;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  }

  .top-pill {
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 600;
    color: #4a4845;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .top-pill.active {
    }

  /* Outer window frame, glass look */
  .window-frame {
    width: 100%;
    max-width: 1160px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 14px;
    padding: 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 1;
  }

  .window-dots {
    display: flex;
    gap: 7px;
    padding: 4px 6px 12px;
  }

  .window-dots span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: inline-block;
    opacity: 0.85;
  }

  .dot-red { background: #ec6a5e; }
  .dot-yellow { background: #f4bf4f; }
  .dot-green { background: #61c554; }

  /* Inner content shell, solid white */
  .app-shell {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    height: 615px;
    display: flex;
    flex-direction: column;
  }

  /* ===== Embedded Trade-Sync Dashboard ===== */
  .dash-wrap {
    --dash-bg: #ffffff;
    --dash-card-bg: #ffffff;
    --dash-border: #e7e5e0;
    --dash-text-primary: #1a1a1a;
    --dash-text-secondary: #8a8a85;
    --dash-text-muted: #b3b1ab;
    --dash-green: #1d9e4f;
    --dash-gray-bar: #2c2c2a;
    --dash-radius: 10px;
    background: var(--dash-bg);
    padding: 8px 16px;
  }

  .dash-dashboard {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .dash-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    background: var(--dash-card-bg);
    border: 1px solid var(--dash-border);
    border-radius: var(--dash-radius);
    padding: 10px 16px;
  }

  .dash-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    flex-wrap: wrap;
  }

  .dash-status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--dash-green);
    flex-shrink: 0;
  }

  .dash-header-left .dash-company {
    font-weight: 600;
  }

  .dash-header-left .dash-crumb-sep {
    color: var(--dash-text-muted);
  }

  .dash-header-left .dash-crumb {
    color: var(--dash-text-secondary);
  }

  .dash-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
  }

  .dash-timeframe {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    white-space: nowrap;
  }

  .dash-timeframe .dash-label {
    color: var(--dash-text-secondary);
  }

  .dash-timeframe .dash-value-box {
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--dash-border);
    border-radius: 8px;
    padding: 5px 10px;
    font-weight: 600;
    cursor: pointer;
  }

  .dash-metrics {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
  }

  .dash-metric-card {
    background: var(--dash-card-bg);
    border: 1px solid var(--dash-border);
    border-radius: var(--dash-radius);
    padding: 10px 14px;
    min-width: 0;
    position: relative;
  }

  .dash-metric-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
  }

  .dash-metric-label {
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--dash-text-secondary);
    text-transform: uppercase;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .dash-metric-icon {
    color: var(--dash-text-muted);
    font-size: 15px;
    flex-shrink: 0;
  }

  .dash-metric-value {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
    overflow-wrap: break-word;
  }

  .dash-metric-sub {
    font-size: 11px;
    color: var(--dash-text-secondary);
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: baseline;
  }

  .dash-metric-sub .dash-positive {
    color: var(--dash-green);
    font-weight: 600;
  }

  .dash-info-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .dash-info-card {
    background: var(--dash-card-bg);
    border: 1px solid var(--dash-border);
    border-radius: var(--dash-radius);
    padding: 8px 14px;
    font-size: 12.5px;
    min-width: 0;
  }

  .dash-info-card .dash-info-title {
    color: var(--dash-text-secondary);
  }

  .dash-info-card .dash-info-title b {
    color: var(--dash-text-primary);
    font-weight: 700;
  }

  .dash-info-card .dash-info-update {
    color: var(--dash-text-secondary);
    font-size: 11px;
    margin-top: 4px;
  }

  .dash-info-card .dash-info-update .dash-timestamp {
    color: var(--dash-green);
    font-weight: 600;
  }

  .dash-performance-card {
    background: var(--dash-card-bg);
    border: 1px solid var(--dash-border);
    border-radius: var(--dash-radius);
    padding: 10px 16px;
  }

  .dash-performance-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 13.5px;
    margin-bottom: 8px;
  }

  .dash-performance-title .dash-icon {
    font-size: 16px;
    color: var(--dash-text-secondary);
  }

  .dash-table-wrapper {
    overflow-x: auto;
  }

  table.dash-perf-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    min-width: 620px;
  }

  table.dash-perf-table th {
    text-align: left;
    font-weight: 600;
    color: var(--dash-text-secondary);
    font-size: 11.5px;
    padding: 4px 8px 8px;
    border-bottom: 1px solid var(--dash-border);
    white-space: nowrap;
  }

  table.dash-perf-table td {
    padding: 4px 8px;
    border-bottom: 1px solid var(--dash-border);
    white-space: nowrap;
    vertical-align: middle;
  }

  table.dash-perf-table tr:last-child td {
    border-bottom: none;
    font-weight: 700;
  }

  .dash-marketplace-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12.5px;
    font-weight: 600;
  }

  .dash-badge-amazon-de { background: #fdeae6; color: #c25b3f; }
  .dash-badge-otto { background: #fbf1da; color: #a37a1e; }
  .dash-badge-amazon-se { background: #e4eefb; color: #3c6fa8; }
  .dash-badge-kaufland { background: #e4eefb; color: #3c6fa8; }
  .dash-badge-limango { background: #f3e9f7; color: #8a4ba3; }
  .dash-badge-amazon-pl { background: #fdeae6; color: #c25b3f; }
  .dash-badge-amazon-be { background: #e4eefb; color: #3c6fa8; }
  .dash-badge-amazon-nl { background: #e4eefb; color: #3c6fa8; }

  .dash-change {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: var(--dash-green);
    font-weight: 600;
  }

  .dash-change::before {
    content: "↑";
    font-size: 12px;
  }

  .dash-bar-cell {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 220px;
  }

  .dash-bar-track {
    flex: 1;
    height: 8px;
    background: #f0efec;
    border-radius: 4px;
    overflow: hidden;
  }

  .dash-bar-fill {
    height: 100%;
    background: var(--dash-gray-bar);
    border-radius: 4px;
  }

  .dash-bar-percent {
    font-weight: 600;
    min-width: 38px;
    text-align: right;
  }

  /* Tab panel visibility */
  .tab-panel {
    display: none;
  }

  .tab-panel.active {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
    min-height: 0;
    animation: tabFadeIn 0.4s ease;
  }

  @keyframes tabFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* Auto-advance progress indicator on pills */
  .top-pill {
    position: relative;
    overflow: hidden;
  }

  .top-pill .pill-progress {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 0%;
    background: #032953;
    overflow: hidden;
    white-space: nowrap;
    transition: width 0.05s linear;
    display: flex;
    align-items: center;
  }

  .top-pill .pill-label {
    position: relative;
  }

  .top-pill .pill-label-fill {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff;
    white-space: nowrap;
  }

  /* Explainer callouts on metric cards */
  .metric-callout {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    width: 200px;
    background: #032953;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    padding: 12px 14px;
    border-radius: 10px;
    z-index: 20;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
    white-space: normal;
  }
  .callout-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 8px;
  }
  .callout-dot {
    width: 6px;
    height: 6px;
    background: #4B9BFF; /* A slightly brighter blue for the dot */
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 6px rgba(75, 155, 255, 0.6);
  }
  .callout-text {
    font-size: 11.5px;
    font-weight: 500;
    line-height: 1.4;
    text-align: left;
    color: rgba(255, 255, 255, 0.95);
  }


  .metric-callout::after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 7px;
    border-style: solid;
    border-color: transparent transparent #032953 transparent;
  }

  .metric-callout.callout-above::after {
    bottom: auto;
    top: 100%;
    border-color: #032953 transparent transparent transparent;
  }

  .metric-callout.callout-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
  }
  .metric-callout.callout-right-offset {
    left: -10px; /* Slight offset to align the arrow nicely */
    transform: translateX(0) translateY(-6px);
  }
  .metric-callout.callout-right-offset.callout-visible,
  .dash-metric-card:hover .metric-callout.callout-right-offset {
    transform: translateX(0) translateY(0);
  }
  .metric-callout.callout-right-offset::after {
    left: 30px;
    transform: translateX(0);
  }
  /* Shift callout left to avoid overlap */
  .metric-callout.callout-shift-left {
    transform: translateX(-70%) translateY(-6px);
  }
  .metric-callout.callout-shift-left.callout-visible,
  .dash-metric-card:hover .metric-callout.callout-shift-left {
    transform: translateX(-70%) translateY(0);
  }
  .metric-callout.callout-shift-left::after {
    left: 70%;
  }

  /* Shift callout right to avoid overlap */
  .metric-callout.callout-shift-right {
    transform: translateX(-30%) translateY(-6px);
  }
  .metric-callout.callout-shift-right.callout-visible,
  .dash-metric-card:hover .metric-callout.callout-shift-right {
    transform: translateX(-30%) translateY(0);
  }
  .metric-callout.callout-shift-right::after {
    left: 30%;
  }



  .dash-metric-card:hover .metric-callout {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
  }
  .metric-callout.force-hide {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .metric-callout.callout-left {
    transform: translateX(0) translateY(-6px);
  }

  .metric-callout.callout-left.callout-visible {
    transform: translateX(0) translateY(0);
  }

  .metric-callout.callout-left::after {
    left: 24px;
    transform: none;
  }

  /* Kritische Retouren / Anbindungen panel styles */
  .panel-card {
    background: #ffffff;
    border: 1px solid #e7e5e0;
    border-radius: 10px;
    overflow: visible;
  }

  .panel-card + .panel-card {
    margin-top: 12px;
  }

  .panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    border-bottom: 1px solid #e7e5e0;
    flex-wrap: wrap;
  }

  .panel-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    min-width: 0;
  }

  .panel-warn-icon {
    color: #d8a300;
    font-size: 17px;
    flex-shrink: 0;
  }

  .panel-tree-icon {
    color: #8a8a85;
    font-size: 16px;
    flex-shrink: 0;
  }

  .panel-title {
    font-weight: 700;
    font-size: 15px;
    white-space: nowrap;
  }

  .panel-subtitle {
    font-size: 13px;
    color: #8a8a85;
    white-space: nowrap;
  }

  .panel-expand {
    color: #b3b1ab;
    font-size: 16px;
    flex-shrink: 0;
    cursor: pointer;
  }

  .panel-

  table.returns-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    min-width: 520px;
  }

  table.returns-table th {
    text-align: left;
    font-weight: 600;
    color: #8a8a85;
    font-size: 13px;
    padding: 6px 14px;
    border-bottom: 1px solid #e7e5e0;
    white-space: nowrap;
  }

  table.returns-table td {
    padding: 6px 14px;
    border-bottom: 1px solid #e7e5e0;
    white-space: nowrap;
    vertical-align: middle;
  }

  table.returns-table tr:last-child td {
    border-bottom: none;
  }

  .quote-cell {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .quote-percent {
    color: #d23b3b;
    font-weight: 600;
    min-width: 52px;
  }

  .quote-bar-track {
    width: 90px;
    height: 6px;
    border-radius: 3px;
    flex-shrink: 0;
  }

  .quote-bar-fill {
    height: 100%;
    border-radius: 3px;
    background: #d23b3b;
  }

  .channel-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 12.5px;
    font-weight: 600;
    background: #d7f0db;
    color: #1f7a35;
  }

  .legend-row {
    display: flex;
    align-items: center;
    gap: 22px;
    justify-content: center;
    padding: 14px 18px 4px;
    flex-wrap: wrap;
  }

  .legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
  }

  .legend-swatch {
    width: 11px;
    height: 11px;
    border-radius: 2px;
    flex-shrink: 0;
  }

  .swatch-accepted { background: #032953; }
  .swatch-faulty { background: #9b9b9b; }
  .swatch-inactive { background: #c9c9c9; }

  .legend-item.accepted { color: #032953; }
  .legend-item.faulty { color: #6b6b6b; }
  .legend-item.inactive { color: #9b9b9b; }

  .chart-area {
    padding: 8px 24px 10px;
    overflow: visible;
  }

  .chart-inner {
    display: flex;
    align-items: stretch;
    gap: 0;
    min-width: 560px;
  }

  .chart-y-axis {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 12px;
    color: #8a8a85;
    padding-right: 10px;
    text-align: right;
    height: 180px;
  }

  .chart-bars {
    flex: 1;
    display: flex;
    align-items: flex-end;
    gap: 18px;
    height: 180px;
    border-left: 1px solid #e7e5e0;
    padding-left: 14px;
    position: relative;
    background-image: repeating-linear-gradient(
      to top,
      #e7e5e0 0,
      #e7e5e0 1px,
      transparent 1px,
      transparent 25%
    );
    background-size: 100% 100%;
  }

  .bar-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    min-width: 30px;
  }

  .bar-stack {
    width: 100%;
    display: flex;
    flex-direction: column-reverse;
    border-radius: 2px 2px 0 0;
    overflow: hidden;
  }

  .seg-accepted { background: #032953; }
  .seg-faulty { background: #9b9b9b; }
  .seg-inactive { background: #c9c9c9; }

  .chart-x-labels {
    display: flex;
    gap: 18px;
    padding-left: 14px;
    margin-top: 6px;
  }

  .chart-x-labels span {
    flex: 1;
    min-width: 30px;
    font-size: 11.5px;
    color: #8a8a85;
    text-align: center;
    white-space: nowrap;
  }

  /* ===== Repricer view ===== */
  .rep-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 16px;
  }

  .rep-metric-card {
    background: #ffffff;
    border: 1px solid #e7e5e0;
    border-radius: 10px;
    padding: 14px 18px;
    min-width: 0;
  }

  .rep-metric-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #8a8a85;
    text-transform: uppercase;
    margin-bottom: 8px;
  }

  .rep-metric-row {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .rep-metric-value {
    font-size: 22px;
    font-weight: 700;
    white-space: nowrap;
  }

  .rep-metric-bar-track {
    flex: 1;
    height: 7px;
    background: #f0efec;
    border-radius: 4px;
    overflow: hidden;
    min-width: 40px;
  }

  .rep-metric-bar-fill {
    height: 100%;
    border-radius: 4px;
  }

  .rep-bar-green { background: #1d9e4f; }
  .rep-bar-red { background: #e0454f; }

  .rep-metric-percent {
    font-size: 12.5px;
    font-weight: 700;
    white-space: nowrap;
  }

  .rep-percent-green { color: #1d9e4f; }
  .rep-percent-red { color: #e0454f; }

  .rep-subtabs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid #e7e5e0;
    padding: 0 4px;
    margin-bottom: 16px;
    flex-wrap: wrap;
  }

  .rep-subtab-list {
    display: flex;
    gap: 22px;
    font-size: 13.5px;
    color: #8a8a85;
  }

  .rep-subtab {
    padding: 10px 0;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
  }

  .rep-subtab.active {
    color: #032953;
    font-weight: 700;
    border-bottom-color: #032953;
  }

  .rep-daterange {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid #e7e5e0;
    border-radius: 8px;
    padding: 7px 12px;
    white-space: nowrap;
  }

  .rep-panel-card {
    background: #ffffff;
    border: 1px solid #e7e5e0;
    border-radius: 10px;
    padding: 16px 20px;
  }

  .rep-panel-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
  }

  .rep-panel-title {
    font-weight: 700;
    font-size: 16px;
  }

  .rep-export-btn {
    border: 1px solid #e7e5e0;
    border-radius: 8px;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
  }

  .rep-controls-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 12px;
    flex-wrap: wrap;
  }

  .rep-search {
    flex: 1;
    min-width: 180px;
    max-width: 280px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #e7e5e0;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 13px;
    color: #8a8a85;
  }

  .rep-filters {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
  }

  .rep-filter-group {
    font-size: 12px;
  }

  .rep-filter-label {
    color: #8a8a85;
    margin-bottom: 6px;
  }

  .rep-filter-options {
    display: flex;
    gap: 14px;
  }

  .rep-filter-option {
    display: flex;
    align-items: center;
    gap: 5px;
  }

  .rep-checkbox {
    width: 13px;
    height: 13px;
    border: 1px solid #c7c5bf;
    border-radius: 3px;
    flex-shrink: 0;
  }

  .rep-table-wrapper {
    border-top: 1px solid #e7e5e0;
  }

  table.rep-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11.5px;
    table-layout: auto;
  }

  table.rep-table th {
    text-align: left;
    font-weight: 600;
    color: #8a8a85;
    font-size: 10.5px;
    padding: 6px 6px;
    border-bottom: 1px solid #e7e5e0;
    white-space: nowrap;
  }

  table.rep-table td {
    padding: 5px 6px;
    border-bottom: 1px solid #e7e5e0;
    white-space: nowrap;
    vertical-align: middle;
    color: #1a1a1a;
  }

  .rep-badge {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 5px;
    font-size: 10.5px;
    font-weight: 700;
  }

  .rep-badge-yes { background: #d9f0de; color: #1d7a3f; }
  .rep-badge-no { background: #fbdde2; color: #c4334a; }

  .rep-price-cell {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 11px;
  }

  .rep-price-green { background: #d9f0de; color: #1d7a3f; }
  .rep-price-red { background: #fbdde2; color: #c4334a; }

  .rep-price-sup {
    font-size: 9.5px;
    font-weight: 700;
    margin-left: 2px;
  }

  .rep-link-icon {
    color: #8a8a85;
  }

  .rep-blur-name {
    filter: blur(4px);
    user-select: none;
    display: inline-block;
  }

  .rep-section-header {
    background: #fafaf8;
    font-size: 11px;
    font-weight: 700;
    color: #6b6b67;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 7px 8px;
    border-bottom: 1px solid #e7e5e0;
  }

  /* ===== Bestellungen / Orders table view ===== */
  .ord-panel-card {
    background: #ffffff;
    border: 1px solid #e7e5e0;
    border-radius: 10px;
    overflow: hidden;
  }

  .ord-panel-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid #e7e5e0;
    flex-wrap: wrap;
  }

  .ord-panel-title {
    font-weight: 700;
    font-size: 16px;
  }

  .ord-panel-subtitle {
    font-size: 12.5px;
    color: #8a8a85;
  }

  .ord-table-wrapper {
    overflow-x: auto;
  }

  table.ord-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 10.5px;
    table-layout: auto;
  }

  table.ord-table th,
  table.ord-table td {
    padding: 5px 5px;
    text-align: right;
    white-space: nowrap;
  }

  table.ord-table th:first-child,
  table.ord-table td:first-child {
    text-align: left;
  }

  .ord-date-col {
    color: #4a4845;
    font-weight: 600;
    background: #fafaf8;
  }

  .ord-group-header {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.03em;
    padding: 7px 10px;
    text-align: center;
    border-bottom: 2px solid #e7e5e0;
    border-left: 1px solid #e7e5e0;
  }

  .ord-group-header:first-child {
    border-left: none;
  }

  .ord-sub-header {
    font-size: 10px;
    font-weight: 600;
    color: #8a8a85;
    padding: 6px 10px;
    border-bottom: 1px solid #e7e5e0;
    background: #fafaf8;
  }

  .ord-grp-be { background: #ffffff; color: #1a1a1a; }
  .ord-grp-de { background: #ffffff; color: #1a1a1a; }
  .ord-grp-nl { background: #ffffff; color: #1a1a1a; }
  .ord-grp-pl { background: #ffffff; color: #1a1a1a; }
  .ord-grp-se { background: #ffffff; color: #1a1a1a; }
  .ord-grp-kaufland { background: #ffffff; color: #1a1a1a; }
  .ord-grp-limango { background: #ffffff; color: #1a1a1a; }
  .ord-grp-otto { background: #ffffff; color: #1a1a1a; }

  table.ord-table tbody tr {
    border-bottom: 1px solid #f0efec;
  }

  table.ord-table tbody tr:nth-child(even) {
    background: #fbfaf8;
  }

  table.ord-table tbody tr:nth-child(even) .ord-date-col {
    background: #f5f3ee;
  }

  table.ord-table td.ord-empty {
    color: #c7c5bf;
  }

  table.ord-table td.ord-menge {
    color: #6b6b67;
  }

  @media (max-width: 700px) {
    .panel-header {
      align-items: flex-start;
    }
    .chart-y-axis {
      display: none;
    }
  }

  @media (max-width: 600px) {
    .dash-metrics {
      grid-template-columns: repeat(2, 1fr);
    }
    .dash-info-row {
      grid-template-columns: 1fr;
    }
    .dash-header {
      flex-direction: column;
      align-items: flex-start;
    }
  }


/* Ensure the window frame matches the previous transparent logic if needed, 
   but we will use the exact CSS the user provided for .window-frame */
      .feature-cards-section {
        max-width: 1100px;
        margin: 0 auto;
        padding: 0 24px 40px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
      }
      .feat-card {
        background: #ffffff;
        border-radius: 16px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        height: 840px;
      }
      .feat-card__image {
        width: 100%;
        aspect-ratio: 16 / 9;
        background: #e2e5ea;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        flex-shrink: 0;
      }
      .feat-card__image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
      .feat-card__image-placeholder {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
        color: #9ba3b0;
      }
      .feat-card__image-placeholder span {
        font-size: 13px;
        font-weight: 500;
        letter-spacing: 0.02em;
      }
      .feat-card__body {
        padding: 28px 32px 32px;
        display: flex;
        flex-direction: column;
        gap: 10px;
        flex: 1;
      }
      .feat-card__eyebrow {
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: #1a56d6;
      }
      .feat-card__title {
        font-size: 22px;
        font-weight: 700;
        color: #111827;
        line-height: 1.3;
        margin: 0;
      }
      .feat-card__desc {
        font-size: 15px;
        color: #4b5563;
        line-height: 1.65;
        margin: 0;
      }
      .feat-card__btn {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        margin-top: 12px;
        padding: 10px 20px;
        background: #ffffff;
        border: 1px solid #d1d5db;
        border-radius: 8px;
        font-size: 14px;
        font-weight: 600;
        color: #111827;
        text-decoration: none;
        width: fit-content;
        transition: background 0.2s ease, border-color 0.2s ease;
      }
      .feat-card__btn:hover {
        background: #f9fafb;
        border-color: #9ca3af;
      }
      @media (max-width: 720px) {
        .feature-cards-section {
          grid-template-columns: 1fr;
        }
        .feat-card {
          height: auto; /* Allow natural height on mobile */
        }
      }
            .ts-accordion-grid {
              display: grid;
              grid-template-columns: 1fr 1fr;
              gap: 8px;
              margin-top: 20px;
            }
            .ts-accordion-item {
              background: #ffffff;
              border: 1px solid #e5e7eb;
              border-radius: 8px;
              overflow: hidden;
              cursor: pointer;
              transition: all 0.5s ease;
            }
            .ts-accordion-item:hover {
              border-color: #cbd5e1;
              background: #f8fafc;
            }
            .ts-accordion-header {
              display: flex;
              align-items: center;
              padding: 12px 14px;
              gap: 10px;
            }
            .ts-accordion-dot {
              width: 8px;
              height: 8px;
              border-radius: 50%;
              flex-shrink: 0;
            }
            .ts-accordion-title {
              font-size: 12px;
              font-weight: 600;
              color: #1e293b;
              flex-grow: 1;
              white-space: nowrap;
              overflow: hidden;
              text-overflow: ellipsis;
            }
            .ts-accordion-icon {
              color: #94a3b8;
              transition: transform 0.3s ease;
              flex-shrink: 0;
            }
            .ts-accordion-content {
              max-height: 0;
              opacity: 0;
              padding: 0 14px;
              font-size: 13px;
              color: #475569;
              line-height: 1.5;
              transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
            }
            .ts-accordion-badge {
              display: inline-block;
              border: 1px solid #e2e8f0;
              background: #f1f5f9;
              color: #334155;
              font-size: 11px;
              font-weight: 600;
              padding: 6px 12px;
              border-radius: 6px;
              margin-top: 14px;
            }
            .ts-accordion-item.active {
              background: #ffffff;
              border-color: #032953;
              box-shadow: 0 4px 15px rgba(3,41,83,0.08);
              grid-column: 1 / -1; /* Spans both columns */
              order: -1; /* Pushes the active item to the top */
            }
            .ts-accordion-item.active .ts-accordion-title {
              color: #032953;
              font-size: 14px; /* Slightly larger when expanded */
              white-space: normal;
            }
            .ts-accordion-item.active .ts-accordion-content {
              max-height: 250px;
              opacity: 1;
              padding: 0 14px 16px 14px;
            }
            .ts-accordion-item.active .ts-accordion-icon {
              transform: rotate(180deg);
              color: #032953;
            }
            /* Inactive items remain visible, but wrap under the active item because the grid switches to 1 column */
            @media (max-width: 600px) {
              .ts-accordion-grid {
                grid-template-columns: 1fr;
              }
            }
      .tab-showcase-section {
        padding: 100px 24px;
        max-width: 1200px;
        margin: 0 auto;
        font-family: 'Inter', sans-serif;
      }
      .tab-showcase-header {
        text-align: center;
        margin-bottom: 80px;
      }
      .tab-showcase-header h2 {
        font-size: 3rem;
        font-weight: 800;
        color: #032953;
        letter-spacing: -0.04em;
        margin-bottom: 16px;
      }
      .tab-showcase-header p {
        font-size: 1.25rem;
        color: #64748b;
        max-width: 900px;
        margin: 0 auto;
        line-height: 1.6;
      }
      .tab-showcase-box {
        background: #ffffff;
        border-radius: 32px;
        padding: 60px;
        box-shadow: 0 10px 40px rgba(3, 41, 83, 0.05);
      }
      .tab-showcase-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        align-items: center;
      }
      .tab-showcase-tabs {
        display: flex;
        flex-direction: column;
        gap: 16px;
        min-height: 680px;
        justify-content: center;
      }
      .tab-item {
        padding: 24px 24px 24px 32px;
        border-radius: 16px;
        cursor: pointer;
        transition: all 0.5s ease;
        position: relative;
        overflow: hidden;
        border: 2px solid transparent;
        background: transparent;
      }
      .tab-item::before {
        content: '';
        position: absolute;
        left: 0;
        top: 24px;
        bottom: 24px;
        width: 4px;
        background: #e2e8f0;
        border-radius: 4px;
        transition: background 0.5s ease;
      }
      .tab-item.active {
        background: #f8fafc;
        border-color: #f1f5f9;
        box-shadow: 0 4px 20px rgba(0,0,0,0.02);
      }
      .tab-item.active::before {
        background: #3b82f6;
      }
      .tab-title {
        font-size: 1.4rem;
        font-weight: 700;
        color: #475569;
        margin-bottom: 0;
        transition: color 0.5s ease, margin-bottom 0.5s ease;
      }
      .tab-item.active .tab-title {
        color: #032953;
        margin-bottom: 8px;
      }
      .tab-desc {
        font-size: 1.05rem;
        color: #64748b;
        line-height: 1.6;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        margin-top: 0;
        transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease, margin-top 0.5s ease;
      }
      .tab-item.active .tab-desc {
        max-height: 150px;
        opacity: 1;
        margin-top: 12px;
      }
      .tab-showcase-media {
        position: relative;
        border-radius: 24px;
        overflow: hidden;
        aspect-ratio: 4/3;
        background: #f1f5f9;
        box-shadow: 0 20px 40px rgba(3, 41, 83, 0.08);
      }
      .media-item {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.6s ease, visibility 0.6s ease;
        object-fit: cover;
        transform: scale(1.4);
      }
      .media-item.active {
        opacity: 1;
        visibility: visible;
        z-index: 1;
      }
      @media (max-width: 900px) {
        .tab-showcase-content {
          grid-template-columns: 1fr;
          gap: 40px;
        }
        .tab-showcase-media {
          order: -1;
        }
        .tab-showcase-box {
          padding: 30px;
          border-radius: 24px;
        }
      }
      .tab-showcase-badges {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: nowrap;
        gap: 12px;
        padding: 0 32px 24px;
        border-top: none;
      }
      .tab-showcase-badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 8px 12px;
        background: #ffffff;
        border: 1px solid #cbd5e1;
        border-radius: 6px;
        font-size: 10.5px;
        font-weight: 700;
        letter-spacing: 0.05em;
        color: #0f172a;
        text-transform: uppercase;
        white-space: nowrap;
      }
      .tab-showcase-badge svg {
        width: 14px;
        height: 14px;
        color: #0f172a;
      }
      .tab-showcase-badge span.emoji {
        font-size: 14px;
        line-height: 1;
      }
      :root {
        --bg-color: #ffffff;
        --card-bg: #f2f5f8;
        --brand-blue: #032953;
        --problem-red: #b91c1c;
        /* Ein satteres, professionelles Rot */
        --text-secondary: #64748b;
        --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
      }

      .grid-wrapper {
        background-color: var(--card-bg);
        padding: 60px 20px 120px;
      }

      .problem-section-header {
        text-align: center;
        margin-bottom: 70px;
        font-family: 'Inter', sans-serif;
      }

      .problem-section-header h2 {
        color: #032953;
        font-size: 3.5rem;
        font-weight: 800;
        letter-spacing: -0.04em;
        margin-bottom: 20px;
        line-height: 1.1;
      }

      .problem-section-header p {
        color: #64748b;
        font-size: 1.4rem;
        max-width: 800px;
        margin: 0 auto;
        line-height: 1.6;
        font-weight: 400;
      }

      .problem-section-actions {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-top: 60px;
        width: 100%;
      }

      @media (max-width: 850px) {
        .problem-section-header h2 {
          font-size: 2.5rem;
        }
        .problem-section-header p {
          font-size: 1.1rem;
        }
        .problem-section-actions {
          flex-direction: column;
          align-items: center;
          gap: 12px;
        }
      }

      .container {
        font-family: 'Inter', sans-serif;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        max-width: 1100px;
        margin: 0 auto;
      }

      .card-problem {
        background: #ffffff;
        border-radius: 16px;
        padding: 30px 30px;
        min-height: auto;
        display: flex;
        flex-direction: column;
        transition: var(--transition);
        border: 1px solid rgba(3, 41, 83, 0.05);
        cursor: pointer;
        position: relative;
        overflow: hidden;
      }

      .card-problem:hover {
        box-shadow: 0 15px 35px rgba(3, 41, 83, 0.06);
        border: 1px solid rgba(3, 41, 83, 0.15);
      }

      .card-problem .num {
        font-weight: 600;
        font-size: 0.75rem;
        color: var(--brand-blue);
        margin-bottom: 12px;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        opacity: 0.6;
      }

      .card-problem .title {
        font-size: 1.6rem;
        font-weight: 700;
        line-height: 1.2;
        margin-bottom: 10px;
        letter-spacing: -0.02em;
        color: var(--problem-red);
        transition: var(--transition);
      }

      .card-problem .description {
        font-size: 1.05rem;
        line-height: 1.5;
        color: var(--text-secondary);
        transition: var(--transition);
      }

      .card-problem .action-call {
        margin-top: auto;
        padding-top: 15px;
        color: var(--brand-blue);
        font-size: 1rem;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 8px;
        opacity: 1;
        transition: var(--transition);
        text-decoration: none;
        cursor: pointer;
      }

      .card-problem:hover .title {
        color: var(--problem-red);
      }

      .card-problem .action-call svg {
        transition: transform 0.3s ease;
      }

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

        .card-problem .action-call {
          opacity: 1;
          transform: none;
          margin-top: 15px;
        }

        .card-problem .description {
          display: block;
          opacity: 1;
          transform: none;
        }

        .problem-icon {
          width: 40px;
          height: 40px;
          margin-bottom: 24px;
          color: var(--problem-red);
          opacity: 0.8;
        }
      }

      .problem-icon {
        width: 44px;
        height: 44px;
        margin-bottom: 28px;
        color: var(--problem-red);
        transition: var(--transition);
      }

      .card-problem:hover .problem-icon {
        opacity: 1;
      }
    
    
    /* --- SYNCED MOBILE HEADER & FOOTER CSS --- */
    @media (max-width: 1050px) {
      .main-header {
        width: 96% !important;
        top: 16px !important;
        padding: 0 20px !important;
        height: 60px !important;
        border-radius: 8px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        position: fixed !important;
        transform: translateX(-50%) !important;
        left: 50% !important;
      }

      .header-logo img {
        height: 22px !important;
      }

      .header-nav,
      .header-actions {
        display: none;
      }.mobile-menu-btn {
        display: flex !important;
      }

      .main-header.mobile-active {
        height: 100vh !important;
        overflow-y: auto !important;
        background: #fff !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        padding: 90px 24px 60px !important;
        z-index: 2000 !important;
        border-radius: 0 !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        transform: none !important;
      }

      .main-header.mobile-active .header-logo {
        position: fixed !important;
        top: 25px !important;
        left: 24px !important;
        z-index: 2100 !important;
      }

      .main-header.mobile-active.mobile-menu-btn {
        position: fixed !important;
        top: 28px !important;
        right: 24px !important;
        z-index: 2100 !important;
      }

      .header-nav.mobile-active {
        position: static !important;
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        width: 100% !important;
        padding: 0 !important;
        gap: 18px !important;
        background: transparent !important;
        z-index: auto !important;
      }

      .header-nav.mobile-active a {
        font-size: 20px !important;
      }

      .header-actions.mobile-active {
        position: static !important;
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        margin-top: 30px !important;
        padding: 0 !important;
        gap: 16px !important;
        z-index: auto !important;
        align-items: center !important;
      }

      .header-actions.mobile-active .login-link,
      .header-actions.mobile-active .cta-btn {
      white-space: nowrap;
        width: 100% !important;
        max-width: 280px !important;
        min-width: 200px !important;
        text-align: center !important;
        font-size: 18px !important;
        padding: 14px 24px !important;
      }

      .header-nav.mobile-active .dropdown {
        flex-direction: column !important;
        width: 100% !important;
        align-items: center !important;
      }
      .header-nav.mobile-active .dropdown-content {
        position: static !important;
        transform: none !important;
        display: none !important;
        box-shadow: none !important;
        border: none !important;
        background: transparent !important;
        width: 100% !important;
        min-width: 0 !important;
        margin-top: 5px !important;
        text-align: center !important;
        padding: 0 !important;
      }
      .header-nav.mobile-active .dropdown.active .dropdown-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        margin: 15px 0 25px 0 !important;
      }
      .header-nav.mobile-active .dropdown-content::before,
      .header-nav.mobile-active .dropdown-header {
        display: none !important;
      }
      .header-nav.mobile-active .dropdown-content a {
        font-size: 16px !important;
        padding: 6px 0 !important;
        justify-content: center !important;
        color: #64748b !important;
      }
      .header-nav.mobile-active .dropdown > a {
        font-size: 20px !important;
        color: #032953 !important;
        font-weight: 500 !important;
      }

      /* FOOTER MOBILE FIX */
      .footer-container {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 40px !important;
      }
      .footer-bottom {
        flex-direction: column !important;
        gap: 20px !important;
        text-align: center !important;
        align-items: center !important;
      }
      .footer-certs {
        justify-content: center !important;
        flex-wrap: wrap !important;
      }
    }


  :root {
    --brand-blue: #032953;
    --light-bg: #f2f5f8;
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .cred-wrapper {
    font-family: 'Inter', sans-serif;
    padding: 60px 20px;
    background-color: #ffffff;
    position: relative;
    z-index: 100; /* Ensure it stays visible */
  }

  .cred-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto 25px auto;
  }

  .cred-box {
    border-radius: 28px;
    padding: 50px;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  /* Dunkle Box */
  .cred-dark {
    background-color: var(--brand-blue);
    color: #ffffff;
  }

  /* Helle Box (Performance) */
  .cred-light {
    background-color: var(--light-bg);
    color: var(--brand-blue);
    border: 1px solid rgba(3, 41, 83, 0.05);
  }

  .cred-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 15px;
    display: block;
    opacity: 0.6;
  }

  .cred-value {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 15px;
  }

  .cred-text {
    font-size: 1.1rem;
    line-height: 1.5;
    opacity: 0.8;
    margin: 0;
  }

  /* Button Styling */
  .cred-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    width: fit-content;
    max-width: 100%;
    margin-top: 30px;
    box-sizing: border-box;
    word-break: break-word;
  }

  /* Button in der hellen Box (Mehr Lesen) */
  .cred-light .cred-btn {
    background: var(--brand-blue);
    color: #ffffff;
  }

  .cred-light .cred-btn:hover {
    background: #053b75;
    transform: translateX(4px);
  }

  /* Zitat Styles */
  .testimonial-area {
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
    padding: 40px 0;
    position: relative;
  }

  .testimonial-area::before {
    content: "“";
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 120px;
    font-family: serif;
    color: var(--light-bg);
    z-index: 0;
  }

  .quote-text {
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--brand-blue);
    letter-spacing: -0.03em;
    position: relative;
    z-index: 1;
    margin: 0 0 30px 0;
  }

  .author-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
  }

  .author-img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }

  .author-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .author-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1d1d1f;
  }

  .author-title {
    font-size: 0.95rem;
    color: #64748b;
    opacity: 0.7;
  }

  @media (max-width: 850px) {
    .cred-wrapper { 
      padding: 60px 20px; 
      width: 100%; 
      overflow: hidden; 
      box-sizing: border-box;
    }
    .cred-grid { 
      grid-template-columns: 1fr !important; 
      gap: 16px !important; 
      margin: 0 auto 30px auto !important; 
      width: 100%;
      max-width: 100%;
      box-sizing: border-box;
    }
    .cred-box { 
      padding: 20px 16px !important; 
      min-height: auto !important; 
      border-radius: 16px !important; 
      width: 100%;
      box-sizing: border-box;
      overflow: hidden;
    }
    .cred-value { font-size: 2.6rem; }
    .cred-text { font-size: 1rem; line-height: 1.4; }
    .quote-text { font-size: 1.5rem; }
    .cred-btn {
      padding: 12px 18px;
      font-size: 0.85rem;
      width: 100%;
      justify-content: center;
    }
  }

    
    /* --- SYNCED MOBILE HEADER & FOOTER CSS --- */
    @media (max-width: 1050px) {
      .main-header {
        width: 96% !important;
        top: 16px !important;
        padding: 0 20px !important;
        height: 60px !important;
        border-radius: 8px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        position: fixed !important;
        transform: translateX(-50%) !important;
        left: 50% !important;
      }

      .header-logo img {
        height: 22px !important;
      }

      .header-nav,
      .header-actions {
        display: none;
      }.mobile-menu-btn {
        display: flex !important;
      }

      .main-header.mobile-active {
        height: 100vh !important;
        overflow-y: auto !important;
        background: #fff !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        padding: 90px 24px 60px !important;
        z-index: 2000 !important;
        border-radius: 0 !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        transform: none !important;
      }

      .main-header.mobile-active .header-logo {
        position: fixed !important;
        top: 25px !important;
        left: 24px !important;
        z-index: 2100 !important;
      }

      .main-header.mobile-active.mobile-menu-btn {
        position: fixed !important;
        top: 28px !important;
        right: 24px !important;
        z-index: 2100 !important;
      }

      .header-nav.mobile-active {
        position: static !important;
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        width: 100% !important;
        padding: 0 !important;
        gap: 18px !important;
        background: transparent !important;
        z-index: auto !important;
      }

      .header-nav.mobile-active a {
        font-size: 20px !important;
      }

      .header-actions.mobile-active {
        position: static !important;
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        margin-top: 30px !important;
        padding: 0 !important;
        gap: 16px !important;
        z-index: auto !important;
        align-items: center !important;
      }

      .header-actions.mobile-active .login-link,
      .header-actions.mobile-active .cta-btn {
      white-space: nowrap;
        width: 100% !important;
        max-width: 280px !important;
        min-width: 200px !important;
        text-align: center !important;
        font-size: 18px !important;
        padding: 14px 24px !important;
      }

      .header-nav.mobile-active .dropdown {
        flex-direction: column !important;
        width: 100% !important;
        align-items: center !important;
      }
      .header-nav.mobile-active .dropdown-content {
        position: static !important;
        transform: none !important;
        display: none !important;
        box-shadow: none !important;
        border: none !important;
        background: transparent !important;
        width: 100% !important;
        min-width: 0 !important;
        margin-top: 5px !important;
        text-align: center !important;
        padding: 0 !important;
      }
      .header-nav.mobile-active .dropdown.active .dropdown-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        margin: 15px 0 25px 0 !important;
      }
      .header-nav.mobile-active .dropdown-content::before,
      .header-nav.mobile-active .dropdown-header {
        display: none !important;
      }
      .header-nav.mobile-active .dropdown-content a {
        font-size: 16px !important;
        padding: 6px 0 !important;
        justify-content: center !important;
        color: #64748b !important;
      }
      .header-nav.mobile-active .dropdown > a {
        font-size: 20px !important;
        color: #032953 !important;
        font-weight: 500 !important;
      }

      /* FOOTER MOBILE FIX */
      .footer-container {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 40px !important;
      }
      .footer-bottom {
        flex-direction: column !important;
        gap: 20px !important;
        text-align: center !important;
        align-items: center !important;
      }
      .footer-certs {
        justify-content: center !important;
        flex-wrap: wrap !important;
      }
    }


  :root {
    --bg-dark-deep: #000c1d; 
    --accent-cyan: #00d2ff;  
    --transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  /* --- DARK SECTION WRAPPER --- */
  .dark-section-wrapper {
    position: relative;
    width: 100%;
  }

  .sticky-container {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
  }

  /* --- FIXIERTER HINTERGRUND --- */
  .bg-fixed-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    background-color: var(--bg-dark-deep);
  }

  .nebula-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140%;
    height: 70%;
    background: radial-gradient(
      ellipse at center, 
      rgba(236, 72, 153, 0.3) 0%, /* Pink glow matching the badge */
      rgba(3, 41, 83, 0.15) 40%, 
      transparent 80%
    );
    filter: blur(100px);
  }

  .bg-text-engine {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Inter', sans-serif;
    font-size: 11.5vw;
    font-weight: 900;
    color: transparent;
    /* Ghostly subtle outline */
    text-shadow: 
      -0.5px -0.5px 0 rgba(255, 255, 255, 0.008),  
       0.5px -0.5px 0 rgba(255, 255, 255, 0.008),
      -0.5px  0.5px 0 rgba(255, 255, 255, 0.008),
       0.5px  0.5px 0 rgba(255, 255, 255, 0.008);
    white-space: nowrap;
    z-index: 5;
    pointer-events: none;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    text-align: center;
    line-height: 0.85;
  }

  .grain-overlay {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.18;
    mix-blend-mode: soft-light;
    z-index: 6;
  }

  /* --- UI EBENE --- */
  .ui-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 12vh;
  }

  .error-section-heading {
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 600;
    text-align: center;
    max-width: 800px;
    margin: 0 0 24px 0;
    letter-spacing: -0.02em;
    font-family: 'Inter', sans-serif;
  }

  .analysis-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    pointer-events: auto;
  }

  .dot-pink {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ec4899;
    box-shadow: 0 0 10px #ec4899;
    animation: blink 2s infinite;
  }

  @keyframes blink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
  }

  /* --- SCROLL CONTAINER --- */
  .scroll-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 50vh; 
    margin-top: -100vh;
  }

  .spacer-bottom { height: 50vh; }

  .card-item {
    width: min(520px, 85%);
    margin-bottom: 120vh; 
  }

  .error-card {
    background: rgba(255, 255, 255, 0.01);
    border: 0.5px solid rgba(255, 255, 255, 0.02);
    border-radius: 32px;
    padding: 40px;
    opacity: 0;
    transform: scale(0.8) translateY(50px);
    transition: background 0.5s, box-shadow 0.5s, border 0.5s;
    color: white;
    position: relative;
    will-change: opacity, transform;
  }

  /* Specular Highlight oben an der Box */
  .error-card::before {
    content: "";
    position: absolute;
    top: 0; left: 32px; right: 32px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: var(--transition);
  }

  .error-card.active {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(30px) saturate(120%);
    -webkit-backdrop-filter: blur(30px) saturate(120%);
    border: 0.5px solid rgba(0, 210, 255, 0.4);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
  }

  .error-card.active::before {
    opacity: 1;
  }

  .status-tag {
    display: inline-flex;
    padding: 4px 10px;
    background: rgba(255, 69, 58, 0.1);
    color: #ff453a;
    border-radius: 8px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
    opacity: 0.2;
  }

  .error-card.active .status-tag { opacity: 1; }

  .error-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 12px 0;
    letter-spacing: -0.035em;
    color: rgba(255, 255, 255, 0.2);
    transition: color 0.5s;
  }

  .error-card.active h3 { color: #ffffff; }

  .error-card p {
    font-size: 1.05rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.15);
    margin: 0;
    font-weight: 400;
    letter-spacing: -0.01em;
  }

  .error-card.active p {
    color: rgba(255, 255, 255, 0.75);
  }

  @media (max-width: 900px) {
    .error-section-heading {
      font-size: 1.8rem;
      padding: 0 20px;
    }
  }

  @media (max-width: 600px) {
    .error-card { padding: 30px; }
    .ui-wrapper { padding-top: 15vh; }
    .error-section-heading { font-size: 1.5rem; margin-bottom: 16px; }
  }

    
    /* --- SYNCED MOBILE HEADER & FOOTER CSS --- */
    @media (max-width: 1050px) {
      .main-header {
        width: 96% !important;
        top: 16px !important;
        padding: 0 20px !important;
        height: 60px !important;
        border-radius: 8px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        position: fixed !important;
        transform: translateX(-50%) !important;
        left: 50% !important;
      }

      .header-logo img {
        height: 22px !important;
      }

      .header-nav,
      .header-actions {
        display: none;
      }.mobile-menu-btn {
        display: flex !important;
      }

      .main-header.mobile-active {
        height: 100vh !important;
        overflow-y: auto !important;
        background: #fff !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        padding: 90px 24px 60px !important;
        z-index: 2000 !important;
        border-radius: 0 !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        transform: none !important;
      }

      .main-header.mobile-active .header-logo {
        position: fixed !important;
        top: 25px !important;
        left: 24px !important;
        z-index: 2100 !important;
      }

      .main-header.mobile-active.mobile-menu-btn {
        position: fixed !important;
        top: 28px !important;
        right: 24px !important;
        z-index: 2100 !important;
      }

      .header-nav.mobile-active {
        position: static !important;
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        width: 100% !important;
        padding: 0 !important;
        gap: 18px !important;
        background: transparent !important;
        z-index: auto !important;
      }

      .header-nav.mobile-active a {
        font-size: 20px !important;
      }

      .header-actions.mobile-active {
        position: static !important;
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        margin-top: 30px !important;
        padding: 0 !important;
        gap: 16px !important;
        z-index: auto !important;
        align-items: center !important;
      }

      .header-actions.mobile-active .login-link,
      .header-actions.mobile-active .cta-btn {
      white-space: nowrap;
        width: 100% !important;
        max-width: 280px !important;
        min-width: 200px !important;
        text-align: center !important;
        font-size: 18px !important;
        padding: 14px 24px !important;
      }

      .header-nav.mobile-active .dropdown {
        flex-direction: column !important;
        width: 100% !important;
        align-items: center !important;
      }
      .header-nav.mobile-active .dropdown-content {
        position: static !important;
        transform: none !important;
        display: none !important;
        box-shadow: none !important;
        border: none !important;
        background: transparent !important;
        width: 100% !important;
        min-width: 0 !important;
        margin-top: 5px !important;
        text-align: center !important;
        padding: 0 !important;
      }
      .header-nav.mobile-active .dropdown.active .dropdown-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        margin: 15px 0 25px 0 !important;
      }
      .header-nav.mobile-active .dropdown-content::before,
      .header-nav.mobile-active .dropdown-header {
        display: none !important;
      }
      .header-nav.mobile-active .dropdown-content a {
        font-size: 16px !important;
        padding: 6px 0 !important;
        justify-content: center !important;
        color: #64748b !important;
      }
      .header-nav.mobile-active .dropdown > a {
        font-size: 20px !important;
        color: #032953 !important;
        font-weight: 500 !important;
      }

      /* FOOTER MOBILE FIX */
      .footer-container {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 40px !important;
      }
      .footer-bottom {
        flex-direction: column !important;
        gap: 20px !important;
        text-align: center !important;
        align-items: center !important;
      }
      .footer-certs {
        justify-content: center !important;
        flex-wrap: wrap !important;
      }
    }


  .booking-widget {
    --bg: transparent;
    --surface: #FFFFFF;
    --surface2: #F4F7FA;
    --border: #E1E8F0;
    --text-primary: #0D1B2E;
    --text-secondary: #5A6A80;
    --text-hint: #94A3B8;
    --accent: #032953;
    --accent-light: #EBF0F8;
    --accent-mid: #1E4D8C;
    --today: #1565C0;
    --today-light: #E8F0FC;
    --selected: #032953;
    --selected-text: #FFFFFF;
    --disabled: #C8D4E0;
    --booked: #FEE2E2;
    --booked-text: #B91C1C;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 2px 24px rgba(3,41,83,0.08), 0 1px 4px rgba(3,41,83,0.04);
    
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text-primary);
    padding-bottom: 80px;
  }

  /* ── HERO ── */
  .booking-hero {
    color: var(--accent);
    padding: 80px 40px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }

  .booking-hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    opacity: 0.6;
    margin-bottom: 20px;
    position: relative;
  }
  .booking-hero h2 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    position: relative;
    letter-spacing: -0.04em;
    color: var(--accent);
  }
  .booking-hero h2 span {
    color: inherit;
    font-weight: inherit;
  }
  .booking-hero p {
    font-size: 1.4rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    position: relative;
    font-weight: 400;
  }

  /* ── MAIN LAYOUT ── */
  .booking-main {
    max-width: 1040px;
    margin: 20px auto 0;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    position: relative;
    z-index: 10;
  }

  @media (max-width: 760px) {
    .booking-main { grid-template-columns: 1fr; margin-top: -24px; }
    .booking-hero h2 { font-size: 2.2rem !important; }
    .booking-hero p { font-size: 1.1rem !important; }
  }

  .booking-card {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    padding: 28px;
    position: relative;
  }

  /* ── CALENDAR ── */
  .cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
  }
  .cal-month {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--accent);
  }
  .cal-nav { display: flex; gap: 6px; }
  .cal-nav-btn {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-secondary);
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
  }
  .cal-nav-btn:hover {
    background: var(--accent-light);
    border-color: var(--accent-mid);
    color: var(--accent);
  }

  .cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
  }
  .cal-dow {
    text-align: center;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-hint);
    padding: 4px 0 10px;
  }
  .cal-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.15s;
    position: relative;
    user-select: none;
    font-weight: 400;
    color: var(--text-primary);
    border: 1.5px solid transparent;
  }
  .cal-day:not(.empty):not(.disabled):not(.past):hover {
    background: var(--accent-light);
    border-color: var(--accent-mid);
    color: var(--accent);
  }
  .cal-day.today {
    background: var(--today-light);
    color: var(--today);
    font-weight: 600;
  }
  .cal-day.selected {
    background: var(--selected);
    color: var(--selected-text);
    font-weight: 600;
    border-color: var(--selected);
  }
  .cal-day.booked::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--booked-text);
  }
  .cal-day.disabled, .cal-day.past, .cal-day.empty {
    color: var(--disabled);
    cursor: default;
    pointer-events: none;
  }

  /* ── BOOKING PANEL ── */
  .booking-section-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    letter-spacing: -0.01em;
    color: var(--accent);
  }
  .booking-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 18px;
    line-height: 1.5;
  }

  .selected-date-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--accent-light);
    border: 1px solid var(--accent-mid);
    border-radius: 100px;
    padding: 5px 13px;
    font-size: 12px;
    color: var(--accent);
    font-weight: 400;
    margin-bottom: 18px;
  }

  .booking-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-hint);
    margin-bottom: 8px;
    display: block;
  }

  /* single service display */
  .service-info {
    background: var(--accent-light);
    border: 1.5px solid var(--accent-mid);
    border-radius: var(--radius-sm);
    padding: 12px 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .service-info-name { font-size: 14px; font-weight: 600; color: var(--accent); }
  .service-info-meta { font-size: 12px; color: var(--accent-mid); margin-top: 2px; }
  .service-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
  }

  /* timeslots */
  .timeslot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
    margin-bottom: 20px;
  }
  .timeslot {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 9px 6px;
    text-align: center;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.15s;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
  }
  .timeslot:hover:not(.ts-taken) {
    border-color: var(--accent-mid);
    color: var(--accent);
    background: var(--accent-light);
  }
  .timeslot.ts-selected {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    font-weight: 400;
  }
  .timeslot.ts-taken {
    background: var(--booked);
    border-color: #FECACA;
    color: var(--booked-text);
    cursor: not-allowed;
    text-decoration: line-through;
    font-size: 12px;
  }

  /* form */
  .booking-form-row { margin-bottom: 12px; }
  .booking-form-row label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--text-hint);
    display: block;
    margin-bottom: 6px;
  }
  .booking-form-row input, .booking-form-row textarea {
    width: 100%;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 13px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    background: var(--surface);
    transition: border-color 0.15s;
    outline: none;
  }
  .booking-form-row input:focus, .booking-form-row textarea:focus { border-color: var(--accent); }
  .booking-form-row textarea { height: 68px; resize: none; }
  .booking-form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

  .btn-booking {
    width: 100%;
    background: var(--accent);
    color: #fff;
    border: 1.5px solid var(--accent);
    border-radius: 8px;
    padding: 13px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    letter-spacing: 0.01em;
    transition: opacity 0.15s, transform 0.1s;
    margin-top: 4px;
  }
  .btn-booking:hover { opacity: 0.87; }
  .btn-booking:active { transform: scale(0.99); }
  .btn-booking:disabled { opacity: 0.38; cursor: not-allowed; }

  /* ── SUCCESS ── */
  .success-panel {
    display: none;
    text-align: center;
    padding: 36px 16px;
  }
  .success-icon {
    width: 56px;
    height: 56px;
    background: var(--accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 22px;
    color: var(--accent);
    font-weight: 600;
  }
  .success-panel h2 {
    font-size: 21px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--accent);
    letter-spacing: -0.02em;
  }
  .success-panel p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 20px;
  }
  .booking-ref {
    background: var(--surface2);
    border-radius: 8px;
    padding: 14px 18px;
    font-size: 13px;
    color: var(--text-secondary);
    text-align: left;
    line-height: 2;
    margin-bottom: 18px;
    border: 1px solid var(--border);
  }
  .booking-ref strong { color: var(--text-primary); }
  .btn-new-booking {
    background: none;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    padding: 10px 22px;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.15s;
    color: var(--text-secondary);
  }
  .btn-new-booking:hover { border-color: var(--accent); color: var(--accent); }

  /* step indicator */
  .booking-steps { display: flex; align-items: center; margin-bottom: 22px; }
  .booking-step {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 400;
    color: var(--text-hint);
  }
  .booking-step.active { color: var(--accent); }
  .booking-step.done { color: var(--accent-mid); }
  .booking-step-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
  }
  .booking-step.active .booking-step-num { background: var(--accent); border-color: var(--accent); color: #fff; }
  .booking-step.done .booking-step-num { background: var(--accent-light); border-color: var(--accent-mid); color: var(--accent); }
  .booking-step-sep { flex: 1; height: 1px; background: var(--border); margin: 0 8px; }

  .booking-hidden { display: none !important; }

  .no-date-hint {
    background: var(--surface2);
    border-radius: var(--radius-sm);
    padding: 28px 20px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    border: 1px dashed var(--border);
  }
  .no-date-hint strong {
    color: var(--accent);
    display: block;
    margin-bottom: 6px;
    font-size: 15px;
    font-weight: 600;
  }

    
    /* --- SYNCED MOBILE HEADER & FOOTER CSS --- */
    @media (max-width: 1050px) {
      .main-header {
        width: 96% !important;
        top: 16px !important;
        padding: 0 20px !important;
        height: 60px !important;
        border-radius: 8px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        position: fixed !important;
        transform: translateX(-50%) !important;
        left: 50% !important;
      }

      .header-logo img {
        height: 22px !important;
      }

      .header-nav,
      .header-actions {
        display: none;
      }.mobile-menu-btn {
        display: flex !important;
      }

      .main-header.mobile-active {
        height: 100vh !important;
        overflow-y: auto !important;
        background: #fff !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        padding: 90px 24px 60px !important;
        z-index: 2000 !important;
        border-radius: 0 !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        transform: none !important;
      }

      .main-header.mobile-active .header-logo {
        position: fixed !important;
        top: 25px !important;
        left: 24px !important;
        z-index: 2100 !important;
      }

      .main-header.mobile-active.mobile-menu-btn {
        position: fixed !important;
        top: 28px !important;
        right: 24px !important;
        z-index: 2100 !important;
      }

      .header-nav.mobile-active {
        position: static !important;
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        width: 100% !important;
        padding: 0 !important;
        gap: 18px !important;
        background: transparent !important;
        z-index: auto !important;
      }

      .header-nav.mobile-active a {
        font-size: 20px !important;
      }

      .header-actions.mobile-active {
        position: static !important;
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        margin-top: 30px !important;
        padding: 0 !important;
        gap: 16px !important;
        z-index: auto !important;
        align-items: center !important;
      }

      .header-actions.mobile-active .login-link,
      .header-actions.mobile-active .cta-btn {
      white-space: nowrap;
        width: 100% !important;
        max-width: 280px !important;
        min-width: 200px !important;
        text-align: center !important;
        font-size: 18px !important;
        padding: 14px 24px !important;
      }

      .header-nav.mobile-active .dropdown {
        flex-direction: column !important;
        width: 100% !important;
        align-items: center !important;
      }
      .header-nav.mobile-active .dropdown-content {
        position: static !important;
        transform: none !important;
        display: none !important;
        box-shadow: none !important;
        border: none !important;
        background: transparent !important;
        width: 100% !important;
        min-width: 0 !important;
        margin-top: 5px !important;
        text-align: center !important;
        padding: 0 !important;
      }
      .header-nav.mobile-active .dropdown.active .dropdown-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        margin: 15px 0 25px 0 !important;
      }
      .header-nav.mobile-active .dropdown-content::before,
      .header-nav.mobile-active .dropdown-header {
        display: none !important;
      }
      .header-nav.mobile-active .dropdown-content a {
        font-size: 16px !important;
        padding: 6px 0 !important;
        justify-content: center !important;
        color: #64748b !important;
      }
      .header-nav.mobile-active .dropdown > a {
        font-size: 20px !important;
        color: #032953 !important;
        font-weight: 500 !important;
      }

      /* FOOTER MOBILE FIX */
      .footer-container {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 40px !important;
      }
      .footer-bottom {
        flex-direction: column !important;
        gap: 20px !important;
        text-align: center !important;
        align-items: center !important;
      }
      .footer-certs {
        justify-content: center !important;
        flex-wrap: wrap !important;
      }
    }


  /* Footer Styles */
  .main-footer {
    background-color: #032953;
    color: #ffffff;
    padding: 100px 20px 40px;
    font-family: 'Inter', sans-serif;
    margin-top: 0;
  }

  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 80px;
  }

  .footer-brand .footer-logo {
    height: 32px;
    filter: brightness(0) invert(1);
  }

  .footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.9);
    text-align: left;
  }

  .footer-col ul {
    list-style: none;
    padding: 0;
  }

  .footer-col ul li {
    margin-bottom: 12px;
  }

  .footer-col ul li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
  }

  .footer-col ul li a:hover {
    color: #ffffff;
  }

  .footer-bottom {
    max-width: 1200px;
    margin: 60px auto 0;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
  }

  .footer-certs {
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .footer-certs img {
    height: 28px;
    width: auto;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: all 0.3s ease;
  }

  .footer-certs img:hover {
    opacity: 1;
    filter: grayscale(0%);
  }

  .footer-socials {
    display: flex;
    gap: 16px;
  }

  

  .footer-socials a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s;
    text-decoration: none;
  }

  .footer-socials a:hover {
    color: #ffffff;
  }

  @media (max-width: 768px) {
    .footer-container {
      grid-template-columns: 1fr;
      gap: 40px;
      text-align: center !important;
    }

    .footer-brand {
      display: flex;
      justify-content: center;
      margin-bottom: 20px;
    }

    .footer-col {
      text-align: center !important;
    }

    .footer-col h4 {
      text-align: center !important;
      margin-bottom: 16px;
    }

    .footer-col ul {
      padding: 0 !important;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .footer-bottom {
      flex-direction: column;
      gap: 20px;
      text-align: center !important;
      align-items: center !important;
    }

    .footer-certs {
      justify-content: center;
      flex-wrap: wrap;
    }
  }

    
    /* --- SYNCED MOBILE HEADER & FOOTER CSS --- */
    @media (max-width: 1050px) {
      .main-header {
        width: 96% !important;
        top: 16px !important;
        padding: 0 20px !important;
        height: 60px !important;
        border-radius: 8px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        position: fixed !important;
        transform: translateX(-50%) !important;
        left: 50% !important;
      }

      .header-logo img {
        height: 22px !important;
      }

      .header-nav,
      .header-actions {
        display: none;
      }.mobile-menu-btn {
        display: flex !important;
      }

      .main-header.mobile-active {
        height: 100vh !important;
        overflow-y: auto !important;
        background: #fff !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        padding: 90px 24px 60px !important;
        z-index: 2000 !important;
        border-radius: 0 !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        transform: none !important;
      }

      .main-header.mobile-active .header-logo {
        position: fixed !important;
        top: 25px !important;
        left: 24px !important;
        z-index: 2100 !important;
      }

      .main-header.mobile-active.mobile-menu-btn {
        position: fixed !important;
        top: 28px !important;
        right: 24px !important;
        z-index: 2100 !important;
      }

      .header-nav.mobile-active {
        position: static !important;
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        width: 100% !important;
        padding: 0 !important;
        gap: 18px !important;
        background: transparent !important;
        z-index: auto !important;
      }

      .header-nav.mobile-active a {
        font-size: 20px !important;
      }

      .header-actions.mobile-active {
        position: static !important;
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        margin-top: 30px !important;
        padding: 0 !important;
        gap: 16px !important;
        z-index: auto !important;
        align-items: center !important;
      }

      .header-actions.mobile-active .login-link,
      .header-actions.mobile-active .cta-btn {
      white-space: nowrap;
        width: 100% !important;
        max-width: 280px !important;
        min-width: 200px !important;
        text-align: center !important;
        font-size: 18px !important;
        padding: 14px 24px !important;
      }

      .header-nav.mobile-active .dropdown {
        flex-direction: column !important;
        width: 100% !important;
        align-items: center !important;
      }
      .header-nav.mobile-active .dropdown-content {
        position: static !important;
        transform: none !important;
        display: none !important;
        box-shadow: none !important;
        border: none !important;
        background: transparent !important;
        width: 100% !important;
        min-width: 0 !important;
        margin-top: 5px !important;
        text-align: center !important;
        padding: 0 !important;
      }
      .header-nav.mobile-active .dropdown.active .dropdown-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        margin: 15px 0 25px 0 !important;
      }
      .header-nav.mobile-active .dropdown-content::before,
      .header-nav.mobile-active .dropdown-header {
        display: none !important;
      }
      .header-nav.mobile-active .dropdown-content a {
        font-size: 16px !important;
        padding: 6px 0 !important;
        justify-content: center !important;
        color: #64748b !important;
      }
      .header-nav.mobile-active .dropdown > a {
        font-size: 20px !important;
        color: #032953 !important;
        font-weight: 500 !important;
      }

      /* FOOTER MOBILE FIX */
      .footer-container {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 40px !important;
      }
      .footer-bottom {
        flex-direction: column !important;
        gap: 20px !important;
        text-align: center !important;
        align-items: center !important;
      }
    }

    @media (max-width: 768px) {
      .topbar, .bottom-row {
        display: none !important;
      }
      .dashboard-scroll-section {
        overflow: visible !important;
        margin-top: 0px !important;
        padding-top: 0px !important;
      }
      .animation-wrapper {
        position: sticky !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 6px !important;
        height: auto !important;
        width: 100% !important;
        z-index: 2000 !important;
      }
      .dashboard-container {
        width: 96% !important;
        margin: 10px auto 0 auto !important;
        transform: scale(1) !important;
        transform-origin: center center !important;
        padding: 6px !important;
        display: flex !important;
        flex-wrap: wrap !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        gap: 6px !important;
        height: auto !important;
        min-height: 0 !important;
        border-radius: 8px !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
        background: #fff !important;
      }
      .kpi-row, .info-row {
        display: contents !important;
      }
      .kpi, .info-card {
        width: calc(46% - 4px) !important;
        padding: 5px 8px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: center !important;
        text-align: left !important;
        height: 80px !important;
        min-height: 80px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        margin-bottom: 0px !important;
      }
      .kpi-label {
        display: flex !important;
        justify-content: flex-start !important;
        align-items: center !important;
        gap: 3px !important;
        width: 100% !important;
        margin-bottom: 2px !important;
        font-size: 8.5px !important;
        font-weight: 600 !important;
      }
      .kpi-value {
        font-size: 13px !important;
        text-align: left !important;
        line-height: 1.2 !important;
        width: 100% !important;
        font-weight: 700 !important;
      }
      .kpi-sub {
        font-size: 8px !important;
        text-align: left !important;
        margin-top: 2px !important;
        width: 100% !important;
        opacity: 0.8 !important;
      }
      .info-card {
        font-size: 11px !important;
        text-align: left !important;
      }
      .info-card strong {
        display: block !important;
        margin-top: 2px !important;
        font-size: 13px !important;
        text-align: left !important;
      }
      .kpi *, .info-card * {
        text-align: left !important;
        margin-left: 0 !important;
        margin-right: auto !important;
        float: none !important;
      }
      .table-card {
        width: 100% !important;
        padding: 6px !important;
        margin-top: 0px !important;
        order: 10 !important;
      }
      .table-card .card-title {
        font-size: 9.5px !important;
        margin-bottom: 4px !important;
        text-align: left !important;
        font-weight: 700 !important;
      }
      .table-card table {
        width: 100% !important;
        font-size: 8.5px !important;
        border-collapse: collapse !important;
      }
      .table-card table tr {
        display: table-row !important;
      }
      .table-card table th {
        font-size: 7px !important;
        text-align: left !important;
        padding: 3px 1px !important;
        color: #888 !important;
      }
      .table-card table th:nth-child(3),
      .table-card table th:nth-child(5),
      .table-card table td:nth-child(3),
      .table-card table td:nth-child(5) {
        text-align: right !important;
        width: 15% !important;
        padding-right: 4px !important;
      }
      .table-card table td {
        padding: 4px 1px !important;
        text-align: left !important;
      }
      .mp-badge {
        padding: 2px 4px !important;
        font-size: 7px !important;
        border-radius: 3px !important;
      }
      .bar-wrap {
        height: 6px !important;
        background: #f0f0f0 !important;
        width: 60px !important;
        border-radius: 3px !important;
        display: flex !important;
        align-items: center !important;
        position: relative !important;
        margin-right: 35px !important;
      }
      .bar {
        height: 100% !important;
        background: #032953 !important;
        border-radius: 3px !important;
      }
      .pct {
        font-size: 8px !important;
        position: absolute !important;
        left: 100% !important;
        margin-left: 5px !important;
        white-space: nowrap !important;
        font-weight: 600 !important;
        color: #032953 !important;
      }
      .info-box {
        text-align: left !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        padding: 12px !important;
      }
      .info-box .tool-badge {
        font-size: 10px !important;
        margin-bottom: 6px !important;
      }
      .info-box p {
        font-size: 9px !important;
        line-height: 1.3 !important;
        margin-bottom: 8px !important;
      }
      .info-box .expand-btn {
        font-size: 9px !important;
        padding: 4px 8px !important;
      }
      .main-heading strong, .phase2-heading strong {
        font-size: 22px !important;
      }
      .main-heading i, .phase2-heading p {
        font-size: 14px !important;
      }
      .main-heading, .phase2-heading {
        text-align: left !important;
        padding-left: 20px !important;
        padding-right: 0 !important;
      }
    }
    }
    /* Update normal dropdown header to match the Mega Menu heading style */
    .dropdown-header {
      font-size: 12px !important;
      font-weight: 700 !important;
      color: #032953 !important;
      text-transform: uppercase !important;
      letter-spacing: 0.05em !important;
      border-bottom: 1px solid #e2e8f0 !important;
      padding-bottom: 8px !important;
      /* Keep the original padding-top and left/right padding */
      padding-top: 18px !important;
      padding-left: 20px !important;
      padding-right: 20px !important;
    }

    /* Remove the underline from the inner span */
    .dropdown-header span {
      text-decoration: none !important;
    }
    /* Desktop Styles for Mega Dropdown */
    .dropdown.mega-dropdown .dropdown-content {
      width: 600px;
      padding: 30px;
      grid-template-columns: 1.2fr 1fr;
      gap: 40px;
      border-radius: 16px;
      display: none;
      position: absolute;
      background: white;
      box-shadow: 0 10px 40px rgba(0,0,0,0.08);
      top: 100%;
      left: 50%;
      transform: translateX(-50%);
      z-index: 1000;
    }
    .dropdown.mega-dropdown.active .dropdown-content {
      display: grid !important;
    }
    .dropdown.mega-dropdown:hover .dropdown-content {
      display: grid !important;
    }
    .mega-menu-left {
      display: flex;
      flex-direction: column;
      gap: 30px;
    }
    .mega-menu-section {
      display: flex;
      flex-direction: column;
      gap: 15px;
    }
    .mega-menu-heading {
      font-size: 12px;
      font-weight: 700;
      color: #032953;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      border-bottom: 1px solid #e2e8f0;
      padding-bottom: 8px;
      margin: 0;
    }
    .mega-menu-grid-2 {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .mega-menu-grid-2 a {
      font-size: 15px !important;
      font-weight: 500 !important;
      color: #64748b !important;
      padding: 6px 8px !important;
      border-radius: 6px;
      transition: all 0.2s;
      text-decoration: none;
      border-bottom: none !important;
      text-align: left;
    }
    .mega-menu-grid-2 a:hover {
      background: #f1f5f9 !important;
      color: #032953 !important;
    }
    .mega-menu-right {
      display: flex;
      flex-direction: column;
      gap: 15px;
    }
    .text-pink {
      color: #e11d48 !important;
    }
    
    /* LEPI Card Styles */
    .lepi-mega-card {
      background-color: #ffffff !important;
      border-radius: 8px !important;
      padding: 0 20px !important;
      width: 100% !important;
      height: 90px !important;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      text-decoration: none !important;
      transition: transform 0.2s, box-shadow 0.2s;
      margin-top: 12px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.05);
      border: 1px solid rgba(0,0,0,0.04);
    }
    
    .header-nav .dropdown.mega-dropdown a.lepi-mega-card:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
      background-color: #ffffff !important;
    }
@media (max-width: 1000px) {
  /* We make main-header the scrolling container itself */
  .main-header.mobile-active {
    width: 100vw !important;
    height: 100vh !important;
    left: 0 !important;
    top: 0 !important;
    transform: none !important;
    border-radius: 0 !important;
    padding: 90px 24px 40px 24px !important;
    border: none !important;
    background: white !important;
    display: flex !important;
    flex-direction: column !important;
    overflow-y: auto !important;
    box-sizing: border-box !important;
    align-items: stretch !important;
    z-index: 3000 !important;
  }

  /* Force logo and hamburger to stay fixed at the top */
  .main-header.mobile-active .header-logo {
    position: fixed !important;
    top: 25px !important;
    left: 24px !important;
    z-index: 3001 !important;
  }
  .main-header.mobile-active.mobile-menu-btn {
    position: fixed !important;
    top: 15px !important;
    right: 24px !important;
    z-index: 3001 !important;
  }

  /* header-nav flows naturally inside the scrolling main-header */
  .main-header.mobile-active .header-nav {
    display: flex !important;
    flex-direction: column !important;
    position: static !important;
    width: 100% !important;
    height: auto !important;
    background: transparent !important;
    padding: 0 !important;
    overflow-y: visible !important;
    box-shadow: none !important;
    align-items: flex-start !important;
    gap: 0 !important;
  }

  /* Styling for all main links in the mobile menu */
  .main-header.mobile-active .header-nav > a,
  .main-header.mobile-active .header-nav .dropdown > a {
    display: flex !important;
    width: 100% !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 18px 0 !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #032953 !important;
    border-bottom: 1px solid #f1f5f9 !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
  }

  /* Accordion Dropdown Container */
  .main-header.mobile-active .header-nav .dropdown {
    width: 100% !important;
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  /* Chevron Arrow rotation using ::after */
  .main-header.mobile-active .header-nav .dropdown > a::after {
    content: "▼" !important;
    font-size: 12px !important;
    transition: transform 0.3s ease !important;
    color: #64748b !important;
  }
  .main-header.mobile-active .header-nav .dropdown.active > a::after {
    transform: rotate(180deg) !important;
  }

  /* The actual Dropdown Content (Accordion) */
  .main-header.mobile-active .header-nav .dropdown .dropdown-content {
    display: flex !important;
    flex-direction: column !important;
    position: static !important;
    width: 100% !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    transform: none !important;
    
    /* Accordion animation */
    max-height: 0 !important;
    overflow: hidden !important;
    transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out, opacity 0.4s ease-in-out !important;
    opacity: 0 !important;
  }
  
  .main-header.mobile-active .header-nav .dropdown.active .dropdown-content {
    max-height: 2000px !important; /* Large enough to hold contents */
    padding: 15px 0 20px 0 !important;
    opacity: 1 !important;
  }

  /* Hide desktop-specific arrows and elements */
  .main-header.mobile-active .header-nav .dropdown-content::before,
  .main-header.mobile-active .header-nav .dropdown-header {
    display: none !important;
  }

  /* Styling for sub-items in the accordion */
  .main-header.mobile-active .header-nav .dropdown-content a {
    font-size: 16px !important;
    padding: 12px 15px !important;
    color: #475569 !important;
    font-weight: 500 !important;
    justify-content: flex-start !important;
    border-radius: 8px !important;
    background: #f8fafc !important;
    margin-bottom: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: left !important;
    border: none !important;
  }
  
  /* Mega Menu specific resets inside the accordion */
  .main-header.mobile-active .header-nav .dropdown.mega-dropdown .mega-menu-grid-2,
  .main-header.mobile-active .header-nav .dropdown.mega-dropdown .mega-menu-left,
  .main-header.mobile-active .header-nav .dropdown.mega-dropdown .mega-menu-right {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 0 !important;
  }
  
  .main-header.mobile-active .header-nav .dropdown.mega-dropdown .mega-menu-heading {
    display: none !important;
  }

  .main-header.mobile-active .header-nav .dropdown.mega-dropdown .mega-menu-section {
    margin-bottom: 0 !important;
    gap: 0 !important;
  }
  
  /* Kill all desktop hover overrides */
  .main-header.mobile-active .header-nav .dropdown:hover .dropdown-content {
    display: flex !important; /* Force override any display:grid on hover */
  }
  
  /* LEPI Card */
  .main-header.mobile-active .header-nav .dropdown.mega-dropdown .lepi-mega-card {
    margin-top: 15px !important;
    margin-bottom: 10px !important;
    background: #032953 !important;
    color: white !important;
  }

  /* Fix for header actions (buttons) responsiveness */
  .main-header.mobile-active .header-actions {
    display: flex !important;
    flex-direction: column !important;
    position: static !important;
    width: 100% !important;
    margin-left: 0 !important; /* Fix horizontal overflow */
    margin-right: 0 !important;
    margin-top: 30px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 30px !important;
    border-top: 1px solid #e2e8f0 !important;
    gap: 15px !important;
    padding-bottom: 30px !important;
    box-sizing: border-box !important;
  }
  
  .main-header.mobile-active .header-actions a {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    display: flex !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}
  .global-menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.25);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
  }
  
  @media (min-width: 1001px) {
    body:has(.header-nav .dropdown:hover) .global-menu-backdrop {
      opacity: 1;
      visibility: visible;
    }
  }
@media (max-width: 768px) {
  /* 1) Hide the dashboard tabs (Übersicht, Items, etc) */
  .top-pills { 
    display: none !important; 
  }
  
  /* 2) Force ONLY the Overview tab to be visible and ignore JS switching */
  .tab-panel { 
    display: none !important; 
    opacity: 0 !important; 
    visibility: hidden !important; 
  }
  .tab-panel#tab-ask { 
    display: block !important; 
    opacity: 1 !important; 
    visibility: visible !important; 
  }

  /* 3) Hide the hover infoboxes and the 'Alle Items/Kanäle aktiv' row */
  .metric-callout, .dash-info-row {
    display: none !important;
  }

  /* 4) Make metric cards 2 per row, with EVEN SMALLER fonts to save space */
  .dash-metrics {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px !important;
  }
  .dash-metric-card {
    padding: 6px 8px !important;
  }
  .dash-metric-label {
    font-size: 7px !important;
  }
  .dash-metric-value {
    font-size: 11.5px !important;
    margin-bottom: 2px !important;
  }
  .dash-metric-sub {
    font-size: 7px !important;
  }
  .dash-metric-sub .dash-positive {
    font-size: 6.5px !important;
    display: inline-block !important;
  }
  
  /* 5) Shrink Marktplatz-Performance Table to prevent scrolling */
  table.dash-perf-table, .dash-bar-cell {
    min-width: 0 !important;
    width: 100% !important;
  }
  table.dash-perf-table th, table.dash-perf-table td {
    padding: 4px 2px !important;
    font-size: 7.5px !important;
    white-space: normal !important;
  }
  .dash-marketplace-badge {
    padding: 2px 4px !important;
    font-size: 6.5px !important;
  }
  .dash-change {
    font-size: 6.5px !important;
    margin-left: 1px !important;
  }
  .dash-change::before {
    font-size: 6.5px !important;
  }
  .dash-bar-track {
    height: 3px !important;
    width: 25px !important; /* Scale down the bar visually */
  }
  .dash-bar-percent {
    font-size: 7px !important;
  }
  .dash-bar-cell {
    gap: 3px !important;
  }
  .dash-table-wrapper {
    overflow-x: hidden !important;
  }

  /* 6) Let the dashboard shell expand naturally on mobile, but keep it compact */
  .app-shell {
    height: auto !important;
    min-height: auto !important;
    padding-bottom: 12px !important;
  }
  
  /* 7) Reduce huge gaps between Hero CTA and Dashboard */
  .hero-section {
    margin-bottom: 0px !important;
    padding-bottom: 10px !important;
    min-height: auto !important;
  }
  .hero-actions {
    margin-bottom: 10px !important;
  }
  .gb-shell-section-v2 {
    padding-top: 0px !important;
  }
  
  /* 8) Restore Max Mustermann GmbH and Dashboard breadcrumbs, but scale them down */
  .dash-company { font-size: 9px !important; }
  .dash-crumb-sep { font-size: 9px !important; margin: 0 4px !important; }
  .dash-crumb { font-size: 8px !important; }
}

/* Fix for intermediate screens where header buttons overlap */
@media (max-width: 1300px) and (min-width: 1051px) {
  .header-actions {
    gap: 10px !important;
    margin-left: 12px !important;
  }
  .login-link, .cta-btn {
    padding: 8px 12px !important;
    font-size: 13px !important;
    white-space: nowrap !important;
  }
  .header-nav {
    gap: 14px !important;
  }
  .header-nav a {
    font-size: 13.5px !important;
  }
}
