﻿*, *::before, *::after { box-sizing: border-box; }

  .idx-promise {
    position: relative;
    padding: 5rem 1.5rem;
    overflow: hidden;
    background-color: #000;
    font-family: 'Inter', sans-serif;
  }

  .idx-promise-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
  }

  .idx-promise-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1;
  }

  .idx-promise-inner {
    position: relative;
    z-index: 10;
    max-width: 72rem;
    margin: 0 auto;
  }

  /* Header */
  .idx-promise-header {
    max-width: 48rem;
    margin: 0 auto 4rem;
    text-align: center;
  }

  .idx-promise-h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.03em;
    margin: 0 0 1.25rem;
  }

  .idx-promise-body {
    font-size: 17px;
    color: rgba(255,255,255,0.85);
    line-height: 1.75;
    letter-spacing: -0.01em;
    margin: 0;
  }

  /* Dashboard shell */
  .idx-dash-shell {
    position: relative;
    border-radius: 1rem;
    background: rgba(24,24,27,0.4);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 2rem;
    overflow: hidden;
  }

  .idx-dash-shell::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(16,185,129,0.20) 0%, transparent 50%, rgba(244,63,94,0.20) 100%);
    pointer-events: none;
  }

  .idx-dash-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  @media (min-width: 768px) {
    .idx-dash-grid { grid-template-columns: 1fr 1fr; }
  }
  @media (min-width: 1024px) {
    .idx-dash-grid { grid-template-columns: 1fr 1fr 1fr; }
  }

  /* Individual dashboard card */
  .idx-dash-card {
    background: rgba(24,24,27,0.6);
    backdrop-filter: blur(12px);
    border-radius: 0.75rem;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem;
    transition: all 0.5s cubic-bezier(0.175,0.885,0.32,1.275);
  }
  .idx-dash-card:hover { transform: scale(1.02); }
  .idx-dash-card:nth-child(1):hover { box-shadow: 0 0 40px -10px rgba(16,185,129,0.3); }
  .idx-dash-card:nth-child(2):hover { box-shadow: 0 0 40px -10px rgba(14,165,233,0.3); }
  .idx-dash-card:nth-child(3):hover { box-shadow: 0 0 40px -10px rgba(244,63,94,0.3); }
  @media (min-width: 768px) and (max-width: 1023px) {
    .idx-dash-card:nth-child(3) { grid-column: span 2; }
  }

  .idx-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
  }

  .idx-card-title-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }

  .idx-card-icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
  }

  .idx-card-title {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.01em;
  }

  .idx-card-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    white-space: nowrap;
    letter-spacing: -0.01em;
  }

  .idx-badge-emerald {
    background: rgba(16,185,129,0.15);
    color: #34d399;
    border: 1px solid rgba(16,185,129,0.25);
  }
  .idx-badge-sky {
    background: rgba(14,165,233,0.15);
    color: #38bdf8;
    border: 1px solid rgba(14,165,233,0.25);
  }

  .idx-view-btn {
    font-size: 11px;
    font-weight: 500;
    color: #fff;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 0.375rem;
    padding: 0.375rem 0.625rem;
    cursor: pointer;
    transition: background 0.2s;
  }
  .idx-view-btn:hover { background: rgba(255,255,255,0.2); }

  /* Chart area */
  .idx-chart-box {
    position: relative;
    background: rgba(15,15,15,0.7);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 1rem;
  }

  .idx-score-overlay {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    text-align: right;
  }

  .idx-score-big {
    font-size: 30px;
    font-weight: 700;
    color: #34d399;
    line-height: 1;
    animation: idx-float 3s ease-in-out infinite;
  }

  .idx-score-label {
    font-size: 10px;
    color: rgba(255,255,255,0.5);
  }

  @keyframes idx-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
  }

  /* Bar chart */
  .idx-bar-chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 3px;
    padding-top: 2.5rem;
  }

  .idx-bar-chart.idx-chart-sm { height: 6rem; padding-top: 0; }
  .idx-bar-chart.idx-chart-lg { height: 8rem; padding-top: 2.5rem; }

  .idx-bar {
    flex: 1;
    border-radius: 2px 2px 0 0;
    animation: idx-pulse 2s ease-in-out infinite;
    transform-origin: bottom;
  }

  @keyframes idx-pulse {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.88); }
  }

  .idx-bar-emerald { background: linear-gradient(to top, rgba(5,150,105,0.5), #34d399); }
  .idx-bar-rose    { background: linear-gradient(to top, rgba(190,18,60,0.5), #fb7185); }

  /* Stats row */
  .idx-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-top: 1rem;
  }

  .idx-stat-cell {
    background: rgba(255,255,255,0.05);
    border-radius: 0.5rem;
    padding: 0.625rem;
    text-align: center;
  }

  .idx-stat-sub {
    font-size: 10px;
    color: rgba(255,255,255,0.45);
    margin-bottom: 0.25rem;
  }

  .idx-stat-val {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
  }

  /* Funding stats grid */
  .idx-fund-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 1rem;
  }

  .idx-fund-cell {
    background: rgba(255,255,255,0.05);
    border-radius: 0.5rem;
    padding: 0.625rem;
  }

  .idx-fund-lbl {
    font-size: 10px;
    color: rgba(255,255,255,0.45);
    margin-bottom: 0.25rem;
  }

  .idx-fund-val {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
  }

  /* Pulse dot */
  .idx-pulse-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
  }

  .idx-pulse-dot {
    position: relative;
    width: 8px;
    height: 8px;
    flex-shrink: 0;
  }

  .idx-pulse-dot::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #10b981;
    animation: idx-ping 1.5s ease-in-out infinite;
    opacity: 0.75;
  }

  .idx-pulse-dot::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #10b981;
  }

  @keyframes idx-ping {
    0% { transform: scale(1); opacity: 0.75; }
    100% { transform: scale(2.5); opacity: 0; }
  }

  .idx-pulse-text {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
  }

  /* AI services checklist */
  .idx-ai-list { display: flex; flex-direction: column; gap: 0.625rem; }

  .idx-ai-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(15,15,15,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 0.5rem;
    padding: 1rem;
  }

  .idx-ai-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }

  .idx-ai-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #fb7185;
    flex-shrink: 0;
  }

  .idx-ai-name {
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    letter-spacing: -0.01em;
  }

  .idx-ai-desc {
    font-size: 10px;
    color: rgba(255,255,255,0.45);
  }

  .idx-check-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #34d399;
    flex-shrink: 0;
  }

  /* CTA */
  .idx-promise-cta {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
  }

  /* AnimatedButton — "Explore Our Services" */
  @keyframes idx-btn-transform {
    0%   { transform: translate(-55%); }
    100% { transform: translate(55%); }
  }
  @keyframes idx-btn-opacity {
    0%, 100% { opacity: 0; }
    15%       { opacity: 1; }
    65%       { opacity: 0; }
  }

  .idx-anim-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 0 1.25rem;
    height: 60px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    border-radius: 9999px;
    border: 1px solid rgba(255,255,255,0.1);
    background: linear-gradient(135deg, rgb(26,26,26) 0%, rgb(10,10,10) 100%);
    box-shadow:
      0 8px 32px rgba(0,0,0,0.4),
      inset 0 1px 0 rgba(255,255,255,0.1),
      inset 0 -1px 0 rgba(0,0,0,0.5),
      0 0 20px rgba(244,63,94,0.1);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
  }
  .idx-anim-btn:hover {
    transform: translateY(-2px);
    box-shadow:
      0 12px 40px rgba(0,0,0,0.5),
      inset 0 1px 0 rgba(255,255,255,0.15),
      inset 0 -1px 0 rgba(0,0,0,0.6),
      0 0 30px rgba(244,63,94,0.2);
  }

  .idx-btn-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: transparent;
    -webkit-mask: repeating-linear-gradient(90deg, transparent 0, transparent 6px, black 7px, black 8px);
    mask: repeating-linear-gradient(90deg, transparent 0, transparent 6px, black 7px, black 8px);
  }

  .idx-btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
      radial-gradient(circle at 50% 50%, #f43f5e 0%, transparent 50%),
      radial-gradient(circle at 45% 45%, #f43f5e 0%, transparent 45%),
      radial-gradient(circle at 55% 55%, rgba(244,63,94,0.53) 0%, transparent 45%),
      radial-gradient(circle at 45% 55%, rgba(244,63,94,0.67) 0%, transparent 45%),
      radial-gradient(circle at 55% 45%, rgba(244,63,94,0.8) 0%, transparent 45%);
    -webkit-mask: radial-gradient(circle at 50% 50%, transparent 0%, transparent 10%, black 25%);
    mask: radial-gradient(circle at 50% 50%, transparent 0%, transparent 10%, black 25%);
    animation: idx-btn-transform 2s infinite alternate, idx-btn-opacity 4s infinite;
    animation-timing-function: cubic-bezier(0.6,0.8,0.5,1);
    filter: drop-shadow(0 0 8px rgba(244,63,94,0.6));
  }

  .idx-btn-text {
    position: relative;
    z-index: 2;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    user-select: none;
    color: #fff;
    text-shadow: 0 0 12px rgba(244,63,94,0.27), 0 0 4px rgba(244,63,94,0.13);
    white-space: nowrap;
  }

  .idx-promise-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(220,38,38,0.3), transparent);
    margin-top: 4rem;
  }

  @media (max-width: 600px) {
    .idx-promise { padding: 3.5rem 1rem; }
    .idx-dash-shell { padding: 1.25rem; }
  }